Jump to content
  • 0

Is it possible to use NeedSkillList for more than one job?


Akaiger

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   1
  • Joined:  10/02/19
  • Last Seen:  

I'm trying to add Remove Trap skill to the SA expanded tree, but for some reason, whenever I add its reqs, it causes the game to crash. It seems like it's a crash related to NeedSkillList not accepting a second parameter. Everything else is ok, when I remove the super novice lines(including commas) from that one skill, I get no error. Otherwise, the game seems to stop loading my character's skill tree once it hits the Remove Trap code, reporting the "bad argument #2, expected number, got nil" lua error, and the game resumes with its incomplete skilltree. Since the skill is used by Hunters skill, I can't change the _NeedSkillList, same with Rogues, I can't remove it from the NeedSkillList. Any thoughts on solving this situation? I think this maybe a syntax issue... but I can't tell.

EDIT: the bad argument error above happens at "c_AddNeedSkillList", and proceeds to happen again once I reload skill_db in-game

Quote

	[SKID.HT_REMOVETRAP] = {
		"HT_REMOVETRAP",
		SkillName = "Remove Trap",
		MaxLv = 1,
		SpAmount = { 5 },
		bSeperateLv = false,
		AttackRange = { 2 },
		_NeedSkillList = {
			{ SKID.HT_LANDMINE, 1 }
		},
		NeedSkillList = {
			[JOBID.JT_ROGUE] = {
				{ SKID.AC_DOUBLE, 5 }
			},
			[JOBID.JT_SUPERNOVICE2] = {
				{ SKID.HT_ANKLESNARE, 1}
			}
		},
	},

 

 

Edited by Akaiger
info
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   1
  • Joined:  10/02/19
  • Last Seen:  

19 hours ago, Naruto said:

well if you cant see that then your a retard 

Why are you insulting someone who is legit asking about how to do something? I just asked that because your answer was off-topic. What you said isn't going to help me do the client edit, you didn't have to say anything about how the skill tree progression works because it's not an proper answer. You just came here and replied to my question with a pointless choice of words. Don't do that, if you're not trying to help.

EDIT:

On 10/7/2019 at 9:52 PM, JohnnyPlayy said:

	[SKID.HT_REMOVETRAP] = {
		"HT_REMOVETRAP",
		SkillName = "Remover armadilha",
		MaxLv = 1,
		SpAmount = {5},
		bSeperateLv = false,
		AttackRange = {2},
		_NeedSkillList = {
			{SKID.HT_LANDMINE, 1}
		}
		NeedSkillList = {
			[JOBID.JT_ROGUE] = {
				{SKID.AC_DOUBLE, 5}
			}
			[JOBID.JT_SUPERNOVICE2] = {
				{SKID.HT_ANKLESNARE, 1}
			}
		}
	},

Looks like there is one more comma

 

Ok, looks like your script removed three commas, I was supposed only to remove the last one(which I didn't see, beforehand), ty anyway. Solved.

Edited by Akaiger
Edit I found out the error
  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   13
  • Joined:  03/20/16
  • Last Seen:  

	[SKID.HT_REMOVETRAP] = {
		"HT_REMOVETRAP",
		SkillName = "Remover armadilha",
		MaxLv = 1,
		SpAmount = {5},
		bSeperateLv = false,
		AttackRange = {2},
		_NeedSkillList = {
			{SKID.HT_LANDMINE, 1}
		}
		NeedSkillList = {
			[JOBID.JT_ROGUE] = {
				{SKID.AC_DOUBLE, 5}
			}
			[JOBID.JT_SUPERNOVICE2] = {
				{SKID.HT_ANKLESNARE, 1}
			}
		}
	},

Looks like there is one more comma

 

Edited by JohnnyPlayy
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  416
  • Reputation:   73
  • Joined:  05/16/19
  • Last Seen:  

maybe but heres a fact

 

super novice cant use bows but needs all vultures eyes and owls eye to unlock attention concentrate

Edited by Naruto
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   1
  • Joined:  10/02/19
  • Last Seen:  

15 hours ago, JohnnyPlayy said:

	[SKID.HT_REMOVETRAP] = {
		"HT_REMOVETRAP",
		SkillName = "Remover armadilha",
		MaxLv = 1,
		SpAmount = {5},
		bSeperateLv = false,
		AttackRange = {2},
		_NeedSkillList = {
			{SKID.HT_LANDMINE, 1}
		}
		NeedSkillList = {
			[JOBID.JT_ROGUE] = {
				{SKID.AC_DOUBLE, 5}
			}
			[JOBID.JT_SUPERNOVICE2] = {
				{SKID.HT_ANKLESNARE, 1}
			}
		}
	},

Looks like there is one more comma

 

Removing the comma between the requirements in NeedSkillList causes an lua error, " expected (to close '{' at line 1327) near '[' "
Any other thoughts?
Edit: same with removing the comma between the _NeedSkillList and NeedSkillList

20 minutes ago, Naruto said:

maybe but heres a fact

 

super novice cant use bows but needs all vultures eyes and owls eye to unlock attention concentrate

How is that related to what I asked?

Edited by Akaiger
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  416
  • Reputation:   73
  • Joined:  05/16/19
  • Last Seen:  

6 hours ago, Akaiger said:

Removing the comma between the requirements in NeedSkillList causes an lua error, " expected (to close '{' at line 1327) near '[' "
Any other thoughts?
Edit: same with removing the comma between the _NeedSkillList and NeedSkillList

How is that related to what I asked?

well if you cant see that then your a retard 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   1
  • Joined:  10/02/19
  • Last Seen:  

double post, delete please

Edited by Akaiger
double post
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  416
  • Reputation:   73
  • Joined:  05/16/19
  • Last Seen:  

4 hours ago, Akaiger said:

Why are you insulting someone who is legit asking about how to do something? I just asked that because your answer was off-topic. What you said isn't going to help me do the client edit, you didn't have to say anything about how the skill tree progression works because it's not an proper answer. You just came here and replied to my question with a pointless choice of words. Don't do that, if you're not trying to help.

EDIT:

Ok, looks like your script removed three commas, I was supposed only to remove the last one(which I didn't see, beforehand), ty anyway. Solved.

well i was suggesting you werent able to do it, but you were stuck on your commas? thats the most basic error...

so before you start making up hocus pocus modifications to your client,learn how to count your comas 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...