Quest Popup
Is there a way to vertically align things inside the quest::popup window?
I have all the stats from my leaderboard reporting to my popup window.. but I have no idea how to make it look nice and aligned. Anyone have an idea? Something like this Name HP Mana Class Level and everything below will align with the first letter of the Header. |
You can use an HTML table.
E.g. I use this code to line up the 'Y's under the corresponding guild rank numbers: Code:
string Body; |
Do I need anything special inside my perl to get this to work properly?
|
That code doesn't use Perl at all, it's just constructing data in C++ and sending it direct to the client. You could construct the same data in Perl and send it to the client with the questmanager::popup function.
|
Quote:
|
Wow I slack... thanks for the tip Akkadius I got it working thank you lol.. was easier than I was trying to make it
|
Quote:
|
Any reason a really big $variable or @array will not work in popup window?
For example, leaderboards npc, query database limit 10, info in popup window works just fine, but change limit 15 and nothing happens, no info. max size pass to popup window or something? I verified the $variable or @array was fine by write() to file, so that wasn't the issue. |
The max size is around 4000 bytes. The server checks for anything bigger than that and discards the whole thing because the max the client will accept is 4000ish.
|
Thanks, at least now I know why I was having issues.
Was searching all over Google for answers and no solution :( |
All times are GMT -4. The time now is 04:14 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.