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

Become VIP Plus (+API)


Post New Thread Reply   
 
Thread Tools Display Modes
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 06-07-2016 , 12:50   Re: Become VIP Plus (+API)
Reply With Quote #11

Yes Batman, but owners of other servers can use those flags for an admin rank, and they should change it.

Couldn't you make g_isvip[id] and make a native which will return it's value?
Because VIPs can have as players as admins as well.
VIP never should be set with flags.It will only cause future problems.

You better make a module based on admin.sma which will load VIPs from an file vips.ini or from sql table, and pump natives in it... that would be a nice thing...
But this is like a trash.. Sorry, but it's true...
siriusmd99 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-07-2016 , 13:10   Re: Become VIP Plus (+API)
Reply With Quote #12

Enough with the names.

What admin ranks are you talking about? If you put prefixes on different flags, then you will have an admin flag + the VIP flag, and the admin prefix should always be put in front of the lower ranks like VIP, player, etc. I don't see any problem here.

Did you see the code carefully? There's a is_user_vip(id) which works the same, it simply checks the player's kills and returns true if he has the required number. Same goes for the native, it's there => IsUserVip(id). Why shouldn't VIPs be set with flags? Every server that I have played in uses all kinds of ways to pay for getting VIP (admin) flags.

No, there's no point of making something like that. You have 21 different flags on which you can set different VIP extras, so use them. If you don't want, you may use the API without using flags.

Last edited by OciXCrom; 06-07-2016 at 13:11.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 06-07-2016 , 14:03   Re: Become VIP Plus (+API)
Reply With Quote #13

Quote:
@Napoleon_be: What's not the point? You stimulate the players to play more if they want to get a reward. Do you find it easier to manually track each player's stats and add the flags by yourself?
That's what i actually meant by quoting another player but okay...
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Old 06-14-2016, 12:52
Godofwar
This message has been deleted by Godofwar. Reason: It was my fault - sorry to creator of plugin
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-14-2016 , 14:36   Re: Become VIP Plus (+API)
Reply With Quote #14

Quote:
Originally Posted by Godofwar View Post
NEVER USE AGAIN this Plugin. I used it 1 day and in this 1 day my server get hacked from 3 hackers with full Flag Acess,. Never use it again !!!!!
Yeah, if you made it give free rcon flag, it doesn't surprise me.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 06-15-2016 , 11:39   Re: Become VIP Plus (+API)
Reply With Quote #15

g_pFlags = register_cvar("becomevip_flags", "14days VIP Proof Screen@Forum") i edited it to this.. So it was wrong right ??? R = VIP in my Server so it was my fault?
Godofwar is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 06-15-2016 , 12:05   Re: Become VIP Plus (+API)
Reply With Quote #16

Few points:
Why did you even edit it directly in code when you could just put the cvar in server.cfg?
Did you even read the original post in this thread?
Quote:
becomevip_flags (default: b) -- The flags that you get when you have the required number of kills. You can leave it blank in case you add the extras with another plugin using the API.
Is that not clear enough? Why did you just put a random advertising message for a cvar value?

It's your fault obviously. Don't just come here and rage how bad a plugin is without giving any useful information.

Last edited by klippy; 06-15-2016 at 12:06.
klippy is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 06-15-2016 , 12:12   Re: Become VIP Plus (+API)
Reply With Quote #17

Yes i know it now.. SORRY FOR ALL !!!! i will remove my last Comment ... It was my fault..

I am a Newbie so i thought it in the first moment :S

Last edited by Godofwar; 06-15-2016 at 12:13.
Godofwar is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 06-15-2016 , 12:50   Re: Become VIP Plus (+API)
Reply With Quote #18

But i have this here:

becomevip_restartall -- Resets the data for all players. = UNKNOWN COMMAND
becomevip_restart_player <nick|#userid> -- Reset a player's data. = UNKNOWN COMMAND
Godofwar is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-15-2016 , 15:45   Re: Become VIP Plus (+API)
Reply With Quote #19

Dude, please READ before posting anything. This line is found just below the commands:

Quote:
Bear in mind that the admin commands are disabled if the CSStats option is enabled.
Translation: if you have activated the CSStats option, those commands are DISABLED, therefore they don't exist in your server.

By the way, I just noticed that the option is enabled by default, I updated the code so it's disabled. Again - explanation on how to enable/disable it is in the first post - READ IT.

Last edited by OciXCrom; 06-15-2016 at 15:47.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 06-16-2016 , 04:27   Re: Become VIP Plus (+API)
Reply With Quote #20

That's why I said flags are bad
siriusmd99 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 04:07.


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