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

Go Back   .:: Bots United ::. > Cyborg Factory > Sandbot
Sandbot A bot for Gunman Chronicles and They Hunger - by tschumann

Reply
 
Thread Tools
Re: progress
Old
  (#111)
RoboCop
vBulletin Veteran
 
RoboCop's Avatar
 
Status: Offline
Posts: 167
Join Date: Feb 2013
Location: Dundee, Scotland
Default Re: progress - 12-02-2018

Also I think I found a useful solution that I've borrowed from Cheeseh's RCBot. What it is, is a Crashlog.txt script that is used for RCBot to take a record of causes of the crashes, like missing wad required for the server as well like "FATAL ERROR" crashes.

Also someone may need to update this site as vBulletin 3 won't be compatible for PHP 7.2 sadly.





vBulletin Webmaster since 2001
  
Reply With Quote
Re: progress
Old
  (#112)
tschumann
Moderator
 
tschumann's Avatar
 
Status: Offline
Posts: 212
Join Date: Apr 2011
Location: Australia
Default Re: progress - 14-02-2018

Quote:
Originally Posted by RoboCop View Post
Also I think I found a useful solution that I've borrowed from Cheeseh's RCBot. What it is, is a Crashlog.txt script that is used for RCBot to take a record of causes of the crashes, like missing wad required for the server as well like "FATAL ERROR" crashes.
Is it something in the Sys_Error callback?
The logging in Sandbot is a bit of a mess - I didn't like the write to file that HPB_Bot did (I wanted to be able to see stuff in the console). I'm moving towards a standard logging function which should allow a more unified writing to file option.
  
Reply With Quote
Re: progress
Old
  (#113)
RoboCop
vBulletin Veteran
 
RoboCop's Avatar
 
Status: Offline
Posts: 167
Join Date: Feb 2013
Location: Dundee, Scotland
Default Re: progress - 14-02-2018

That could that yes. Also I've now got up to nearly over 200 op4 maps as well as added a few more CTF and CP maps which you find out here:-

http://apg-clan.org/fastdl/gearbox/maps/





vBulletin Webmaster since 2001
  
Reply With Quote
Re: progress
Old
  (#114)
tschumann
Moderator
 
tschumann's Avatar
 
Status: Offline
Posts: 212
Join Date: Apr 2011
Location: Australia
Default Re: progress - 16-02-2018

Nice - good conservation.

Hopefully capture point support won't be too hard.
  
Reply With Quote
Re: progress
Old
  (#115)
tschumann
Moderator
 
tschumann's Avatar
 
Status: Offline
Posts: 212
Join Date: Apr 2011
Location: Australia
Default Re: progress - 24-02-2018

@RoboCop so I'm trying to get to the bottom of versions of libstdc++ etc - so you have gcc 4.8.5 and libstdc++.so.6.0.24 - do you have any other instances of libstdc++ installed? Do all of your libstdc++.so.6 symlinks point to the same file or are there multiple libstdc++.so.6.*.*?
  
Reply With Quote
Re: progress
Old
  (#116)
RoboCop
vBulletin Veteran
 
RoboCop's Avatar
 
Status: Offline
Posts: 167
Join Date: Feb 2013
Location: Dundee, Scotland
Default Re: progress - 25-02-2018

Well as far I can tell the sandbot.so that I've recompiled appears to be linked with only '/usr/lib/i386-linux-gnu/libstdc++.so.6', if my amateur C++ skilled mind doesn't deceive me:-

Code:
desktop@na:~/steamcmd/hlds/gearbox/dlls$ ldd sandbot.so
	linux-gate.so.1 =>  (0xf777d000)
	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf76bd000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf75b1000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7594000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf73e3000)
	/lib/ld-linux.so.2 (0xf777e000)
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf739c000)
It doesn't appear to be linked to 'usr/lib/i386-linux-gnu/libstdc++.so.6.0.24' from my server. I am not sure but I think that most Metamod Addons, as well as HL1 Bots seem to adapt better with GCC/G++ 4.8.

Also I got bad news my old Linux Laptop died a couple weeks ago. So I had to install the Debian Jessie i386 Netboot into VMWare and install DropBox where I've kept the src files.





vBulletin Webmaster since 2001
  
Reply With Quote
Re: progress
Old
  (#117)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,604
Join Date: Jul 2004
Location: Bulgaria
Default Re: progress - 25-02-2018

If you are really sure that the issue is with libstdc++ you can link it statically to the bot .so. Just copy the libstdc++.a file(from your distro) to the same dir where the makefile is and add -L. to the linking command line.
  
Reply With Quote
Re: progress
Old
  (#118)
tschumann
Moderator
 
tschumann's Avatar
 
Status: Offline
Posts: 212
Join Date: Apr 2011
Location: Australia
Default Re: progress - 02-03-2018

Quote:
Originally Posted by RoboCop View Post
It doesn't appear to be linked to 'usr/lib/i386-linux-gnu/libstdc++.so.6.0.24' from my server. I am not sure but I think that most Metamod Addons, as well as HL1 Bots seem to adapt better with GCC/G++ 4.8.
Is /usr/lib/i386-linux-gnu/libstdc++.so.6 a symlink?
And yeah I think I was using gcc 4 before maybe but I don't want to get stuck on some old version.

Quote:
Originally Posted by The Storm View Post
If you are really sure that the issue is with libstdc++ you can link it statically to the bot .so. Just copy the libstdc++.a file(from your distro) to the same dir where the makefile is and add -L. to the linking command line.
Well I can't say I'm sure but it seems to be part of the issue. I might give static linking a go.
  
Reply With Quote
Re: progress
Old
  (#119)
tschumann
Moderator
 
tschumann's Avatar
 
Status: Offline
Posts: 212
Join Date: Apr 2011
Location: Australia
Default Re: progress - 07-03-2018

Also hopefully I'll be able to get Day of Defeat bots to use knives and pistols. I haven't been able to work out which weapon id corresponds to what weapon but I've realised I can block the spawning of some weapons so I should be able to figure it out now.
  
Reply With Quote
Re: progress
Old
  (#120)
RoboCop
vBulletin Veteran
 
RoboCop's Avatar
 
Status: Offline
Posts: 167
Join Date: Feb 2013
Location: Dundee, Scotland
Default Re: progress - 21-03-2018

Well its a shame ShrikeBot isn't open source and it doesn't seem likely that SandBot will work with ShrikeBot waypoints.





vBulletin Webmaster since 2001
  
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 - 2018, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com