ID:175932
 
Now for some reason i get an error during logout when it saves. Coding:

mob
Logout()
Save()


error:

runtime error: Cannot read null.mob
proc name: SaveChar (/mob/proc/SaveChar)
usr: Koolguy900095 (/mob)
src: Koolguy900095 (/mob)
call stack:
Koolguy900095 (/mob): SaveChar(null)
Koolguy900095 (/mob): Save()
Koolguy900095 (/mob): Logout()

Yes the error is another null...but if i save anytime besides logout i dont get this error
you're calling Save() for nothing, its in the Logout() but you aren't specifying whos using the proc change it to something like
src.Save()

i think that'll work
In response to Magnus VI
it didnt fix
In response to Koolguy900095
theres a second proc named SaveChar() there what is that because thats whats generatin the null
Koolguy900095 wrote:

Koolguy900095 (/mob): SaveChar(null)

Isn't this obvious? You're passing a null argument into SaveChar. DUH!
In response to Garthor
how do i fix it...?
In response to Koolguy900095
How am I supposed to know? I don't know what your code contains!