.:: 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 ::. > Cyborg Factory > YaPB
YaPB Yet another POD-Bot flavor by Whistler and Jeefo Counter-Strike

Reply
 
Thread Tools
Re: CSBot enable plugin
Old
  (#41)
wbyokomo
Zombie Slayer
 
Status: Offline
Posts: 17
Join Date: Apr 2012
Location: Cyberjaya MY
Default Re: CSBot enable plugin - 02-11-2012

Quote:
Originally Posted by Immortal_BLG View Post
Hello!

I seem have found the reason of crash when using plugin CSBot enable.
The reason not in a plug-in, but in a metamod. Specifically, in build 4554 valve has added in structure enginefuncs_t pointer to a new function pfnCheckParameter(). This new function is just used in mp.DLL for testing parameter "-nobots" when you create a bot. But since metamod does not pass this function in mp.DLL occurs "access violation reading location".

My solution: I just did bypass of a call of this function.

Source code is present.

New function definition:
Code:
// This function returns the launch parameter index in 'com_argv' array, 0 if nothing found. (*argument == com_argv[pfnCheckParameter()]) (Only latest steam versions has this function....)
const unsigned int (*pfnCheckParameter) (const char *const parameter, const char **const argument/* = NULL*/);    // (Example: "-nobots") (Added: 15 Jun 2009, build 4554)
WARNING: ONLY FOR WINDOWS 32 BIT!!!!

LINK

P.S. Sorry for bad english
Hi, can you please re-upload the SourceCode for this metamod? the link already dead. Thanks.
  
Reply With Quote
Re: CSBot enable plugin
Old
  (#42)
buktor
Member
 
buktor's Avatar
 
Status: Offline
Posts: 16
Join Date: Aug 2012
Location: Zhitomir, Ukraine
Default Re: CSBot enable plugin - 02-11-2012

Immortal_BLG - And why it was necessary to fill the archive depositfiles, could not find a better file sharing or just fill the files on the host site?
  
Reply With Quote
Re: CSBot enable plugin
Old
  (#43)
Immortal_BLG
Member
 
Status: Offline
Posts: 171
Join Date: Nov 2007
Location: Russian Federation
Default Re: CSBot enable plugin - 05-11-2012

Attached, but I would recommend to use the updated version of metamod...
Attached Files
File Type: zip csbot_enable_mm + metamod crash FIX.zip (111.4 KB, 1212 views)
File Type: zip metamod-p-1.19p32 - updated.zip (569.1 KB, 1176 views)

Last edited by Immortal_BLG; 05-11-2012 at 03:29..
  
Reply With Quote
Re: CSBot enable plugin
Old
  (#44)
wbyokomo
Zombie Slayer
 
Status: Offline
Posts: 17
Join Date: Apr 2012
Location: Cyberjaya MY
Default Re: CSBot enable plugin - 25-02-2013

@Immortal_BLG
Latest metamod-p released http://metamod-p.sourceforge.net/ can you make it to support CSBot plugin too. I've tried but it crash the server. Thanks.
  
Reply With Quote
Re: CSBot enable plugin
Old
  (#45)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: CSBot enable plugin - 03-03-2013

I've posted this in metamod-p issue tracker
http://sourceforge.net/tracker/?func...60&atid=734102

Last edited by Whistler; 03-03-2013 at 09:44..
  
Reply With Quote
Re: CSBot enable plugin
Old
  (#46)
wbyokomo
Zombie Slayer
 
Status: Offline
Posts: 17
Join Date: Apr 2012
Location: Cyberjaya MY
Default Re: CSBot enable plugin - 11-03-2013

Quote:
Originally Posted by Immortal_BLG View Post
Attached, but I would recommend to use the updated version of metamod...
This module not working anymore in current hlds 5971 build, maybe offset has been changed. Update is require.
  
Reply With Quote
Re: CSBot enable plugin
Old
  (#47)
Safety1st
Member
 
Status: Offline
Posts: 1
Join Date: Apr 2014
Default Re: CSBot enable plugin - 15-04-2014

Quote:
Originally Posted by wbyokomo View Post
This module not working anymore in current hlds 5971 build, maybe offset has been changed. Update is require.
Here was written:
Quote:
CSBot-Enable plugin - A Metamod plugin to enable the official CS bot in CS 1.6.
(** CURRENTLY BROKEN DUE TO LATEST STEAM UPDATE **)
But I recently had enabled bots on HLDS 6153 build + MetaMod v1.21p37 and were playing with bots a lot of time without any problems.


Whistler, could you do a few more things:
• fix incompatibility that leads to this message in console:
Code:
No model -1!
• improve module to remove location from radio messages that is unsupported in CS 1.6. All zones in default nav files are named and game include zone name for all radio messages but CS 1.6 leaks support '#Game_radio_location' message. I made simple AMXX plugin to show that I mean (see remove_location.zip)
• official Linux version
Attached Files
File Type: zip remove_location.zip (758 Bytes, 844 views)

Last edited by Safety1st; 15-04-2014 at 17:42..
  
Reply With Quote
Re: CSBot enable plugin
Old
  (#48)
Immortal_BLG
Member
 
Status: Offline
Posts: 171
Join Date: Nov 2007
Location: Russian Federation
Default Re: CSBot enable plugin - 08-05-2014

Updated. Clumsily, but works)

P.S.
Quote:
fix incompatibility that leads to this message in console:
Code:
No model -1!
This release does not solve this problem...
Attached Files
File Type: zip csbot_enable_mm + metamod crash FIX.zip (119.3 KB, 850 views)

Last edited by Immortal_BLG; 08-05-2014 at 14:32..
  
Reply With Quote
Re: CSBot enable plugin
Old
  (#49)
Immortal_BLG
Member
 
Status: Offline
Posts: 171
Join Date: Nov 2007
Location: Russian Federation
Default Re: CSBot enable plugin - 09-05-2014

Updated.
Fixed advanced hostage AI bug in latest mp.DLL, sorry...
Attached Files
File Type: zip csbot_enable_mm + metamod crash FIX.zip (119.0 KB, 1072 views)
  
Reply With Quote
Re: CSBot enable plugin
Old
  (#50)
wbyokomo
Zombie Slayer
 
Status: Offline
Posts: 17
Join Date: Apr 2012
Location: Cyberjaya MY
Default Re: CSBot enable plugin - 14-05-2014

Quote:
Originally Posted by Immortal_BLG View Post
Updated.
Fixed advanced hostage AI bug in latest mp.DLL, sorry...
It would be good if you make it for Linux too.
  
Reply With Quote
Reply


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

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