ID:143914
 
Code:
client/Del()
for(var/mob/pet/P in world)
if(P.owner == src)
P.loc = usr
usr.ingat = 0
usr.intank = 0
usr.ingar = 0
usr.Jyuken = 0
usr.Tekken = 0
usr.bunshin = 0
usr.Basic = 1
usr.Kaiten = 0
usr.intank = 0
usr.overlays -= 'meattank.dmi'
usr.overlays -= 'hakkeshou.dmi'
usr.overlays -= 'gatsuuga.dmi'
usr.Move_Delay = usr.Savedspeed
usr.icon = usr.Oicon
usr.icon_state = ""
world<<"<font size=1><font color =red><B>Info: <font color = white>[src] Logged out"
usr.Save()
del(src)
return ..()
mob/Logout()
for(var/mob/pet/P in world)
if(P.owner == src)
P.loc = usr
src.Save()
del(src)
world<<"<font size=1><font color =red><B>Info: <font color = white>[src] Logged out"
del(src)
mob
Logout()
src.Save()
del(src)


Problem description:
can someone fix this? i dont understand. i did add delete source didnt i? should work(always worked -_-)

Did you rip this code?
In response to Revojake
i had half of it but it wasnt finished. i finished it but still -_-
In response to Gogeta126
that is 100% ripped WOTS code..

Dont use the WOTS source -_-
http://byond.com/docs/guide
In response to Axerob
are you really going to keep spamming that guide thing?
In response to Gogeta126
yeah i am...the old WOTS source sucks(And the new one ain't that great either). dont use it.
In response to Axerob
yea that i already noticed. many beginned and unfinished/unfixed codes. thats why im fixing them. anyways i just asked to tell me why it doesnt work. the del(src) thing -_-
In response to Gogeta126
In response to Gogeta126
Simple, no parent procs are being called... and indention as well, from what you posted.. unless you fixed that one up
In response to GhostAnime
People should just stop making new Delete procs and use the built in ones it suffices fine in most cases...
Whatever, just add ..() to the end of your delete proc.
In response to Revojake
dont have delete "proc" only client/del and mob/Logout
I don't know what's going on with your indentation at the bottom of that, but basically, you either need to delete src in mob/Logout() or delete src.mob in client/Del(). It looks like with your indentation you're redefining mob/Logout() without the del(src) like you needed.

Boo for using someone else's code. If you don't understand what it does, and it doesn't work on it's own, just don't use it. This really is simple stuff. I really don't understand everyone's desire to crank out these little duplicate games. If it's nothing new, why does anyone want to play it? The playerbase is nice, but BYOND really could do without the reputation of having 1001 dismal anime fan games.
In response to Gogeta126
are people really going to keep spamming ripped source code all over the forums?

stop doing it and so will we =)