Top15 stats tinklalapį

Šiame forume rašomi vartotojų klausimai/problemos su kuriomis jie susidūrė kuriant pluginus.
Post Reply
User avatar
haciawo
Jau po truputį tampa savu
Posts: 103
Joined: 2013 Dec 03 00:03
Skype: lebronius74

Top15 stats tinklalapį

Post by haciawo »

Norėjau pasiteirauti gal kas matet kažkoki php faila ar kažka panasaus kad tarkim tinklalapi rodytu Top15 nu ir aišku jis pastoviai atsinaujintu automatiškai ?

psychostats - no
hlstats - no
Image
http://WWW.EUROSTRIKE.EU COUNTER STRIKE SERVERS COMMUNITY
http://WWW.DATANET.LT - VIRTUALUS PRIVATUS SERVERIAI

User avatar
aaarnas
Vyr. diskusijų administratorius
Posts: 3891
Joined: 2010 Aug 31 13:21
Skype: fiarno
Contact:

Re: Top15 stats tinklalapį

Post by aaarnas »

Yra pluginas alliedmods forume, kuris top15 kelia į duombazę ir php skriptas, kuris atvaizduoja, tik negaliu prisiminti kaip vadinasi.
Palikau CS pasaulį ;/ . Nebepasiekiamas.

User avatar
haciawo
Jau po truputį tampa savu
Posts: 103
Joined: 2013 Dec 03 00:03
Skype: lebronius74

Re: Top15 stats tinklalapį

Post by haciawo »

Meginsiu ieškoti bet jei rasi rašyk :)

-- 2014 Vas 21 22:36 --

gal sitas ar ne ?

https://forums.alliedmods.net/showthread.php?t=130417

-- 2014 Vas 21 22:41 --

o gal šitas ?

Gametracker plugina mačiau aliedmodders . Bet jis su jų webu surištas :O tai nelabai lips
Image
http://WWW.EUROSTRIKE.EU COUNTER STRIKE SERVERS COMMUNITY
http://WWW.DATANET.LT - VIRTUALUS PRIVATUS SERVERIAI

User avatar
laimiukas3
Moderatorius
Posts: 4569
Joined: 2012 Aug 03 01:12
Skype: laimiukas3
Location: Vilnius
Contact:

Re: Top15 stats tinklalapį

Post by laimiukas3 »

https://forums.alliedmods.net/showthread.php?t=70140
http://csextreme.ru/cs16/plugins/2925-top15-mysql.html

mysql

Code: Select all

CREATE TABLE IF NOT EXISTS `players` (  `id` bigint(8) NOT NULL auto_increment,  `player_name` varchar(31) NOT NULL,  `kills` bigint(8) NOT NULL,  `headshot_kills` bigint(8) NOT NULL,  `deaths` bigint(8) NOT NULL,  `headshot_deaths` bigint(8) NOT NULL,  `planted_bombs` bigint(8) NOT NULL,  `defused_bombs` bigint(8) NOT NULL,  `crnt_kills` mediumint(3) NOT NULL,  `crnt_headshot_kills` mediumint(3) NOT NULL,  `crnt_deaths` mediumint(3) NOT NULL,  `crnt_headshot_deaths` mediumint(3) NOT NULL,  `crnt_planted_bombs` int(3) NOT NULL,  `crnt_defused_bombs` int(3) NOT NULL,  `updated` tinyint(1) NOT NULL default '0',  PRIMARY KEY  (`id`)); CREATE TABLE IF NOT EXISTS `wins` (  `id` bigint(20) NOT NULL auto_increment,  `time` int(12) NOT NULL,  `team_id` tinyint(1) NOT NULL,  `map_name` varchar(20) NOT NULL,  `ct_players` int(32) default NULL,  `t_players` int(32) default NULL,  PRIMARY KEY  (`id`));
Attachments
Status.rar
(18.75 KiB) Downloaded 265 times
Image
Image
Image

User avatar
haciawo
Jau po truputį tampa savu
Posts: 103
Joined: 2013 Dec 03 00:03
Skype: lebronius74

Re: Top15 stats tinklalapį

Post by haciawo »

O kaip gi be eroru kaip visad :)

Eroras

Code: Select all

 [[Top15mysql.amxx] Load Query failed. [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''[KNS|FTW] ntR'')' at line 1 

Prikabinu sma failiuka ( cvarus naudoju per amx.cfg - ne nesucompilina. )
Attachments
Top15mysql.sma
(8.62 KiB) Downloaded 682 times
Image
http://WWW.EUROSTRIKE.EU COUNTER STRIKE SERVERS COMMUNITY
http://WWW.DATANET.LT - VIRTUALUS PRIVATUS SERVERIAI

User avatar
laimiukas3
Moderatorius
Posts: 4569
Joined: 2012 Aug 03 01:12
Skype: laimiukas3
Location: Vilnius
Contact:

Re: Top15 stats tinklalapį

Post by laimiukas3 »

haciawo wrote:O kaip gi be eroru kaip visad :)

Eroras

Code: Select all

 [[Top15mysql.amxx] Load Query failed. [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''[KNS|FTW] ntR'')' at line 1    

Prikabinu sma failiuka ( cvarus naudoju per amx.cfg - ne nesucompilina. )
nežinau kur tu ten ka kompiliuoji

amxx.cfg
top15_save 1 nick , 2 - ip , 3 steam_id

sql.cfg
amx_top15_host "host"
amx_top15_user "user"
amx_top15_pass "pass"
amx_top15_db "db"

beto nepamirsk

sql importuoti

Code: Select all

CREATE TABLE IF NOT EXISTS `players` (  `id` bigint(8) NOT NULL auto_increment,  `player_name` varchar(31) NOT NULL,  `kills` bigint(8) NOT NULL,  `headshot_kills` bigint(8) NOT NULL,  `deaths` bigint(8) NOT NULL,  `headshot_deaths` bigint(8) NOT NULL,  `planted_bombs` bigint(8) NOT NULL,  `defused_bombs` bigint(8) NOT NULL,  `crnt_kills` mediumint(3) NOT NULL,  `crnt_headshot_kills` mediumint(3) NOT NULL,  `crnt_deaths` mediumint(3) NOT NULL,  `crnt_headshot_deaths` mediumint(3) NOT NULL,  `crnt_planted_bombs` int(3) NOT NULL,  `crnt_defused_bombs` int(3) NOT NULL,  `updated` tinyint(1) NOT NULL default '0',  PRIMARY KEY  (`id`)); CREATE TABLE IF NOT EXISTS `wins` (  `id` bigint(20) NOT NULL auto_increment,  `time` int(12) NOT NULL,  `team_id` tinyint(1) NOT NULL,  `map_name` varchar(20) NOT NULL,  `ct_players` int(32) default NULL,  `t_players` int(32) default NULL,  PRIMARY KEY  (`id`));
Attachments
Top15mysql.amxx
(5.76 KiB) Downloaded 693 times
Image
Image
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests