Re: res/scripts not containing pyc files

Published by picknicker on

#114257
picknicker
Participant
13 hours ago, Cresh said:

I don’t really understand it too. They could at least release a documentation of the functions. I wonder why nobody made some kind of Wiki yet to document the functions. It would be very helpful. 

Yepp, the saddest part is the “API” we use by hooking random functions is anything else but stable…

Be prepared to debug your mods after every second patch, because WG refactored their code:

Best example: In the Halloween patch last year they introduced a new functionality: two turrets. Broke every aimbot incuding mine. After the event they reverted the code, broke the aimbot again. It was a pretty easy fix, but sometimes they are hard to spot.

I suggest for starting try to find open source mods or mods you can decompile, they are a good basis. If you have a specific question on a functionality just ask, I’ll do my best to help.

I’m pretty sure there is some russian forum (wich google crawlers don’t get to) where all the API changes are discussed. Koreanrandom is so far the best source for me, but the hints are very scattered through the threads and google translate is not always optimal…

 

But then again: Maybe the BWmod authors know a place, at least they have a business model which needs to react to changes fast, otherwise they loose customers…