Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

You are here: Big Brother Bot ForumAdd-OnsPlugins DiscussionPlugins by xlr8or (Moderator: Freelander)Grant Grenade (It does have a purpose!)
Pages: [1] 2 3   Go Down
  Print  
Author Topic: Grant Grenade (It does have a purpose!)  (Read 8637 times) Bookmark and Share
Hoody
Guest
« on: April 04, 2007, 07:19:10 AM »

Hey

For poweradmin I was wondering if there is anyway of adding a command that can "Grant a grenade"

At the moment  we run quite a popular Zombie server, but nades are disabled. But when lots of people go into a glitch or a small room, its very hard to get them out. I'm looking for a way that I would possibly be able for an admin to "Grant" a user with a grenade, so that they can then get people out of glitches.

If this is alot of work, or complicated to do, then dont worry about it. I've seen this on another server, but they dont have the bot, so not sure how possible/easy such a command would be!

Thanks!
Logged

Former Dev. (senate)
*****
Posts: 350
Offline Offline
« Reply #1 on: April 04, 2007, 08:07:37 AM »

To get out of a glitch, type /kill in the console. You'll die and respawn. Make a spam message to tell people this.
Logged
Hoody
Guest
« Reply #2 on: April 05, 2007, 04:43:13 AM »

ahh - No

Zombies is a gametype where by Allies are the zombie hunters, so have guns to shoot (Shotty, ect) - Where as axis (The zombies) can pick any german weapon, but have no ammo. Sometimes the people that can shoot will all gather into a small door and watch the door. The zombies need to bash the hunters, so the hunter turns into a zombie. When the Hunters go into a room, because they can shoot can easily rape the zombies, so it would be nice to grant one person a grenade so they have to run. As we dont want to punish them as such.
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #3 on: April 05, 2007, 03:35:47 PM »

I'll take a look at it. Hang in there cause I'm currently fixing an ipban plugin for the 1.0 servers out there.
Logged

Hoody
Guest
« Reply #4 on: April 05, 2007, 04:42:21 PM »

ahhh ok Smiley

Thanks!

Looking forward to hearing on the Outcome Smiley
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #5 on: April 10, 2007, 02:41:39 AM »

Here's a beta for you to test on your rig. inside are three files to replace the existing ones (after you've backed the original ones up ofcourse). And be sure to check the .xml for settings, these are defaults.

I have not tested them so your the betatester for this one.

Let me know how it goes.

Grab it here: http://xlr8or.snt.utwente.nl/download/hoodynade1.3.2b.zip
Logged

Hoody
Guest
« Reply #6 on: April 10, 2007, 04:34:05 AM »

Going to test!

Thanks very much Xlr80r Smiley - Your the best!  Grin

Will give you feedback after testing

Also - I see a !pamono command in the xml config?

What does that do? lol


*EDIT*

Tested... Crashed server

As soon as server was rebooted- I get this error

Code:
******* script compile error *******
uninitialised variable 'sweapon_grenade': (file 'b3/_b3_poweradmin.gsc', line 124)
      player setWeaponClipAmmo(sWeapon_Grenade, nadeAmmount);

Server wont boot up because of it! Sad
« Last Edit: April 10, 2007, 04:56:59 AM by Hoody » Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #7 on: April 10, 2007, 05:49:56 AM »

Okay, next try... redownload the package.  _b3_poweradmin.gsc is the only file changed.

You have discovered new features for next version of poweradmin. !pamono strips colorcodes from playernames
Logged

Hoody
Guest
« Reply #8 on: April 10, 2007, 06:23:42 AM »

bah... Doesnt boot again


Code:
******* script compile error *******
Could not find script 'b3/_util': (file 'b3/_b3_poweradmin.gsc', line 187)
    mononame = b3\_util::monotone(player.name);
               *
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #9 on: April 10, 2007, 07:21:51 AM »

Hokay, it now contains a new file called _util.gsc... put that in your b3 directory with poweradmin.gsc
Logged

Hoody
Guest
« Reply #10 on: April 10, 2007, 08:04:12 AM »

lol - Ok - Cheers

Lets see if this works Tongue
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #11 on: April 10, 2007, 08:18:37 AM »

hehe, if you want something, you'll need to work for it Wink
Logged

Hoody
Guest
« Reply #12 on: April 10, 2007, 08:25:24 AM »

Right - Doesnt work Sad

Server boots, I do the command... nothing happens. If I do !panades it DOES say invalid parameters. So the cmd registered, after I tried to !panades hoody 1 (I tried 1-3) - Nothing happened, no reply from bot, no nades, even if I /killed I didnt spawn with any Sad
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #13 on: April 10, 2007, 09:14:06 AM »

Issue fixed, have fun with it. Download it once more  (on my end it seems to work just fine, although I'm also using AWE)
« Last Edit: April 10, 2007, 09:15:47 AM by xlr8or » Logged

Hoody
Guest
« Reply #14 on: April 10, 2007, 09:46:44 AM »

Will try n see if works ^^

EDIT

Doesnt work :S

Code:
070410 19:34:16 CONSOLE 6:21 say;177931;2;'aM-Hoody;!panades hood 1
070410 19:34:16 VERBOSE Queueing event Say !panades hood 1
070410 19:34:16 VERBOSE Parsing Event: Say: SpamcontrolPlugin
070410 19:34:16 VERBOSE Parsing Event: Say: AdminPlugin
070410 19:34:16 DEBUG AdminPlugin: OnSay handle 5:"!panades hood 1"
070410 19:34:16 DEBUG AdminPlugin: Handle command !panades hood 1
070410 19:34:16 DEBUG Set cvar b3_gnammount = [1]
070410 19:34:16 VERBOSE RCON sending (81.19.219.97:28900) set b3_gnammount "1"
070410 19:34:17 DEBUG Set cvar b3_gnid = [2]
070410 19:34:17 VERBOSE RCON sending (81.19.219.97:28900) set b3_gnid "2"

Which seems fine to me..... I tried doing the command NOT running zombies, just normal DM, and the command still doesnt work...... odd?

Do I need to /kill? - Should it arrive instantly? :S (yes, I've reuploaded 50,000 times) - Its deff latest.

I'm running AWE - Zombie Mod - And Poweradmin ofc.
« Last Edit: April 10, 2007, 10:37:34 AM by Hoody » Logged
Tags:
Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal