.:: 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 ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
CS1.5+standard DLL+linux = strange segfault bug
Old
  (#1)
cruft
Guest
 
Status:
Posts: n/a
Default CS1.5+standard DLL+linux = strange segfault bug - 28-06-2004

Strange bug here. For a standard DLL on a CS1.5 linux platform, I get a segfault if the following engine funcs are set in GiveFnptrsToDll:
pengfuncsFromEngine->pfnGetFileSize = pfnGetFileSize;
pengfuncsFromEngine->pfnIsCareerMatch = pfnIsCareerMatch;
When these lines are commented out, everything works fine.

This happens for joebot (see this thread: http://forums.bots-united.com/showthread.php?t=1821).

I also tried HPB template 4 as a reference but it also has this same problem.

Anyone else encounter this bug?
  
Reply With Quote
Re: CS1.5+standard DLL+linux = strange segfault bug
Old
  (#2)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: CS1.5+standard DLL+linux = strange segfault bug - 28-06-2004

i think those are steam related? (or CS CZ related?).

Metamod does not have this problem though, so i guess thats why my bot works under both versions without trouble.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: CS1.5+standard DLL+linux = strange segfault bug
Old
  (#3)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: CS1.5+standard DLL+linux = strange segfault bug - 29-06-2004

Actually you can just remove those hooks to make it compatiable with both Steam and normal HL, since bots don't need them. (That's why I'm using HLSDK 2.0 headers )
  
Reply With Quote
Reply


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

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