Inventory Issues

Polariszene

Member
Joined
Feb 19, 2017
Messages
101
what would cause an looted item %TT to be looted and take up space in your inventory but not be shown in your inventory?
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
Because you don't have that item in your tre files or its setup is wrong. Take its template from your object.lua and check if it fits your object tres.
 

Polariszene

Member
Joined
Feb 19, 2017
Messages
101
Because you don't have that item in your tre files or its setup is wrong. Take its template from your object.lua and check if it fits your object tres.
i check both the object and tre files both match up, so what i did was went into jawa_common.lua and commented out everything that was showing up as loot and just left what wasn't showing up and when i loot them the missing items shows up..... could it be the weight of the item?
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
I don't think so. When an item disappears from the inventory or datapad is because the object template is badly configured in tre files (client is missing it) or object.lua from its directory.
 

Tyclo

New Member
Joined
Nov 23, 2016
Messages
16
I assume this is a new loot item with a new template since you're checking the tre?

You created the template, included it in a serverobjects.lua, added it to an objects lua file, then if you made a new objects file you included it in the allobjects.lua. You've also made a new loot item template, included that in the loot/items.lua file, then added the loot item template to the loot group.

If you've done all that and assuming you followed a guide for creating a new object, the behavior you describe sounds like you forgot to add it to the misc/object_template_crc_string_table.iff file.
 
Top Bottom