Adding new schem, doesn't show up

Raize

New Member
Joined
Jul 24, 2018
Messages
25
I've attached my files for anyone that would like to assist, use them, etc....

I've been able to add a bunch of new items, so I have a general understanding of what is required.

Object works and can be generated.
Deed works and can be generated.
./generatecrafteditem works, the deed looks correct and I can use it.
entry in schematics.lua
entry in draftschematics datatable
Schem group granted in skills datatable
I can see the schematic granted in the skills tree
the schematic simply never shows up, using a private crafting station.

I've regrantedskills, recreated schematics.db, rebuilt .tre, renamed the .tre

Hopefully I'm looking over something silly.

Thanks
 
Last edited:

Raize

New Member
Joined
Jul 24, 2018
Messages
25
Is there a limitation on how many schematics you can have? I put this issue down months ago. I picked it back up, but recreated everything from scratch and the schematic simply will not appear on the Schematics tab.

I'm creating an ELITE Fusion Generator.

object/installation/power_generator_fusion_elite.lua -> objects.lua -> serverobjects.lua -> CHECK and can manually generate
/object createitem object/installation/power_generator_fusion_elite
Creates the object in my inv

object/tangible/deed/generator_deed/generator_fusion_elite.lua -> serverobjects.lua -> objects.lua -> checked and canmanually generate
/object createitem object/tangible/deed/generator_deed/generator_fusion_elite
Creates a usable deed in my inv
Can place the object, turn it on, correct name values are pulled from stf files, etc..

object/draft_schematic/structure/installation_generator_fusion_elite.lua -> objects.lua -> serverobjects.lua -> CHECK and can manually craft
/generatecrafteditem object/draft_schematic/structure/installation_generator_fusion_elite
Creates a usable deed in my inv
Can be placed and appears correct.

Arch Skill tree shows the Schem as trained at master, names appears correctly
+Deed for: ELITE Fusion harvester

bin/scripts/managers/crafting/schematics.lua -> entry verified correct
datatables/crafting/schematic_group.iff -> contains the groupId and schematic Name (object/draft_schematic/structure/installation_generator_fusion_elite.iff

.iff entries in tre verified correct and objects display correctly in the game.

./core3 runUnitTests has no errors.

No amount training/retraining, with the frog, regrant command, or manually one by one, will make the schematic visible on the schematics installation deed listing.

I"m at the point that I would pay someone to figure this out, just to learn what I'm doing wrong :)
 
Last edited:

Valkyra

Member
Joined
Aug 31, 2010
Messages
211
You say you have it in skills.iff but what about the schematic groups iff edit? Wasn't mentioned but might be worth a start :)
 

Raize

New Member
Joined
Jul 24, 2018
Messages
25
Yeah sorry I left that out of my post, I have it associated to several schematics groups in the schematicsgroup.iff
 
Joined
Jun 18, 2013
Messages
41
Did you have the Elite mineral harvester enabled from the get-go on your server? If not, the question becomes "what did you do differently that time?"

If so, what happens if you delete your dbs in test, then try? I had an issue post publish 8 where I just *could not* get new schematics to show up without a db wipe, where before that I'd never had any issue. (Meaning, new schematics added native to a prof.) Making stuff into a learnable loot schematic did work, which may be an option for you if all else fails.
 

Raize

New Member
Joined
Jul 24, 2018
Messages
25
So I got this figured out. In merging the MTG code, I had overlooked a redundant load of serverobjects file, containing basically empty objects. So even tho runUnitTests wasn't reporting any errors, the end result was my Expected functional *.lua files, being overwritten by empties.

If anyone wants to use them.. I've posted a link to everything below. The tre files are in there, but you will need to enter your own stf entries as I didn't copy those over.


https://drive.google.com/open?id=1-m1MBhs1TggdNx7xVrL11s1l1FitWNcq
 
Top Bottom