1
2
Mar 12 2010, 12:36 pm
In response to Vokicpower
|
|
Read what dream dameon has to say in the bug report, it isn't just there for looks.
|
In response to Vokicpower
|
|
Copying what's in Write() and Read() is not how you do things. The example I showed in client/New() and client/Del(), and then suggested looking at again, and then told you to mimic, and then gave you another example of, is how you are supposed to save and load.
|
In response to Garthor
|
|
Okay thanks I will go On Check stuff before trying to understand until then I bet I have some more questions
|
In response to Vokicpower
|
|
Okay I have to say that I Seriously dont get it , I worked through the night and didnt made ANY progress, My Title screen just wont load the file with the stats I cant do it anymore. I cant understand how it works I need someone who shows me a code that works otherwise I dont know. Like I said at the beginning, Call me Stupid but I dont get it and without a working code I cant seem to understand what to do ..
|
In response to Vokicpower
|
|
[link]
That is a full, complete, 100% working example of how to save and load characters. If you wish for saving and loading to be done somewhere other than in client/New() and client/Del(), then move the code that is within client/New() and client/Del() to where you want saving and loading to occur. Again, the one caveat is that outside client/New(), loading a character is going to result in a leftover mob which you will need to delete. |
In response to Garthor
|
|
Yeah but How do I Combine that with my Load Turf ? I dont know Thats what Im trying to Understand the whole Night
What should I do ? |
In response to Vokicpower
|
|
Move the code from client/New() to wherever you want it. Change mob to really any other variable (usr would make the most sense, though). Remember to delete the old mob, so:
var/mob/M = usr Also, again, you need to delete any old savefiles, because they will no longer work. |
In response to Garthor
|
|
Thanks I will try that right now
And I have this problem: Client worked and is working right now. It saves the stats and Everything without Leaveing a mob behin But When I Restart the server All the Status is gone but the icon stays turf/Load Yes I know I have 2 save verbs but I dont know if they work ... Please take a look at it |
In response to Vokicpower
|
|
In response to Garthor
|
|
Oh I know those Wait I will read until I get it
|
In response to Vokicpower
|
|
Okay Garthor Ive did what you said and i dont care who calls you an unhelpful peace of "" You really helped me, i learned how to do it and thats the only way to code I thank you , I made it so everything saves even after the server goes down
Your The best I definetly recommend Your help. If peopel dont get it, they are simply to lazy. I know now what I need to do I thank you very much |
1
2