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

Basic SkillPoints v2.0.2 SE with API [FVault & SQL]


Post New Thread Reply   
 
Thread Tools Display Modes
pepe_thugs
Senior Member
Join Date: Aug 2010
Location: Portugal , Braga
Old 08-13-2012 , 08:53   Re: Basic SkillPoints v1.0.8 API [nVault]
Reply With Quote #21

Quote:
Originally Posted by guipatinador View Post
Hmm now I understand.
That is possible, but if I put cvars for each level, the plugin will have a lot of cvars.
For example, 5 points in level BOT, 4 points in level NOOB, 3 points in level GAMER, etc
Yes it is.

Quote:
Originally Posted by guipatinador View Post
Ok will do that.
I will sent you a PM when I finish.
Big Thanks guipatinador
pepe_thugs is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 08-19-2012 , 12:02   Re: Basic SkillPoints v1.0.9 with API [nVault & SQL]
Reply With Quote #22

SQL version already made


Last edited by guipatinador; 08-19-2012 at 12:04.
guipatinador is offline
jonnzus
Epic Member
Join Date: Oct 2010
Location: Finland
Old 08-19-2012 , 14:33   Re: Basic SkillPoints v1.1.0 with API [nVault & SQL]
Reply With Quote #23

Thanks for mysql

e. Can you add something like /skilltop or something like that to show players with most points.
__________________
Quote:
367. Everyone's copyright will be broken. No exceptions.

Last edited by jonnzus; 08-19-2012 at 14:35.
jonnzus is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 08-19-2012 , 15:21   Re: Basic SkillPoints v1.1.0 with API [nVault & SQL]
Reply With Quote #24

Quote:
Originally Posted by jonnzus View Post
Thanks for mysql

e. Can you add something like /skilltop or something like that to show players with most points.
/topskill is in my to-do list

edit: v1.1.1 is out. Now /rankskill command works faster.

Last edited by guipatinador; 08-19-2012 at 15:23.
guipatinador is offline
Swat-inc
BANNED
Join Date: Mar 2008
Old 08-19-2012 , 16:01   Re: Basic SkillPoints v1.1.2 with API [nVault & SQL]
Reply With Quote #25

Hi ;) can you make to save skillpoits by IP or Player name ?
Swat-inc is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-19-2012 , 16:15   Re: Basic SkillPoints v1.1.2 with API [nVault & SQL]
Reply With Quote #26

Take care of SQL Injection and fix it.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 08-19-2012 , 16:44   Re: Basic SkillPoints v1.1.2 with API [nVault & SQL]
Reply With Quote #27

Quote:
Originally Posted by Alka View Post
Take care of SQL Injection and fix it.

PHP Code:
    replace_allg_szNameid ], charsmaxg_szName[ ] ), "'""*" )
    
replace_allg_szNameid ], charsmaxg_szName[ ] ), "^"", "*" )
    replace_all( g_szName[ id ], charsmax( g_szName[ ] ), "
`", "*" )
    replace_all( g_szName[ id ], charsmax( g_szName[ ] ), "´", "*" ) 
Is this ok?
guipatinador is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-19-2012 , 16:51   Re: Basic SkillPoints v1.1.2 with API [nVault & SQL]
Reply With Quote #28

Yea, a quick method.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 08-20-2012 , 11:59   Re: Basic SkillPoints v1.1.2 with API [nVault & SQL]
Reply With Quote #29

Hi hi hi,
I don't add /topskill for SQL yet, but you can do the following,

PHP Code:
public plugin_init( )
{
    
// code
    
    
register_clcmd"say /topskill""TopSkill" )
    
    
// rest of the code
}

// somewhere at the plugin

public TopSkillid )
    
show_motdid"URL_TO_SKILLPOINTS""SkillPoints" 
And the result will be http://i.imgur.com/YH34u.jpg

Last edited by guipatinador; 08-20-2012 at 12:03.
guipatinador is offline
jonnzus
Epic Member
Join Date: Oct 2010
Location: Finland
Old 08-20-2012 , 15:48   Re: Basic SkillPoints v1.1.2 with API [nVault & SQL]
Reply With Quote #30

Can you add page system to .php file so it would be able to see all players?
__________________
Quote:
367. Everyone's copyright will be broken. No exceptions.
jonnzus 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 09:21.


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