Key: Supericeman
Issues: Wont load at all. Rhy said it would be easier to post issue on forums
var/InitialLetter = copytext(ckey(src.key), 1, 2)
var/SaveFolder = "Savefiles/[InitialLetter]/[ckey(src.key)].sav" // Make a folder for players save files starting with initial
var/savefile/F = new(SaveFolder)
fcopy(F, "SavefilesBackup/[InitialLetter]/[ckey(src.key)].sav") // Copy savefiles to a separated folder
This is exactly the explanation i was trying to tell Crit. it loads.... loads a invalid file,Laeki wrote:character name: Akajia
key: crazykid6987
here is a screenshot of wat happened after i logged in
http://snag.gy/cJZnR.jpg
Rioshima wrote:This is exactly the explanation i was trying to tell Crit. it loads.... loads a invalid file,Laeki wrote:character name: Akajia
key: crazykid6987
here is a screenshot of wat happened after i logged in
http://snag.gy/cJZnR.jpg
next read it copies over or becomes invalid untouched data, in a script with a ghost script both the main/ and ghost scripts will not be carried or read therefore causing an error like the above ^. TYVM finally someone made a screenshot of the most current error +1 Laeki, Hurry crit get that fucking bug so we all can be at peace again lol. ( hurry b4 rhyuke deletes my thought on it like he normally does <.< that bum) XD
YES YES YES YES YES YES YES YES... 3.2.1.... YES!Critical172 wrote:Good/bad news. I found out the reason why the saves were getting corrupted, but after I fix it there may be slightly more lag. Update coming tomorrow
Critical172 wrote:Good/bad news. I found out the reason why the saves were getting corrupted, but after I fix it there may be slightly more lag. Update coming tomorrow
Critical172 wrote:Basically characters, both npc and players, are classified under /mobs. A subshini would be classified under /mob/subshini and so on. Before this major bug started happening players were under /mob so when I tried to find players I would do something like:
for(var/mob/M in world)
if(M.client)//that means if they have dreamseeker open
The problem with this is that the game would search every character(both npc and players), and theres 1,000+ mobs in the game so it would lag trying to check each and everyone to see if they have a client.
So I made a new subsection /mob/player so it would be easier.
for(var/mob/player/M in world)
With ^ that it would only check the 50 or so players online so it would lag less. This created a problem with saves though. Since saving mobs are default under /mob and not /mob/player it would bug out sometimes. I don't know why, but I know that much at least so I'm taking out /mob/player and leaving it as /mob
|
|