Read the whole post, hopefully you'll see why you won't get the error you just said.
Also, just because something works doesn't mean it is the correct way of doing it.
1
2
In response to Chaorace
|
|
In response to Neimo
|
|
Yeah, I wasn't thinking. I should've explained my overlays comment a bit more. I don't directly save the icons. I save some vars that judge it. For example:
mob{ Well, that is how I would handle saving hair that is colorized. Then I load overlays when they are needed to be loaded. |
In response to Neimo
|
|
Neimo wrote:
Read the whole post, hopefully you'll see why you won't get the error you just said. I read the last post you said and don't use usr in procs, I didn't see a usr in my sav/load procs o_O. and if I remove Write(F) i still get an error, but if I remove Read(F) from load i don't get an error for load O_O. I'm so confused. And it still isn't saving anything wtf .___. mob/verb Maybe it's that verb, and that calls the Save proc or else nothing will save anyways. mob/proc/Load(var/savefile/F) |
In response to Chaorace
|
|
You're saving a savefile.
|
In response to Neimo
|
|
Neimo wrote:
You're saving a savefile. where do you see that at. o_O In the create verb? So I tested and changed it to this and still no difference ._. I wanna get this workin before i go to bed and it's 4:30 AM. Not to be rude or anything I know it's all my fault because I'm not that smart,but can we be a little more specific here when you say, you're saving a save file, or this doesn't belong there, etc. as in, can you show me where im saving a save file and where does it belong, etc. mob/verb |
In response to Chaorace
|
|
Chaorace wrote:
Neimo wrote: Look at the argument you are passing through Write(). The question to yourself should be - is this what I want? In addition, may I ask why there's a password system in place when you can simply authenticate the key? If someone does not encrypt my password, I would be cautious or even avoid that game... and I believe you can be liable for being sued unless you put a legal disclaimer/TOS stating that the password will not be encrypted. So, once again, may I ask why exactly you need a password system in place? So I tested and changed it to this and still no difference ._. I wanna get this workin before i go to bed and it's 4:30 AM. Not to be rude but do go to sleep. If you are very tired, not much will penetrate through your head and something simple can be easily overlooked (I know from experience). The forum is not an chat room so it takes time for replies. |
In response to Chaorace
|
|
Your argument you are using for Save() is mob/M. You need to call Save(src) if you want it to work correctly.
|
1
2
If I remove Read(F) and Write(F) i'll get vriable defined but not used, so that's why they're there
And I changed the directory to "players/[src.UserName] so I know they're username instead of there key :D but i still don't think it's working yet i'm about to test in a minute
and that is all I want to save is x,y,z pass and user as of now since I don't have many other things coded in that I'd like to save yet I think O_O