Alright got the login system working! But I cant make a Save/Load system. This is all Im gonna need to make this game
mob
proc
AutoSave()
if(src.cansave)
src.SaveK()
spawn(600)
src.AutoSave()
mob
proc
SaveK()
if(src.cansave)
var/savefile/F = new("players/[src.key].sav")
src.V = src.verbs
src.xco = src.x
src.yco = src.y
src.zco = src.z
Write(F)
src << "Your game has been saved!"
mob
verb
Savenow()
set name ="Save"
if(usr.cansave)
var/savefile/F = new("players/[usr.key].sav")
usr.V = usr.verbs
usr.xco = usr.x
usr.yco = usr.y
usr.zco = usr.z
Write(F)
spawn(10) usr << "Your game has been saved!"
mob
proc
LoadPlayer()
if(fexists("players/[src.key].sav"))
var/savefile/F = new("players/[src.key].sav")
Read(F)
for(var/stuff in src.V)
src.verbs += stuff
world<<""
src.loc = locate(xco,yco,zco)
client.view=6
src.OOC = 1
src.cansave=1
src.Frozen = 0
src.AutoSave()
It wont work
ID:271464
Jul 10 2007, 12:31 pm (Edited on Jul 10 2007, 12:40 pm)
|
|
Jul 10 2007, 12:48 pm
|
|
Next, time try using DM tags.
|
In response to Quest Industries
|
|
oh yeah @__@
|
In response to Xx Dark Wizard xX
|
|
*pukes*
|
In response to Smokey Joe
|
|
Im not using WOTS, Im making a Bleach game.My friend sent me a save demo ad this was in it
|
In response to XI-Demyx
|
|
Funny, WOTS uses those same procs and those crap codes.
|
In response to Smokey Joe
|
|
I have a different topic with my new code, not from WOTS or BOTLS. PLease take a look
|
In response to XI-Demyx
|
|
XI-Demyx wrote:
Im not using WOTS, Im making a Bleach game.My friend sent me a save demo ad this was in it Yet. another Anime game. *sigh* |
In response to Quest Industries
|
|
Whats wrong with it? Its not like Im making Byond's 3534th naruto game
|
In response to XI-Demyx
|
|
No, but thats probably a ballpark figure.
|