搜索结果: *

  1. [WB] Warband Script Enhancer v4.9.2 for 1.174

    Odin_of_Asgard 说:
    why does WSE not work with steam version?
    because it's an injection, steam version and others are different exe files. it will take time to develop non-steam version
  2. [WB] Warband Script Enhancer v4.9.2 for 1.174

    my warband server crashes like one time a day since I have WSE installed, server environment is Windows Server 2012r2, WSE version is 4.6.1 the latest.
    > Info
    Time: 23/08/2018 17:52:15
    Type: EXCEPTION_ACCESS_VIOLATION (0xC0000005, 0x00000001, 0x00000001)
    > Stack trace
    0x77166726 ntdll.dll+0x66726 (RtlFreeHeap+0x126)
    0x7716667A ntdll.dll+0x6667A (RtlFreeHeap+0x7A)
    0x76B79DC6 kernel32.dll+0x49DC6 (HeapFree+0x14)
    0x004FBBAD mb_warband_dedicated.exe+0xFBBAD (??+0x0)
    0x004A6FE3 mb_warband_dedicated.exe+0xA6FE3 (??+0x0)
    0x0043EC8E mb_warband_dedicated.exe+0x3EC8E (??+0x0)
    0x00439E25 mb_warband_dedicated.exe+0x39E25 (??+0x0)
    0x6806BC20 WSELibDedicated.dll+0x4BC20 (??+0x0)
    0x6806BC20 WSELibDedicated.dll+0x4BC20 (??+0x0)
    >

    I rechecked the codes but failed to find anything wrong with dict usage. I read the replies within this topic ,it seems not to be related to my codes. should use the WSE loader for windowsXP?
  3. White List

    you need to type help in the console window,and read the information.
  4. [solved]need help with setting different initial gold for troops

    PitchPL 说:
    This doesnt work on host game because your Player id is always 0 , on dedicated server is always Above 0.

    My ideas;

    Check that server is running script not Player.
    Be sure that you test it with clear module.(no changes)

    Add some debug messages so  you will be sure that script run/or not.
    thanks to your advice and this is finally solved.
    I made more than 20 debug strings for this and finally find out that the number of players(except for admin) can not be passed from one function to another,if you do so,the number will turn out to be 252,no matter what you have originally.So I choose to save the player number with global variable to pass it to another function and it is solved fine.
  5. [solved]need help with setting different initial gold for troops

    PitchPL 说:
    K2muyouxiaojiji 说:
    Problems occured with part 1, I changed codes with "script_game_receive_network_message",

    Gold is one of thing which you don't need sync manualy. Game do this always for you.



    In my opinion ;  You need

    Set default gold to 0
    Create global variable to check/set player troop.
     
                           
                        For example you set archer id as 3.    (you need to do it somewhere after troop select , maybe in prst code)
                           
                      (assign, $g_troopid, 3),               

                      Use operation to set player gold. 
                       
                     
    插入代码块:
                 (eq, $g_troopid, 3),
                 (player_set_gold, <player_id>, <value>),


    But of course you need to do it in correct places, its not that easy.
    You need do something more,fixing default gold script is required.


    thanks for your advice.

    the first part
    (eq, ":event_type", multiplayer_event_change_troop_id),

    this event hapens when player change their troop with the psrt,as you decribed,I totally agree with you.and the client(player side) send this to server, (the event is multiplayer_event_change_troop_id),  so this is exactly the place you said.

    the 1) part works only when it is dedecated server and player must be admin,this really confuses me,because I didn't have any script of checking if it's dedicated server and if the player is admin.
  6. [solved]need help with setting different initial gold for troops

    the pricing system of battle is based on 1000 initial gold by Taleworlds,but our server (CN_X1) has been hosted for 5 years with 1600 initial gold.so it is obvious the balacing of factions is broken,Veagir is too strong and Sarranid is too weak. Changing the price of items is not an...
后退
顶部 底部