.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Forum (http://forums.bots-united.com/forumdisplay.php?f=36)
-   -   Wip 10? (http://forums.bots-united.com/showthread.php?t=1468)

skirecs 22-04-2004 02:58

Wip 10?
 
Don't mean to be pushy, but I am eager for WIP 10, so any hints when it may release?

ParkerLewis 22-04-2004 09:16

Re: Wip 10?
 
heads : ''soon''
tails : ''when it's done''

rex 22-04-2004 13:17

Re: Wip 10?
 
think it will be within two weeks:)
before Stefan goes on holidays
i'm going for tails

stefanhendriks 22-04-2004 18:05

Re: Wip 10?
 
i am not gonna say a date here :P :D

davek 22-04-2004 22:40

Re: Wip 10?
 
:'(


4 chars

Onno Kreuzinger 22-04-2004 22:53

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)':
    bot_client.cpp:708: name lookup of `c' changed for new ISO `for' scoping
    bot_client.cpp:697:  using obsolete binding at `c'
    make: *** [bot_client.o] Error 1

cheers

/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-
  1.17/metamod" -I"/usr/src/hl_bot_build/hlsdk-2.3/multiplayer/common" -I"/usr/src/hl_bot_build/hlsdk-2.3/m
  ultiplayer/dlls" -I"/usr/src/hl_bot_build/hlsdk-2.3/multiplayer/engine" -I"/usr/src/hl_bot_build/hlsdk-2.
  3/multiplayer/pm_shared" -c ChatEngine.cpp -o ChatEngine.o
  ChatEngine.cpp: In method `void cChatEngine::set_sentence(char *, char *)':
  ChatEngine.cpp:435: implicit declaration of function `int _strupr(...)'
  make: *** [ChatEngine.o] Error 1

and i ask for permission to have write access to the realbot cvs, to check in these small changes and perhaps later a small linux readme or two

stefanhendriks 22-04-2004 23:57

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

Onno Kreuzinger 23-04-2004 00:07

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

stefanhendriks 23-04-2004 08:35

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 ;)

Onno Kreuzinger 23-04-2004 12:42

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


All times are GMT +2. The time now is 11:28.

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