igroglaz / srvmgr

https://rom2.ru
8 stars 5 forks source link

turn off random bags which spawns on maps #99

Closed igroglaz closed 3 years ago

igroglaz commented 3 years ago

add server flag which spawns random bags with iron equip and scrolls on maps... ideally will be allowing to drop certain items based on TreasureItemMask https://docs.google.com/spreadsheets/d/1vJtw4gDoYZPWZD5hm08QNpBtbpmO7wv1q2c5rfZQE_M/edit#gid=1084796609 but if it's not possible, simply turning this off will do.

igroglaz commented 3 years ago

Solved by Kobik: in a2server.exe replace first 3 bytes in: "558BEC6AFF689F5B60" with C2 04 00

the ony thing left is to add it to the code

igroglaz commented 3 years ago

ideally will be make to add it to server config.. cause on some maps this bags could be fun

igroglaz commented 3 years ago

https://github.com/igroglaz/srvmgr/pull/102/commits/79a9b0208846069decc9c386599b691a7b9ebe0e