MTG Server Files...

MiKeLT

New Member
Joined
Jun 7, 2018
Messages
7
#1
Hello,

I am running ZonamaDev and I was wondering if there are any instructions on how to install the files correctly to my server. I am new at this and any help would greatly be appreciated. Thank you so much!!
 
Joined
Jan 16, 2015
Messages
128
#2
For the server you need to copy the files into the swgemu directory on the desktop of the vm. To do this it is easier to setup a shared folder on the vm.
This is done through the settings of the VM on virtualbox. Once done start up the VM and type the following.
Code:
sudo adduser vagrant vboxsf
restart the vm and you should now have access. You will find it in the fild manager listed as sf_[folder name].

You then need to edit the config.lua file found in MMOCoreORB/bin/conf/ remove the default swgemu .tre files and add the MTG .tre file names in. Don't forget the , after each line.

For the client copy them into the root of your client folder and then edit swgemu_live.cfg remove the names of the swgemu .tre's and add the mtg .tre's
so it should look something like this

Code:
    searchTree_00_21=mtg_patch_022.tre
    searchTree_00_20=mtg_planets.tre
    searchTree_00_19=mtg_patch_021.tre
    searchTree_00_18=mtg_patch_019.tre
    searchTree_00_17=mtg_patch_018.tre
    searchTree_00_16=mtg_patch_017.tre
    searchTree_00_15=mtg_patch_016.tre
    searchTree_00_14=mtg_patch_015.tre
    searchTree_00_13=mtg_patch_014.tre
    searchTree_00_12=mtg_patch_013_configurable_02.tre
    searchTree_00_11=mtg_patch_012_configurable_01.tre
    searchTree_00_10=mtg_patch_011_files_01.tre
    searchTree_00_9=mtg_patch_010_object_01.tre
    searchTree_00_8=mtg_patch_009_Shader_01.tre
    searchTree_00_7=mtg_patch_008_texture_04.tre
    searchTree_00_6=mtg_patch_007_texture_03.tre
    searchTree_00_5=mtg_patch_006_texture_02.tre
    searchTree_00_4=mtg_patch_005_texture_01.tre
    searchTree_00_3=mtg_patch_004_appearance_04.tre
    searchTree_00_2=mtg_patch_003_appearance_03.tre
    searchTree_00_1=mtg_patch_002_appearance_02.tre
    searchTree_00_0=mtg_patch_001_appearance_01.tre
 

MiKeLT

New Member
Joined
Jun 7, 2018
Messages
7
#3
Thank you so much! Do I need to do anything with the files from MTG Repo, meaning the script files?
 
Joined
Jan 16, 2015
Messages
128
#4
to load the new items you would need to replace the mobile and objects folder from the MTG repo
 

tosc

New Member
Joined
Jun 2, 2018
Messages
13
#6
I'm trying to do something similar, but when I enter that command I get a prompt for

[sudo] password for swgemu:

I have tried it in both ZonamaDev and Erusman's build.

is there a default password?
thx.
 

thedarkone

New Member
Joined
Nov 25, 2013
Messages
19
#7
I'm trying to do something similar, but when I enter that command I get a prompt for

[sudo] password for swgemu:

I have tried it in both ZonamaDev and Erusman's build.

is there a default password?
thx.
123456 is password
 

tosc

New Member
Joined
Jun 2, 2018
Messages
13
#15
i've never been asked to enter a username on either one of those setups. most i've ever been asked for was a password. Erusman's build even has the passwords in the post you can download the server for.

Where is it asking you for the username?
 

algebuckina

MTG Secretary
Staff member
Moderator
Moderator
Joined
Apr 19, 2017
Messages
47
#17
Doesn't work for me. Build config fails and the command causes the password prompt, which also freezes the input.
Does the yoda system crash? Or does the process crash? I've had swgemuyoda crash a few times on me, but it still carry out the process
 
Joined
Aug 9, 2017
Messages
8
#18
Does the yoda system crash? Or does the process crash? I've had swgemuyoda crash a few times on me, but it still carry out the process
Nvm i didn't know that the sudo command password prompt doesn't show the password. However, i tried to setup a server using the mtg repo and it failed at several points. Either libmysqld-dev can't be installed, the server can't be build or importing the mysql database doesn't work since the access is denied.
 

Valkyra

Moderator
Staff member
Moderator
Joined
Aug 31, 2010
Messages
209
#19
Nvm i didn't know that the sudo command password prompt doesn't show the password. However, i tried to setup a server using the mtg repo and it failed at several points. Either libmysqld-dev can't be installed, the server can't be build or importing the mysql database doesn't work since the access is denied.
In the newer forms of Debian (which I think that Zonama is based on), they removed the package 'libmysqlclient-dev', due to some kind of licensing issue with MySQL, and instead uses MariaDB (which is still compatable with Core3 according to my testing.)

Instead, install this package on Debian: https://packages.debian.org/stretch/default-libmysqlclient-dev
 
Joined
Feb 19, 2017
Messages
102
#20
i just downloaded and set up the MTG Server, it set up ad built but when i went to change the ip address using Mysql it tells me that access denied for user root and will not connect ....... did i miss something or am i doing something wrong?