![]() |
Wip 10?
Don't mean to be pushy, but I am eager for WIP 10, so any hints when it may release?
|
Re: Wip 10?
heads : ''soon''
tails : ''when it's done'' |
Re: Wip 10?
think it will be within two weeks:)
before Stefan goes on holidays i'm going for tails |
Re: Wip 10?
i am not gonna say a date here :P :D
|
Re: Wip 10?
:'(
4 chars |
Re: Wip 10?
well i tried the cvs version ,but it looks like the linux compilers do not like your coding style ;)
Code:
bot_client.cpp: In function `void BotClient_CS_SayText(void*, int)': /edit b.t.w. both compilers (older 2.95 and newer 3.2 had this error) /edit 2 ok, i fixed these small issues and added the new objects to the makefile, but now i get this error: Code:
gcc-2.95.3 -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -march=i586 -O2 -w -I"/usr/src/hl_bot_build/metamod- |
Re: Wip 10?
Well, i did not try it on Linux. Thats always a later issue. Btw, the botsaytext could have one of those bugs like:
for (int i = 0; ...) should be: int i; for (i=0; ...) btw , access granted |
Re: Wip 10?
yeah google told me too, i have fixed those errors, but the last one still remains :
ChatEngine.cpp:435: implicit declaration of function `int _strupr(...) /btw i commited my changes |
Re: Wip 10?
hmm, well thats to make all things upper case. I bet in linux they do not know that function like that. Perhaps you can find anything on google about that. I will look into that later. Gotta go for school ;)
|
Re: Wip 10?
*g* well i did find out what to change, i'st rather that this function is MS specific, in ISO C++ there is no function doing toupper for cstring's, so i used ifdefs and the transform function.
eg: transform (str22.begin(),str22.end(), str22.begin(), tolower); instead of: _strupr(str22); compiling w/o errors on linux and commited to cvs |
Re: Wip 10?
.... hmm but is does not work in the linux server, it gets a memmory access error and bails out....
perhaps cruft can take some time here ;) |
Re: Wip 10?
depends on where it bails out? You could try the bot without the chatengine. You can disable that by setting the max produced sentences for the chatengine to -1 or something.
|
Re: Wip 10?
oh and where to change ?
i'm not yet familiar with the realbot code ;) |
Re: Wip 10?
sorry ;) its in the game class.
game.cpp you can find in cGame::init somewhere there is a line saying: iMaxSentences=5; change that into: iMaxSentences=-1; |
Re: Wip 10?
ok, hlds still crashes, this time i used strace:
Code:
meta list |
Re: Wip 10?
I think i know what is wrong. Can't tell where yet, but it says it has a bad edict number. So somewhere it probably wants to return INDEXENT(0) or something.
Btw, i also changed your #elseif into #else, because MSVC does not like #elseif for some reason. Updating now... (and going to hunt that bug down too) edit: does it also crash with NO bots in it? So just run the server and wait a bit. does it crash immidiatly after adding one bot? Or the next round? btw, there is also a reallog.txt created in the server dir... that could also perhaps tell something? |
Re: Wip 10?
is does not crash without bots in the game, only when i add a bot it instantly chrashes
|
Re: Wip 10?
I get this on Joebot 1.6.5.2 which is supposed to be 1.6.5.3. What in the code for realbot was changed so I can get my joebot blighter to re-compile and not crash?
TA. |
Re: Wip 10?
http://code.google.com/p/csrealbot
realbot has also been unmaintained for a long time though |
All times are GMT +2. The time now is 08:39. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.