Code:
Problem description:
okay well im trying to make a harry potter game i dont under stand very much so please off me help i got these message
Login.dm:24:error: character: unknown variable type
Skills.dm:30:error: S.damage: undefined var
Skills.dm:31:error: S.owner: undefined var
Anyone know how to fix these?, i mean i can do Vars, but these ones are "Odd"
ID:139011
Aug 10 2011, 11:48 am
|
|
In response to Dazzer
|
|
http://www.byond.com/docs/guide/
It's fairly obvious that you don't understand the language, since you can't properly define variables. Please at least make an attempt to study before running off to make a real game. |
In response to Robertbanks2
|
|
no i can make simple varibles but these ones are Diffrent would it be
mob/var/S.owner or mob/var/owner or var/S.owner or var/owner |
In response to Dazzer
|
|
More likely than not, it's telling you that either S is undefined, or you haven't typecasted properly. Again, I suggest you at least do a proper tutorial, as most of the cover this sort of thing.
Without an actual example of the code surrounding the errors, I can't help any further. |
In response to Robertbanks2
|
|
Okay well diffrent subjetct, my friend asked me to host for him and it was all going fine, then he sent me his new files, (host files) and i got this message
BYOND Error: corrupt headers in world file failed Do you know how to fix it? |
In response to Dazzer
|
|
The only suggestion I can give for this is that he recompile and package the host files again. Your DMB file is corrupt, so if there is error, it's on his part.
|
In response to Robertbanks2
|
|
Thanks for all your help
|
character.Teleblock: undefined type: character.Teleblock