Mod The Galaxy Community Content Repository

dfelth

New Member
Joined
Mar 22, 2015
Messages
4
Thanks for the info - yeah looks like it was an issue with the client folder I was using - reverting back to my main install folder seems to have resolved it.
 

Teoup

New Member
Joined
Apr 4, 2019
Messages
5
so i downloaded the mtg server and set it up, did the build and went to use MySql to set the ip and it says that MySql can not connect .... how do i connect it ? it says access denied for user root@localhost
I'm getting this error as well error 1045 Acces denied for user 'swgemu'@'localhost' (using password : YES)
It's a fresh install and I don't really know where to look to clear this


It seems you have to change user root in MySql to swgemu
 
Last edited:

Ydern

New Member
Joined
Aug 13, 2020
Messages
5
Hi everybody,

This may be a stupid question but i guess when you add the Tre files you add both MTG tre files AND SWG Tre files in the folder?

I have added both SWG and MtG tre files in the Tre folder in Workspace. And the server starts great. During the server start i see all planets listed included MtG planets. But when i come into the game from my client if i go to a space station terminal i only see swgemu regular planets.
I copied MtG tre files on my Client swg emu folder too.

Did i do something wrong?

Finally, i changed to 15 in mysql database the admin rank of the first player i created for development and it does not have the GodMode tag ingame.
(I did the [ClientGame] 0fd345d9 = true in user.cfg)
I am a bit lost.

EDIT 1 : I checked and even if i "Apply" "Apply" this did not change the 15 code in my account setting in the SQL database.
So i cheating using a file in the code to give God privilege at character creation. I create 1 character and it has God Mode.
Then i changed again the file to have no more God Characters.
And it is still working after a build and reboot.
But even if my character still have gode mode working, the account has still a 0 at admin level.


EDIT2 : I really think i have a client bad config. I don't see hair on characters. No planets. Haven't try to check if any NGE material is there. Server installation went very easy by the way. Do you think i should re install my SWG cd's on Clients to get something fresh that was not affected with Basilik or anything?

EDIT3 :
This morning, i thought i did something wrong using the all .tre files on the server and the client. Si i decided to reinstall it from 0.
The process is really so much easier than ZonamaDev. It reminds me Erusman but i saw at the beginning of the subject that it was based on it.
Anyway... I solved some problems :
- Only have MtG .tre files on the server and client now.
- I could create an admin account
1597434466108.png
It worked but i still can't change the 15 admin rank on this account in mysql.
- Now when i create a character i see many races and when i get into the game on a travel terminal i see Tanaab and some other planets not linked. (I'll do this in the code) So i guess the MtG content is there.

Problems remaining : Humans (male) don't have hair. i have an error message in server's log during creation.
I went to Corellia Coronet and the map of the planet is not Coronet's map. I can't add a WayPoint in game.
Do you have same problem and i will have to fix all this in the code?
Or did i do something wrong again?

EDIT 4 : Problems of the maps solved. See message below. Only remaining male and female human hair missing.
I'll figure this ou in the files later. I guess you all have this problem.
 
Last edited:

Ydern

New Member
Joined
Aug 13, 2020
Messages
5
CLIENT Installation Method :

This is a quick message to explain to other people following this thread how to set up your Client.

What did i do :
1 -
I installed Star Wars Galaxy from my DVD.
I did not touch anything in the folder.

2 -
I installed SWG Emu launcher (won't be used) just to add the .exe in SWG folder.

3 -
Do a full scan Yes and No.

4 -
Used the set up of SWG Emu to set up the screen resolution of your computer and maybe add the skip intro.
This create a file called options.cfg. Keep it.

5 -
Close the SWG Emu Launcher.

6 -
Destroy all .tre files from SwgEmu and Sony in the SWG installation folder.
Add all MtG .tre files

7 -
Edit your .cfd files as explained there :
https://github.com/ModTheGalaxy/mtgserver/wiki/Guide-Client-Setup

8 -
Edit your swgemu_live.cfg file replacing all SWG .tre files by the list of MtG .tre files.
At the moment of this post it is maxSearchPriority=23
I personnaly put the Planets.tre after patch_023. tre and parch_022.tre ones.

9 -
Edit your swgemu_login.cfg file to add the IP adress of your server.
[ClientGame]
loginServerAddress0=192.168.0.xxx (xxx is what you get after your own install.)
loginServerPort0=44453

10 -
Create a shortcut of you SWGEmu.exe file.
I use it to launch the game

Maybe this is not the good way to proceed but i could not find anything on the server to explain it
The game is working using this method (kindof)
 

Ydern

New Member
Joined
Aug 13, 2020
Messages
5
Thanks, replacing the 1024's with 4096's in my .inc files fixed that (aside from the custom planets, those needed to stay at 1024). It seems like some information is off, though, with the planetary maps. For starters, there are no city names or city icons for any planet (link below to an image of Corellia).

I haven't seen much documentation, but side question: how much of these planets are done/functional, if any, or is this a problem on my end? Mustafar with a pink sky, no mob spawns on any of the planets (that I saw, anyway).

Link to Corellia map:
This is the problem i have.

RaiRaiTheRaichu have you solved the problem?


EDIT : Thanks to Borrie Bobaka on discord i could solve this problem. I edited the --planets.tre file in config.lua and commented also the lines on new planets in the list. Then i took off the planets.tre file from both, server and client.
Now i have my planets and maps working fine.
I will work on the new set up of added planets so it does not mess everything up later.
 
Last edited:

sgarelli

New Member
Joined
Sep 2, 2020
Messages
1
CLIENT Installation Method :

This is a quick message to explain to other people following this thread how to set up your Client.

What did i do :
1 -
I installed Star Wars Galaxy from my DVD.
I did not touch anything in the folder.

2 -
I installed SWG Emu launcher (won't be used) just to add the .exe in SWG folder.

3 -
Do a full scan Yes and No.

4 -
Used the set up of SWG Emu to set up the screen resolution of your computer and maybe add the skip intro.
This create a file called options.cfg. Keep it.

5 -
Close the SWG Emu Launcher.

6 -
Destroy all .tre files from SwgEmu and Sony in the SWG installation folder.
Add all MtG .tre files

7 -
Edit your .cfd files as explained there :
https://github.com/ModTheGalaxy/mtgserver/wiki/Guide-Client-Setup

8 -
Edit your swgemu_live.cfg file replacing all SWG .tre files by the list of MtG .tre files.
At the moment of this post it is maxSearchPriority=23
I personnaly put the Planets.tre after patch_023. tre and parch_022.tre ones.

9 -
Edit your swgemu_login.cfg file to add the IP adress of your server.
[ClientGame]
loginServerAddress0=192.168.0.xxx (xxx is what you get after your own install.)
loginServerPort0=44453

10 -
Create a shortcut of you SWGEmu.exe file.
I use it to launch the game

Maybe this is not the good way to proceed but i could not find anything on the server to explain it
The game is working using this method (kindof)
i have the same iussue (only old races / planets).
On my server i have only mtg*.tre files.
On my client should i delete all tre files except mt ones?

"Edit your swgemu_live.cfg file replacing all SWG .tre files by the list of MtG .tre files."

i modify my swgemu_live.cfg as

[SharedFile]
maxSearchPriority=23
searchTree_00_23=mtg_planets.tre
searchTree_00_22=mtg_patch_23.tre
searchTree_00_21=mtg_patch_22.tre
searchTree_00_20=mtg_patch_21.tre
searchTree_00_19=mtg_patch_019.tre
searchTree_00_18=mtg_patch_018.tre
searchTree_00_17=mtg_patch_017.tre
searchTree_00_16=mtg_patch_016.tre
searchTree_00_15=mtg_patch_015.tre
searchTree_00_14=mtg_patch_014.tre
searchTree_00_13=mtg_patch_013_configurable_02.tre
searchTree_00_12=mtg_patch_012_configurable_01.tre
searchTree_00_11=mtg_patch_011_files_01.tre
searchTree_00_10=mtg_patch_007_texture_03.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

But i don't know what is wrong...
 
Joined
Sep 25, 2019
Messages
8
is this the correct order for the swgemu_live.cfg file?

[SharedFile]
maxSearchPriority=23
searchTree_00_23=mtg_planets.tre
searchTree_00_22=mtg_patch_23.tre
searchTree_00_21=mtg_patch_22.tre
searchTree_00_20=mtg_patch_21.tre
searchTree_00_19=mtg_patch_019.tre
searchTree_00_18=mtg_patch_018.tre
searchTree_00_17=mtg_patch_017.tre
searchTree_00_16=mtg_patch_016.tre
searchTree_00_15=mtg_patch_015.tre
searchTree_00_14=mtg_patch_014.tre
searchTree_00_13=mtg_patch_013_configurable_02.tre
searchTree_00_12=mtg_patch_012_configurable_01.tre
searchTree_00_11=mtg_patch_011_files_01.tre
searchTree_00_10=mtg_patch_007_texture_03.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
 

Downstown

New Member
Joined
Aug 27, 2019
Messages
3
This is the problem i have.

RaiRaiTheRaichu have you solved the problem?


EDIT : Thanks to Borrie Bobaka on discord i could solve this problem. I edited the --planets.tre file in config.lua and commented also the lines on new planets in the list. Then i took off the planets.tre file from both, server and client.
Now i have my planets and maps working fine.
I will work on the new set up of added planets so it does not mess everything up later.
I am having the same problem as well. I teleport to Mustafar, Kashyyyk_main, etc. and no buildings, spawns or mob's, etc. All the planets (none of the space) are enabled in my config.lua and only mtg .tre files in the swgemu_login. And I don't have the option to create any of the custom species at the character creation. Any other ideas or anything else more specific I need to do?
 
Last edited:

Lasko

Moderator
Staff member
Moderator
Joined
Feb 13, 2012
Messages
278
The correct order for the tre's is in the config.lua

If, for some reason, you change the order, things will not work correctly.


TreFiles = {
"mtg_patch_023.tre",
"mtg_patch_022.tre",
"mtg_planets.tre",
"mtg_patch_021.tre",

etc etc.
 

Jon310

New Member
Joined
Jun 20, 2013
Messages
1
[Edit]:
I assume AutoReg = 1 in config.lua means accounts can be created with the client, so my issue probably isn't having an empty accounts table in the database. I've tried starting over and doing it all over again, but I am getting the same issue.

This is the error in the console I get when trying to log in with any info.
[ZonePacketHandler] WARNING - unknown opcode 0x41131f96

[Edit 2]:
I got it working by trying to build inside the ZD VM. Planet maps are off for me, but that's a task for a later time. Thank you for putting this together.

Thank you,
- Jon
 
Last edited:

Downstown

New Member
Joined
Aug 27, 2019
Messages
3
The correct order for the tre's is in the config.lua

If, for some reason, you change the order, things will not work correctly.


TreFiles = {
"mtg_patch_023.tre",
"mtg_patch_022.tre",
"mtg_planets.tre",
"mtg_patch_021.tre",

etc etc.

So I can create and use the custom character species but there are still no buildings, MOB's, cities, etc. on any of the custom planets. For example, when I teleport to Mustafar, it only shows:

[mustafar_region_names]:mensix.

All my tre's are in the correct order in my config.lua file and I have only the mtg.tre files and all the planets are committed enabled as well.
 
Last edited:

Lasko

Moderator
Staff member
Moderator
Joined
Feb 13, 2012
Messages
278
That's because nobody has added any code for Musty or Kash.

The planets are there but no content.
 

Downstown

New Member
Joined
Aug 27, 2019
Messages
3
That's because nobody has added any code for Musty or Kash.

The planets are there but no content.
Ahhh.... now it makes sense. All this time and I thought it was something wrong on my end. Thank you for the info. And thank you for everything you do. I've followed your tips and tricks for years from swgemu then followed here. I've learned a lot and have had much more fun dabbling under the hood with Star Wars Galaxies. /hatsoff. /kowtow.