Scripts failing to compile #40

Open
opened 2025-07-09 04:37:20 +00:00 by kalen · 5 comments
Owner

Issue Type

Bug Report

Description

Approximately 500 scripts fail to compile on the NWNEE server. This could be for a variety of reasons. NWNEE is a little more strict with certain syntax issues.

Need to investigate and implement fixes for all of these scripts.

Steps to Reproduce

No response

No response

Screenshots and Logs

No response

Character Name

No response

Account Name

No response

Area/Location

No response

Additional Information

s_sanctuary: s_sanctuary.nss(13): ERROR: INVALID DECLARATION TYPE 
pc_ev_pickpocket: pc_ev_pickpocket.nss(12): ERROR: UNDEFINED IDENTIFIER (AddActionToFront) 
g_rope_ev_unacq: g_rope_ev_unacq.nss(67): ERROR: INVALID DECLARATION TYPE 
agn_g_wokeup: agn_g_wokeup.nss(23): ERROR: INVALID DECLARATION TYPE 
cac_lifecryshb: cac_lifecryshb.nss(8): ERROR: DECLARATION DOES NOT MATCH PARAMETERS
bi_menu_start: bi_menu_start.nss(41): ERROR: NO SEMICOLON AFTER EXPRESSION 
bi_inc_sit: bi_inc_sit.nss(109): ERROR: NON CONSTANT IN FUNCTION DECLARATION
bi_onclick_sit: bi_inc_sit.nss(567): ERROR: MULTIPLE CASE CONSTANT STATEMENTS WITHIN SWITCH
bi_inc_menu_ac: bi_inc_menu_ac.nss(29): ERROR: NO RIGHT BRACKET ON EXPRESSION 
bi_inc_menu_ck: bi_inc_menu_ck.nss(14): ERROR: PARSING VARIABLE LIST 
bi_chair_sit: bi_inc_sit.nss(567): ERROR: MULTIPLE CASE CONSTANT STATEMENTS WITHIN SWITCH
bi_chat_portal: bi_chat_portal.nss(245): ERROR: WHILE CONDITION CANNOT BE FOLLOWED BY A NULL STATEMENT 
bi_chair_zsit: bi_inc_sit.nss(567): ERROR: MULTIPLE CASE CONSTANT STATEMENTS WITHIN SWITCH
bi_banner_exam: bi_banner_exam.nss(250): ERROR: PARSING VARIABLE LIST 
xs_victdarkness: xs_victdarkness.nss(43): ERROR: DECLARATION DOES NOT MATCH PARAMETERS
es_waiter_inc: es_waiter_inc.nss(158): ERROR: UNDEFINED IDENTIFIER (myClearTableSetting) 
es_waiter_wandac: es_waiter_wandac.nss(298): ERROR: MULTIPLE CASE CONSTANT STATEMENTS WITHIN SWITCH
coach_dr_exit: coach_dr_exit.nss(13): ERROR: ELLIPSIS IN IDENTIFIER 
xors_inc_sit: xors_inc_sit.nss(109): ERROR: NON CONSTANT IN FUNCTION DECLARATION 
xors_onclick_sit: xors_inc_sit.nss(567): ERROR: MULTIPLE CASE CONSTANT STATEMENTS WITHIN SWITCH
vgq_q1_itemacq1: vgq_q1_itemacq1.nss(11): ERROR: NO RIGHT BRACKET ON EXPRESSION 
cats_inc_fwlaunc: cats_inc_fwlaunc.nss(56): ERROR: UNDEFINED IDENTIFIER (ApplyEffectToObjectEffectVisualEffect) 
cats_s_count: cats_s_count.nss(22): ERROR: PARSING VARIABLE LIST 
cats_inc_invscan: cats_inc_invscan.nss(32): ERROR: PARSING RETURN STATEMENT 
cats_s_fwbomb: cats_s_fwbomb.nss(53): ERROR: UNKNOWN STATE IN COMPILER 
cats_arc_p1c1: cats_arc_p1c1.nss(11): ERROR: UNTERMINATED STRING CONSTANT 
cats_s_vfxtick: cats_inc_fwlaunc.nss(56): ERROR: UNDEFINED IDENTIFIER (ApplyEffectToObjectEffectVisualEffect) 
cats_s_archuse: cats_inc_invscan.nss(32): ERROR: PARSING RETURN STATEMENT 
atl_ondam_archer: atl_ondam_archer.nss(17): ERROR: DECLARATION DOES NOT MATCH PARAMETERS
xo_chan_inc: xo_chan_inc.nss(123): ERROR: UNKNOWN STATE IN COMPILER 
atas_shield_hb: atas_shield_hb.nss(29): ERROR: DECLARATION DOES NOT MATCH PARAMETERS
atas_forcefld_hb: atas_forcefld_hb.nss(43): ERROR: DECLARATION DOES NOT MATCH PARAMETERS
xfac_inc_shout: xfac_inc_shout.nss(17): ERROR: NO RIGHT BRACKET ON EXPRESSION 
ata_ocp_control: ata_ocp_control.nss(25): ERROR: DECLARATION DOES NOT MATCH PARAMETERS
ata_use_hcreator: ata_use_hcreator.nss(18): ERROR: DECLARATION DOES NOT MATCH PARAMETERS
ata_use_cisforge: ata_use_cisforge.nss(23): ERROR: DECLARATION DOES NOT MATCH PARAMETERS
ata_use_inducer: ata_use_inducer.nss(21): ERROR: DECLARATION DOES NOT MATCH PARAMETERS
ati_geo_load: ati_geo_load.nss(131): ERROR: DECLARATION DOES NOT MATCH PARAMETERS
ati_use_portal2: ati_use_portal2.nss(41): ERROR: NO SEMICOLON AFTER EXPRESSION 
agnn_pop_area: agnn_pop_area.nss(74): ERROR: DECLARATION DOES NOT MATCH PARAMETERS
nela_test: nela_test.nss(5): ERROR: VARIABLE DEFINED WITHOUT TYPE
farm_grow_cycle: farm_grow_cycle.nss(12): ERROR: PARSING VARIABLE LIST 
bhmm_htbt_tal: bhmm_htbt_tal.nss(53): ERROR: BAD VARIABLE NAME 
bhmm_jump_in: bhmm_jump_in.nss(56): ERROR: DECLARATION DOES NOT MATCH PARAMETERS
ahe_mb_onex: ahe_mb_onex.nss(7): ERROR: INVALID DECLARATION TYPE 
atb_ondam_ph: atb_ondam_ph.nss(108): ERROR: DECLARATION DOES NOT MATCH PARAMETERS
ttt_htbt_damsel: ttt_htbt_damsel.nss(53): ERROR: INCORRECT VARIABLE STATE LEFT ON STACK
pcexm_onexamine: pcexm_onexamine.nss(568): ERROR: MULTIPLE CASE CONSTANT STATEMENTS WITHIN SWITCH
irq_questtracker: irq_questtracker.nss(28): ERROR: NO RIGHT BRACKET ON EXPRESSION 
irq_ex_tracker: irq_questtracker.nss(28): ERROR: NO RIGHT BRACKET ON EXPRESSION 
unt_x_lockon11: unt_x_lockon11.nss(187): ERROR: PARSING VARIABLE LIST 
unt_x_bitch: unt_x_bitch.nss(355): ERROR: VARIABLE ALREADY USED WITHIN SCOPE
imp_ctf_dstry: imp_ctf_dstry.nss(4): ERROR: FUNCTION IMPLEMENTATION AND DEFINITION DIFFER 
dmch_inc: dmch_inc.nss(32): ERROR: PARSING VARIABLE LIST 
atcg_kp_reset: atcg_kp_dr_func.nss: ERROR: DUPLICATE FUNCTION IMPLEMENTATION (GetStringLength)
atcg_kp_dr_func: atcg_kp_dr_func.nss: ERROR: DUPLICATE FUNCTION IMPLEMENTATION (GetStringLength)
atcg_gt_kp_press: atcg_kp_dr_func.nss: ERROR: DUPLICATE FUNCTION IMPLEMENTATION (GetStringLength)
atcg_kp_conv_act: atcg_kp_dr_func.nss: ERROR: DUPLICATE FUNCTION IMPLEMENTATION (GetStringLength)
guard_guards_cmd: guard_guards_cmd.nss(128): ERROR: WHILE CONDITION CANNOT BE FOLLOWED BY A NULL STATEMENT 
guard_wokeup: guard_wokeup.nss(23): ERROR: INVALID DECLARATION TYPE 
guard_onspawn: guard_onspawn.nss(14): ERROR: UNDEFINED IDENTIFIER (myMakeCreatureGuard) 
### Issue Type Bug Report ### Description Approximately 500 scripts fail to compile on the NWNEE server. This could be for a variety of reasons. NWNEE is a little more strict with certain syntax issues. Need to investigate and implement fixes for all of these scripts. ### Steps to Reproduce _No response_ ### Related Scripts _No response_ ### Screenshots and Logs _No response_ ### Character Name _No response_ ### Account Name _No response_ ### Area/Location _No response_ ### Additional Information ``` s_sanctuary: s_sanctuary.nss(13): ERROR: INVALID DECLARATION TYPE pc_ev_pickpocket: pc_ev_pickpocket.nss(12): ERROR: UNDEFINED IDENTIFIER (AddActionToFront) g_rope_ev_unacq: g_rope_ev_unacq.nss(67): ERROR: INVALID DECLARATION TYPE agn_g_wokeup: agn_g_wokeup.nss(23): ERROR: INVALID DECLARATION TYPE cac_lifecryshb: cac_lifecryshb.nss(8): ERROR: DECLARATION DOES NOT MATCH PARAMETERS bi_menu_start: bi_menu_start.nss(41): ERROR: NO SEMICOLON AFTER EXPRESSION bi_inc_sit: bi_inc_sit.nss(109): ERROR: NON CONSTANT IN FUNCTION DECLARATION bi_onclick_sit: bi_inc_sit.nss(567): ERROR: MULTIPLE CASE CONSTANT STATEMENTS WITHIN SWITCH bi_inc_menu_ac: bi_inc_menu_ac.nss(29): ERROR: NO RIGHT BRACKET ON EXPRESSION bi_inc_menu_ck: bi_inc_menu_ck.nss(14): ERROR: PARSING VARIABLE LIST bi_chair_sit: bi_inc_sit.nss(567): ERROR: MULTIPLE CASE CONSTANT STATEMENTS WITHIN SWITCH bi_chat_portal: bi_chat_portal.nss(245): ERROR: WHILE CONDITION CANNOT BE FOLLOWED BY A NULL STATEMENT bi_chair_zsit: bi_inc_sit.nss(567): ERROR: MULTIPLE CASE CONSTANT STATEMENTS WITHIN SWITCH bi_banner_exam: bi_banner_exam.nss(250): ERROR: PARSING VARIABLE LIST xs_victdarkness: xs_victdarkness.nss(43): ERROR: DECLARATION DOES NOT MATCH PARAMETERS es_waiter_inc: es_waiter_inc.nss(158): ERROR: UNDEFINED IDENTIFIER (myClearTableSetting) es_waiter_wandac: es_waiter_wandac.nss(298): ERROR: MULTIPLE CASE CONSTANT STATEMENTS WITHIN SWITCH coach_dr_exit: coach_dr_exit.nss(13): ERROR: ELLIPSIS IN IDENTIFIER xors_inc_sit: xors_inc_sit.nss(109): ERROR: NON CONSTANT IN FUNCTION DECLARATION xors_onclick_sit: xors_inc_sit.nss(567): ERROR: MULTIPLE CASE CONSTANT STATEMENTS WITHIN SWITCH vgq_q1_itemacq1: vgq_q1_itemacq1.nss(11): ERROR: NO RIGHT BRACKET ON EXPRESSION cats_inc_fwlaunc: cats_inc_fwlaunc.nss(56): ERROR: UNDEFINED IDENTIFIER (ApplyEffectToObjectEffectVisualEffect) cats_s_count: cats_s_count.nss(22): ERROR: PARSING VARIABLE LIST cats_inc_invscan: cats_inc_invscan.nss(32): ERROR: PARSING RETURN STATEMENT cats_s_fwbomb: cats_s_fwbomb.nss(53): ERROR: UNKNOWN STATE IN COMPILER cats_arc_p1c1: cats_arc_p1c1.nss(11): ERROR: UNTERMINATED STRING CONSTANT cats_s_vfxtick: cats_inc_fwlaunc.nss(56): ERROR: UNDEFINED IDENTIFIER (ApplyEffectToObjectEffectVisualEffect) cats_s_archuse: cats_inc_invscan.nss(32): ERROR: PARSING RETURN STATEMENT atl_ondam_archer: atl_ondam_archer.nss(17): ERROR: DECLARATION DOES NOT MATCH PARAMETERS xo_chan_inc: xo_chan_inc.nss(123): ERROR: UNKNOWN STATE IN COMPILER atas_shield_hb: atas_shield_hb.nss(29): ERROR: DECLARATION DOES NOT MATCH PARAMETERS atas_forcefld_hb: atas_forcefld_hb.nss(43): ERROR: DECLARATION DOES NOT MATCH PARAMETERS xfac_inc_shout: xfac_inc_shout.nss(17): ERROR: NO RIGHT BRACKET ON EXPRESSION ata_ocp_control: ata_ocp_control.nss(25): ERROR: DECLARATION DOES NOT MATCH PARAMETERS ata_use_hcreator: ata_use_hcreator.nss(18): ERROR: DECLARATION DOES NOT MATCH PARAMETERS ata_use_cisforge: ata_use_cisforge.nss(23): ERROR: DECLARATION DOES NOT MATCH PARAMETERS ata_use_inducer: ata_use_inducer.nss(21): ERROR: DECLARATION DOES NOT MATCH PARAMETERS ati_geo_load: ati_geo_load.nss(131): ERROR: DECLARATION DOES NOT MATCH PARAMETERS ati_use_portal2: ati_use_portal2.nss(41): ERROR: NO SEMICOLON AFTER EXPRESSION agnn_pop_area: agnn_pop_area.nss(74): ERROR: DECLARATION DOES NOT MATCH PARAMETERS nela_test: nela_test.nss(5): ERROR: VARIABLE DEFINED WITHOUT TYPE farm_grow_cycle: farm_grow_cycle.nss(12): ERROR: PARSING VARIABLE LIST bhmm_htbt_tal: bhmm_htbt_tal.nss(53): ERROR: BAD VARIABLE NAME bhmm_jump_in: bhmm_jump_in.nss(56): ERROR: DECLARATION DOES NOT MATCH PARAMETERS ahe_mb_onex: ahe_mb_onex.nss(7): ERROR: INVALID DECLARATION TYPE atb_ondam_ph: atb_ondam_ph.nss(108): ERROR: DECLARATION DOES NOT MATCH PARAMETERS ttt_htbt_damsel: ttt_htbt_damsel.nss(53): ERROR: INCORRECT VARIABLE STATE LEFT ON STACK pcexm_onexamine: pcexm_onexamine.nss(568): ERROR: MULTIPLE CASE CONSTANT STATEMENTS WITHIN SWITCH irq_questtracker: irq_questtracker.nss(28): ERROR: NO RIGHT BRACKET ON EXPRESSION irq_ex_tracker: irq_questtracker.nss(28): ERROR: NO RIGHT BRACKET ON EXPRESSION unt_x_lockon11: unt_x_lockon11.nss(187): ERROR: PARSING VARIABLE LIST unt_x_bitch: unt_x_bitch.nss(355): ERROR: VARIABLE ALREADY USED WITHIN SCOPE imp_ctf_dstry: imp_ctf_dstry.nss(4): ERROR: FUNCTION IMPLEMENTATION AND DEFINITION DIFFER dmch_inc: dmch_inc.nss(32): ERROR: PARSING VARIABLE LIST atcg_kp_reset: atcg_kp_dr_func.nss: ERROR: DUPLICATE FUNCTION IMPLEMENTATION (GetStringLength) atcg_kp_dr_func: atcg_kp_dr_func.nss: ERROR: DUPLICATE FUNCTION IMPLEMENTATION (GetStringLength) atcg_gt_kp_press: atcg_kp_dr_func.nss: ERROR: DUPLICATE FUNCTION IMPLEMENTATION (GetStringLength) atcg_kp_conv_act: atcg_kp_dr_func.nss: ERROR: DUPLICATE FUNCTION IMPLEMENTATION (GetStringLength) guard_guards_cmd: guard_guards_cmd.nss(128): ERROR: WHILE CONDITION CANNOT BE FOLLOWED BY A NULL STATEMENT guard_wokeup: guard_wokeup.nss(23): ERROR: INVALID DECLARATION TYPE guard_onspawn: guard_onspawn.nss(14): ERROR: UNDEFINED IDENTIFIER (myMakeCreatureGuard) ```
kalen added the
Kind/Bug
Reviewed
Confirmed
Priority
Medium
Help Wanted
labels 2025-07-09 04:37:20 +00:00
Author
Owner

Updated the list

Updated the list

Random fixes :
sk_rowboat
guard_guards_cmd
attl_onen_upperh
tt2_ai_castat
ttt_ai_death
attl_use_reload
fashion_*

Includes (partials ?) :
dc_inc_wtrig
dc_include
atsm_inc_rewards
ttt_include
fashion_include

Random fixes : sk_rowboat guard_guards_cmd attl_onen_upperh tt2_ai_castat ttt_ai_death attl_use_reload fashion_* Includes (partials ?) : dc_inc_wtrig dc_include atsm_inc_rewards ttt_include fashion_include
Author
Owner

Updated the list again

Updated the list again
Author
Owner

Updated the list. Down to 61!

Updated the list. Down to 61!
kalen added
Priority
Low
and removed
Priority
Medium
labels 2025-07-21 06:57:36 +00:00
Author
Owner

Moving to low priority since most important scripts have been fixed.

Moving to low priority since most important scripts have been fixed.
Sign in to join this conversation.
No description provided.