Small Fix for people using the xp_statistics_v1.1.zip on 3.x
Posted: Wed Feb 28, 2007 3:20 am
Some people might have noticed their xp stat pages have messed up.
like this chap viewtopic.php?t=2588
Now I know there is talk that the 3.x db structure may change completly but for now this will work.
What happens is when you connect wc3ft 3.x to your 2.3.2 database it adds an extra column into the database moving all your information one along.
to fix this modify your functions.inc.php file at lines 4 - 11 from this
to this
and that should do it. works for ours http://www.fang-gaming.co.uk/xp/
like this chap viewtopic.php?t=2588
Now I know there is talk that the 3.x db structure may change completly but for now this will work.
What happens is when you connect wc3ft 3.x to your 2.3.2 database it adds an extra column into the database moving all your information one along.
to fix this modify your functions.inc.php file at lines 4 - 11 from this
Code: Select all
define("PLAYER_ID", 0);
define("PLAYER_NAME", 1);
define("XP", 2);
define("RACE", 3);
define("SKILL1", 4);
define("SKILL2", 5);
define("SKILL3", 6);
define("SKILL4", 7);
Code: Select all
define("PLAYER_ID", 0);
define("PLAYER_IP", 1);
define("PLAYER_NAME", 2);
define("XP", 3);
define("RACE", 4);
define("SKILL1", 5);
define("SKILL2", 6);
define("SKILL3", 7);
define("SKILL4", 8);