Can we include a library between a mod and the engine ?


(Alan) #1

Hi,
i am working on bots, and i have used Botman’s HPB Bots (for Half Life).
Botman introduce a library between the mod and the engine, so he can modify some parts of a mod without changing his source code (and he don’t need the source code).
This solution is interesting because it will be easier to use things like bots for different mods :slight_smile:

Can we include a library between a mod and the engine ? (I think it is possible, but i am not sure)
And what could be the difficulties ? (Punkbuster ?)

Thanks,
Alan


(SCDS_reyalP) #2

This is how a gamehook hack works. You would liikely have some issues with etpro anticheat, and maybe PB too.


(Rain) #3

Something like this should be okay (from the POV of both punkbuster and etpro) so long as it’s done only on the server side. I experimented with ET modding in exactly this way before we had access to the SDK (although it was rather difficult without the SDK for reference.)


(Alan) #4

If we don’t use Punkbuster, it will work on et servers and some mods, but not with etpro. Right ?

Generally, the person who want to use bots is alone, perhaps without internet, so he don’t need punkbuster and anticheat codes.
The aim is to allow everybody to use bots on his favourite mod.
For the moment, we need to modify the source code of the mod and create a new one to play with bots, and Botman’s solution was to use a “module” that can be easily added on the mod that we want.

Because we are not sure that the source code of a mod will be avaible, because the update of the mod and the bots should be independent, i think it can be a good idea.
What do you think about that ?
Is there another solution ?

Thanks,
Alan


(Alan) #5

Well, we can use etpro and punkbuster because the library is only needed on the server side.

If you want, we can work together on that.