The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
- 0
H>Weapon Mastery from Stolao
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
chryxt
So, i got this from Stolao's script collection
https://github.com/Stolao/Npc_Release/blob/master/Weapon_Mastery/WeaponMastery_v1.20.txt
I tried it on my live server but got error message like this
1. [Error]: Missing 1 right curlys at file 'npc/custom/League MainTown/weaponmastery.txt', line '320'.
2. [Error]: Loading NPC file: npc/custom/League MainTown/weaponmastery.txt
script error on npc/custom/League MainTown/weaponmastery.txt line 138
parse_simpleexpr: unmatched ')'
133 : {
134 : end;
135 : OnWeaponInfo:
136 : set .@M$,.@atcmd_parameters$[0];
137 : if((.@M$ == "")){
* 138 : if(getequipid(EQI_HAND_R)'{' set .@ei,getiteminfo(getequipid(EQI_HAND_R),11);
139 : } else { set .@ei,-1; }
140 : switch(.@ei){
141 : case 3: case 6: case 7: case 8:
142 : case 9: case 12: set .@M$,"Onslaught"; Break;
143 : case 0: case 1: case 16: case 22: set .@M$,"Swiftness"; Break;
3. [Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/League MainTown/weaponmastery.txt', line '150'. Stopping...

* w1=if(.@M$ == "Onslaught" || .@M$ == "onslaught" || .@M$ == "OnSlaught") set .@i,1;
* w2=
* w3=
* w4=
im stuck, can anyone fix it and make it work?
Thanks before
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.