WSNM weapon skills

x8jason8x
Posts: 44
Joined: Mon Jan 15, 2018 9:20 am

Re: WSNM weapon skills

Post by x8jason8x » Tue Jan 23, 2018 11:05 pm

Just tried it and it crashed my server again. There's clearly a problem with this syntax. Knas says my crash.bat executed, but nothing in log again.

EDIT: Virtual Studio crashed each time.
Last edited by x8jason8x on Tue Jan 23, 2018 11:10 pm, edited 1 time in total.

User avatar
Zynjec
Posts: 9
Joined: Sun Nov 19, 2017 7:25 pm

Re: WSNM weapon skills

Post by Zynjec » Tue Jan 23, 2018 11:09 pm

x8jason8x wrote:Just tried it and it crashed my server again. There's clearly a problem with this syntax. Knas says my crash.bat executed, but nothing in log again.
What is the exact command you used?

x8jason8x
Posts: 44
Joined: Mon Jan 15, 2018 9:20 am

Re: WSNM weapon skills

Post by x8jason8x » Tue Jan 23, 2018 11:11 pm

player:addLearnedWeaponskill(169) in npc's event finish

User avatar
Zynjec
Posts: 9
Joined: Sun Nov 19, 2017 7:25 pm

Re: WSNM weapon skills

Post by Zynjec » Tue Jan 23, 2018 11:14 pm

x8jason8x wrote:player:addLearnedWeaponskill(169) in npc's event finish
addLearnedWeaponskill takes unlock_id, not weaponskillid, please refer to the table i posted last page.

I'm guessing you're wanting to unlock Black Halo, so that should actually be player:addLearnedWeaponskill(11)

x8jason8x
Posts: 44
Joined: Mon Jan 15, 2018 9:20 am

Re: WSNM weapon skills

Post by x8jason8x » Tue Jan 23, 2018 11:18 pm

I also see that I had it in the trigger function, that's probably why it crashed. Thanks for the help!

Post Reply