EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Plugins & Mods (https://www.eqemulator.org/forums/forumdisplay.php?f=678)
-   -   Plugin: Player Leaderboards (In-Game) (https://www.eqemulator.org/forums/showthread.php?t=37650)

epilz 03-10-2015 08:55 PM

http://i.imgur.com/nAeiXH6.jpgyes its installed. SS below.

Akkadius 03-10-2015 08:57 PM

Quote:

Originally Posted by epilz (Post 238533)
http://i.imgur.com/nAeiXH6.jpgyes its installed. SS below.

#logs quest gmsay 20 1
#logs quest gmsay 38 1

What do you see when you try to show a window.

epilz 03-10-2015 09:20 PM

Nothing displayed when setting logging to 1 or 3. No errors. Tested on other quest NPCs also. Very strange. Verified the log settings are in the logsys_categories table.

Turned on MYSQL Queries and Errors. This is all that was returned when clicking on Top HPs.

http://i.imgur.com/Yvs1Pbk.jpg

epilz 03-10-2015 09:21 PM

Also, no one is on the server but myself atm. Its not open to public yet. The DB is not populating my stats. It was before.

Akkadius 03-10-2015 09:23 PM

Quote:

Originally Posted by epilz (Post 238537)
Nothing displayed when setting logging to 1 or 3. No errors. Tested on other quest NPCs also. Very strange. Verified the log settings are in the logsys_categories table.

Turned on MYSQL Queries and Errors. This is all that was returned when clicking on Top HPs.

http://i.imgur.com/Yvs1Pbk.jpg

Are you missing plugin::commify ?

https://code.google.com/p/eqemuplugi..._formatting.pl

epilz 03-10-2015 09:25 PM

Nope. I have text_formatting.pl in my plugins folder.

Code:

###AKKADIUS###
###Usage plugin::commify(12302302); Would output value 12,302,302
sub commify {
  local $_  = shift;
  s{(?<!\d|\.)(\d{4,})}
    {my $n = $1;
    $n=~s/(?<=.)(?=(?:.{3})+$)/,/g;
    $n;
    }eg;
  return $_;
}

return 1;


Akkadius 03-10-2015 09:27 PM

Quote:

Originally Posted by epilz (Post 238543)
Nope. I have text_formatting.pl in my plugins folder.

Code:

###AKKADIUS###
###Usage plugin::commify(12302302); Would output value 12,302,302
sub commify {
  local $_  = shift;
  s{(?<!\d|\.)(\d{4,})}
    {my $n = $1;
    $n=~s/(?<=.)(?=(?:.{3})+$)/,/g;
    $n;
    }eg;
  return $_;
}

return 1;


I think you're just trolling me

epilz 03-10-2015 09:30 PM

no way man. I have been working on my server for about 2 months. I come from a very technical background, but not in programming. Learned a lot from this community. I can give you access to my server if you want to look.

Akkadius 03-10-2015 09:32 PM

Quote:

Originally Posted by epilz (Post 238545)
no way man. I have been working on my server for about 2 months. I come from a very technical background, but not in programming. Learned a lot from this community. I can give you access to my server if you want to look.

Load up Teamviewer, send me your session and tell me what your server name is.

epilz 03-10-2015 09:39 PM

PMing you now

epilz 03-10-2015 10:09 PM

Thanks Akka for the help. I will make changes later tonight and update this thread

epilz 03-11-2015 12:35 PM

Ok Akka, Cleaned up the system of incorrect version of perl and updated DBI and DBD:mysql. Only issue that I am having now is the popup windows does not populate the information from the DB. Below are SS's.

http://i.imgur.com/9ZDfLmj.jpg

Logging.

http://i.imgur.com/PGIbs7Y.jpg

cust_ext_leaderboards view

http://i.imgur.com/tjuKMEh.jpg

Thanks again for the assistance last night.

Akkadius 03-11-2015 02:40 PM

Quote:

Originally Posted by epilz (Post 238569)
Ok Akka, Cleaned up the system of incorrect version of perl and updated DBI and DBD:mysql. Only issue that I am having now is the popup windows does not populate the information from the DB. Below are SS's.

http://i.imgur.com/9ZDfLmj.jpg

Logging.

http://i.imgur.com/PGIbs7Y.jpg

cust_ext_leaderboards view

http://i.imgur.com/tjuKMEh.jpg

Thanks again for the assistance last night.

It won't show you as a GM in the leaderboards table. Any status 0 player would show up fine

epilz 03-11-2015 02:47 PM

ahh ok, cool! Thanks

N0ctrnl 09-15-2015 01:44 PM

I made the following modification to the Leaderboards.pl script to report unbuffed hitpoints. Just in case anybody hadn't figure it out yet. :)

Code:

        my $hp1 = $client->GetMaxHP();
        my $hp2 = $client->GetSpellHPBonuses();
        my $hp = ($hp1 - $hp2);



All times are GMT -4. The time now is 02:34 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.