Jump to content
  • 0

addweaponcargo.txt exception ...


narrundo

Question

hey guys I'm running a server with MAS v1.8 Weapon enabled . I want to put all the weapon that I added on lootlist to the filter like this :

 

5 "" !="arifle_mas_m1014" !="LMG_mas_rpk(_F|_F_h|_F_a|_f_sd)" !="LMG_mas_pkm(_F|_F_h|_F_a)" !="srifle_mas_hk417(_h|_sd|_v|_v_h|_v_sd|_d|_d_h|_h_sd)" !="srifle_mas_sr25(_h|_sd|_v|_v_h|_v_sd|_d|_d_h|_h_sd)" !="srifle_mas_mk17s(_h|_sd)" !="srifle_mas_ebr(_a|_t|_h|_sd)" !="srifle_mas_m110(_h|_sd)" !="srifle_mas_m107(_h|_sd|_v|_v_h|_v_sd|_d|_d_h|_h_sd)" !="srifle_mas_svd(_h|_sd)" !="srifle_mas_lrr(_h|_sd)" !="arifle_mas_l119(_t|_ti|_h|_a|_e|_sd|_v|_v_t|_v_ti|_v_h|_v_a|_v_e|_v_sd|_d|_d_t|_d_ti|_d_h|_d_a|_d_e|_d_sd)" !="arifle_mas_g3(_h|_a|s|s_h|s_a)" !="arifle_mas_bizon(_h|_a|_sd)" !="arifle_mas_fal(_h|_a)" !="arifle_mas_hk417c(_h|_e|_sd|_v|_v_h|_v_e|_v_sd|_d|_d_h|_d_e|_h_sd)" !="arifle_mas_hk416(_t|_h|_a|_e|_sd)" !="arifle_mas_mk17(_h|_e|_sd)" !="arifle_(MXC|MX|MX_GL|MXM|MXM_Black|MX_GL_Black|MX_Black|MXC_Black|MX_SW|MX_SW_Black)_F" !="hgun_mas_(grach|uzi|mak)_F" !="hgun_mas_(grach|uzi|mak)_F_sd" !="arifle_mas_mk16(_h|_e|_sd|_l|_l_h|_l_e|_l_sd)" !="arifle_mas_ak(12_sf|_74m_sf|_74m|_74m_sd|s74_h)" !="arifle_mas(_lee|_lee_l)" !"mas"

and this is a few example of the mas classname :

"arifle_mas_hk417c", "arifle_mas_hk417c_h", "arifle_mas_hk417c_e", "arifle_mas_hk417c_sd", "arifle_mas_hk417_m203c",  "arifle_mas_hk417_m203c_h",  "arifle_mas_hk417_m203c_e", "arifle_mas_hk417_m203c_sd", "arifle_mas_hk417c_v",  "arifle_mas_hk417c_v_h",  "arifle_mas_hk417c_v_e", "arifle_mas_hk417c_v_sd", "arifle_mas_hk417_m203c_v",  "arifle_mas_hk417_m203c_v_h",  "arifle_mas_hk417_m203c_v_e", "arifle_mas_hk417_m203c_v_sd", "arifle_mas_hk417c_d",  "arifle_mas_hk417c_d_h",  "arifle_mas_hk417c_d_e", "arifle_mas_hk417c_d_sd", "arifle_mas_hk417_m203c_d",  "arifle_mas_hk417_m203c_d_h", "arifle_mas_hk417_m203c_d_e", "arifle_mas_hk417_m203c_d_sd"

the question is did I write the exception correct ?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

hey guys I'm running a server with MAS v1.8 Weapon enabled . I want to put all the weapon that I added on lootlist to the filter like this :

 

5 "" !="arifle_mas_m1014" !="LMG_mas_rpk(_F|_F_h|_F_a|_f_sd)" !="LMG_mas_pkm(_F|_F_h|_F_a)" !="srifle_mas_hk417(_h|_sd|_v|_v_h|_v_sd|_d|_d_h|_h_sd)" !="srifle_mas_sr25(_h|_sd|_v|_v_h|_v_sd|_d|_d_h|_h_sd)" !="srifle_mas_mk17s(_h|_sd)" !="srifle_mas_ebr(_a|_t|_h|_sd)" !="srifle_mas_m110(_h|_sd)" !="srifle_mas_m107(_h|_sd|_v|_v_h|_v_sd|_d|_d_h|_h_sd)" !="srifle_mas_svd(_h|_sd)" !="srifle_mas_lrr(_h|_sd)" !="arifle_mas_l119(_t|_ti|_h|_a|_e|_sd|_v|_v_t|_v_ti|_v_h|_v_a|_v_e|_v_sd|_d|_d_t|_d_ti|_d_h|_d_a|_d_e|_d_sd)" !="arifle_mas_g3(_h|_a|s|s_h|s_a)" !="arifle_mas_bizon(_h|_a|_sd)" !="arifle_mas_fal(_h|_a)" !="arifle_mas_hk417c(_h|_e|_sd|_v|_v_h|_v_e|_v_sd|_d|_d_h|_d_e|_h_sd)" !="arifle_mas_hk416(_t|_h|_a|_e|_sd)" !="arifle_mas_mk17(_h|_e|_sd)" !="arifle_(MXC|MX|MX_GL|MXM|MXM_Black|MX_GL_Black|MX_Black|MXC_Black|MX_SW|MX_SW_Black)_F" !="hgun_mas_(grach|uzi|mak)_F" !="hgun_mas_(grach|uzi|mak)_F_sd" !="arifle_mas_mk16(_h|_e|_sd|_l|_l_h|_l_e|_l_sd)" !="arifle_mas_ak(12_sf|_74m_sf|_74m|_74m_sd|s74_h)" !="arifle_mas(_lee|_lee_l)" !"mas"

and this is a few example of the mas classname :

"arifle_mas_hk417c", "arifle_mas_hk417c_h", "arifle_mas_hk417c_e", "arifle_mas_hk417c_sd", "arifle_mas_hk417_m203c",  "arifle_mas_hk417_m203c_h",  "arifle_mas_hk417_m203c_e", "arifle_mas_hk417_m203c_sd", "arifle_mas_hk417c_v",  "arifle_mas_hk417c_v_h",  "arifle_mas_hk417c_v_e", "arifle_mas_hk417c_v_sd", "arifle_mas_hk417_m203c_v",  "arifle_mas_hk417_m203c_v_h",  "arifle_mas_hk417_m203c_v_e", "arifle_mas_hk417_m203c_v_sd", "arifle_mas_hk417c_d",  "arifle_mas_hk417c_d_h",  "arifle_mas_hk417c_d_e", "arifle_mas_hk417c_d_sd", "arifle_mas_hk417_m203c_d",  "arifle_mas_hk417_m203c_d_h", "arifle_mas_hk417_m203c_d_e", "arifle_mas_hk417_m203c_d_sd"

the question is did I write the exception correct ?

 

each classname must look  like this one  !"arifle_mas_hk417c" and no comma only space after each classname

 

If you need to add all this list, then must be like that 

!"arifle_mas_hk417c" !"arifle_mas_hk417c_h" !"arifle_mas_hk417c_e" !"arifle_mas_hk417c_sd" !"arifle_mas_hk417_m203c"  !"arifle_mas_hk417_m203c_h"  !"arifle_mas_hk417_m203c_e" !"arifle_mas_hk417_m203c_sd" !"arifle_mas_hk417c_v"  !"arifle_mas_hk417c_v_h"  !"arifle_mas_hk417c_v_e" !"arifle_mas_hk417c_v_sd" !"arifle_mas_hk417_m203c_v"  !"arifle_mas_hk417_m203c_v_h"  !"arifle_mas_hk417_m203c_v_e" !"arifle_mas_hk417_m203c_v_sd" !"arifle_mas_hk417c_d"  !"arifle_mas_hk417c_d_h"  !"arifle_mas_hk417c_d_e" !"arifle_mas_hk417c_d_sd" !"arifle_mas_hk417_m203c_d"  !"arifle_mas_hk417_m203c_d_h" !"arifle_mas_hk417_m203c_d_e" !"arifle_mas_hk417_m203c_d_sd"
Link to comment
Share on other sites

  • 0

Use the regex format for partially similar classNames.

See the already existing filters and take them as examples.

Greez KiloSwiss

 

So would this....

!"srifle_mas_sr25_sd" !"srifle_mas_lrr_sd" !"srifle_mas_hk417_v_sd" !"srifle_mas_ksvk_sd"

 

become this....

!="srifle_mas_(sr25|lrr|hk417_v|ksvk)_sd"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...