Hi, i want to create a new jobs in the game, all is nealy done but the jobs don’t appear in the “change jobs tree” and i want to know what i must do to fix this problem.
Did you inserted it in the job index?
yep, in my manifest :
“mixintos”:
{
“stonehearth:jobs:index”: “file(jobs/index.json)”
},
and my index.json is good.
If you have it in your job index, and it is being added to the game job index, it should work.
Your job should also have a correct parent job, usually it is the worker job as the parent, unless your job is a tier 2, then you add the correct parent.
Else, you can check at the stonehearth.log (a txt file in the game folder) to see what errors are recorded there
“parent_job”: “stonehearth:jobs:worker”,
“parent_level_requirement”: 1,
is that good ?
or i must put a 0 in the requirement ?
For a worker parent you don’t need a level_requirement.
Are there any errors displayed in the stonehearth.log?
this is the end of my log file, and i don’t really know
2018-06-08 17:12:18.409558 | client | 0 | client.core | reporting client load progress 88.75%…
2018-06-08 17:12:18.470363 | client | 0 | client.core | reporting client load progress 91.5%…
2018-06-08 17:12:18.519260 | client | 0 | client.core | reporting client load progress 94.25%…
2018-06-08 17:12:18.583060 | client | 0 | client.core | reporting client load progress 97%…
2018-06-08 17:12:18.658858 | client | 0 | client.core | reporting client load progress 99.75%…
2018-06-08 17:12:18.664844 | client | 0 | client.core | SetCurrentUIScreen to restart
2018-06-08 17:12:19.741201 | client | 0 | client.core | Changed UI Screen after load
2018-06-08 17:12:20.432168 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:191 ack:191)
2018-06-08 17:12:20.483843 | server | 1 | simulation.remote_client | started buffering client updates. (seq:231 ack:191)
2018-06-08 17:12:20.511736 | client | 1 | lua.code | unrecognized object type ‘boxed’ in json_to_lua!
2018-06-08 17:12:20.511736 | client | 1 | lua.code | unrecognized object type ‘boxed’ in json_to_lua!
2018-06-08 17:12:20.586009 | server | 1 | lua.code | unrecognized object type ‘boxed’ in json_to_lua!
2018-06-08 17:12:20.586009 | server | 1 | lua.code | unrecognized object type ‘boxed’ in json_to_lua!
2018-06-08 17:12:20.637683 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:231 ack:231)
2018-06-08 17:13:11.756196 | client | 1 | rpc | critical error in http reactor: could not trace[trace 12048 ]
2018-06-08 17:13:30.798336 | client | 1 | rpc | critical error in http reactor: could not trace[trace 15261 5]
okay, after many attempt, i found the problem and its working
you must have a valid icon for the level or this will never appear in the jobs tree !
“level_data”: {
“1”: {
“perks”: [
{
"icon": “file(…/common/images/test.png)”,
}
]
}