.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > HPB_bot
HPB_bot The trusty good ole mechs by botman HLDMTFCOpposing ForceDMCFront Line Force

Reply
 
Thread Tools
botman's bot10 for linux
Old
  (#1)
lharc
Guest
 
Status:
Posts: n/a
Default botman's bot10 for linux - 05-01-2004

Hi !
I've started to create my own bot, and started by using botman's code,
specifically bot10 source. This wasn't easy as the sources was spread
around places (sdk2.2/linuxpatch/bot10src) and further fixes needed with the source to compile on linux and be language strict.

So I have archived together botmans source with the valve sdk2.2 with
botmans linuxpatch and my small fixes to the source, to be able to compile clean and easy (not -Wall clean yet :-).

My tar file is located at:
http://hmn.servebeer.com/game/hl/linuxbot10.tar.gz

Now my version of the bot10 (.so file) introduces some small bugs into the
game and the game crashes sometime, if I use the original bot10 file
by botman it works nice.

I have an output of the server when it crashes here:
http://hmn.servebeer.com/game/hl/bot10-valgrind.txt

Anyway I didn't thought it would be this hard to atleast bootstrap
someone elses code to start begin coding my own modifications.

cheers/lharc
  
Reply With Quote
Re: botman's bot10 for linux
Old
  (#2)
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: botman's bot10 for linux - 05-01-2004

congratulations!

I bet your crash problems will vanish away if instead of testing the edict_t pointers validity with
Code:
if (pEdict == NULL)
   // invalid entity
you do it like this instead
Code:
if (FNullEnt (pEdict))
   // invalid entity
</hint>



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
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com