Raised This Month: $51 Target: $400
 12% 

Immunity Reserve Slots (2.0.8)


Post New Thread Reply   
 
Thread Tools Display Modes
Jamster
Veteran Member
Join Date: Jun 2008
Old 12-04-2012 , 11:34   Re: Immunity Reserve Slots (2.0.6)
Reply With Quote #331

btw, haven't forgotten about your request, been in hospital and just working on some other things atm
Jamster is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 12-06-2012 , 10:48   Re: Immunity Reserve Slots (2.0.6)
Reply With Quote #332

Right then, here's the new version for donators! I don't have a proper server I can test it on so I'll let you go ahead, once you give me the OK that all is well I'll update the OP with the new version.

There's two new value's in the config:
sm_irs_donator_support
sm_irs_donator_immunity

sm_irs_donator_support enables the donator portion of the plugin, and sm_irs_donator_immunity controls the default immunity value for donators if immunity checks are required. Unfortunately I can't use the donator level portion of donator plugin as it's currently impossible to get the level by steamid, which I need for connecting players. Maybe something to think about down the line as a feature request for the donator plugin.

VERY IMPORTANT, using SQL for donators will probably be too slow for the connect extension check, so make sure you use the flat file option for your donators.
Attached Files
File Type: smx immunityreserveslots_connect.smx (12.5 KB, 72 views)
File Type: sp Get Plugin or Get Source (immunityreserveslots_src.sp - 70 views - 31.0 KB)
File Type: txt immunityreserveslots.phrases.txt (4.0 KB, 67 views)
File Type: cfg plugin.immunityreserveslots.cfg (3.7 KB, 72 views)

Last edited by Jamster; 12-06-2012 at 10:51.
Jamster is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 12-09-2012 , 06:44   Re: Immunity Reserve Slots (2.0.6)
Reply With Quote #333

Working OK? D:
Jamster is offline
SmackDaddy
Veteran Member
Join Date: Oct 2009
Old 12-09-2012 , 18:33   Re: Immunity Reserve Slots (2.0.6)
Reply With Quote #334

I am using the Connect extension, with this plugin -- donors set-up in my sourcebans database for the "reserved" flag. I had been under the impression everything was working....what does this updated plugin do differently for me or do I need to use it?
SmackDaddy is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 12-10-2012 , 06:43   Re: Immunity Reserve Slots (2.0.6)
Reply With Quote #335

Yep, that's how most do it and is fine, it's just adding support for this plugin:
http://forums.alliedmods.net/showthread.php?t=145542

As it was request!

Last edited by Jamster; 12-10-2012 at 06:44.
Jamster is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 12-12-2012 , 03:24   Re: Immunity Reserve Slots (2.0.6)
Reply With Quote #336

You should add updater support
__________________


Last edited by DontWannaName; 12-12-2012 at 03:25.
DontWannaName is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 12-12-2012 , 05:48   Re: Immunity Reserve Slots (2.0.6)
Reply With Quote #337

Hmmm, I don't know if I trust myself NOT to brick my plugin with a dumb update with that, haha, I'll ponder it tho!
Jamster is offline
pcmaster
AlliedModders Donor
Join Date: Sep 2009
Old 12-20-2012 , 11:34   Re: Immunity Reserve Slots (2.0.6)
Reply With Quote #338

Sorry for the late reply, was busy with other stuff.
Anyways, the modified Version for Donators seems to be working:

L 12/20/2012 - 170:48: [immunityreserveslots_connect.smx] "DONATOR" (STEAM_x:y:zzzzzzzz) connected, "VICTIM" (STEAM_x:y:zzzzzzzz) was kicked.

Also, it shouldn't be a Problem running this with the SQL Donators, as they are being cached into a Trie on Plugin start. (so the DB Server doesn't get queried)
__________________
Stopped hosting servers as of November 2018, no longer active around here.

Last edited by pcmaster; 12-20-2012 at 12:22.
pcmaster is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 12-20-2012 , 13:24   Re: Immunity Reserve Slots (2.0.6)
Reply With Quote #339

Ah, that owns, thanks for the info! I'll update the op later today. >:]
Jamster is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 12-21-2012 , 18:04   Re: Immunity Reserve Slots (2.0.7)
Reply With Quote #340

Updated OP with new version, though, not really needed unless you want the donator support, nothing else new.
Jamster is offline
Reply



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


All times are GMT -4. The time now is 17:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode