Client Side Saving, how to do Pwipe? in Developer Help
|
|
Hello folks,
I want to do a Pwipe and normly you can just wipe the save files from the host but we've a client side saving system.
---------------------------
mob
proc
LoadPlayer()
var/savefile/client_file = new(client.Import())
Read(client_file)
if(src.Clan)
for(var/stuff in src.V)
src.verbs += stuff
world<<"World: [src]([src.key]) has logged in!"
var/Found[0]//START MULTIKEY CODE
for(var/mob/M in world)
if(Found.Find(M))continue
if(M.client)
for(var/mob/M2 in world)
if(!M2.client)continue
if(!M2)continue
if(M == M2)continue
if(M.client.address == M2.client.address)
Found += M
Found += M2
world <<"[M.name]([M.key]) and [M2.name]([M2.key]) have the same listed IP address!"
src.client.show_verb_panel=1
src.loc = locate(xco,yco,zco)
client.view = src.view
src.OOC = 1
src.cansave=1
src.Frozen = 0
src.AutoSave()
src.logincrap()
else
alert("You dont have any savefile!")
return
----------------------------
So, how can I wipe the savesfrm the client o at least to make it so th can't load there character so they need to create a new one?
I hope you guys can help me, I need to do a pwipe since popleare too strong.
|