Page 1 of 2

WSNM weapon skills

Posted: Fri Sep 02, 2016 8:56 am
by siuhamlop
What could be the reason that already @capallskills but still no WSNM weapon skill on list?
Please help thank you.

Re: WSNM weapon skills

Posted: Fri Sep 02, 2016 8:27 pm
by kjLotus
They need to be unlocked via the quest (though the quests are not scripted yet)

Re: WSNM weapon skills

Posted: Fri Sep 02, 2016 9:13 pm
by siuhamlop
Thank you for the reply, kj. Because I read from other post saying that even though the WSNM quests are not implemented yet but the WS will automatic added upon 250 skill. :D

Re: WSNM weapon skills

Posted: Sat Sep 03, 2016 2:03 am
by kjLotus
yes, that was a long time ago and I made them require unlocking about a month ago

Re: WSNM weapon skills

Posted: Mon Nov 07, 2016 9:04 pm
by stamcof
Is there a way to add these manually or just gotta wait till the quests are scripted?

Re: WSNM weapon skills

Posted: Mon Nov 07, 2016 9:13 pm
by kjLotus
for a gm command, you can use @exec GetPlayerByName('name'):addLearnedWeaponskill(unlockid)

where unlockid is the unlock_id column in weapon_skills table

Re: WSNM weapon skills

Posted: Tue Jan 23, 2018 9:33 pm
by x8jason8x
Sorry for the necrobump, but I tried that command above(replacing @ with ! for current command) manually and scripted, and it crashed my server. I'm trying to find the proper syntax for unlocking the weaponskills for an NPC, until I get all the quests scripted, any help would be appreciated.

Re: WSNM weapon skills

Posted: Tue Jan 23, 2018 10:05 pm
by whasf
Where did it crash and all that?

Re: WSNM weapon skills

Posted: Tue Jan 23, 2018 10:20 pm
by x8jason8x
Idk, my crash log doesn't seem to be working atm, something else to fix.

Really, I just need the command I'd script for unlocking them.

Re: WSNM weapon skills

Posted: Tue Jan 23, 2018 10:46 pm
by Zynjec
x8jason8x wrote:Idk, my crash log doesn't seem to be working atm, something else to fix.

Really, I just need the command I'd script for unlocking them.

Code: Select all

 > select name,unlock_id from weapon_skills where unlock_id != 0;
+------------------+-----------+
| name             | unlock_id |
+------------------+-----------+
| asuran_fists     |         1 |
| ascetics_fury    |        15 |
| stringing_pummel |        16 |
| victory_smite    |        35 |
| evisceration     |         2 |
| mandalic_stab    |        17 |
| mordant_rime     |        18 |
| pyrrhic_kleos    |        19 |
| rudras_storm     |        36 |
| savage_blade     |         3 |
| chant_du_cygne   |        37 |
| death_blossom    |        20 |
| atonement        |        21 |
| expiacion        |        22 |
| ground_strike    |         4 |
| torcleaver       |        38 |
| decimation       |         5 |
| primal_rend      |        23 |
| ruinator         |        39 |
| steel_cyclone    |         6 |
| kings_justice    |        24 |
| ukkos_fury       |        40 |
| spiral_hell      |         7 |
| insurgency       |        25 |
| quietus          |        41 |
| impulse_drive    |         8 |
| drakesbane       |        26 |
| camlanns_torment |        42 |
| blade_ku         |         9 |
| blade_kamu       |        27 |
| blade_hi         |        43 |
| tachi_kasha      |        10 |
| tachi_rana       |        28 |
| tachi_fudo       |        44 |
| black_halo       |        11 |
| mystic_boon      |        29 |
| dagan            |        45 |
| retribution      |        12 |
| vidohunir        |        30 |
| garland_of_bliss |        31 |
| omniscience      |        32 |
| myrkr            |        46 |
| empyreal_arrow   |        13 |
| jishnus_radiance |        47 |
| detonator        |        14 |
| trueflight       |        33 |
| leaden_salute    |        34 |
| wildfire         |        48 |
+------------------+-----------+
If you're scripting them on an NPC, it'd just be something like player:addLearnedWeaponskill(id-from-above), if you're just using exec, !exec GetPlayerByName('<me>'):addLearnedWeaponskill(id-from-above).