SP Native Ranger Company version 1.8 (updated April, 18,2010) testers still needed!!

Should the loot wagon require an npc to run? see page 8 for details.

  • Yes, more npc's please.

    Votes: 13 61.9%
  • No, I want all the loot, all the time.

    Votes: 4 19.0%
  • What's a loot wagon?

    Votes: 4 19.0%

  • Total voters
    21
  • Poll closed .

Users who are viewing this thread

Found a new bug from the prisoner price thing, Ramun makes me headache... he refuses to act like the other ransom brokers and i found out now why... I guess Ramon is a left over relic from earlie MB versions, he isnt in the range from ransom_broker_begin and ransom_broker_end. That causes the script with the price update to act strange. I first tried to copy/paste him into the according section but that also bugs (cause now another troop will spawn instead of him).
So the final fix was to remove him altogether. In script_update_ransom_brokers there is a line which forces him to spawn in Tihr only (and as far as i understand overwright a maybe already setted normal ransom_broker) so i just commented out that line.
Should work now.

#script_update_ransom_brokers
  # INPUT: none
  # OUTPUT: none
  ("update_ransom_brokers",
    [(try_for_range, ":town_no", towns_begin, towns_end),
      (party_set_slot, ":town_no", slot_center_ransom_broker, 0),
    (try_end),
   
    (try_for_range, ":troop_no", ransom_brokers_begin, ransom_brokers_end),
      (store_random_in_range, ":town_no", towns_begin, towns_end),
      (party_set_slot, ":town_no", slot_center_ransom_broker, ":troop_no"),
    (try_end),

##    (party_set_slot,"p_town_2",slot_center_ransom_broker,"trp_ramun_the_slave_trader"),  ## commented out by Abhuva, Ramun is a relict from early MB versions and causes trouble when altering prisoner price
    ]),

Edit: Maybe its possible to let him stay into the game with just copy/paste the troop-definition of ramon between the other ransom-brokers. I guess the bug i had was due to using a save game while testing the change (and so the game spawns the next troop after him wich was infact quick-jimmy =) ... but for now the easier/save game friendlier fix was to just remove the forced spawn.
 
I'm not real sure what I will finally do with prisoner sales. I may add something completely different from what is in game right now, but it is pretty low on my priority list. 

I think that the devs left Ramun in at Tihr because it is a port city and they wanted to leave the impression that slaves are sold to row the galleys.  You could make him use the sell prisoner script, just edit his dialog.

Almost forgot, next version will have some new items in it that I've been working on.  The rangers will start to look more like I've planned.
 
I have noticed while testing a new map for my mod that, after starting a fresh game, there was already a build entrenchmant in the landscape. I will try to hunt down and fix the bug later, just wanted to post it here so i dont forget it =) I guess the variables arent properly initialized at game start.

Edit: Seems i have caused the bug by myself (was porting the parties.txt to .py with a tool and i guess it messed up the flags), wasnt able to recreate it after using the original (and more careful edited) partie.py, my apologize  :oops:

Edit 04.05.10 : There is a major bug with the loot-wagon. When you send them on a trade run and you have forgotten to assign a town before, then either some script-error-messages appear or the game simple crash to desktop (cause the variable is not set). I think there are 2 possible solution for this. Either assign a town as default (i guess thats the easier solution), or make a check when you actually send them if a town is assigned or not and force the player to assign one.

... set the following as a temporary fix in module_scripts set_spy_account (where you init most of your variables): (party_set_slot,"p_main_party",slot_loot_wagon_target, 20), ## Abhuva bug fix ( set from -1 to 20 to avoid crashing,
This sets the standard-trade town to Tihr (atleast in my version).
Its not a real good fix, but it works.

Some script errors also appear when talking to some lords, but i cant recreate this in every case - it seems to affect only some lords. I think it have nothing to do with my own changes but i am not entirely sure about that one.

Also noticed that i still can find a empty entrenchmant after game-start (in the middle of the map, so i guess its at coords: x:0 y:0) so it wasnt my mistake with the flags... its not a big problem, more a cosmetic one i think.

Edit: 05.05 : Got some bug reports for my own mod which i guess belong to the latest change in RangerCompany, the ability to choose the side in battles: I quote the original bug report :
"I think what Pearson de Saap is talking about is something different to the normalization process as I've run into it too. I'm a vassal of Swadia and everytime I intervene in a battle with Swadian forces taking part I get a message saying war has broken out between who ever they are facing and Swadia and I get a 10 point rep hit with the King.
Sounds like it has something to do with the new ability to pick sides in battles you have no stake in (which is very good and would be a shame to see go). Maybe a variable not being checked in the new process?"
It also seems that the huge honor gain from burying the dead have some draw-back to early game - some people reported that they have offered vassalage after a week gameplay-time which seems way too early, i will change the amount of honor-gain for my own mod, just wanted to report it here too.

Also tried one game (with of course lots of cheating to fasten the process) to see what "Patron Saints" really does and i have to say i like it, dont know if i have seen all features - so far i recognized the ability to rest in all villages (which is ok and not overpowered imo) and the seldom event that some villages rebel against their lord and choose my side. ---> But i think that it was too easy to gain the status of the PatronSaint, was like doing 4-6 quests and all was done. Would like to see that a bit more difficult to get.

(I hope you recognize the latest edit here, i didnt want to make a double-post)
 
so i am trying to implement this into a personal mod however i have a couple of issue, i have went through all the files in the source and found everything labeled tampered

firs in the mission template for the prison rescue you have prison_gear in the tuplet but i can not find any kind of prisoner_gear

so i took out prisoner gear for the time being however this is the list of errors i get once i build module can you point me out on how to correct this?

Initializing...
variables.txt not found. Creating new variables.txt file
Compiling all global variables...
variables.txt not found. Creating new variables.txt file
variable_uses.txt not found. Creating new variable_uses.txt file
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Exporting map icons...
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Exporting faction data...
Exporting item data...
Exporting scene data...
Exporting troops data
Exporting particle data...
Exporting scene props...
Exporting tableau materials data...
Exporting presentations...
Exporting party_template data...
Exporting parties
Exporting quest data...
Exporting info_page data...
Exporting scripts...
ERROR: Usage of unassigned local variable: :cur_troop
ERROR: Usage of unassigned local variable: :cur_troop
ERROR: Usage of unassigned local variable: :cur_troop
Error: Unable to find object:script_update_center_notes
ERROR: Illegal Identifier:script_update_center_notes
ERROR: Usage of unassigned local variable: :is_town
ERROR: Usage of unassigned local variable: :p_type
ERROR: Usage of unassigned local variable: :is_battle
ERROR: Usage of unassigned local variable: :is_town
ERROR: Usage of unassigned local variable: :training_ground
ERROR: Usage of unassigned local variable: :p_type
ERROR: Usage of unassigned local variable: :party_template_id
ERROR: Usage of unassigned local variable: :p_type
ERROR: Usage of unassigned local variable: :is_battle
ERROR: Usage of unassigned local variable: :training_ground
ERROR: Usage of unassigned local variable: :p_type
ERROR: Usage of unassigned local variable: :party_template_id
ERROR: Usage of unassigned local variable: :p_type
ERROR: Usage of unassigned local variable: :party_template_id
Error: Unable to find object:script_update_center_notes
ERROR: Illegal Identifier:script_update_center_notes
Error: Unable to find object:script_update_center_notes
ERROR: Illegal Identifier:script_update_center_notes
Error: Unable to find object:mnu_debug_alert_from_s65
ERROR: Illegal Identifier:mnu_debug_alert_from_s65
Error: Unable to find object:script_update_center_notes
ERROR: Illegal Identifier:script_update_center_notes
ERROR: Usage of unassigned local variable: :gold
ERROR: Usage of unassigned local variable: :gold
ERROR: Usage of unassigned local variable: :gold
ERROR: Usage of unassigned local variable: :gold
Error: Unable to find object:script_update_center_notes
ERROR: Illegal Identifier:script_update_center_notes
Error: Unable to find object:trp_vaegir_infantry
ERROR: Illegal Identifier:trp_vaegir_infantry
Error: Unable to find object:trp_vaegir_infantry
ERROR: Illegal Identifier:trp_vaegir_infantry
Error: Unable to find object:trp_vaegir_archer
ERROR: Illegal Identifier:trp_vaegir_archer
Error: Unable to find object:trp_vaegir_footman
ERROR: Illegal Identifier:trp_vaegir_footman
Error: Unable to find object:script_update_center_notes
ERROR: Illegal Identifier:script_update_center_notes
Error: Unable to find object:mnu_debug_alert_from_s65
ERROR: Illegal Identifier:mnu_debug_alert_from_s65
Error: Unable to find object:mnu_debug_alert_from_s65
ERROR: Illegal Identifier:mnu_debug_alert_from_s65
Error: Unable to find object:script_update_center_notes
ERROR: Illegal Identifier:script_update_center_notes
Exporting mission_template data...
Traceback (most recent call last):
  File "C:\Program Files\Mount&Blade Warband\Modules\test\Module_system 1.131\pr
ocess_mission_tmps.py", line 64, in <module>
    save_mission_templates(variables,variable_uses,tag_uses,quick_strings)
  File "C:\Program Files\Mount&Blade Warband\Modules\test\Module_system 1.131\pr
ocess_mission_tmps.py", line 47, in save_mission_templates
    save_mission_template_group(file,group)
  File "C:\Program Files\Mount&Blade Warband\Modules\test\Module_system 1.131\pr
ocess_mission_tmps.py", line 28, in save_mission_template_group
    if (len(entry[5]) > :cool::
IndexError: tuple index out of range
Exporting game menus data...
ERROR: Usage of unassigned local variable: :ally_party_template
ERROR: Usage of unassigned local variable: :ally_party_template
WARNING: Usage of unassigned global variable: $g_presentation_marshall_selection
_max_renown_3
WARNING: Usage of unassigned global variable: $g_presentation_marshall_selection
_max_renown_3_troop
WARNING: Usage of unassigned global variable: $g_presentation_marshall_selection
_max_renown_3
WARNING: Usage of unassigned global variable: $g_presentation_marshall_selection
_max_renown_3_troop
Error: Unable to find object:script_update_center_notes
ERROR: Illegal Identifier:script_update_center_notes
exporting simple triggers...
Error: Unable to find object:mnu_debug_alert_from_s65
ERROR: Illegal Identifier:mnu_debug_alert_from_s65
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
WARNING: Variable name used for both local and global contexts:target
exporting triggers...
exporting dialogs...
Checking global variable usages...
WARNING: Global variable never used: g_number_of_targets_destroyed
WARNING: Global variable never used: g_tutorial_training_ground_archer_trainer_i
tem_1
WARNING: Global variable never used: g_tutorial_training_ground_archer_trainer_i
tem_2
WARNING: Global variable never used: g_tutorial_training_ground_horseman_trainer
_item_1
WARNING: Global variable never used: g_tutorial_training_ground_horseman_trainer
_item_2
WARNING: Global variable never used: drunks_dont_pick_fights
WARNING: Global variable never used: training_fight_won
WARNING: Global variable never used: dialog_with_merchant_ended
WARNING: Global variable never used: g_battle_result
WARNING: Global variable never used: g_village_raid_evil
WARNING: Global variable never used: g_siege_sallied_out_once
WARNING: Global variable never used: g_attacker_drawn_weapon
WARNING: Global variable never used: g_latest_order_1
WARNING: Global variable never used: g_latest_order_2
WARNING: Global variable never used: g_latest_order_3
WARNING: Global variable never used: g_latest_order_4
WARNING: Global variable never used: belfry_positioned
WARNING: Global variable never used: g_arena_training_max_opponents
WARNING: Global variable never used: g_position_to_use_for_replacing_scene_items

WARNING: Global variable never used: server_mission_timer_while_player_joined
WARNING: Global variable never used: g_destructible_target_2
WARNING: Global variable never used: g_multiplayer_mission_end_screen
WARNING: Global variable never used: g_election_date
WARNING: Global variable never used: g_battle_waiting_seconds
WARNING: Global variable never used: g_death_mode_part_1_start_time
WARNING: Global variable never used: g_multiplayer_poll_ended
WARNING: Global variable never used: g_multiplayer_poll_end_time
WARNING: Global variable never used: g_training_ground_training_num_gourds_to_de
stroy
WARNING: Global variable never used: g_training_ground_ranged_distance
WARNING: Global variable never used: g_duel_troop
WARNING: Global variable never used: g_presentation_lines_to_display_begin
WARNING: Global variable never used: g_presentation_lines_to_display_end
WARNING: Global variable never used: $g_presentation_marshall_selection_max_reno
wn_3
WARNING: Global variable never used: $g_presentation_marshall_selection_max_reno
wn_3_troop
WARNING: Global variable never used: $g_presentation_marshall_selection_max_reno
wn_3
WARNING: Global variable never used: $g_presentation_marshall_selection_max_reno
wn_3_troop
Exporting postfx_params...

______________________________

Script processing has ended.
Press any key to exit. . .
 
Back
Top Bottom