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

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


Post New Thread Reply   
 
Thread Tools Display Modes
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 11-02-2010 , 08:22   Re: Stamm (VIP Mod)
Reply With Quote #11

Quote:
Originally Posted by Popoklopsi View Post
You mean to set up the SQL Database?
yeah lol Ill have someone available in the morning.

this is my database.cfg as it is at the moment. I am also a little weiry of setting all rights (777)

Code:
"Databases"
{
    "driver_default"        "mysql"
    
    "default"
    {
        "driver"            "default"
        "host"                "localhost"
        "database"            "sourcemod"
        "user"                "root"
        "pass"                ""
        //"timeout"            "0"
        //"port"            "0"
    }
    
    "storage-local"
    {
        "driver"            "sqlite"
        "database"            "sourcemod-local"
    }

    "clientprefs"
    {
        "driver"            "sqlite"
        "host"                "localhost"
        "database"            "clientprefs-sqlite"
        "user"                "root"
        "pass"                ""
        //"timeout"            "0"
        //"port"            "0"
    }
}
__________________
Happy Happy Joy Joy


Last edited by sinblaster; 11-02-2010 at 08:27.
sinblaster is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 11-02-2010 , 08:29   Re: Stamm (VIP Mod)
Reply With Quote #12

You just have to add:

Code:
"stamm_sqlite"
	{
		"driver"			"sqlite"
		"host"    			"localhost"
		"database"   		"stamm-sqlite"
		"user"    			"root"
		"pass"   			""
	}
so:

Code:
"Databases"
{
    "driver_default"        "mysql"
    
    "default"
    {
        "driver"            "default"
        "host"                "localhost"
        "database"            "sourcemod"
        "user"                "root"
        "pass"                ""
        //"timeout"            "0"
        //"port"            "0"
    }
    
    "storage-local"
    {
        "driver"            "sqlite"
        "database"            "sourcemod-local"
    }

    "clientprefs"
    {
        "driver"            "sqlite"
        "host"                "localhost"
        "database"            "clientprefs-sqlite"
        "user"                "root"
        "pass"                ""
        //"timeout"            "0"
        //"port"            "0"
    }
    "stamm_sqlite"
	{
		"driver"			"sqlite"
		"host"    			"localhost"
		"database"   		"stamm-sqlite"
		"user"    			"root"
		"pass"   			""
	}
}
__________________
dordnung is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 11-02-2010 , 08:32   Re: Stamm (VIP Mod)
Reply With Quote #13

OH lol, Ok thanks for that. Ill start testing.
The 777 permissions. As far as I am concerned if a player gets VIP then thats all there is too it, I wouldnt activate for them to change it. So is 777 still needed?

Sorry to be a pain in the arse.
__________________
Happy Happy Joy Joy

sinblaster is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 11-02-2010 , 08:39   Re: Stamm (VIP Mod)
Reply With Quote #14

The 777 rights are for the database, so the database have permission to write
__________________
dordnung is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 11-02-2010 , 08:41   Re: Stamm (VIP Mod)
Reply With Quote #15

yep thanks, I just couldnt work out why groups and public need access. Ill work it out cheers.
__________________
Happy Happy Joy Joy

sinblaster is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 11-02-2010 , 08:43   Re: Stamm (VIP Mod)
Reply With Quote #16

It could be, that lower rights also enough, but i'm not sure
__________________
dordnung is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 11-02-2010 , 10:41   Re: Stamm (VIP Mod)
Reply With Quote #17

Popo I will test it asap, thx for ur fast reply.

No I have to get my Webadmin online for setting up the Database ^^

@Sinblaster
I read the top of the thread. That was the reason why I asked about _other_ games like DODS ^^

Last edited by micazoid; 11-02-2010 at 10:43.
micazoid is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 11-02-2010 , 10:45   Re: Stamm (VIP Mod)
Reply With Quote #18

Yeah, try it, if it not work, say WHAT not work, and i try to fix it.
__________________
dordnung is offline
bouncer
Veteran Member
Join Date: Apr 2009
Old 11-02-2010 , 13:38   Re: Stamm (VIP Mod)
Reply With Quote #19

Hey popoklopsi, great job on this! Now I don't have to install individual plugins to give privileges!

Just couple of questions...

Could you implement THIS: http://forums.alliedmods.net/showthread.php?t=140795 into your plugin please? would be great!

Also I use sourcebans for my admins. and I have a premium gamer (vip) subscription manager: http://www.brotherhoodofgamers.com/premiumgamer/

So, basically if a person's in sourcebans -> premium gamers group, they get the premium gamer benefits.

Can you somehow incorporate this into sourcebans? Thanks.

EDIT: Also i'm not sure exactly how this works, as the description is not very understandable, is it by ranking, like gaining points = gaining vip levels? or you have to add them manually to database?
__________________



Last edited by bouncer; 11-02-2010 at 13:43.
bouncer is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 11-02-2010 , 15:00   Re: Stamm (VIP Mod)
Reply With Quote #20

I'm not sure what you mean with this script, what i should implement there?


You mean the level VIP?

e.g.

500 Rounds -> Bronze

1000 Rounds -> Silver
...

All automatic
__________________
dordnung is offline
Reply


Thread Tools
Display Modes

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 05:32.


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