Raised This Month: $ Target: $400
 0% 

[TF2] Premium Mod v1.14


Post New Thread Reply   
 
Thread Tools Display Modes
your mom
Senior Member
Join Date: Jul 2008
Old 04-21-2010 , 15:55   Re: [TF2] Premium Mod v1.12
Reply With Quote #81

Anyone having trouble running this on a windows server? It's running fine on my linux... The windows one says it's loaded, but the premium perks do not work.
your mom is offline
max42
Member
Join Date: Nov 2009
Old 04-21-2010 , 15:58   Re: [TF2] Premium Mod v1.12
Reply With Quote #82

i run on windows server fine
max42 is offline
your mom
Senior Member
Join Date: Jul 2008
Old 04-22-2010 , 21:43   Re: [TF2] Premium Mod v1.12
Reply With Quote #83

The "Z" flag was not giving me premium... Had to add each flag for it to work.
your mom is offline
noodleboy347
AlliedModders Donor
Join Date: Mar 2009
Old 04-22-2010 , 23:00   Re: [TF2] Premium Mod v1.12
Reply With Quote #84

Quote:
Originally Posted by your mom View Post
The "Z" flag was not giving me premium... Had to add each flag for it to work.
It's 'o' not 'z'...
noodleboy347 is offline
your mom
Senior Member
Join Date: Jul 2008
Old 04-23-2010 , 05:39   Re: [TF2] Premium Mod v1.12
Reply With Quote #85

Right... I understand. I thought the Z flag gave you everything?
your mom is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 04-23-2010 , 06:28   Re: [TF2] Premium Mod v1.12
Reply With Quote #86

Quote:
Originally Posted by your mom View Post
Right... I understand. I thought the Z flag gave you everything?
Not custom flags, I'm pretty sure (o, p, q, r, s, t). This plugin does not check if a user has ADMFLAG_ROOT. It only checks if they have ADMFLAG_CUSTOM1 (which is defined at the top as PREMIUMFLAG)
Afronanny is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-23-2010 , 07:27   Re: [TF2] Premium Mod v1.12
Reply With Quote #87

'z' only "fakes" giving all the flags, if you check a flag directly it will never show for a client with only the 'z' flag. You either need to also check for ADMFLAG_ROOT or switch to the better method of checking access (which also allows the overrides system to be used) using CheckCommandAccess.

Something like:
Code:
if (CheckCommandAccess(client, "gets_premium", ADMFLAG_CUSTOM1, true))
__________________

Last edited by asherkin; 04-23-2010 at 07:29.
asherkin is offline
bouncer
Veteran Member
Join Date: Apr 2009
Old 04-23-2010 , 23:11   Re: [TF2] Premium Mod v1.12
Reply With Quote #88

so....engin updates anytime SOON?
__________________


bouncer is offline
noodleboy347
AlliedModders Donor
Join Date: Mar 2009
Old 04-23-2010 , 23:12   Re: [TF2] Premium Mod v1.12
Reply With Quote #89

I was planning on doing some stuff this week, couldn't (The Passing ), but I do plan on doing something for this weekend.
noodleboy347 is offline
djbobeb
Junior Member
Join Date: Apr 2010
Old 04-24-2010 , 04:44   Re: [TF2] Premium Mod v1.12
Reply With Quote #90

Hi Noodleboy

Awesome MOD by the way

If I wish to add my hats mod to the premium features list how do I go about this as I know the list is cvar controlled, so it will only show what options are enabled in the 'plugin.premium.cfg'?

I have got the hats feature (equip man) running to users with switch of "o" but obviously to show the hats as a what you will receive as a premium member would be great?

Keep up the good work.
djbobeb 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 09:35.


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