ID:143964
 
Code:


Problem description:

hello im Gojan of megaman battle over the network.
can some1 help making a Save Program that Save's the file on your own comp so if the host dont host anymore you dont have to start over plz can some1 help?
client/Export() and Import() will help you with that.
In response to GhostAnime
Isn't that a bad idea, because people can just use save file editors?
In response to Darkdemonrad
That's why you hash or encrypt anything you save if you want to prevent it.. <_< Even that isn't failproof but it will deter a lot of people
In response to GhostAnime
GhostAnime wrote:
That's why you hash or encrypt anything you save if you want to prevent it.. <_< Even that isn't failproof but it will deter a lot of people
Great idea! sorry, i wasn't thinking too much. I guess i'll use that in my new gme as opposed to main server based saving.
In response to Darkdemonrad
but you meen like this coding?



Save()
client/Export()
Import()
var/savefile/F = new("Players/[ckey].sav")
F << src
src << "****SAVED****"


then the errors come....
loading Megaman Battle over The Network.dme
Main.dm:158:error:Import:undefined proc
Main.dm:157:error:client/Export:undefined var

Megaman Battle over The Network.dmb - 2 errors, 0 warnings (double-click on an error to jump to it)
In response to Gojan
You know, DM Reference is there for a reason... what's the point of using something when you do not know how to correctly call it and use the arguments?
Gojan wrote:
Code:
>

Problem description:

hello im Gojan of megaman battle over the network.
can some1 help making a Save Program that Save's the file on your own comp so if the host dont host anymore you dont have to start over plz can some1 help?