im so stupid, i cant figure it out
1
2
Jun 6 2003, 10:27 am
In response to Nave
|
|
In response to Airjoe
|
|
i tested your code it says
proc cannont be inside of another proc but i cant fix it.. |
In response to Admin Pablo
|
|
well thanks for trying i think im going to cry
|
In response to Nave
|
|
need to get this done
|
In response to Nave
|
|
Are you EVEN reading the posts!? Because, Garthor answered your problem...MORE THAN ONCE!
|
In response to Goku72
|
|
Garthor is wrong
|
In response to Nave
|
|
Ok this is my errors now
mob proc Save_Character() var savefile/F = new() saved_x *** saved_y *** saved_z *** Write(F) saved_x = x saved_y = y saved_z = z client.Export(F) src << "[src.name] saved." mob/PC/verb/Save() set category = "Communication" src.Save_Character() *** = error The Adventures of Perspolis.dm:439:saved_x :warning: variable defined but not used The Adventures of Perspolis.dm:440:saved_y :warning: variable defined but not used The Adventures of Perspolis.dm:441:saved_z :warning: variable defined but not used |
In response to Nave
|
|
Once again, you listened to NO ONE...Garthor told you...EVERYTHING AFTER Write(F) needs to be indented ONCE.
|
In response to Garthor
|
|
Garthor wrote:
Everything between Write() and Export() is indented too much. your not listening, idiot, your not helping, just spamming, look...... 1. its not Write(F) its Write() 2. and he said "is indented too much" not too little. |
In response to Nave
|
|
If anything, you're the idiot...you don't insult people who try to help, ESPECIALLY when they're correct. Garthor suggested that when you had it indented too MUCH, now it's too little...perhaps you shouldn't be making a game if you can't even figure out someone's advice.
|
In response to Goku72
|
|
...........we have already been to this, i get a The Adventures of Perspolis.dm:443:error: proc definition not allowed inside another proc
|
In response to Nave
|
|
That's because your indentation is messed up, so that, to the compiler, it looks like your call to Write() is a proc definition because stuff has been indented more under it.
|
In response to Nave
|
|
DUDE, Never mind...go ahead...DON'T take the advice of me or Garthor...keep on wondering why you keep getting ridiculous errors...
|
In response to Nave
|
|
Nave wrote:
mob/proc/Save_Character() write there, i showed everyone.... |
In response to Nave
|
|
The stuff under Write(F) is indented too much.
|
In response to Goku72
|
|
Goku72 wrote:
Are you EVEN reading the posts!? Because, Garthor answered your problem...MORE THAN ONCE! and the reason i started being rube was because of this post, now i am sorry for being rude but i think you didnt have to be so cocky, and you were being rude your self, maybe if you said it nicer. |
In response to Nave
|
|
Nave wrote:
Ok this is my errors now i already tryed that |
In response to Nave
|
|
its probably the simplest thing
|
1
2