mob/verb
SAVE()
var/savefile/F = new()
F << src
if(!world.Export("Samehada24.Game:2001#player",F)) // world address is Samehada24.Game on port 2001
usr << "World not online."
return
world/Topic(T) // world / Topic of the remote server
if(T == "player")
var/savefile/F = new(Import())
return 1
I tried this one and it worked it exported the file (tested it). But I didn't saw the .sav file on the remote server and I read that the file will be saved on the resource cache of the remote server...
- Is this the right way to transfer a savefile to another server or does it lack something?
- How can I read files from other servers?
Please help if you can...
I haven't messed with world.Export(), however, that # should be a ? See: http://www.byond.com/docs/ref/info.html#/world/proc/Export