.:: 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 > POD-Bot mm > Common Questions
Common Questions Are you seeking help ? Get it here !

Reply
 
Thread Tools
How to make AMX / ClanMod weapon restrictions affect bots?
Old
  (#1)
>BKA< T Wrecks
Moderator [PBmm/Waypointing]& PODBot mm waypointer
 
>BKA< T Wrecks's Avatar
 
Status: Offline
Posts: 1,492
Join Date: Feb 2004
Location: C.C.A.A., Germania
Default How to make AMX / ClanMod weapon restrictions affect bots? - 01-07-2004

A friend of mine just asked me via e-mail if there's a way to make weapon restrictions imposed via ClanMod or AMX affect bots as well.
Now I thought about this a bit, and I wondered if bots don't buy their weapons via the buymenu, but by some other method? And if they do use the buymenu, shouldn't restrictions work for them? Or is it a question of which plugin to load first?
TIA for help and suggestions!



Roses are #FF0000, violets are #0000FF // all my base, are belong to you.

  
Reply With Quote
Re: How to make AMX / ClanMod weapon restrictions affect bots?
Old
  (#2)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: How to make AMX / ClanMod weapon restrictions affect bots? - 01-07-2004

Write here what the mod and version is Your friend using? There is different way to restrict weapons under Steam and non-Staem mods. But so far I rememeber -disabling of buy some weapons by bots - it was not workable 100% OK. It's probably because bots use different method of buying than human-players.
  
Reply With Quote
Re: How to make AMX / ClanMod weapon restrictions affect bots?
Old
  (#3)
[NvT]_KaszpiR_
Member
 
[NvT]_KaszpiR_'s Avatar
 
Status: Offline
Posts: 322
Join Date: Apr 2004
Default Re: How to make AMX / ClanMod weapon restrictions affect bots? - 02-07-2004

old clanmod reservation sucks , i got no idea if it works in newest ones (but i doubt it)

alos amx reservations work the best on humans
bots usually get weapon differently , i guess by engine client command

i treid to use shieddrop/awpdrop plugins - they are buying the weapons even if restricted

i tried to restrict shiled but no luck

tested some awp restrictions but also no luck
but as far as i remeber awpdrop works

i was busy lately and i was not looking over forums, not to mention playing
maybe in next week i will provide more info about trying the restriction plugins
  
Reply With Quote
Re: How to make AMX / ClanMod weapon restrictions affect bots?
Old
  (#4)
>BKA< T Wrecks
Moderator [PBmm/Waypointing]& PODBot mm waypointer
 
>BKA< T Wrecks's Avatar
 
Status: Offline
Posts: 1,492
Join Date: Feb 2004
Location: C.C.A.A., Germania
Default Re: How to make AMX / ClanMod weapon restrictions affect bots? - 02-07-2004

Well, thank you anyway. So it really seems to be hard. A friend of mine suggested modifying the botweapons.cfg file. However, it seems that this doesn't work completely, either. (posted here: http://forums.bots-united.com/showthread.php?t=2173 ).
I think the main concern was about the riot shield, but this seems to be the most difficult case.



Roses are #FF0000, violets are #0000FF // all my base, are belong to you.

  
Reply With Quote
Re: How to make AMX / ClanMod weapon restrictions affect bots?
Old
  (#5)
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: How to make AMX / ClanMod weapon restrictions affect bots? - 02-07-2004

It is not possible (well, not directly possible) that another plugin's restrictions affect the bots, since the bots are themselves a plugin. It's the way metamod works. Metamod provides hooks for functions of the game by sitting between the game DLL and the engine and intercepting calls back and forth. When a player fires up a buy menu, metamod can intercept this call because it's a call coming from the client DLL (hence coming from the network), received by the engine, and passed forth to the game DLL. Metamod intercepts it here while it comes from the engine and goes to the game DLL. But bots call the functions directly in the game DLL, since they are at the same level as metamod ; this call isn't emitted by the engine and thus does not pass through the normal way. There's no straightforward way metamod can intercept bot calls.



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: How to make AMX / ClanMod weapon restrictions affect bots?
Old
  (#6)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: How to make AMX / ClanMod weapon restrictions affect bots? - 18-07-2004

This explanation seems without any hope for working these functions for bots, but why exactly this is working (I believe)??? :

http://forums.bots-united.com/showpo...1&postcount=15
  
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