MTG items not available / missing

ketaminko

New Member
Joined
May 14, 2023
Messages
17
I set up a fresh install of MTG and yes I also added the MTG TRE files when building the core.
However, in game, none of the new items are available even if I try to gm them in

/generate items from the mtgserver/MMOCoreORB/bin/scripts/object/custom_content dir

I just keep getting file entered not valid, please be sure to use the draft schematics server scripts path not client path

what have I done wrong?
 

Pastafreak

New Member
Joined
Mar 24, 2023
Messages
12
I believe you have to go into scripts/object/serverobjects.lua and direct it to include the server objects file in the custom_content folder. You will have to do the same for the mobile custom_content files.
 

ketaminko

New Member
Joined
May 14, 2023
Messages
17
I have modded my files but things are still not working.


swgemu_live.cfg
maxSearchPriority=23
searchTree_00_22=mtg_patch_23.tre
searchTree_00_21=mtg_patch_22.tre
searchTree_00_20=mtg_planets.tre
searchTree_00_19=mtg_patch_21.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


Config.lua

------TRE config------
TrePath = "/home/swgemu/Desktop/SWGEmu",
TreFiles = {
"mtg_patch_23.tre",
"mtg_patch_22.tre",
"mtg_planets.tre",
"mtg_patch_21.tre",
"mtg_patch_019.tre",
"mtg_patch_018.tre",
"mtg_patch_017.tre",
"mtg_patch_016.tre",
"mtg_patch_015.tre",
"mtg_patch_014.tre",
"mtg_patch_013_configurable_02.tre",
"mtg_patch_012_configurable_01.tre",
"mtg_patch_011_files_01.tre",
"mtg_patch_010_object_01.tre",
"mtg_patch_009_Shader_01.tre",
"mtg_patch_008_texture_04.tre",
"mtg_patch_007_texture_03.tre",
"mtg_patch_006_texture_02.tre",
"mtg_patch_005_texture_01.tre",
"mtg_patch_004_appearance_04.tre",
"mtg_patch_003_appearance_03.tre",
"mtg_patch_002_appearance_02.tre",
"mtg_patch_001_appearance_01.tre"


This part I have not done this because I can't find any guides
scripts/object/serverobjects.lua
mobile custom_content files.
 

Pastafreak

New Member
Joined
Mar 24, 2023
Messages
12
In scripts/object/serverobjects.lua make sure you have an entry that includes the custom_content folder.
the line should look like this - includeFile("custom_content/serverobjects.lua")

in scripts/mobile/serverobjects.lua you will need to add the same entry to include the mobile custom_contents.
 
Top Bottom