Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Damn, screwed up (classes)
#1
Well i finished adding constys 'stub' of a gender system, added visual sprites on character create with animation, then when i went to create a new character...

[Image: wtf.png]

It should say knight 4 times and all have the same sprite, instead its this randomness.. what on earth o.0

I checked and its nothing to do with me using a listbox instead of a combobox it gives the same results reguardless.

I swear i have had this exact problem in he past but i cant remember how i fixed it ~.~

Any help appreciated.
Reply
#2
Check Sub SendClasses

Maybe you're sending the wrong data...
Reply
#3
Its alright i fixed it, what had happened was client side:

Code:
For i = 0 To Max_Classes
Class(i).Name = Parse(n)

Class(i).HP = Val(Parse(n + 1))
Class(i).MP = Val(Parse(n + 2))
Class(i).SP = Val(Parse(n + 3))

Class(i).STR = Val(Parse(n + 4))
Class(i).DEF = Val(Parse(n + 5))
Class(i).SPEED = Val(Parse(n + 6))
Class(i).MAGI = Val(Parse(n + 7))
Class(i).MaleSprite = Val(Parse(n + 8))
Class(i).FemaleSprite = Val(Parse(n + 9))

n = n + 9

needed to be:

Code:
For i = 0 To Max_Classes
Class(i).Name = Parse(n)

Class(i).HP = Val(Parse(n + 1))
Class(i).MP = Val(Parse(n + 2))
Class(i).SP = Val(Parse(n + 3))

Class(i).STR = Val(Parse(n + 4))
Class(i).DEF = Val(Parse(n + 5))
Class(i).SPEED = Val(Parse(n + 6))
Class(i).MAGI = Val(Parse(n + 7))
Class(i).MaleSprite = Val(Parse(n + 8))
Class(i).FemaleSprite = Val(Parse(n + 9))

n = n + 10

Such a stupid mistake, learn from it kids Smile

Edit: for the record, it was because i was sending over the male and femalesprite numbers to the client for the animation on the newchar screen and forgot to tell the client the packet had one more piece on the end to read :]
Reply
#4
How the hell do you always find the most amazing fonts ever. Love the GUI!
Reply
#5
haha that gui sucks i am killing it xP

turning the 16x16 into 16 bit 32x32 because i am lame like that :<

messing around with map size atm ~.~

EDIT: Oh if you meant the menu gui, simplicity for the win xD

Not sure wtf i am going to do with ingame lol
Reply
#6
It's far from simple. Best I've seen so far.
Reply
#7
if only you had seen mirage realms, that thing was turning into a masterpiece lol..

anyway back to my 16 bit madness, i think this mapsize is alright? (ignore the map it was me pissing around with graphics and making a mess lol)

[Image: mapsize.png]

GUI is going to be a pain in the arse ~.~
Reply
#8
I love 16bit graphics as well ^_^
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#9
You cant just decide the size of the picScreen. If your going to use the 16bit gfx, then I say go for a small screen.
Reply
#10
I'm using 16 bit, not 16x16, the above ss is the size of it =P

going to cry the ingame gui is impossible :
Reply
#11
Yeah I noticed when I checked the pic again and changed it. good luck.
Reply
#12
Infact, bollocks - i dont know what i'm going to do :/

I dont even know why i am bothering; decided to look over some of the graphics show off thingies here for any gui ideas omfg some of these games have immense features lol,

-pouts-

:?

Any ideas? lol, i did the menu and was like yay that looks cool :]

Now what =P
Reply
#13
A game is not all about features. I'd say making it look good is harder than adding features.
Reply
#14
I had that same problem once, hahaha, I felt an idiot afterwards.

Nice looking screeny though.
Reply
#15
GameBoy Wrote:I had that same problem once, hahaha, I felt an idiot afterwards.

Nice looking screeny though.
I think everybody have had that problem, ive had it some times.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)