[WB] Warband Script Enhancer v3.2.0 (21/07/2013)

Users who are viewing this thread

Status
Not open for further replies.
Okay, when I tried to add
Code:
itp_offset_flip = 0x8000000000000 # flips melee weapon model 180° on y-axis
to header_items (under the other itp_*_* flags) it gives me an error

I had to change it to
Code:
itp_offset_flip = 0x8000000000000 # flips melee weapon model 180 degrees

Apparently Python 2.7 has issues with the ° symbol even in comments, because it gave me an error about an non ASCII character. Just thought I'd toss that out here
 
cmpxchg8b and company.
Some of you may review the code and see if you have a problem?
If nothing else, at first sight!
  [
    (ti_on_init_missile,
    (set_position_delta, 0, 0, 0),(particle_system_add_new, "psys_arrow_fire"),(particle_system_add_new, "psys_arrow_smoke"),(particle_system_add_new, "psys_arrow_fire_sparks"),(set_current_color,150, 130, 70),(add_point_light, 10, 30),),
    (ti_on_init_item,
    (set_position_delta, 0, 0, 0),(particle_system_add_new, "psys_arrow_fire"),(particle_system_add_new, "psys_arrow_smoke"),(particle_system_add_new, "psys_arrow_fire_sparks"),(set_current_color,150, 130, 70),(add_point_light, 10, 30),),
  ]
],

The code compiles, in perfect condition, has been Swyter, which helped me to complete it.
The only fault where me is that I can not access, inventory.
(with arrows equipped on my character.)

Also, by entering a city, has some delay.
Any idea of why this happens?

PD. particles are edited by me. (perfect.)
Thanks Guys!


ESPAÑOL
cmpxchg8b y compañia.

Alguno de ustedes puede revisar el codigo, a ver si tiene algun problema?
Aunque solo séa, a simple vista!

El codigo compila, en perfectas condiciones, a sido Swyter, que me a ayudado a completarlo.
El unico fallo detectado por mi, es que no puedo acceder, al inventario.
(con las flechas equipadas en mi personaje.)

Ademas, al entrar en una ciudad, tiene algo de retardo.
Alguna idea, de porque ocurre esto?

PD. las particulas son editadas, por mi, ni caso vale!

Gracias Chicos!!
 
Caba`drin said:
cmpxchg8b said:
Ah, I didn't notice that because I use Python 3 and it works there. I'll change it.
So you adjusted the process .py files to work with Python 3? (Or you re-wrote a different compiler?) Might be some that would find those useful if you were up for sharing.
Was sick of waiting 2+ minutes when compiling cRPG, so i rewrote the compiler in C++ using the Python 3 C API and compile time dropped to 2 seconds. Thought about releasing it, but it's quite rough and I don't have time to do tech support.
El Guanche said:
cmpxchg8b and company.
Some of you may review the code and see if you have a problem?
Don't see anything wrong in that snippet of code, the problem must lie elsewhere.
 
Particle effects added to items caused crash when viewing inventory in ealier versions of M&B. I don't know if this still causes a crash in WB, but it might be the case. Just comment "ti_on_item_init" trigger and see if you can view your inventory. If yes, then you'll have to add some conditions to prevent adding particle effect when inventory window is opened.
 
Slawomir of Aaarrghh
If I add, (ti_on_init_missile) works correctly. (but only a trigger)
Yes. I add, (ti_on_init_item), also works perfectly. (with the consequence of only being able to add a trigger)

is relative - if I add one, I can not add another.
(presumably, that should work), but no, compiles great, but ... I have no idea.

- You, you can try to fix it?
Thank You!

ESPAÑOL
Si añado; (ti_on_init_missile), funciona correctamente. (pero solo, un disparador)
Si. añado; (ti_on_init_item), tambien funciona perfectamente. (con la consecuencia, de solo poder añadir un disparador)
es relativo, - si añado uno, no puedo añadir el otro.
(se supone, que deberia funcionar), pero no, compila genial, pero...no tengo idea.

- tu, puedes intentar, a arreglarlo?
Gracias
 
I think it shold be like this :
Code:
[(ti_on_init_missile, [
    (set_position_delta, 0, 0, 0), #change this to move the particle system's local position
    (particle_system_add_new, "psys_torch_fire"),
    (particle_system_add_new, "psys_torch_smoke"),
    (set_current_color,150, 130, 70),
    (add_point_light, 10, 30),
]),
(ti_on_init_item, [
    (set_position_delta, 0, 0, 0), #change this to move the particle system's local position
    (particle_system_add_new, "psys_torch_fire"),
    (particle_system_add_new, "psys_torch_smoke"),
    (set_current_color,150, 130, 70),
    (add_point_light, 10, 30),
])]],
 
Dunde: :shock: :shock: :shock:
Just .... is PERFECT!
Really, I have no words, well, if I have, hurray!
Nobody knows, research that does this, but in another language, really, congratulations to all;
Dunde, SonKidd, Mirathei, (cmpxchg8b: ti_on_init_missile), above all, I owe it to...
"Swyter": for being so patient with me :wink:.

Thank you very much everyone!

PD: (set_position_delta, 0, 0, 0), of these, Zeros, which is equivalent to "Z"?
X, Y, Z. .. which is the order?
jajajaja = Lol

ESPAÑOL
Simplemente....es PERFECTO!!!
De veras, que no tengo palabras, bueno, si que tengo, HURRA!
Nadie sabe, la investigacion, que lleva esto, mas en otro idioma, de Veras, Mis felicitaciones para todos;
Dunde, SonKidd, Mirathei, Sobre todo, se lo debo a,
por tener tanta paciencia, conmigo.
Muchas Gracias a todos!!!
PD: (set_position_delta, 0, 0, 0),  de estos, Ceros, cual equivale a "Z"?
X,Y,Z...cual, es el orden?
jajajaja = Lol


EDIT

cmpxchg8b said:
It works for me.
Can you paste the contents of wse_crash_log.txt (it should be in the same directory where you put the WSE files)?
yes.
[18:52:28] WSE v2.3.1 by cmpxchg8b (Build date: Oct 18 2011 15:54:03)
[18:52:28] WSE path: C:\Program Files\Mount&Blade Warband\
[18:52:28] WSE netcode version: 4
[18:52:28] Warband version: vanilla
[18:53:18] WARNING: Unable to map WSE script code: wse_chat_message_received
[18:53:18] WARNING: Unable to map WSE script code: wse_console_command_received
[18:53:18] WARNING: Unable to map WSE script code: wse_game_saved
[18:53:18] WARNING: Unable to map WSE script code: wse_multiplayer_message_received
[18:53:18] WARNING: Unable to map WSE script code: wse_get_agent_scale
[18:53:18] WARNING: Unable to map WSE script code: wse_window_opened
:?:
 
Hello, I have a trouble with launching WSE on FreeBSD (Wine). It fails on writing dll name into memory. I think running it with admin right would help but I do not have access to Admin account. What could I do?

WSE Loader by cmpxchg8b (Build date: Sep 23 2011 18:17:47)
OS version: 5.1.2600 SP 3.0
Command line: -r Battle_Time.txt -m Battle_Time
WSE path: Z:\usr\home\Paxx\wb\Server\
Game executable origin: path (dedicated)
Game executable path: Z:\usr\home\Paxx\wb\Server\mb_warband_dedicated.exe
Game executable checksum: AC6ABEE9
Library path: Z:\usr\home\Paxx\wb\Server\WSELibDedicated.dll
Injecting
kernel32.lib local address: 62610000
LoadLibraryW local address: 62651E50
Library path: Z:\usr\home\Paxx\wb\Server\WSELibDedicated.dll
Library path size in bytes: 95
Library path remote address: 240000
Failed to write remote process memory for library string.

Windows API error
Code: 5
 
I don't know if you ever needed any of such, but couldn't detect any so here is my own spin-off.

di-LZXO.png
 
Status
Not open for further replies.
Back
Top Bottom