Thread: hehehehe
View Single Post
Re: hehehehe
Old
  (#8)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: hehehehe - 03-12-2004

ok, since you asked for it:
http://racc.bots-united.com/releases...dent-beta1.zip

Please note that this is still an early BETA. There are a few crash bugs left. And the rest of the bot code has been affected a bit by the "change". Not counting that it's still a big mess in the areas I was working on.

All HL related code is in interface.cpp. ALL the rest of the bot code is completely self-contained, and can even be compiled without any header from the HL SDK or the metamod SDK: it's just standard C.

It links to the engine and maintains its own engine-independent entity list and player list. The struct members the bot needs are fetched and translated in realtime. All engine calls have been abstracted. My favourite achievement is that in the game DLL API, only StartFrame() remains hooked -- well, nearly. The rest is to fix bugs in the HL engine.

What can be done from now on would be to make interface.cpp a separate "engine driver" DLL, and hold the rest of the bot code in an engine-independent RACC DLL.

But enough rambling, grab, compile, and see for yourself

and don't forget to tell me your impressions



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote