NGE Content and 14.1 Client

Xela

New Member
Joined
Aug 5, 2016
Messages
9
I started working on importing all NGE content into 14.1, focusing on structures then weapons and to accelerate my test I choose to use load order to my advantage.

I have all objects from post 14.1 added into one tre (loaded first) than I load 14.1 content and finally load a tre with strings & misc/object_template_crc_string_table.iff however I'm receiving the below error when spawning anything


Code:
(182 s) [AdminCommands] Xela used '/createspawningelement' on (null) with params 'spawn object/tangible/food/generic/shared_drink_cortyg.iff'
(182 s) [ObjectManager] ERROR - trying to create object with unknown objectcrc 0xb6b2e51e
(182 s) [ZoneServer Testcenter] ERROR - TemplateManager::getTemplateFile exception unknown template key 0xb6b2e51e
TemplateManager::getTemplateFile exception unknown template key 0xb6b2e51e
??:?
??:?
/home/nwadmin/workspace/Core3/MMOCoreORB/build/unix/src/../../../src/templates/manager/TemplateManager.cpp:798 (discriminator 6)
/home/nwadmin/workspace/Core3/MMOCoreORB/build/unix/src/../../../src/server/zone/managers/object/ObjectManager.cpp:868 (discriminator 1)
/home/nwadmin/workspace/Core3/MMOCoreORB/build/unix/src/../../../src/server/zone/ZoneServerImplementation.cpp:567 (discriminator 3)
/home/nwadmin/workspace/Core3/MMOCoreORB/build/unix/src/../../../src/autogen/server/zone/ZoneServer.cpp:390
/home/nwadmin/workspace/Core3/MMOCoreORB/build/unix/src/../../../src/server/zone/objects/creature/commands/CreateSpawningElementCommand.h:144 (discriminator 2)
/home/nwadmin/workspace/Core3/MMOCoreORB/build/unix/src/../../../src/server/zone/managers/objectcontroller/ObjectControllerImplementation.cpp:217
/home/nwadmin/workspace/Core3/MMOCoreORB/build/unix/src/../../../src/autogen/server/zone/managers/objectcontroller/ObjectController.cpp:91
/home/nwadmin/workspace/Core3/MMOCoreORB/build/unix/src/../../../src/server/zone/objects/creature/CreatureObjectImplementation.cpp:1888 (discriminator 1)
/home/nwadmin/workspace/Core3/MMOCoreORB/build/unix/src/../../../src/autogen/server/zone/objects/creature/CreatureObject.cpp:1663
/home/nwadmin/workspace/Core3/MMOCoreORB/build/unix/src/../../../src/server/zone/packets/object/CommandQueueEnqueue.h:77 (discriminator 1)
/home/nwadmin/workspace/Core3/MMOCoreORB/build/unix/src/../../../src/server/zone/packets/object/ObjectControllerMessageCallback.cpp:82
??:?
??:?
??:?
??:0
??:0
 
and per the code referenced,
Code:
String TemplateManager::getTemplateFile(uint32 key) {
 SharedObjectTemplate* templateData = templateCRCMap->get(key);

if (templateData == NULL) {
String ascii = clientTemplateCRCMap->get(key);

if (ascii.isEmpty())
throw Exception("TemplateManager::getTemplateFile exception unknown template key 0x" + String::hexvalueOf((int)key));
else
return ascii;
}

return templateData->getFullTemplateString();
}
I don't understand why clientTemplateCRC is empty..
any help would be appreciated, this is starting to baffle me :/
 

Xela

New Member
Joined
Aug 5, 2016
Messages
9
TyroneSWG said:
sooo.. uh...

Did you try spawning it without shared_?
ya, tried both :p
I should have used the non shared in my upload though
 

Halyn

That One Guy
Staff member
Moderator
Joined
Jan 11, 2015
Messages
257
Location
Empire in Flames
I'll start with the stupid questions - you're using your updated TRE on the server? You added said TRE to the server load configuration? You created appropriate LUA files for each item you're attempting to spawn?
 

Xela

New Member
Joined
Aug 5, 2016
Messages
9
tre is on my server and correct repo :p
tre is being loaded from my config
I created a tool that checks if lua exists if not adds to serverobjects/allobjects based on client objects from tre, lua isn't even needed to use /createspawningelement spawn (only if you want the object to have attributes), the command bypasses and just loads w/e into the world
 

Xela

New Member
Joined
Aug 5, 2016
Messages
9
as another test, this is just the Junti mace, can anyone tell me what I did wrong?
https://cdn.discordapp.com/attachments/212408258974056448/250436813938884608/juntiMace.tre
 

Halyn

That One Guy
Staff member
Moderator
Joined
Jan 11, 2015
Messages
257
Location
Empire in Flames
Wait...you said your custom tre was loaded first. Is it at the bottom of your load order, or the top?
 
Top Bottom