Problem with _new_2dlayerdir_f

MaminhA

New member
Messages
25
Points
0
Hi guys, so I'm having this kind of issue with spreditinfo/_new_2dlayerdir_f.lua:

2zgx2ys.png


It states that the table index of a specific entry is null, but it isn't. In fact, all of these entries are said to have null indexes:

[JOBID.JT_CHICKEN_B] = JOBID.JT_CHICKEN,
[JOBID.JT_CHICKEN2_B] = JOBID.JT_CHICKEN2,
[JOBID.JT_THIRDJOB_BEGIN] = JOBID.JT_NOVICE,
[JOBID.JT_RUNE_CHICKEN_H] = JOBID.JT_RUNE_CHICKEN,
[JOBID.JT_ROYAL_CHICKEN_H] = JOBID.JT_ROYAL_CHICKEN
[JOBID.JT_WOLF_RANGER_H] = JOBID.JT_WOLF_RANGER,
[JOBID.JT_MADOGEAR_H] = JOBID.JT_MADOGEAR,
[JOBID.JT_RUNE_CHICKEN2] = JOBID.JT_RUNE_CHICKEN,
[JOBID.JT_RUNE_CHICKEN2_H] = JOBID.JT_RUNE_CHICKEN,
[JOBID.JT_RUNE_CHICKEN3] = JOBID.JT_RUNE_CHICKEN,
[JOBID.JT_RUNE_CHICKEN3_H] = JOBID.JT_RUNE_CHICKEN,
[JOBID.JT_RUNE_CHICKEN4] = JOBID.JT_RUNE_CHICKEN,
[JOBID.JT_RUNE_CHICKEN4_H] = JOBID.JT_RUNE_CHICKEN,
[JOBID.JT_RUNE_CHICKEN5] = JOBID.JT_RUNE_CHICKEN,
[JOBID.JT_RUNE_CHICKEN5_H] = JOBID.JT_RUNE_CHICKEN,
[JOBID.JT_RUNE_CHICKEN_B] = JOBID.JT_RUNE_CHICKEN,
[JOBID.JT_ROYAL_CHICKEN_B] = JOBID.JT_ROYAL_CHICKEN,
[JOBID.JT_WOLF_RANGER_B] = JOBID.JT_WOLF_RANGER,
[JOBID.JT_MADOGEAR_B] = JOBID.JT_MADOGEAR,
[JOBID.JT_THIRDJOB_END] = JOBID.JT_NOVICE,
[JOBID.JT_FOX_PROF] = JOBID.JT_FOX_MAGICIAN,
[JOBID.JT_PECO_SWORD_B] = JOBID.JT_PECO_SWORD,
[JOBID.JT_PECO_SWORD_H] = JOBID.JT_PECO_SWORD,
[JOBID.JT_PIG_MECHANIC] = JOBID.JT_PIG_MERCHANT,
[JOBID.JT_OSTRICH_RANGER] = JOBID.JT_OSTRICH_ARCHER,
[JOBID.JT_LION_KNIGHT_H] = JOBID.JT_LION_KNIGHT,
[JOBID.JT_LION_ROYAL_GUARD] = JOBID.JT_LION_KNIGHT,
[JOBID.JT_LION_RUNE_KNIGHT] = JOBID.JT_LION_KNIGHT,
[JOBID.JT_LION_CRUSADER] = JOBID.JT_LION_KNIGHT,
[JOBID.JT_LION_CRUSADER_H] = JOBID.JT_LION_KNIGHT,
[JOBID.JT_PIG_MECHANIC_B] = JOBID.JT_PIG_MERCHANT,
[JOBID.JT_OSTRICH_RANGER_B] = JOBID.JT_OSTRICH_ARCHER,
[JOBID.JT_LION_KNIGHT_B] = JOBID.JT_LION_KNIGHT,
[JOBID.JT_LION_ROYAL_GUARD_B] = JOBID.JT_LION_KNIGHT,
[JOBID.JT_LION_RUNE_KNIGHT_B] = JOBID.JT_LION_KNIGHT,
[JOBID.JT_LION_CRUSADER_B] = JOBID.JT_LION_KNIGHT,

Though, all of them have their index set in skillinfoz/jobinheritlist.lua.

I overcame this problem by disabling these entries in the _new_2dlayerdir_f.lua, but I would prefer not to disable them, but to solve the issue properly.

Am I missing something? Is there any configuration I am missing? Thanks for reading.

PS.: I used for testing the 2013-12-23 hexed. I also made a 100% new data folder for bRO, with lua files totally combined from the kRO, bRO and iRO.

 
Can you show line 150-158?

this can happen (if that line is from jobinherit), then if you have 2 entries of same id in jobinherit, then those entries become null.

 
Can you show line 150-158?

this can happen (if that line is from jobinherit), then if you have 2 entries of same id in jobinherit, then those entries become null.
Hey, Dastgir, thanks for responding;

These are the lines 150-158 from _new_2dlayerdir_f.lua:

[JOBID.JT_PORING_SNOVICE2_B] = JOBID.JT_PORING_NOVICE,

[JOBID.JT_SHEEP_PRIEST_B] = JOBID.JT_SHEEP_MONK,

[JOBID.JT_FOX_WIZ_B] = JOBID.JT_FOX_MAGICIAN,

[JOBID.JT_PIG_BLACKSMITH_B] = JOBID.JT_PIG_MERCHANT,

[JOBID.JT_PIG_MECHANIC] = JOBID.JT_PIG_MERCHANT,

[JOBID.JT_OSTRICH_RANGER] = JOBID.JT_OSTRICH_ARCHER,

[JOBID.JT_LION_KNIGHT_H] = JOBID.JT_LION_KNIGHT,

[JOBID.JT_LION_ROYAL_GUARD] = JOBID.JT_LION_KNIGHT,

[JOBID.JT_LION_RUNE_KNIGHT] = JOBID.JT_LION_KNIGHT,

And, these are the lines 150-158 from jobinheritlist.lua:

JT_PIG_MERCHANT = 4119,

JT_PIG_GENETIC = 4120,

JT_PIG_CREATOR = 4121,

JT_OSTRICH_ARCHER = 4122,

JT_PORING_STAR = 4123,

JT_PORING_NOVICE = 4124,

JT_SHEEP_MONK = 4125,

JT_SHEEP_ACO = 4126,

JT_SHEEP_SURA = 4127,

@Edit

I think I may have found where the problem is:

All of the entries in the table JOBID in jobinheritlist.lua are also found in another table (JOB_INHERIT_LIST) inside jobinheritlist.lua, except the ones broken in _new_2dlayerdir_f.lua. I think that if I add the inheritance to those missing entries to the table JOB_INHERIT_LIST I can overcome the problem. But, another question arises: what is the inheritance of those problematic entries in _new_2dlayerdir_f.lua?

@Edit 2:

As I researched through kRO and kRO-RE, both use the same files I'm having problems, so I don't know if what I found to be the problem is really a problem.

@Edit3

Yesterday I found that the problem was caused by the client I was using, so I guess we could close this topic by now...

 
Last edited by a moderator:
Back
Top