So I want to make my own mod with Diplomacy as base. I downloaded the module, and the source, but whenever I try compiling, I get this (note: I'm using WRECK - could that be a problem?):
Can anyone help me get to the bottom of this?
Thank you
*** 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... FAILED.
MODULE scripts AGGREGATOR ERROR:
failed to compile script consume_food (#374)
operation troop_inventory_slot_set_item_amount cannot assign to static identif
ier <trp.player[#360287970189639680]> in script.consume_food on line 15
COMPILATION FAILED.
The following errors were generated during compilation:
try/end operations do not match in script.game_receive_network_message: 1 try_
end(s) missing
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: script.dplmc_copy_upgrade_to_all_heroes
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
The following notifications were generated during compilation:
local l.unused declared but never used in script.game_get_troop_wage
Can anyone help me get to the bottom of this?
Thank you


