Warband Script Enhancer 2 (v1.1.2.7)

Users who are viewing this thread

Then try delete steam_appid.txt
Did that, but still no. Also tried do a clean fresh install of the game itself, and updated wse2 to 1.1.2.6, none helped, appreciate for your trying, still. Now I'm starting to think the problem might be on my end, strange but I often run into wierd issues like this, maybe with some times given will have me figure out what's being wrong.
 
Last edited:
Then try delete steam_appid.txt
It's working now that I download the game files from steam directly, definitely got something to do with it. Also I replaced its exe to none-steam version and it still works, I get to open the game normally, play the mod normally. Anyway, I don't know what happened, but anyone encoutering this issue might try this out.
 
Last edited:
Microsoft Visual C++ 2013 Redistributable Package (x86)
Ah i insalled the x64 not the x86, it runs now thank you. But i still get an error when i try to go on options in the start up menu, could not open rgl_config.ini.
 
Party have invalid parent party. This is probably an error in the module scripts
I have the same crash in VC with WSE2. It happens only after saving on the global map, but it's rare and it doesn't replicate after loading. The script in question is also not called by any other script in the module system. If possible, please double-check it somehow, though I have no idea how to force the crash to happen.

Another thing, the Battle Size slider has too wide of a range, up to 6150 in VC. Makes it a little annoying to use. Can't find a setting that would restrict it.
 
Last edited:
I have the same crash in VC with WSE2. It happens only after saving on the global map, but it's rare and it doesn't replicate after loading. The script in question is also not called by any other script in the module system. If possible, please double-check it somehow, though I have no idea how to force the crash to happen.

Another thing, the Battle Size slider has too wide of a range, up to 6150 in VC. Makes it a little annoying to use. Can't find a setting that would restrict it.
When did you first experience this kind of crash?

The battle size range has been increased specifically so that players don't have to manually increase this value in the config.
 
Last edited:
When did you first experience this kind of crash?

The battle size range has been increased specifically so that players don't have to manually increase this value in the config.
Re crash: No idea honestly, it feels like it's been happening during my entire current playthrough of VC which I started in July with the most recent version of WSE2 available at that time. Hadn't played for a year before that. I didn't pay it no mind since it's rare and doesn't break the game entirely (plus, the VC devs broke the game in many others ways with their recent patches...). I only realized it might be WSE2-related when I saw another person's comment here.

Re battle size: I understand. Just expressing a wish for a config option that would make it possible to restrict the upper bound of the setting to the vanilla value.
 
I guess noone bothered to report this yet, but WSE players keep complaining to us, so I'm gonna do their job.
This darkness material doesn't display correctly in WSE, it should be transparent: https://steamcommunity.com/profiles/76561198030083763/screenshot/2371796196866854847/

The material ist "portal_darkness_mat", using vertex_color_shader
Same for "building_alpha_shadow", using soft_particle_add

Would you be willing to look into that? Thanks a bunch!
 
That screenshot was just testing different values. No matter what settings I chose, I didn't get the checkbox. Also when using the exact settings from your screenshot.

Do I need any specific driver settings? Or does it depend on GPU brand?
 
Hmm, I lack the insights to pursue this any further. If people report that bug to us, and they have an nvidia card, I will ask them to turn on MSAA and transparency MSAA. Otherwise, I will still have to refer to this thread.

But thanks for helping!
 
Attack option "relative by enemy position" is currently broken for some reason, any way to fix this?
 
Last edited:
1.1.2.7
-Lua update - Script hooking.
-Added "By inverse mouse movement" block control option.
-Fixed "By relative enemy position" attack control option.
-Fixed font material update for parties map legend.
-Fixed itp_remove_item_on_use item flag.
-Fixed shield deform and horse cripple for items without modifier.
-Optimization - for operations zeroed only first 5 operands (same as vanilla Warband).


Thanks AgentSmith for work on lua update.
Thanks abukhanjar for sponsoring "By inverse mouse movement" option.
 
You can hook scripts using game.hookScript(script_no, funcCallback).

funcCallback will receive all script parameters. Its return values control further behaviour:

If it returns false, the script will not be executed.

If it returns numbers, the script parameters will be replaced with them, then the script is executed.

Example:
Code:
local a = 0
game.hookScript(game.script.game_get_console_command, function(...)
  print("Hook")
  a = a + 1

  if a <= 5 then
    local s = ""
    for i = 1, select("#", ...) do
      s = s .. tostring(select(i, ...)) .. "     "
    end

    print("CONSOLE CMD", a, "blocked, params were: ", s)
    return false

  elseif a <= 10 then
    return 2, 1, 4 --set team 1 bot count to 4. At least for NW

  elseif a == 15 then
    game.hookScript(game.script.game_get_console_command, nil)
  end
end)

To unhook a script, use game.hookScript(script_no, nil).

Now you can patch any old unsupported mods without modifying their files.
 
How to remove freezes in big battles?

This lua script disables the morale script script_apply_effect_of_other_people_on_courage_scores for Native and all mods that use this morale system. If you wish, you can improve it by writing your own moral system using lua without the need to decompile and modify the mod itself.

Installation:
Extract lua folder to your root module folder. For example full path Warband\Modules\Native\lua\main.lua

 
Back
Top Bottom