Mythruna
April 30, 2024, 03:50:18 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the new forums. See "Announcements" for a note for new users.
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Saving and SP and MP  (Read 12126 times)
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #15 on: October 30, 2012, 03:25:34 PM »

the database (db) for the multiplayer is saved on Paul's computer, I believe.

Depends on the server.  MY server's database is stored on my computer.  HIS server's database will be stored on his computer.  And so on.
Logged
G1ZMO
Donators
Full Member
***
Posts: 135



View Profile WWW
« Reply #16 on: November 01, 2012, 03:35:46 AM »

What I've done is created a script that copies my sons singleplayer database to my machine into the server directory so that any changes he has made in SP mode are still there when I get back from work to play MP with him

Then when we finish MP mode I copy the database from the server to his machine again so that the changes made in MP mode are in his SP version for the next time he plays it.

Seems to work fine Smiley

I do wish I had a teleport though lol

Paul
Logged

Paul

Castle G1ZmO of Scotland @ -219:569
Castle GiZmODo @ -700:623
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #17 on: November 01, 2012, 09:48:28 AM »

What I've done is created a script that copies my sons singleplayer database to my machine into the server directory so that any changes he has made in SP mode are still there when I get back from work to play MP with him

Then when we finish MP mode I copy the database from the server to his machine again so that the changes made in MP mode are in his SP version for the next time he plays it.

Seems to work fine Smiley

I do wish I had a teleport though lol

Paul

A teleport script is not hard to write.  Maybe I'll post one later.
Logged
Michael
Donators
Hero Member
***
Posts: 2166



View Profile
« Reply #18 on: November 01, 2012, 01:33:04 PM »

can I guess of the script! lol i know I am going to fail:
Code:
// just leading from a Command class
import java.util.Scanner;

new commandTeleport(x, y, z) {
if (user >= commandTeleport(x, y, z)) {
} }
new Scanner i = new Scanner(System.in);
Lol i cannot think of anything else, but I got the scanner in Smiley
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #19 on: November 01, 2012, 01:34:41 PM »

can I guess of the script! lol i know I am going to fail:
Code:
// just leading from a Command class
import java.util.Scanner;

new commandTeleport(x, y, z) {
if (user >= commandTeleport(x, y, z)) {
} }
new Scanner i = new Scanner(System.in);
Lol i cannot think of anything else, but I got the scanner in Smiley

Why bother posting something that you know can't possibly be even remotely correct?  You haven't even once looked at the APIs or if you have then you've completely forgotten it.
Logged
Michael
Donators
Hero Member
***
Posts: 2166



View Profile
« Reply #20 on: November 01, 2012, 01:35:08 PM »

im still a newb x(
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!