Modding Q&A [For Quick Questions and Answers]

Users who are viewing this thread

Status
Not open for further replies.
Roudrac said:
I can't find any itp or itcf that would make a weapon unsheathable (I would like it to drop on the ground when you switch weapons) in header_items. is there a simple way to make it work?
Code:
ti_on_item_unwielded     = -58.0 #can only be used in module_mission_templates triggers
 
@Namakan
What...reload time is defined by buttons??
Pardon me...Thanks!

If you play NW please read my recent "manual of the good artillerist" on NW board,
i'm an intermediate Blender and Zmodeler user should you need anything.

Tolles Profil. Das mag mein neues Hemd wohl sein.
 
NPC99 said:
Cozur said:
This:

tf_no_capture_alive

Doesn't seem to prevent a lord from capturing troops even if they have the qualifier. Does it only apply to the player?

It doesn't work, but this TLD script does the job:
Khamukkfamu said:
In TLD, we modified a script:

Code:
#script_party_prisoners_add_party_companions:
# INPUT: param1: Party-id to add the second part, param2: Party-id which will be added to the first one.
# "$g_move_heroes" : controls if heroes will also be added.
("party_prisoners_add_party_companions",
    [ (store_script_param_1, ":target_party"), #Target Party_id
      (store_script_param_2, ":source_party"), #Source Party_id
      (party_get_num_companion_stacks, ":num_stacks",":source_party"),
      (try_for_range, ":stack_no", 0, ":num_stacks"),
        (party_stack_get_troop_id,     ":stack_troop",":source_party",":stack_no"),
        (this_or_next|neg|troop_is_hero, ":stack_troop"),
        (eq, "$g_move_heroes", 1),
        (troop_get_type,":race",":stack_troop"),
        (neq,":race",tf_orc),        ## TLD good guys finish all orcs, evil guys finish all elves, GA
        (neq,":race",tf_uruk),
        (neq,":race",tf_urukhai),
        (neq,":race",tf_troll),
        (neq,":race",tf_lorien),
        (neq,":race",tf_imladris),
        (neq,":race",tf_woodelf),
        (party_stack_get_size, ":stack_size",":source_party",":stack_no"),
        (party_add_prisoners, ":target_party", ":stack_troop", ":stack_size"),
      (try_end),

So like this?

Code:
("party_prisoners_add_party_companions",
    [ (store_script_param_1, ":target_party"), #Target Party_id
      (store_script_param_2, ":source_party"), #Source Party_id
      (party_get_num_companion_stacks, ":num_stacks",":source_party"),
      (try_for_range, ":stack_no", 0, ":num_stacks"),
        (party_stack_get_troop_id,     ":stack_troop",":source_party",":stack_no"),
        (this_or_next|neg|troop_is_hero, ":stack_troop"),
        (eq, "$g_move_heroes", 1),
        (neg|is_between, ":stack_troop", unique_heroes_begin, unique_heroes_end),
        (party_stack_get_size, ":stack_size",":source_party",":stack_no"),
        (party_add_prisoners, ":target_party", ":stack_troop", ":stack_size"),
      (try_end),
    ]),    
    #script_party_prisoners_add_party_prisoners:
 
Cozur said:
NPC99 said:
Cozur said:
This:

tf_no_capture_alive

Doesn't seem to prevent a lord from capturing troops even if they have the qualifier. Does it only apply to the player?

It doesn't work, but this TLD script does the job:
Khamukkfamu said:
In TLD, we modified a script:

Code:
#script_party_prisoners_add_party_companions:
# INPUT: param1: Party-id to add the second part, param2: Party-id which will be added to the first one.
# "$g_move_heroes" : controls if heroes will also be added.
("party_prisoners_add_party_companions",
    [ (store_script_param_1, ":target_party"), #Target Party_id
      (store_script_param_2, ":source_party"), #Source Party_id
      (party_get_num_companion_stacks, ":num_stacks",":source_party"),
      (try_for_range, ":stack_no", 0, ":num_stacks"),
        (party_stack_get_troop_id,     ":stack_troop",":source_party",":stack_no"),
        (this_or_next|neg|troop_is_hero, ":stack_troop"),
        (eq, "$g_move_heroes", 1),
        (troop_get_type,":race",":stack_troop"),
        (neq,":race",tf_orc),        ## TLD good guys finish all orcs, evil guys finish all elves, GA
        (neq,":race",tf_uruk),
        (neq,":race",tf_urukhai),
        (neq,":race",tf_troll),
        (neq,":race",tf_lorien),
        (neq,":race",tf_imladris),
        (neq,":race",tf_woodelf),
        (party_stack_get_size, ":stack_size",":source_party",":stack_no"),
        (party_add_prisoners, ":target_party", ":stack_troop", ":stack_size"),
      (try_end),

So like this?

Code:
("party_prisoners_add_party_companions",
    [ (store_script_param_1, ":target_party"), #Target Party_id
      (store_script_param_2, ":source_party"), #Source Party_id
      (party_get_num_companion_stacks, ":num_stacks",":source_party"),
      (try_for_range, ":stack_no", 0, ":num_stacks"),
        (party_stack_get_troop_id,     ":stack_troop",":source_party",":stack_no"),
        (this_or_next|neg|troop_is_hero, ":stack_troop"),
        (eq, "$g_move_heroes", 1),
        (neg|is_between, ":stack_troop", unique_heroes_begin, unique_heroes_end),
        (party_stack_get_size, ":stack_size",":source_party",":stack_no"),
        (party_add_prisoners, ":target_party", ":stack_troop", ":stack_size"),
      (try_end),
    ]),    
    #script_party_prisoners_add_party_prisoners:

Looks ok.
 
Hmm, nope, didn't work.

Also tried this:

Code:
# "$g_move_heroes" : controls if heroes will also be added.
("party_prisoners_add_party_companions",
    [ (store_script_param_1, ":target_party"), #Target Party_id
      (store_script_param_2, ":source_party"), #Source Party_id
      (party_get_num_companion_stacks, ":num_stacks",":source_party"),
      (try_for_range, ":stack_no", 0, ":num_stacks"),
        (party_stack_get_troop_id,     ":stack_troop",":source_party",":stack_no"),
        (this_or_next|neg|troop_is_hero, ":stack_troop"),
        (eq, "$g_move_heroes", 1),
        (neq, ":stack_troop", "trp_ben_bushy"),
        (neq, ":stack_troop", "trp_hyle_hunt"),
        (neq, ":stack_troop", "trp_alyn_hunt"),
        (neq, ":stack_troop", "trp_edmund_ambrose"),
        (neq, ":stack_troop", "trp_richard_farrow"),
        (neq, ":stack_troop", "trp_will_the_stork"),
        (neq, ":stack_troop", "trp_hugh_beesbury"),
        (neq, ":stack_troop", "trp_raymond_nayland"),
        (neq, ":stack_troop", "trp_harry_sawyer"),
        (neq, ":stack_troop", "trp_owen_inchfield"),
        (neq, ":stack_troop", "trp_robin_potter"),
        (party_stack_get_size, ":stack_size",":source_party",":stack_no"),
        (party_add_prisoners, ":target_party", ":stack_troop", ":stack_size"),
      (try_end),
    ]), 

 
Cozur said:
Hmm, nope, didn't work.

Also tried this:

Code:
# "$g_move_heroes" : controls if heroes will also be added.
("party_prisoners_add_party_companions",
    [ (store_script_param_1, ":target_party"), #Target Party_id
      (store_script_param_2, ":source_party"), #Source Party_id
      (party_get_num_companion_stacks, ":num_stacks",":source_party"),
      (try_for_range, ":stack_no", 0, ":num_stacks"),
        (party_stack_get_troop_id,     ":stack_troop",":source_party",":stack_no"),
        (this_or_next|neg|troop_is_hero, ":stack_troop"),
        (eq, "$g_move_heroes", 1),
        (neq, ":stack_troop", "trp_ben_bushy"),
        (neq, ":stack_troop", "trp_hyle_hunt"),
        (neq, ":stack_troop", "trp_alyn_hunt"),
        (neq, ":stack_troop", "trp_edmund_ambrose"),
        (neq, ":stack_troop", "trp_richard_farrow"),
        (neq, ":stack_troop", "trp_will_the_stork"),
        (neq, ":stack_troop", "trp_hugh_beesbury"),
        (neq, ":stack_troop", "trp_raymond_nayland"),
        (neq, ":stack_troop", "trp_harry_sawyer"),
        (neq, ":stack_troop", "trp_owen_inchfield"),
        (neq, ":stack_troop", "trp_robin_potter"),
        (party_stack_get_size, ":stack_size",":source_party",":stack_no"),
        (party_add_prisoners, ":target_party", ":stack_troop", ":stack_size"),
      (try_end),
    ]), 

Either approach should work. Mine for WFaS was as follows:

NPC99 said:
Code:
#script_party_prisoners_add_party_companions:
  # INPUT:
  # param1: Party-id to add the second part
  # param2: Party-id which will be added to the first one.
  # "$g_move_heroes" : controls if heroes will also be added.
  
  ("party_prisoners_add_party_companions",
    [
      (store_script_param_1, ":target_party"), #Target Party_id
      (store_script_param_2, ":source_party"), #Source Party_id
      (party_get_num_companion_stacks, ":num_stacks",":source_party"),
      (try_for_range, ":stack_no", 0, ":num_stacks"),
        (party_stack_get_troop_id, ":stack_troop",":source_party",":stack_no"),
        (this_or_next|neg|troop_is_hero, ":stack_troop"),
        (eq, "$g_move_heroes", 1),
		###################################ECW insert re custom troops starts
		(neq,":stack_troop","trp_regimental_sharpshooter"),
		(neq,":stack_troop","trp_regimental_infantry"),
		(neq,":stack_troop","trp_parl_standard_bearer"),
		(neq,":stack_troop","trp_irish_standard_bearer"),
		(neq,":stack_troop","trp_scot_standard_bearer"),
		(neq,":stack_troop","trp_roy_standard_bearer"),
		(neg|is_between,":stack_troop","trp_roy_standard_horse","trp_mp_rhodok_trained_spearman"),
		###################################ECW insert re custom troops ends
        (party_stack_get_size, ":stack_size",":source_party",":stack_no"),
        (party_add_prisoners, ":target_party", ":stack_troop", ":stack_size"),
      (try_end),
  ]),

It works ok.
 
KratosMKII said:
EDIT: F***. I just read that again and noticed that you wanted the text changes.
Search for 1105 1 216172782113783967 in scripts.txt. Add "16732240" to it so that it becomes 1105 1 216172782113783967 16732240.

16732240 is the color code. You can change it to any color you want.

Thanks Kratos Mk2.  I just used Notepad to search that number string and cannot find any instance of it.  Is that number the specific instance when a lord escapes a prison? How would I find the correct number if it has been altered with some mod?
Thank you for your reply by the way. 
 
Hey all,

Not sure exactly what this error is trying to tell me.

"SCRIPT ERROR ON OPCODE 1677: Invalid Map Icon ID: 199; LINE NO: 25:
At script: create_kingdom_hero_party.
At script: create_kingdom_hero_party.
At script: create_kingdom_hero_party.
At script: create_kingdom_hero_party."

DOQNw4N.jpg

How do I find out where the problem points are? id_map_icons only has 196 lines in it, which was my first idea.

Edit: During the game I noticed Arwa the Pearled One had the red checkered flag given to lords when you take their banner at startup, and someone else had her banner. I've implemented the Traditional Banner Pack in my mod and it may be a hiccup with that, and how I've put it in. Looking into it.
 
Hey guys,

So I've been merging some mods together trying to create my own personal mod. So far its been working, compiled the modsys without errors.
But the game gave me some errors while play-testing, and I don't exactly found a way to fix them.(maybe I'm just dumb :oops:)

Here are the bugs in screenshots:
https://imgur.com/a/AeE5zo6

https://imgur.com/a/fTg8sBb
The weekly budget is always zero no matter how much troops I have.


Have a nice weekend guys.


 
Avareee said:
Hey guys,

So I've been merging some mods together trying to create my own personal mod. So far its been working, compiled the modsys without errors.
But the game gave me some errors while play-testing, and I don't exactly found a way to fix them.(maybe I'm just dumb :oops:)

Here are the bugs in screenshots:
https://imgur.com/a/AeE5zo6

https://imgur.com/a/fTg8sBb
The weekly budget is always zero no matter how much troops I have.


Have a nice weekend guys.

A clean compile isn’t a guarantee that there are no bugs. The mods you have merged may be incompatible, making it up to the modder to adjust them for compatibility. For example, different mods may use the same slots defined in module_constants.py for conflicting purposes.
 
NPC99 said:
Avareee said:
Hey guys,

So I've been merging some mods together trying to create my own personal mod. So far its been working, compiled the modsys without errors.
But the game gave me some errors while play-testing, and I don't exactly found a way to fix them.(maybe I'm just dumb :oops:)

Here are the bugs in screenshots:
https://imgur.com/a/AeE5zo6

https://imgur.com/a/fTg8sBb
The weekly budget is always zero no matter how much troops I have.


Have a nice weekend guys.

A clean compile isn’t a guarantee that there are no bugs. The mods you have merged may be incompatible, making it up to the modder to adjust them for compatibility. For example, different mods may use the same slots defined in module_constants.py for conflicting purposes.

Well, I have used Lav's Modsys
https://forums.taleworlds.com/index.php?topic=324874.0
And merged Diplomacy into it with some parts of "Warband Enhanced"
https://forums.taleworlds.com/index.php?topic=245269.0
and "MRC" Mod
https://www.nexusmods.com/mbwarband/mods/6044
.

 
TheCaitularity said:
Not sure exactly what this error is trying to tell me. How do I find out where the problem points are?

I'll try to explain. These errors slould be read backwards:

At script: create_kingdom_hero_party. - place where error occured in general
LINE NO: 25: - line number from the beginning of square brckets of the script/trigger, not from the beginning of the file
Invalid Map Icon ID: 199; - the essence of the problem, in your case it's invalid ID
SCRIPT ERROR ON OPCODE 1677: - Code of the operation which the problem relates to. In your case 1677 which is party_set_banner_icon.

So overall, the problem is: Operation party_set_banner_icon, located at 25th line of create_kingdom_hero_party script returned 199 as a icon ID which is wrong. Icon ID should be "icon_<icon name>", for instance "icon_camp". Now you have to look into operations before party_set_banner_icon and find out why 199 is returned instead of correct ID.  :smile:
 
Hi guys me again im a tiny bit confused with the use of try end, more so when there is two or three instances of them.
I have this in my scripts and just not sure it will have the effect im looking for
      #Adding 1 prosperity to the village while reducing each 3000 gold from the elder
      (store_troop_gold, ":gold",":merchant_troop"),
      (try_begin),
        (gt, ":gold", 3500),
        (store_div, ":prosperity_added", ":gold", 3000),
        (store_mul, ":gold_removed", ":prosperity_added", 3000),
        (troop_remove_gold, ":merchant_troop", ":gold_removed"),
        (call_script, "script_change_center_prosperity", ":village_no", ":prosperity_added"),       
      (try_end),
 
  # NE building mark edit Distillery
## Distillery stuff - Jinnai
      (try_begin),
        (party_slot_eq, ":village_no", slot_center_has_distillery, 1),
        (store_random_in_range,":rand",1,3),
        (try_for_range, ":unused", 0, ":rand"),
          (troop_add_item,":merchant_troop",itm_ale,0),
        (try_end),
        (store_random_in_range,":rand",1,3),
        (try_for_range, ":unused", 0, ":rand"),
          (troop_add_item,":merchant_troop",itm_wine,0),
        (try_end),
      (try_end),

# Ne end building mark edit Distillery

### mark edit [OSP] Gold and Iron Mines (need more gold) ### [OSP] Gold and Iron Mines (need more gold) ### [OSP] Gold and Iron Mines (need more gold) ###
      (try_begin),
        (party_slot_eq, ":village_no", slot_center_has_iron_mine, 1),
        (store_random_in_range,":rand",1,5),
        (try_for_range, ":unused", 0, ":rand"),
          (troop_add_item,":merchant_troop",itm_iron,0), # add 1-5 iron bars
        (try_end),
      (try_end), 
### mark edit [OSP] Gold and Iron Mines (need more gold) ### [OSP] Gold and Iron Mines (need more gold) ### [OSP] Gold and Iron Mines (need more gold) ### 
  ]),

  # script_refresh_village_defenders
Any simple explanation would be great, many thanks as always
 
markfamily said:
tiny bit confused with the use of try end

its a IF block

IF something
END IF

you can combine then in how many layers you want. The basic rule for Warband engine is that every line (operation) must be true to continue inside the current block, otherwise it jumps to the next block.

IF
  IF
  END IF
END IF

just make sure you use proper indentation to make easy to read the code. You wont forget to close a block that way.

same applies to the use of IF-ELSE-ENDIF block when you have the (else_try) operation.
 
Thank you for explaining it in a way I can understand, that actually does make sense to me.
But know I have a bigger problem, I set all my villages to be assigned to there proper castles, towns etc but when I run the mod I get a 1000 errors heres my rgl log and there is about 5 times more than this
SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At script: game_start. At script: game_start. SCRIPT ERROR ON OPCODE 2204: Invalid Party ID: -1; LINE NO: 2:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1620: Invalid Party ID: -1; LINE NO: 3:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 541: Invalid Party ID: -1; LINE NO: 5:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 13:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 521: Invalid Party ID: -1; LINE NO: 14:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 15:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1677: Invalid Party ID: -1; LINE NO: 16:
At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 1073742366: Invalid Faction ID: 270; LINE NO: 2:
At script: update_faction_notes. At script: update_faction_notes. SCRIPT ERROR ON OPCODE 1096: Invalid Faction ID: 270; LINE NO: 6:
At script: update_faction_notes. At script: update_faction_notes. At script: update_faction_notes. At script: give_center_to_faction_aux. At script: give_center_to_faction_aux. SCRIPT ERROR ON OPCODE 501: Invalid Party ID: -1; LINE NO: 484:
At s
Also more worrying is this at the bottom
SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. DEBUG -- Doing political calculations for Katrin
is there a way to read these so they give you a better understanding were the problem is
 
markfamily said:
is there a way to read these so they give you a better understanding were the problem is

UndeadDuke said:
TheCaitularity said:
Not sure exactly what this error is trying to tell me. How do I find out where the problem points are?

I'll try to explain. These errors slould be read backwards:

At script: create_kingdom_hero_party. - place where error occured in general
LINE NO: 25: - line number from the beginning of square brckets of the script/trigger, not from the beginning of the file
Invalid Map Icon ID: 199; - the essence of the problem, in your case it's invalid ID
SCRIPT ERROR ON OPCODE 1677: - Code of the operation which the problem relates to. In your case 1677 which is party_set_banner_icon.

So overall, the problem is: Operation party_set_banner_icon, located at 25th line of create_kingdom_hero_party script returned 199 as a icon ID which is wrong. Icon ID should be "icon_<icon name>", for instance "icon_camp". Now you have to look into operations before party_set_banner_icon and find out why 199 is returned instead of correct ID.  :smile:

similar to that post. Find the piece of code, the operation (header_operations.py has the #code), etc, and go from there.

couple add-ons:
  at script means file module_scripts.py
  at line XXX means at operation XXX of that script. Count from 0 (0, 1, 2, 3). One operation per line, ignore/skip empty lines or comments. One line = One operation used.
 
Thank you for your reply if I have done this right was a long process of counting it should be this line for the very first error
(try_for_range, ":cur_center", castles_begin, castles_end),
        (assign, ":min_dist", 999999),
        (assign, ":min_dist_village", -1),
        (try_for_range, ":cur_village", villages_begin, villages_end),
          (neg|party_slot_ge, ":cur_village", slot_village_bound_center, 1), #skip villages which are already bound.
            (store_distance_to_party_from_party, ":cur_dist", ":cur_village", ":cur_center"),
          (lt, ":cur_dist", ":min_dist"),
          (assign, ":min_dist", ":cur_dist"),
          (assign, ":min_dist_village", ":cur_village"),
        (try_end),
        (party_set_slot, ":min_dist_village", slot_village_bound_center, ":cur_center"),
        (store_faction_of_party, ":town_faction", ":cur_center"),
        (call_script, "script_give_center_to_faction_aux", ":min_dist_village", ":town_faction"),
      (try_end),
Does that mean i have a village outside the min distance or to close as all my villages are assigned to castles or towns, they were all over the place when i added new villages and towns etc and didnt match up to the places they should have been assigned.
To add im thinking I shouldn't even have those lines in there as there is no village to assign anyway but I could be wrong and the script has to stay there.
To add again I don't think I have counted right as the next 10 errors or so are in the first 14 lines which would be this script counting scripts = [ as number 0
scripts = [
("game_start",
[
      (faction_set_slot, "fac_player_supporters_faction", slot_faction_state, sfs_inactive),
      (assign, "$g_player_luck", 200),
      (assign, "$g_player_luck", 200),
      (troop_set_slot, "trp_player", slot_troop_occupation, slto_kingdom_hero),
      (store_random_in_range, ":starting_training_ground", training_grounds_begin, training_grounds_end),
      (party_relocate_near_party, "p_main_party", ":starting_training_ground", 3),
      (str_store_troop_name, s5, "trp_player"),
      (party_set_name, "p_main_party", s5),
      (call_script, "script_update_party_creation_random_limits"),
      (assign, "$g_player_party_icon", -1),
  (try_for_range, ":npc", 0, kingdom_ladies_end),
    (this_or_next|eq, ":npc", "trp_player"),
(is_between, ":npc", active_npcs_begin, kingdom_ladies_end),
(troop_set_slot, ":npc", slot_troop_father, -1),
(troop_set_slot, ":npc", slot_troop_mother, -1),
(troop_set_slot, ":npc", slot_troop_guardian, -1),
(troop_set_slot, ":npc", slot_troop_spouse, -1),
(troop_set_slot, ":npc", slot_troop_betrothed, -1),
        (troop_set_slot, ":npc", slot_troop_prisoner_of_party, -1),
        (troop_set_slot, ":npc", slot_lady_last_suitor, -1),
        (troop_set_slot, ":npc", slot_troop_stance_on_faction_issue, -1),
After reading the errors somewhat right I have cut them down to a smaller amount
SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. launch complete.

DEBUG -- Doing political calculations for Marnid
SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. DEBUG -- Doing political calculations for Ymira
DEBUG -- Doing political calculations for Rolf
SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. DEBUG -- Doing political calculations for Baheshtur
DEBUG: Count Meltor no longer leads a party.
DEBUG: Count Beranz no longer leads a party.
DEBUG: Count Rafard no longer leads a party.
DEBUG: Count Regas no longer leads a party.
DEBUG: Count Rafarch no longer leads a party.
DEBUG: Count Rochabarth no longer leads a party.
DEBUG: Count Montewar no longer leads a party.
DEBUG: Boyar Mleza no longer leads a party.
DEBUG: Boyar Bracha no longer leads a party.
DEBUG: Boyar Druli no longer leads a party.
DEBUG: Boyar Marmun no longer leads a party.
DEBUG: Boyar Gastya no longer leads a party.
DEBUG: Boyar Harish no longer leads a party.
DEBUG: Boyar Rudin no longer leads a party.
DEBUG: Boyar Kumipa no longer leads a party.
DEBUG: Tulug Noyan no longer leads a party.
DEBUG: Nasugei Noyan no longer leads a party.
DEBUG: Hugu Noyan no longer leads a party.
DEBUG: Tansugai Noyan no longer leads a party.
DEBUG: Tirida Noyan no longer leads a party.
DEBUG: Ulusamai Noyan no longer leads a party.
DEBUG: Karaban Noyan no longer leads a party.
DEBUG: Jarl Turya no longer leads a party.
DEBUG: Jarl Faarn no longer leads a party.
DEBUG: Jarl Bulba no longer leads a party.
DEBUG: Jarl Rayeck no longer leads a party.
DEBUG: Jarl Dirigun no longer leads a party.
DEBUG: Jarl Gearth no longer leads a party.
DEBUG: Jarl Gerlad no longer leads a party.
DEBUG: Count Etrosq no longer leads a party.
DEBUG: Count Kurnias no longer leads a party.
DEBUG: Count Tellrog no longer leads a party.
DEBUG: Count Gerluchs no longer leads a party.
DEBUG: Count Nealcha no longer leads a party.
DEBUG: Count Fraichin no longer leads a party.
DEBUG: Count Trimbau no longer leads a party.
DEBUG: Emir Amdar no longer leads a party.
DEBUG: Emir Hiwan no longer leads a party.
DEBUG: Emir Muhnir no longer leads a party.
DEBUG: Emir Raddoun no longer leads a party.
DEBUG: Emir Tilimsan no longer leads a party.
DEBUG: Emir Dhashwal no longer leads a party.
DEBUG: Emir Biliya no longer leads a party.
DEBUG: General Aedinius no longer leads a party.
DEBUG: General Gratius no longer leads a party.
DEBUG: General Nigidius no longer leads a party.
DEBUG: General Frugi no longer leads a party.
DEBUG: General Licinius no longer leads a party.
DEBUG: General Umbrius no longer leads a party.
DEBUG: General Gratian no longer leads a party.
DEBUG: Apprentice Gelasimus no longer leads a party.
DEBUG: Apprentice Cleomachus no longer leads a party.
DEBUG: Apprentice Gallicles  no longer leads a party.
DEBUG: Apprentice Sangarinus no longer leads a party.
DEBUG: Apprentice Megaronides no longer leads a party.
DEBUG: Apprentice Melaenis no longer leads a party.
DEBUG: Apprentice Calidorus no longer leads a party.
DEBUG: Knight Vittamar no longer leads a party.
DEBUG: Knight Arimir no longer leads a party.
DEBUG: Knight Patza no longer leads a party.
DEBUG: Knight Rikiar no longer leads a party.
DEBUG: Knight Valamer no longer leads a party.
DEBUG: Knight Thrasamund no longer leads a party.
DEBUG: Knight Cunigast no longer leads a party.
DEBUG: Knight Dubius no longer leads a party.
DEBUG: Knight Duda no longer leads a party.
DEBUG: Princess Brynhild  no longer leads a party.
DEBUG: Princess Odindis no longer leads a party.
DEBUG: Princess Ottkatla no longer leads a party.
DEBUG: Princess Gyrid no longer leads a party.
DEBUG: Princess Ragnfrid no longer leads a party.
DEBUG: Princess Bera no longer leads a party.
DEBUG: Princess Solveig no longer leads a party.
DEBUG -- Doing political calculations for Firentis
SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. DEBUG -- Doing political calculations for Deshavi
DEBUG -- Doing political calculations for Matheld
SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. DEBUG -- Doing political calculations for Alayen
DEBUG -- King Harlaus produces a faction strategy for Kingdom of Swadia
No center found to attack
No center found to defend
No center found to defend
DEBUG -- King Yaroglek produces a faction strategy for Kingdom of Vaegirs
No center found to attack
No center found to defend
No center found to defend
Kingdom of Vaegirs decides: It has been a long time since the lords of the realm gathered for a feast.
DEBUG -- Sanjar Khan produces a faction strategy for Khergit Khanate
No center found to attack
No center found to defend
No center found to defend
DEBUG -- King Ragnar produces a faction strategy for Kingdom of Nords
No center found to attack
No center found to defend
No center found to defend
DEBUG -- King Graveth produces a faction strategy for Kingdom of Rhodoks
No center found to attack
No center found to defend
No center found to defend
DEBUG -- Sultan Hakim produces a faction strategy for Sarranid Sultanate
No center found to attack
No center found to defend
No center found to defend
DEBUG -- Emperor Tertius produces a faction strategy for Golden Empire
No center found to attack
No center found to defend
No center found to defend
DEBUG -- Master Saturio produces a faction strategy for Assassin Guild
No center found to attack
No center found to defend
No center found to defend
DEBUG -- Lord Uraias produces a faction strategy for Fallen Order
No center found to attack
No center found to defend
No center found to defend
Fallen Order decides: It has been a long time since the lords of the realm gathered for a feast.
DEBUG -- Queen Gillaug produces a faction strategy for Kingdom of Iodenmir
No center found to attack
No center found to defend
No center found to defend
DEBUG -- Doing political calculations for Bunduk
SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. vdt_regular discard_buffer()
Do political consequences for Mercenary Warband victory over Reinforcements from Oraf Nog
Do political consequences for Count Despin's Party victory over Mountain Bandits
DEBUG -- Doing political calculations for Katrin
SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. SCRIPT WARNING : Division by zero; LINE NO: 11:
At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. At script: calculate_castle_prosperities_by_using_its_villages. DEBUG -- Doing political calculations for Jeremus
So looks like i only have one error left through i do not know if the no longer leads party part im getting is an error to or just part of the game but seems like a lot of them and my error dosnt seem to give a path.
Edit: Well that one is sorted, I had one castle with two villages and one without but know another has popped up and there is no reference for the code.
SCRIPT ERROR ON OPCODE 1073742364: Invalid Troop ID: -1; LINE NO: 135:
At script: courtship_event_troop_court_lady. At script: courtship_event_troop_court_lady. SCRIPT ERROR ON OPCODE 540: Invalid Troop ID: -1; LINE NO: 136:
At script: courtship_event_troop_court_lady. At script: courtship_event_troop_court_lady. At script: courtship_event_troop_court_lady. Result: stalemate, patience roll = 1
Any clues were to look
 
UndeadDuke said:
TheCaitularity said:
Not sure exactly what this error is trying to tell me. How do I find out where the problem points are?

I'll try to explain. These errors slould be read backwards:

At script: create_kingdom_hero_party. - place where error occured in general
LINE NO: 25: - line number from the beginning of square brckets of the script/trigger, not from the beginning of the file
Invalid Map Icon ID: 199; - the essence of the problem, in your case it's invalid ID
SCRIPT ERROR ON OPCODE 1677: - Code of the operation which the problem relates to. In your case 1677 which is party_set_banner_icon.

So overall, the problem is: Operation party_set_banner_icon, located at 25th line of create_kingdom_hero_party script returned 199 as a icon ID which is wrong. Icon ID should be "icon_<icon name>", for instance "icon_camp". Now you have to look into operations before party_set_banner_icon and find out why 199 is returned instead of correct ID.  :smile:

Thank you so much! And you too, kalarhan! I'm sure I can figure out what the issue is here now.

Edit: Yeah, ultimately the person who's banner I take in-game just ends up not having an assigned banner and associated map icon. I'm thinking it's gotta be me messing up the Traditional Banner Pack thing.

Edit 2: Somebody, you cowboy! Why did you write it like this?
At least I know it is NOT my fault. Mostly.

Edit 3: Fixed the bastard, some four hours later. Had to shift a few things back and around to make it fit with the old banner replacement code, and for it to stop picking up the Default banner set. Whew.
 
Hey guys, I have this issue: I've made a couple of unique bullet type projectiles, each with its own unique sound(one is lightning, the other fire etc.) that plays when the missiles hit. Now, to do that, I used the on_missile_hit trigger and called to play each one's respective sound, like this: (play_sound,"snd_fire_bullet_sound"). Everything works fine and as it should be, but there's a strange thing. The sound has a delay of about 1 or 2 seconds and before that, when the missile hits, the Native "whoop" sound(when the missile hits something) is played, which kind of what I wanted to divert from happening and replace it with my own sounds. So, both sounds are played, for each item. Not a problem and only a minor inconvenience, but still, any thoughts? 
 
Hey folks,

I'm playing around with a lightweight sea travel system, and have this in my module_simple_triggers:
Code:
#Cait - parties turn into boats on rivers [03/06/19]
  (0, [
	(try_for_range, ":kingdom_hero", active_npcs_begin, active_npcs_end),
		(troop_get_slot, ":party", ":kingdom_hero", slot_troop_leaded_party),
		(troop_slot_eq, ":kingdom_hero", slot_troop_occupation, slto_kingdom_hero),
		(neq, ":party", -1),
#		(party_get_current_terrain, ":terrain", ":party"),
		(try_begin),
			(call_script, "script_cf_is_party_on_water", ":party"),
			(party_set_icon, ":party", "icon_ship"),
		(else_try),
			(party_get_icon, ":icon", ":party"),
			(eq, ":icon", "icon_ship"),
			(party_set_icon, ":party", "icon_flagbearer_a"),
		(try_end),
	(try_end),
  ]),

Edit: code used from 1257AD;
Code:
#	script_cf_is_party_on_water
	("cf_is_party_on_water",
	  [
		(store_script_param_1, ":party_id"),
		(party_get_current_terrain, ":party_terrain", ":party_id"),
		
		(assign, reg0, 0),
		
		(try_begin),
		  (this_or_next|eq, ":party_terrain", rt_water),
		  (this_or_next|eq, ":party_terrain", rt_river),
		  (this_or_next|eq, ":party_terrain", rt_bridge),
		  (eq, ":party_terrain", 15),
		  (assign, reg0, 1),
		(try_end),
		
		(gt, reg0, 0),
	]),
Code:
    (try_begin),
      (call_script, "script_cf_is_party_on_water", "p_main_party"),
      (assign, ":new_icon", "icon_ship"),
    (try_end),

So it works, huge thanks to DrThomas and 1257AD.
Now I'm trying to figure out how to make it work for non-hero parties, and I can't see what I need to make different. I'm sure it has something to do with that try_for_range, but I've got nothing beyond that.
Can anybody point me in the right direction?
 
Status
Not open for further replies.
Back
Top Bottom