.:: 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 ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
Re: Hi I'm new and have some question !
Old
  (#11)
PBlover
Guest
 
Status:
Posts: n/a
Default Re: Hi I'm new and have some question ! - 11-03-2004

(3)COLORS ??? He is simply the best cs players in the online cs server , almost many people know !
  
Reply With Quote
Re: Hi I'm new and have some question !
Old
  (#12)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Hi I'm new and have some question ! - 11-03-2004

...and also the worst bot coding/vaporware llama to have ever walked this forum (Marconi pathfinder anyone? ). (3)COLORS is/was just a clueless kid seeking attention. Revendicating any connection to this n00b is not a smart thing to do here, if you don't want to be suspected of the same thing.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Hi I'm new and have some question !
Old
  (#13)
PBlover
Guest
 
Status:
Posts: n/a
Default Re: Hi I'm new and have some question ! - 11-03-2004

oh no , I don't know much about him , I just know he is a cs pro only
  
Reply With Quote
Re: Hi I'm new and have some question !
Old
  (#14)
koraX
Member
 
koraX's Avatar
 
Status: Offline
Posts: 145
Join Date: Jan 2004
Location: Slovak Republic
Default Re: Hi I'm new and have some question ! - 11-03-2004

Quote:
Originally Posted by PBlover
(3)COLORS ??? He is simply the best cs players in the online cs server , almost many people know !
o_O

(I think i was right pmb)


kXBot
koraX's utils
- see my homepage for other projects (OpenGL CSG Editor, FAT16 Sim, NNetwork Sim, ...)
  
Reply With Quote
Re: Hi I'm new and have some question !
Old
  (#15)
Onno Kreuzinger
aka: memed / Server Admin
 
Onno Kreuzinger's Avatar
 
Status: Offline
Posts: 705
Join Date: Jan 2004
Location: germany
Default Re: Hi I'm new and have some question ! - 11-03-2004

Marconi, well they where kind of "switched" off, or i'm i wrong ;-)


sunny morning view from my balcony:

see our WIKI!
see our filebase!
  
Reply With Quote
Re: Hi I'm new and have some question !
Old
  (#16)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: Hi I'm new and have some question ! - 11-03-2004

Quote:
Originally Posted by Pierre-Marie Baty
This is not for metamod, right ? The code you posted can't work properly as a metamod plugin. You need to use the CALL_GAME_ENTITY() macro instead of the player() class function.
Well, joebot is actually a metamod plugin. The player function is redefined in bot.cpp:

Code:
 //extern "C"
 //{
 // this is the LINK_ENTITY_TO_CLASS function that creates a player (bot)
 //void player(entvars_t *pev);
 //}
 
 void player( entvars_t *pev )
 {
 		static LINK_ENTITY_FUNC otherClassName = NULL;
 		if (otherClassName == NULL)
 			    otherClassName = (LINK_ENTITY_FUNC)GetProcAddress(h_Library, "player");
 		if (otherClassName != NULL){
 				(*otherClassName)(pev);
 		}
 }
Note: this isn't my code, I've got this from the CVS at sourceforge...
  
Reply With Quote
Re: Hi I'm new and have some question !
Old
  (#17)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Hi I'm new and have some question ! - 11-03-2004

@Terran: calling the player function like this is not a smart thing to do. This is bypassing the metamod interface, it can screw it up seriously (especially is joebot is loaded in the middle of other heaps of plugins).

I advise anybody who has commit access to the JoeBot CVS to get rid of this player() redefinition and use the CALL_GAME_ENTITY() metamod macro instead.


@PBLover: your IP is logged. Someday when we'll be curious enough we'll compare your IP with the one of that former (3)COLORS lamer. If it shows up they're the same, you'll be kicked/banned from here without warning. Be advised.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Hi I'm new and have some question !
Old
  (#18)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Hi I'm new and have some question ! - 11-03-2004

actually FYI I did the search myself:
Quote:
The Second (3)COLORS:
210.187.192.121 (email sxyozh04@hotmail.com)

PBlover:
210.187.192.135 (email sang049@hotmail.com)
Same ISP, same geographic region.
*edit* and same crappy email account @ hotmail, too.
*edit* it appears he's behind a modem. He just disconnected and reconnected and his IP changed from 192.41 to 192.135. It won't fool many people...

Gentlemen, what to do ? 9_9



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."

Last edited by Pierre-Marie Baty; 11-03-2004 at 12:01..
  
Reply With Quote
Re: Hi I'm new and have some question !
Old
  (#19)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: Hi I'm new and have some question ! - 11-03-2004

Quote:
Originally Posted by Pierre-Marie Baty
@Terran: calling the player function like this is not a smart thing to do. This is bypassing the metamod interface, it can screw it up seriously (especially is joebot is loaded in the middle of other heaps of plugins).
I suppose this code is there because joebot has a compile time option whether it's a plugin or not.
Anyway I've changed this im my copy of the code (it was already there but commented out).

I've done some testing as I suspected other metamod plugins causing this odd behaviour. But even with yapb or joebot as the only loaded and running metamod plugin the playerstats don't get cleared.

Last edited by Terran; 11-03-2004 at 13:47..
  
Reply With Quote
Re: Hi I'm new and have some question !
Old
  (#20)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Hi I'm new and have some question ! - 11-03-2004

I think if the guy who did the JoeBot port for metamod missed this out then there must be plenty of things missing as well. If there's indeed a compile-time option for metamod then the correct code will look like this:

Code:
#ifdef METAMOD
CALL_GAME_ENTITY (PLID, "player", &pBotEdict->v);
#else
player (&pBotEdict->v);
#endif
I'm sure there are other problems like this one.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com