You are here: Big Brother Bot ForumCommunity DevelopersPlugin DevelopersA weapon control like plugin
Pages: [1] 2   Go Down
  Print  
Author Topic: A weapon control like plugin  (Read 1222 times) Bookmark and Share
Full Member
***
OS: Windows
Type: Home user
Gameservers: UrT
Posts: 58
Offline Offline
« on: September 22, 2011, 06:46:34 PM »

Hey i have seen this on multiple servers now, how do you disable a weapon yet they can have it? like if i want snipers only i have to disable pistols but if i disable both pistols it specs them with no way of getting into the game. now b00bs usa snipers only does that when your switching weapons thers no pistol option you cant switch to it? how do i do that? also can i do that for sepret teams?
Logged

B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 133
Offline Offline
WWW
« Reply #1 on: September 23, 2011, 07:20:36 AM »

I did not understand everything at your problem but
with the plugin poweradminurt
there is the command !pagear

"!pagear -pistol" for disable pistols on your server

or

"!pagear -pistol -nades -spas -negev -auto" for only snip


or in your server.cfg

Code:
set g_gear "8"
for disable pistols on your server

or
Code:
set g_gear "61"
for only snip
calculate g_gear -> http://www.urbanterror.info/support/180-/

and you can also use the plugins, weaponcontrolurt and badweaponforyou for manage the weapons on your server
Logged
Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 244
Offline Offline
« Reply #2 on: September 23, 2011, 08:38:07 AM »

There are servers which are modded, so that they don't have knifes at all (for example).

However without modding, you still can set what you want, even without BBB. The problem is, when you want only SR8 or only DE. Because g_gear cvar takes pistols and snipers (probably nades and HK too), into groups.

Play with g_gear cvar to see what you can achieve.


Moreover - if you disable every weapon, you will still have knifes on non-modded server. So I don't understand what you mean by telling, that you are forced to spec.
Logged

Full Member
***
OS: Windows
Type: Home user
Gameservers: UrT
Posts: 58
Offline Offline
« Reply #3 on: September 23, 2011, 08:51:48 AM »

i dont want to use the cfg commands, anyway how can i get power admin?
Logged
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #4 on: September 23, 2011, 09:09:00 AM »

anyway how can i get power admin?
http://forum.bigbrotherbot.net/downloads/?sa=view;down=1
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Full Member
***
OS: Windows
Type: Home user
Gameservers: UrT
Posts: 58
Offline Offline
« Reply #5 on: September 23, 2011, 01:03:35 PM »

thanks now i have it downloaded yet i added it right but i still get the eror 223 for starting plugins what am i doing wrong? should i give you my xml or log?
Logged
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #6 on: September 23, 2011, 01:18:03 PM »

Both
Logged
Full Member
***
OS: Windows
Type: Home user
Gameservers: UrT
Posts: 58
Offline Offline
« Reply #7 on: September 23, 2011, 01:24:58 PM »

log  http://www.pastie.org/2581418

xml  http://www.pastie.org/2581423
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #8 on: September 23, 2011, 01:39:26 PM »

It looks like it originates from your game server config file where you will find something like

Code:
set g_maxGameClients 12//max clients that can actually join the game. Other clients are forced to spectate. 0=all

when it should be
Code:
set g_maxGameClients "12" //max clients that can actually join the game. Other clients are forced to spectate. 0=all
Logged

Full Member
***
OS: Windows
Type: Home user
Gameservers: UrT
Posts: 58
Offline Offline
« Reply #9 on: September 23, 2011, 03:57:03 PM »

i changed it but still dont work am i supposed to run server.cfg i dont think my server is using it.
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #10 on: September 24, 2011, 12:47:29 AM »

your game server is indeed using at least one game server config file (or how would it know the rcon password to set ?).

  • Fix your game server config file
  • restart your game server
  • restart B3
Logged

Full Member
***
OS: Windows
Type: Home user
Gameservers: UrT
Posts: 58
Offline Offline
« Reply #11 on: September 24, 2011, 05:34:20 AM »

your game server is indeed using at least one game server config file (or how would it know the rcon password to set ?).

  • Fix your game server config file
  • restart your game server
  • restart B3

lol i dont know how but i change my rcon password through autoexec.cfg
Im defiantly doing something wrong here ill see what i can do and get back to you
Logged
Full Member
***
OS: Windows
Type: Home user
Gameservers: UrT
Posts: 58
Offline Offline
« Reply #12 on: September 25, 2011, 09:42:45 AM »

nothing.

i need some help
Logged
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #13 on: September 25, 2011, 02:54:14 PM »

remove priority="15"

from this line

<plugin name="poweradminurt" priority="15" config="@b3/conf/poweradminurt.xml" />

and try again
Logged
Full Member
***
OS: Windows
Type: Home user
Gameservers: UrT
Posts: 58
Offline Offline
« Reply #14 on: September 28, 2011, 02:52:01 PM »

Lol i havent tried that yet but i dont think it will work i tried once a while back
Logged
Tags:
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal