Thread: Come on guys...
View Single Post
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, 90 views)
  
Reply With Quote