WB v 1.174 module system and WRECK problem?

正在查看此主题的用户

Corbul

Sergeant at Arms
Ok, so I reinstall the game, and the launcher says it's now v. 1.174. Fine by me. I downloaded the module system, downloaded WRECK, but no matter what I do, I always get errors at compiling - even without making ANY changes. Here's what I get:
*** Warband Refined & Enhanced Compiler Kit (W.R.E.C.K.) version 1.0.0 ***
Please report errors, problems and suggestions at http://lav.lomskih.net/wreck/

Loading module... DONE.
Loading plugins... DONE.
Checking module syntax... DONE.
Allocating identifiers... DONE.
Compiling module... DONE.
Exporting module... DONE.

COMPILATION SUCCESSFUL.

The following errors were generated during compilation:
  unassigned local variable <l.final_price_for_secondary_input[@1224979098644774
926]> used by operation store_div in script.process_player_enterprise on line 35



The following warnings were generated during compilation:
  duplicate entity found: itm.tutorial_sword
  duplicate entity found: itm.tutorial_axe
  duplicate entity found: itm.tutorial_spear
  duplicate entity found: itm.tutorial_club
  duplicate entity found: itm.tutorial_battle_axe
  duplicate entity found: itm.tutorial_arrows
  duplicate entity found: itm.tutorial_bolts
  duplicate entity found: itm.tutorial_short_bow
  duplicate entity found: itm.tutorial_crossbow
  duplicate entity found: itm.tutorial_throwing_daggers
  duplicate entity found: itm.tutorial_saddle_horse
  duplicate entity found: itm.tutorial_shield
  duplicate entity found: itm.tutorial_staff_no_attack
  duplicate entity found: itm.tutorial_staff
  duplicate entity found: itm.voulge
  duplicate entity found: s.npc2_kingsupport_2
  duplicate entity found: s.npc4_turn_against
  duplicate entity found: s.comment_you_were_defeated_allied_unfriendly
  duplicate entity found: s.comment_you_were_defeated_allied
  duplicate entity found: s.rebellion_agree_pitiless
  duplicate entity found: s.rebellion_agree_cunning
  duplicate entity found: s.rebellion_agree_sadistic
  duplicate entity found: s.rebellion_agree_goodnatured
  duplicate entity found: s.rebellion_agree_upstanding
  duplicate entity found: s.score
  duplicate entity found: s.routed
  duplicate entity found: s.wife
  duplicate entity found: s.husband
  duplicate entity found: s.father
  duplicate entity found: s.mother
  duplicate entity found: s.daughter
  duplicate entity found: s.son
  duplicate entity found: s.sister
  duplicate entity found: s.brother
  duplicate entity found: s.trade_explanation_dates
  duplicate entity found: s.s15
  duplicate entity found: s.he
  duplicate entity found: s.she
  duplicate entity found: s.s12
  duplicate entity found: s._family_
  duplicate entity found: s.whereabouts_unknown
  duplicate entity found: s.betrothed
  duplicate entity found: s.man
  duplicate entity found: s.s1_reg0_s2
  duplicate entity found: s.s3_reg0_s2
  duplicate entity found: s.s1_s2

The following notifications were generated during compilation:
  local l.unused declared but never used in script.game_get_troop_wage
  local l.unused declared but never used in script.debug_variables
  local l.unused_2 declared but never used in script.debug_variables

Для продолжения нажмите любую клавишу . . .
This I get without editing anything.

If I change anything troop-related using Morgh's Tool, the compiler gives me invalid syntax error for farmer and mercenary troop trees, despite my never even touching said troops - what is up with that?
What do I do now? Everything worked fine with v. 1.168! :sad:
 
Those errors were present all the time, just are not detected by default compiler.

Corbul 说:
The following errors were generated during compilation:
  unassigned local variable <l.final_price_for_secondary_input[@1224979098644774
926]> used by operation store_div in script.process_player_enterprise on line 35
This error is common. Its not really important but if you wish to remove it just follow coordinates:
operation store_div, script process_player_enterprise on line 35. Said script is inside "module_scripts", near top. Easy to fix once you find it.
Corbul 说:
duplicate entity found: itm.tutorial_sword
  duplicate entity found: itm.tutorial_axe
  duplicate entity found: itm.tutorial_spear
Those are not important as well. It just mean that items with such names has been defined twice. Not big deal but obviously you can fix it by removing duplicates inside "module_items".
Corbul 说:
Для продолжения нажмите любую клавишу
These characters looks ill. It may be some kind of virus. :iamamoron:
 
use assign before you use the variable final_price_for_secondary_input, it will fix the problem (unassigned local variable):

插入代码块:
(assign, ":final_price_for_secondary_input", 0),
 
Notification: know something is wrong here. Clean it up when you can. Just don’t forget it.

Warning: something is wrong, you should look at that and fix it to prevent future issues

Error: something is broken. Stop and fix now.
 
kalarhan 说:
Notification: know something is wrong here. Clean it up when you can. Just don’t forget it.

Warning: something is wrong, you should look at that and fix it to prevent future issues

Error: something is broken. Stop and fix now.
Desire for knowledge: use Q&A thread?
 
后退
顶部 底部