.:: 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 > RealBot > The RealBot 'Source'
The RealBot 'Source' Discuss things about the source code. You can here point out bugs, share ideas and code. Assign to become an 'official team member' and so on!

Reply
 
Thread Tools
Re: Come on guys...
Old
  (#21)
DigitalRolly
Guest
 
Status:
Posts: n/a
Default Re: Come on guys... - 14-05-2004

-> Hacker Harry <-
Got one for linux too buddy?

Cheers!
  
Reply With Quote
Re: Come on guys...
Old
  (#22)
Hacker Harry
Guest
 
Status:
Posts: n/a
Default Re: Come on guys... - 14-05-2004

Quote:
Originally Posted by DigitalRolly
-> Hacker Harry <-
Got one for linux too buddy?

Cheers!
certainly, pal...

i wasn't sure about which sources to compile against .. so i'm attaching
two versions.

i had to alter the source though... because it wouldn't compile at first.
i ran into two gotchas:
--- cut here ---
ChatEngine.cpp: In member function `void cChatEngine::set_sentence(char*,
char*)':
ChatEngine.cpp:441: request for member `begin' in `csentence', which is of
non-aggregate type `char*'
ChatEngine.cpp:441: request for member `end' in `csentence', which is of
non-aggregate type `char*'
ChatEngine.cpp:441: request for member `begin' in `csentence', which is of
non-aggregate type `char*'
ChatEngine.cpp:441: `transform' undeclared (first use this function)
ChatEngine.cpp:441: (Each undeclared identifier is reported only once for each
function it appears in.)
[...]
IniParser.cpp: In function `void INI_PARSE_CHATFILE()':
IniParser.cpp:703: request for member `begin' in `chWord', which is of
non-aggregate type `char[25]'
IniParser.cpp:703: request for member `end' in `chWord', which is of
non-aggregate type `char[25]'
IniParser.cpp:703: request for member `begin' in `chWord', which is of
non-aggregate type `char[25]'
IniParser.cpp:703: `transform' undeclared (first use this function)
IniParser.cpp:703: (Each undeclared identifier is reported only once for each
function it appears in.)
--- and here ---

so i uglily commented out the transform() functions:
ChatEngine.cpp:441
//for linux by ok:
// transform (csentence.begin(), csentence.end(), csentence.begin(), toupper);
(... same in IniParser.cpp in line 703)

be aware that this _might_ screw up two things:
- the chat engine and
- the ini parser (which is crucial)

i have no idea whether these binaries work... i'm not running a hl server
on linux.

happy testing!
Best Bytes®,
Harry

P.S Stefan... my comments on the current source were not meant to offend you...i know how busy you are....
Attached Files
File Type: zip realbot_mm_i386.zip (85.2 KB, 100 views)
File Type: zip realbot_mm_i386-metamod-patched-rbupdated.zip (85.2 KB, 89 views)
  
Reply With Quote
Re: Come on guys...
Old
  (#23)
[WPSC]Silver Ghost
Guest
 
Status:
Posts: n/a
Default Re: Come on guys... - 14-05-2004

Thanks for the linux versions Harry. I cant test until Monday and it will be on Mandrake 10. thanks for your work, we are all grateful.
  
Reply With Quote
Re: Come on guys...
Old
  (#24)
DigitalRolly
Guest
 
Status:
Posts: n/a
Default Re: Come on guys... - 15-05-2004

Cheers Harry...

Will give it a go this weekend...
Running CS1.6 and HLStats on RH9... Runs like a dream!!! 9_9
  
Reply With Quote
Re: Come on guys...
Old
  (#25)
[WPSC]Silver Ghost
Guest
 
Status:
Posts: n/a
Default Re: Come on guys... - 19-05-2004

@DigitalRolly and Harry. Sorry, I couldn't get these recompiled WIP to run properly. They both crashed out on Mandrake 10. I'll try to get some dianostics when I get the time. Has anyone else been able to get Harry's WIP compiled dlls for linux to work, please?
  
Reply With Quote
Re: Come on guys...
Old
  (#26)
Hacker Harry
Guest
 
Status:
Posts: n/a
Default Re: Come on guys... - 21-05-2004

Quote:
Originally Posted by [WPSC]Silver Ghost
@DigitalRolly and Harry. Sorry, I couldn't get these recompiled WIP to run properly. They both crashed out on Mandrake 10. I'll try to get some dianostics when I get the time. Has anyone else been able to get Harry's WIP compiled dlls for linux to work, please?
sorry 2 hear that, mate...

as i was saying... i'm not running a linux hl server,
so i couldn't test what i had compiled

i compiled it on a debian system 2.4.22-xfs
with a
# gcc --version
gcc (GCC) 3.2.3 (Debian)
and linked against libdl-2.3.2.so

hope this helpz
Best Bytes®,
Harry
  
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 - 2025, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com