dude123 Posted May 2, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 04/06/12 Last Seen: May 2, 2012 Share Posted May 2, 2012 please can any one give me pvp ladder for lux cp there id already Death ranking why not kills and top pvp ranker raking please help if any one can give me Link to comment Share on other sites More sharing options...
Asura Posted May 2, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 707 Reputation: 168 Joined: 01/26/12 Last Seen: February 7, 2014 Share Posted May 2, 2012 Hi Dude123, I think you must set up a script on your server to count the deaths/kills per character; store it in a database or in a variable first. There is no simple script to just put in your FluxCP to make it work; you must integrate it within the game internally as well. Link to comment Share on other sites More sharing options...
dude123 Posted May 2, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 04/06/12 Last Seen: May 2, 2012 Author Share Posted May 2, 2012 i have pvp ranking script in game but how do i integrate in flux cp for kills it have deaths ranking already on searching i got this http://sourceforge.net/apps/trac/raijero/changeset/470/fluxcp/ it have pvp ranking. but i think i neeed sql i dont know what sql table it need please help me in that case. and also i wanna show the kill ranking in 127.0.0.1/fluxcp/?moduel=main that is main page so it will show 10 raking char] please help Link to comment Share on other sites More sharing options...
Brian Posted May 2, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted May 2, 2012 on searching i got thishttp://sourceforge.n...set/470/fluxcp/ it have pvp ranking. but i think i neeed sql i dont know what sql table it need please help me in that case. http://sourceforge.net/apps/trac/raijero/log/fluxcp/?verbose=on Those modified FluxCP pages are designed to work with this NPC: /raijero/trunk/npc/custom/pvp.txt OnPCKillEvent: query_sql "UPDATE `char` SET `kills` = `kills`+1 WHERE `char_id` = "+ getcharid(0); if (attachrid(killedrid)) query_sql "UPDATE `char` SET `deaths` = `deaths`+1 WHERE `char_id` = "+ getcharid(0); end; and these SQL modifications - /raijero/trunk/sql-files/main2.sql -- Add columns to table `char` ALTER TABLE `char` ADD `kills` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0', ADD `deaths` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0', ADD `empbreak` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0'; Link to comment Share on other sites More sharing options...
Question
dude123
please can any one give me pvp ladder for lux cp there id already Death ranking why not kills and top pvp ranker raking please help if any one can give me
Link to comment
Share on other sites
3 answers to this question
Recommended Posts