Warband Refined & Enhanced Compiler Kit (v1.0.0 @ Mar 01, 2015)

Users who are viewing this thread

Tocan

Sergeant Knight at Arms
:lol:
while we are on the subject, WRECK has also trouble with the module_skins, when you add new races it makes a line spacing too much which leads to the openbrf error messages/not working. DSTN can confirm this.
 

Asokanta

Recruit
WBNWVC

tocan03.12.2020​

don't let wreck proceed the sounds file, it's the easiest solution.

When I bypass sounds module it says skins using sounds module. Have you found the solution?

Also, I just need to compile serverside files. I'm trying to decrease time on building.
 

Vetrogor

Sergeant at Arms
:lol:
while we are on the subject, WRECK has also trouble with the module_skins, when you add new races it makes a line spacing too much which leads to the openbrf error messages/not working. DSTN can confirm this.
Provide sample of code and screenshot of error, please.
 

Tocan

Sergeant Knight at Arms
i don't have a screen ready, check some Mods using WRECK, if the Mod adds new Skins you surely have almost a 50% chance, that wen you scan with openbrf on module usage you get an error message or that the openbrf function no longer correctly read the entries. If you want to take a look simply add a new race and compile with WRECK.

The cause is one space too many:

Code:
skel_human 1.000000
2 3
0


zombie 0
 man_body dummy_mesh zombie_m_handL

and change it to

Code:
skel_human 1.000000
2 3
0

zombie 0
 man_body dummy_mesh zombie_m_handL

between each of the new entries.
 
Last edited by a moderator:

Eärendil Ardamírë

Subforum Moderator
WBWF&SM&B
There is one empty line less at the second one. I haven't seen it neither when Tocan wrote about it the first time and it seems like he does still think it's easy to see for everyone ^^
 

Vetrogor

Sergeant at Arms
Bug

In mission_templates when one trigger aplied to many missions. Only first math expression will be changed to operands by compiler. I.e. only first trigger will work others will miss operands.
 

Vetrogor

Sergeant at Arms
Addition to plugin_ms_extension.py

This is division rounded up. For negative values it will round down.

Python:
(val_divup, <destination>, <value>),	              # Divide destination with round up. Negatives will be rounded down.
(store_divup, <destination>, <value1>, <value2>),	   # Divide destination := value1/value2 with round up. Negatives will be rounded down.

Python:
def val_divup(destination, value, *argl):
	return [
		(assign, l._sign_, destination),
		(val_abs, destination),
		(val_div, l._sign_, destination),
		(assign, l._y_, value),
		(val_mul, l._sign_, l._y_),
		(val_abs, l._y_),
		(val_div, l._sign_, l._y_),
		(val_add, destination, l._y_),
		(val_sub, destination, 1),
		(val_div, destination, l._y_),
		(val_mul, destination, l._sign_),
	]

def store_divup(destination, value1, value2, *argl):
	return [
		(assign, l._sign_, value1),
		(assign, l._y_, value2),
		(assign, l._x_, value1),
		(val_abs, l._x_),
		(val_div, l._sign_, l._x_),
		(val_mul, l._sign_, l._y_),
		(val_abs, l._y_),
		(val_div, l._sign_, l._y_),
		(val_add, l._x_, l._y_),
		(val_sub, l._x_, 1),
		(store_div, destination, l._x_, l._y_),
		(val_mul, destination, l._sign_),
	]
 
Last edited:
Top Bottom