Questions about: Core3, content & database

Gandolforf

New Member
Jan 8, 2019
5
0
1
#1
Good morning.
I've started a server for my own amusement and hopefully to be able to learn something.
I have a fully functioning MTG server setup (through ZonamaDev).
Yesterday I wanted to try modifications from another repo and after several hours of trial and error, it's working - partly.
---
Q1:
Do I need to wipe the database and import from the new repo, and if so, how?

Q1:
How do I stop the server...?
./core3 starts it up fine.

As you can probably tell from this post, I am a complete newbie to this and if these operations I'm asking for are tricky and time consuming to explain I understand.

However if anyone has time to explain, I'd be most grateful.

//Peter
 
Jan 16, 2015
99
5
8
42
#2
if you are using ZonamaDev you can use the Yoda web interface to build, start and shutdown the server. If you don't want to use the interface to stop the server just type shutdown into the terminal window you used to start the server.

To import a new repo you need to import the sql using the MySql Workbench and copy over the databases folder from MMOCoreORB/bin/ folder
 

Gandolforf

New Member
Jan 8, 2019
5
0
1
#3
if you are using ZonamaDev you can use the Yoda web interface to build, start and shutdown the server. If you don't want to use the interface to stop the server just type shutdown into the terminal window you used to start the server.

To import a new repo you need to import the sql using the MySql Workbench and copy over the databases folder from MMOCoreORB/bin/ folder
Thank you very much for your answer.
Just to clarify, will importing swgemu.sql completely overwrite the current database, or do I somehow have to empty/wipe the old one first?
 
Jan 16, 2015
99
5
8
42
#4
Thank you very much for your answer.
Just to clarify, will importing swgemu.sql completely overwrite the current database, or do I somehow have to empty/wipe the old one first?
It will append to it, unless the import file specifically treats tables differently. So overwrite any existing rows upto the end of the imported sql file. If the existing database as more rows then these additional rows will be left.

I hope that makes sense
 

netyoda

New Member
Oct 18, 2017
25
10
3
#6
If you open a console and type swgemu into it, it will show you the commands, some of which are:
swgemu status
swgemu build
swgemu start


Huge props to LordKator for what he does with the ZD stuff and lots more.
 
Likes: Gandolforf