Raised This Month: $ Target: $400
 0% 

[Source 2009, CS:GO] Stamm 2.28 - VIP Level Ranking


Post New Thread Reply   
 
Thread Tools Display Modes
Inflikted
SourceMod Donor
Join Date: Jan 2009
Old 10-21-2012 , 12:17   Re: [CS:S, TF2, CS:GO] Stamm 2.03 Final (VIP Level Mod)
Reply With Quote #681

the problem is currently it is giving everyone a flag, even if they have not reached VIP status, there are only 20 people on my servers that reached VIP status which are allowed to get o flag but currently anyone that joins the server gets o flag. The old version of adminflag I was running did this check but it appears the new version doesn't do this.
Inflikted is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 10-21-2012 , 12:24   Re: [CS:S, TF2, CS:GO] Stamm 2.03 Final (VIP Level Mod)
Reply With Quote #682

But this is wirre, because at first the flags get to "", so now flags, then it checks if the level name of the player is in the config, and then it gives the player the flags, please show me your config!
__________________
dordnung is offline
Inflikted
SourceMod Donor
Join Date: Jan 2009
Old 10-21-2012 , 13:01   Re: [CS:S, TF2, CS:GO] Stamm 2.03 Final (VIP Level Mod)
Reply With Quote #683

The way I had it setup was when they hit 8000 points they were put into Donor VIP group and given o flag. Currently anyone that joins the server whether they have 0 points or 10000 is getting o flag and being added to admin_simple.ini

stamm_adminflag.txt
Code:
"LevelSettings"
{
	"level"			"Donor"
}
adminflags.txt
Code:
//Remove the // before levelname to activate it, define flags for vip after levelname!

"AdminFlags"
{
"Donor" "o"
}
StammLevels.txt
Code:
"StammLevels"
{
	"Donor"
	{
		"name"				"Donor"
		"points"			"8000"
	}
}
Inflikted is offline
Paddieh
Junior Member
Join Date: Oct 2012
Location: Germany
Old 10-21-2012 , 13:47   Re: [CS:S, TF2, CS:GO] Stamm 2.03 Final (VIP Level Mod)
Reply With Quote #684

aber warum konnte er es dann auswählen ich werde dir glauben muss ich ja du hast das fach wissen denn noch wäre es sehr nett wenn du des updaten würdest das wirklich die leute auch nur das sehen bei !schange worauf die auch mit ihrem level zu griff haben das heist diese non vips haben nix

danke hab das jetz editiert in der cfg aber gibt es keine lvl txt für spawnhp würde das schon gerne auf God Stellen^^

Last edited by Paddieh; 10-21-2012 at 13:49.
Paddieh is offline
Send a message via Skype™ to Paddieh
Majoor
Junior Member
Join Date: Oct 2012
Old 10-21-2012 , 16:44   Re: [CS:S, TF2, CS:GO] Stamm 2.03 Final (VIP Level Mod)
Reply With Quote #685

Hey nice plugin!

But the plugin can't connect to mysql.
I get this error:
Quote:
L 10/21/2012 - 22:26:06: SourceMod error session started
L 10/21/2012 - 22:26:06: Info (map "de_dust") (file "errors_20121021.log")
L 10/21/2012 - 22:26:06: [SM] Native "LogToFile" reported: Could not open file "/home/Wiebe/srcds_l/css/cstrike/addons/sourcemod/Stamm/logs/Stamm_Logs (21-10-12).log"
L 10/21/2012 - 22:26:06: [SM] Displaying call stack trace for plugin "stamm.smx":
L 10/21/2012 - 22:26:06: [SM] [0] Line 31, C:\Users\David\Documents\Scripting\Sourcemod\ Stamm\Stamm\addons\sourcemod\scripting\stamm/sqllib.sp::sqllib_LoadDB()
L 10/21/2012 - 22:26:06: [SM] [1] Line 98, C:\Users\David\Documents\Scripting\Sourcemod\ Stamm\Stamm\addons\sourcemod\scripting\stamm. sp::OnConfigsExecuted()

Majoor

Last edited by Majoor; 10-21-2012 at 16:44.
Majoor is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 10-22-2012 , 07:41   Re: [CS:S, TF2, CS:GO] Stamm 2.03 Final (VIP Level Mod)
Reply With Quote #686

Quote:
Originally Posted by Inflikted View Post
The way I had it setup was when they hit 8000 points they were put into Donor VIP group and given o flag. Currently anyone that joins the server whether they have 0 points or 10000 is getting o flag and being added to admin_simple.ini

stamm_adminflag.txt
Code:
"LevelSettings"
{
	"level"			"Donor"
}
adminflags.txt
Code:
//Remove the // before levelname to activate it, define flags for vip after levelname!

"AdminFlags"
{
"Donor" "o"
}
StammLevels.txt
Code:
"StammLevels"
{
	"Donor"
	{
		"name"				"Donor"
		"points"			"8000"
	}
}
Seems right, do you also updated Stamm?


Quote:
Originally Posted by Paddieh View Post
aber warum konnte er es dann auswählen ich werde dir glauben muss ich ja du hast das fach wissen denn noch wäre es sehr nett wenn du des updaten würdest das wirklich die leute auch nur das sehen bei !schange worauf die auch mit ihrem level zu griff haben das heist diese non vips haben nix

danke hab das jetz editiert in der cfg aber gibt es keine lvl txt für spawnhp würde das schon gerne auf God Stellen^^
Ja man kann es aktivieren und deaktivieren, was nicht heißt, wenn man kein VIP ist und es aktiviert hat, dass man das feature hat!


Quote:
Originally Posted by Majoor View Post
Hey nice plugin!

But the plugin can't connect to mysql.
I get this error:



Majoor

This error only says, that there is a logging error^^

Can you please post your complete error log
__________________
dordnung is offline
Majoor
Junior Member
Join Date: Oct 2012
Old 10-22-2012 , 08:04   Re: [CS:S, TF2, CS:GO] Stamm 2.03 Final (VIP Level Mod)
Reply With Quote #687

Well i have encountered another problem with MySQL:
Quote:
L 10/22/2012 - 13:57:26: [stamm.smx] [ STAMM ] Stamm couldn't connect to the Database!! Error: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I have searched in this thread about it but i can't solve it. Any solutions?

The second problem is that if I type !stamm ingame, there's no reply. I've tried all other commands, also no reply. Checking the config. Commands are default...

Edit: I've reinstalled everything and these are the new errors

Edit2: after trying http://www.tech-recipes.com/rx/762/s...-tmpmysqlsock/ still nothing....

Last edited by Majoor; 10-22-2012 at 08:15.
Majoor is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 10-22-2012 , 08:29   Re: [CS:S, TF2, CS:GO] Stamm 2 Final (VIP Mod)
Reply With Quote #688

Quote:
Originally Posted by Bara View Post
Try this:
Code:
ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock
__________________
dordnung is offline
Majoor
Junior Member
Join Date: Oct 2012
Old 10-22-2012 , 08:32   Re: [CS:S, TF2, CS:GO] Stamm 2 Final (VIP Mod)
Reply With Quote #689

Also not working
Majoor is offline
Inflikted
SourceMod Donor
Join Date: Jan 2009
Old 10-22-2012 , 08:36   Re: [CS:S, TF2, CS:GO] Stamm 2.03 Final (VIP Level Mod)
Reply With Quote #690

Yes popoklopsi, both stamm and adminflag are updated to the most recent version you released. That is when the issue started to happen
Inflikted 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:20.


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