traditional 'help newbie-drowning' request, im ashamed to ask :P

sunshineunits

New Member
Joined
Nov 3, 2021
Messages
16
so i got the VM up and its running, which is awesome, the server built itself as i followed the guide and that seems to work! i changed the IP to what it showed in the file, and what the sql database looks like it holds (though the port was 44453 in my client, and shows 44463 in the sql- tried both, and still isnt connecting, i've included a screenshot with several numbers, and will continue testing but i need two helps please :
#1: do i use the sql IP shown here in the lower terminal as the target in my login.cfg file? matching the port or using -again- whats listed in the sql?
#1A-->> to the right in the image, the mtgserver dev vm status window, shows an IP of 192.168.1.xxx im assuming thats...different? i'll try a few things while i await your wisdom XD.

#2: how do i actually create a player account in the emulator? i miiiiight be able to hack my way through it in the maria db console but im sure a syntax error will trip me up and get me typos...i've tried a couple different programs to view/edit the sql files/databases it shows there but they seem to be the wrong kind of files? i tried squirrel and sqlite but neither can open the files. ummmm. ?
some other emulators have you create an account at the server console with a command, setting the name and pw etc then priv level, but not finding anything in the guides on this actual step lol. IF its automatic however, as some are, and does it when i sign in, then it should trip that funciton when i hit the right IP settings above?

this is so awesome, thank you so much! i know it'll work its just a fewwww nooby little issues on my end not knowing about linux, or sql much, and not wanting to wade out too far tweaking IP's and change something that breaks things lol, its SO close XD. thanks in advance for your help!


(image attached unless it doesnt take it)
 
Last edited:

sunshineunits

New Member
Joined
Nov 3, 2021
Messages
16
update, still trying, i see in config.lua it shows 'login port is 44453" (changed nothing) so i'll switch my cfg file in swg client directory to point at that port, and that seems to indicate the server will handle account creation..hmm.
 

sunshineunits

New Member
Joined
Nov 3, 2021
Messages
16
changed all the login.cfg file IP and the server IP ( in the sql as per the guide) to the IP listede on the right in that image, and now it works like a charm. woot. :) odd that its different than the directions, but what emu isnt lol. later! o7
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
Change your server ip to 127.0.0.1 if you're local hosting. (server & client).
Use 44453 UDP port to connect your client to server (client).

Open a terminal inside MMOCoreORB/
Code:
mysql -uswgemu -p123456 swgemu -e "update galaxy set address='127.0.0.1' where galaxy_id=2;"
 

sunshineunits

New Member
Joined
Nov 3, 2021
Messages
16
ok thanks , will do :) the loopback address would be good to keep it private, not have any random sith wander in and run amok. hehe.

-since i got you here, about the client we're supposed to use with this one, is it the swgemu one, like renegades uses? or a different one :eek:. i got the sunrunner client from playing on there and hoped since it ahd MTG .tre files that it wouldmagically work if i copied those in with the server tre's..but alas :(( no joy.
(im stuck on tatoiine, and certain things dont work, but it all fires up,and runs its just a quesiton of picking the right parts and customizing once it all works. XD. (also, man i gotta say im a windows slave, linux is SO hard to learn lol. i've run a couple small partitions for grins, but nothing serious before, oof. i'll learn though i guess, thanks for your help :)
also, bedtime here so no rush i'll catch you in the morning , thanks
 
Top Bottom