Logout()
if(src.client&&src)
global.ONLINE.Remove(src)
if(src.regen.activated==1)src.regen.activated=0
src.savefile1=0
src.savefile2=0
src.savefile3=0
src.fakesave1=0
src.fakesave2=0
src.fakesave3=0
world<<"<B><center>SYSTEM: <i>[src] has logged out!</i>"
src.CloseWindows()
src.Save()
del(src)
..()
CloseWindows()
set hidden=1
if(src.client&&src)
if(InfoOpened)
usr.CloseInfo()
if(SkillsOpen)
usr.SkillsTab()
if(chatopen)
usr.OpenChat()
if(inventoryopen)
usr.Inventory()
winset(src, null, {"
MainChat.is-visible ="false"
Info.PlayerChild.is-visible ="false";
Info.ProChild.is-visible ="false";
Info.ProTab.is-checked ="false";
Main.is-visible ="false";
LoginWindow.is-visible ="false";
CharacterCreation.is-visible ="false";
Instructions.is-visible ="false";
"})
Problem description:
My issue is when I go to call logout from in game after the player has been loaded and things. everything but options and messages will close. Options and messages will confirm the connection has died, yet fails to close. Listed above is my logout codes there is one of the log outs up there that isnt indented correctly thats just a copy and paste error. If I call .quit from my interface using my exit button everything works properly.
Edit: I now only have that one logout code. It closes the connection, but fails to end the dreamseeker process.