.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   The RealBot 'Source' (http://forums.bots-united.com/forumdisplay.php?f=52)
-   -   Come on guys... (http://forums.bots-united.com/showthread.php?t=1620)

DigitalRolly 14-05-2004 01:21

Re: Come on guys...
 
-> Hacker Harry <-
Got one for linux too buddy? :|

Cheers! :D

Hacker Harry 14-05-2004 11:30

Re: Come on guys...
 
2 Attachment(s)
Quote:

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

Cheers! :D

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....

[WPSC]Silver Ghost 14-05-2004 20:57

Re: Come on guys...
 
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.

DigitalRolly 15-05-2004 01:41

Re: Come on guys...
 
Cheers Harry...

Will give it a go this weekend... :)
Running CS1.6 and HLStats on RH9... Runs like a dream!!! 9_9

[WPSC]Silver Ghost 19-05-2004 22:51

Re: Come on guys...
 
@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?

Hacker Harry 21-05-2004 08:40

Re: Come on guys...
 
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


All times are GMT +2. The time now is 17:26.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.