Raised This Month: $32 Target: $400
 8% 

AutoVIP Plugin for CSGO


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
combocarte112
Senior Member
Join Date: Jun 2016
Location: Romania
Old 05-20-2018 , 17:16   AutoVIP Plugin for CSGO
#1

hello everyone, I have a problem.
I use this plugin: https://forums.alliedmods.net/showthread.php?p=2574792
but it does not work well.
when I enter the server automatically appear in the database: https://imgur.com/a/AsknwKE
even if I did not use the command !testvip.
After I use the !testvip command, I see the date my VIP expires. https://imgur.com/a/vB95WXR
The problem is that they appear in the list even if I did not use the command.
The server logs appear:
Code:
L 05/20/2018 - 23:28:00: [auto_vip.smx] Save error: Duplicate entry 'STEAM_1:0:150670676key-STEAM_1:0:150670676' for key 'keyid'
L 05/20/2018 - 23:28:12: [auto_vip.smx] Save error: Duplicate entry 'STEAM_1:0:150670676key-STEAM_1:0:150670676' for key 'keyid'
L 05/20/2018 - 23:28:12: [auto_vip.smx] Save error: Duplicate entry 'STEAM_1:0:150670676key-STEAM_1:0:150670676' for key 'keyid'
L 05/20/2018 - 23:28:55: [auto_vip.smx] Save error: Duplicate entry 'STEAM_1:0:150670676key-STEAM_1:0:150670676' for key 'keyid'
L 05/20/2018 - 23:31:13: [auto_vip.smx] Save error: Duplicate entry 'STEAM_1:0:150670676key-STEAM_1:0:150670676' for key 'keyid'
L 05/20/2018 - 23:34:22: [auto_vip.smx] Save error: Duplicate entry 'STEAM_1:0:150670676key-STEAM_1:0:150670676' for key 'keyid'
L 05/20/2018 - 23:34:35: [auto_vip.smx] Save error: Duplicate entry 'STEAM_1:0:150670676key-STEAM_1:0:150670676' for key 'keyid'
L 05/20/2018 - 23:34:35: [auto_vip.smx] Save error: Duplicate entry 'STEAM_1:0:150670676key-STEAM_1:0:150670676' for key 'keyid'
L 05/20/2018 - 23:35:17: [auto_vip.smx] Save error: Duplicate entry 'STEAM_1:0:150670676key-STEAM_1:0:150670676' for key 'keyid'
L 05/20/2018 - 23:37:56: [auto_vip.smx] Save error: Duplicate entry 'STEAM_1:0:150670676key-STEAM_1:0:150670676' for key 'keyid'
L 05/20/2018 - 23:37:57: [auto_vip.smx] Save error: Duplicate entry 'STEAM_1:0:150670676key-STEAM_1:0:150670676' for key 'keyid'
L 05/20/2018 - 23:43:12: [auto_vip.smx] Save error: Duplicate entry 'STEAM_1:0:150670676key-STEAM_1:0:150670676' for key 'keyid'
L 05/20/2018 - 23:45:30: [auto_vip.smx] Save error: Duplicate entry 'STEAM_1:0:150670676key-STEAM_1:0:150670676' for key 'keyid'
L 05/20/2018 - 23:47:48: [auto_vip.smx] Save error: Duplicate entry 'STEAM_1:0:150670676key-STEAM_1:0:150670676' for key 'keyid'
L 05/20/2018 - 23:50:06: [auto_vip.smx] Save error: Duplicate entry 'STEAM_1:0:150670676key-STEAM_1:0:150670676' for key 'keyid'
L 05/20/2018 - 23:52:24: [auto_vip.smx] Save error: Duplicate entry 'STEAM_1:0:150670676key-STEAM_1:0:150670676' for key 'keyid'
Many lines appear in logos ----> SPAM
on the server is lag for a few seconds.

does anyone help me with a fix?

Last edited by combocarte112; 05-20-2018 at 17:17.
combocarte112 is offline
Send a message via Skype™ to combocarte112
Totenfluch
AlliedModders Donor
Join Date: Jan 2012
Location: Germany
Old 05-20-2018 , 17:33   Re: AutoVIP Plugin for CSGO
#2

Ask in the plugin thread next time

Change Line 324 from

PHP Code:
Format(tmpsizeof(tmp), "INSERT INTO `autovip` (`steamid`,`dupkey`) VALUES ('%s','%skey');"player_authid,player_authid); 
PHP Code:
Format(tmpsizeof(tmp), "INSERT IGNORE INTO `autovip` (`steamid`,`dupkey`) VALUES ('%s','%skey');"player_authid,player_authid); 
and then recompile.

This only fixes the symptom not the cause tho.
To fix the cause the plugin architecture needs to be restructured.
__________________
Notable Projects:
Event Item Spawner | Scissors, Rock, Paper for ZephStore
tVip | Smart Link Remover
PLG & GGC - CS:GO Roleplay

and countless more...

I can make a helicopter shoot missles if you want me to...

Last edited by Totenfluch; 05-20-2018 at 17:34.
Totenfluch is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 05-21-2018 , 06:48   Re: AutoVIP Plugin for CSGO
#3

As said above, plugin related stuff goes into that specific plugin's thread.

If plugin is obtained outside of AM, you need to consult the author and/or the place where you got it from.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Closed Thread



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 16:59.


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