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

[ANY] Simple Admin & VIP Manager [SAVM]


Post New Thread Reply   
 
Thread Tools Display Modes
alansdit12
AlliedModders Donor
Join Date: Nov 2015
Location: Indonesia
Old 03-10-2017 , 08:59   Re: [ANY] Simple Admin & VIP Manager [SAVM] + Day(s)-trial for players + [CONSOLE]
Reply With Quote #401

Quote:
Originally Posted by Arkarr View Post
Hern... Can you just put a ridiculously high date ?
Okay, then
alansdit12 is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 03-10-2017 , 14:51   Re: [ANY] Simple Admin & VIP Manager [SAVM] + Day(s)-trial for players + [CONSOLE]
Reply With Quote #402

Quote:
Originally Posted by alansdit12 View Post
Okay, then
Herm fine... I'll do it.
__________________
Want to check my plugins ?
Arkarr is offline
shapeshifter
Junior Member
Join Date: Dec 2010
Old 03-10-2017 , 23:25   Re: [ANY] Simple Admin & VIP Manager [SAVM] + Day(s)-trial for players + [CONSOLE]
Reply With Quote #403

Excellent Plugin.

I have encountered a weird bug with steam ids.

I added an admin and used his steam id STEAM_0:1:64XXXXXX. Now the next day he goes on the server but now his steam id is STEAM_1:1:64XXXXXX so he looses his powers.

Has anyone else encountered issues like this?

I read somewhere that sourcebans ignores the first 9 characters to counter this issue or something to that extent however I am not sure exactly how I would implement that.

Last edited by shapeshifter; 03-10-2017 at 23:25.
shapeshifter is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 03-11-2017 , 05:08   Re: [ANY] Simple Admin & VIP Manager [SAVM] + Day(s)-trial for players + [CONSOLE]
Reply With Quote #404

Quote:
Originally Posted by shapeshifter View Post
Excellent Plugin.

I have encountered a weird bug with steam ids.

I added an admin and used his steam id STEAM_0:1:64XXXXXX. Now the next day he goes on the server but now his steam id is STEAM_1:1:64XXXXXX so he looses his powers.

Has anyone else encountered issues like this?

I read somewhere that sourcebans ignores the first 9 characters to counter this issue or something to that extent however I am not sure exactly how I would implement that.
I'll look into it right now.
__________________
Want to check my plugins ?
Arkarr is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 03-11-2017 , 06:18   Re: [ANY] Simple Admin & VIP Manager [SAVM] + Day(s)-trial for players + [CONSOLE]
Reply With Quote #405

Shameless double post :
@alansdit12
It's done. You can use sm_savmadd and sm_savmedit without specifing a date and it will be added forever.

@shapeshifter
It's done.
__________________
Want to check my plugins ?
Arkarr is offline
shapeshifter
Junior Member
Join Date: Dec 2010
Old 03-11-2017 , 13:28   Re: [ANY] Simple Admin & VIP Manager [SAVM] + Day(s)-trial for players + [CONSOLE]
Reply With Quote #406

Does not seem to be working.

[SAVM] Successfully connected to the database !
[SAVM] Database request : User STEAM_1:0:44XXXXXX (ShapeShifter) -> Processing...
[SAVM] A error happened when trying to query database !

On the web panel I have myself added as STEAM_0:0:44XXXXXX

I also did check on http://steamidfinder.com/ that both steam ids do go to my profile.

I found this page if it helps https://developer.valvesoftware.com/wiki/SteamID

Quote:
SteamIDs follow a fairly simple format when represented textually: "STEAM_X:Y:Z", where X, Y and Z are integers. In select cases "STEAM_ID_PENDING" or "UNKNOWN" are used (see the section 'Types of Steam Accounts' for more details).
X represents the "Universe" the steam account belongs to.
Y is part of the ID number for the account. Y is either 0 or 1.
Z is the ID number for the account (the "account number").
So what I believe is that when checking someones steam id, you ignore this part "STEAM_X:Y:" and only check the Z part it should resolve this issue.

Last edited by shapeshifter; 03-11-2017 at 13:29.
shapeshifter is offline
Mask
AlliedModders Donor
Join Date: Oct 2010
Old 03-11-2017 , 15:27   Re: [ANY] Simple Admin & VIP Manager [SAVM] + Day(s)-trial for players + [CONSOLE]
Reply With Quote #407

Quote:
Originally Posted by Arkarr View Post
Yeeep. My bad. I'll fix this.
Have you checked it yet?
Mask is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 03-11-2017 , 15:51   Re: [ANY] Simple Admin & VIP Manager [SAVM] + Day(s)-trial for players + [CONSOLE]
Reply With Quote #408

Quote:
Originally Posted by shapeshifter View Post
[...]
Well, it worked for me. Check that you can connect to the database. The message displayed by the plugin indicate that the connection to the database wasn't sucessfully made.

And about the steamID check, you can take a look at the beginning of the code. That's actually what I'm doing. I only check the 'Z' part

Quote:
Originally Posted by Mask View Post
Have you checked it yet?
Flew over my head, sorry. I'll do that tomorrow morning.
__________________
Want to check my plugins ?
Arkarr is offline
shapeshifter
Junior Member
Join Date: Dec 2010
Old 03-11-2017 , 19:49   Re: [ANY] Simple Admin & VIP Manager [SAVM] + Day(s)-trial for players + [CONSOLE]
Reply With Quote #409

I downloaded the latest smx provided

Added steam ID STEAM_0:0:44xxxxxx in savm web panel.

Typed retry in console
HTML Code:
[SAVM] Database request : User STEAM_1:0:44xxxxxx (Shapeshifter) -> Processing...
[SAVM] A error happened when trying to query database !
Added Steam id STEAM_1:1:44xxxxxx in savm web panel.

Typed retry in console

HTML Code:
[SAVM] Database request : User STEAM_1:0:44xxxxxx (Shapeshifter) -> Processing...
[SAVM] A error happened when trying to query database !
Added Steam id STEAM_1:0:44xxxxxx in savm web panel. Note this is how my actual steam id is showing up currently when typing status in console.

Typed Retry in console
HTML Code:
[SAVM] Database request : User STEAM_1:0:44xxxxxx (Shapeshifter) -> Processing...
[SAVM] User STEAM_1:0:44xxxxxx (shapeshifter) has been found with flag 'Admin' until 17.03.2017
[SAVM] STEAM_1:0:44xxxxxx (Shapeshifter) successfully added as admin/VIP !
Still seems like the plugin is searching for an exact match of the steam id.

Thanks for the quick response.
shapeshifter is offline
lay295
Senior Member
Join Date: Sep 2013
Old 03-11-2017 , 23:54   Re: [ANY] Simple Admin & VIP Manager [SAVM] + Day(s)-trial for players + [CONSOLE]
Reply With Quote #410

Quote:
Originally Posted by shapeshifter View Post
Excellent Plugin.

I have encountered a weird bug with steam ids.

I added an admin and used his steam id STEAM_0:1:64XXXXXX. Now the next day he goes on the server but now his steam id is STEAM_1:1:64XXXXXX so he looses his powers.

Has anyone else encountered issues like this?

I read somewhere that sourcebans ignores the first 9 characters to counter this issue or something to that extent however I am not sure exactly how I would implement that.
For CS:GO atleast, all the steamids ingame will start with STEAM_1, so just in the web panel for all admins just change them to STEAM_1 instead of STEAM_0.
__________________

lay295 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 01:08.


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