Jump to content

Recommended Posts

Posted

It is not 5-10ms lol. It is not about coding style. It is about programming principles, which i can see you lack for obvious reasons. 

 

 

Combined is it refreshed the map every x minutes but still reads from the maps.

hmm Cool so the map doesn't contain top 10 (for example) , it again contais all players, right?

Guest Elfocrash
Posted

hmm Cool so the map doesn't contain top 10 (for example) , it again contais all players, right?

No, it contained only the top 10 that the sql refreshing and the map sorting will offer.

Posted

No, it contained only the top 10 that the sql refreshing and the map sorting will offer.

So it needs a database connection every x minutes :S , or i am wrong? 

Posted (edited)

on Aerogaming my database

mysql> SELECT COUNT(*) FROM characters;
+-----------+
| COUNT(*)  |
+-----------+
|     69404 |
+-----------+
1 row in set
 
mysql> 

So I have to load this shit on maps and call it efficient and fast code? xDD

 

Gn Im out of discussion

Edited by xdem
Guest Elfocrash
Posted

on Aerogaming my database

mysql> SELECT COUNT(*) FROM characters;
+-----------+
| COUNT(*) |
+-----------+
|     69404 |
+-----------+
1 row in set
 
mysql> 

So I have to load this shit on maps and call it efficient and fast code? xDD

 

Gn Im out of discussion

pewpew you forget about the actual java parsing and display. Running something in cmd won't give you the results you need.

 

Nvm gn mate.

Posted (edited)

my mind had stucked 

 

you just mean in every pvp kill check if top 10 pvp kills < pvps of player who get the pvp 

+ the check every x minutes for the whole map

RIGHT? :P

Edited by Lioy
Posted

To be honest it would be way more efficent with a proper database connection, what tryskell meant was probably not to overuse it. Your Top class aka manager class should be statically loaded since theres no data loading in it, unhardcode html parts, a simple dp script could also do the job just fine ohh and your sortByValue method is inside l2j since ages why change the inner names and put it inside the patch instead of delaring it public static and using it? :)

Posted

To be honest it would be way more efficent with a proper database connection, what tryskell meant was probably not to overuse it. Your Top class aka manager class should be statically loaded since theres no data loading in it, unhardcode html parts, a simple dp script could also do the job just fine ohh and your sortByValue method is inside l2j since ages why change the inner names and put it inside the patch instead of delaring it public static and using it? :)

 

you mean that sortByValue method already exists?

Posted (edited)

you mean that sortByValue method already exists?

 

Yep since over a year or so :D

Edited by Intrepid
Guest
This topic is now closed to further replies.



  • Posts

    • We've added 5% discounts for bulk purchases of Google accounts for orders of 300 or more, and 10% for orders of 500 or more. The discount is applied automatically when you place your order! The discount is indicated in the product title and description for each category.  
    • 🎄 CHRISTMAS EVENT 🎄   ‼️ Information and details: https://forum.l2harbor.com/threads/rozhdestvenskie-xlopoty-christmas-chores.9430/post-171464
    • METATG.ORG Direct Telegram Service Provider A bonus of +7% on every order! *We add 7% more followers than your ordered amount to proactively cover potential drops and guarantee you an honest result." Telegram Followers - Price per 1000 SUBSCRIBERS Subscribers 3 days - $0.10 ~ 8 RUB Subscribers. Daily Completion: 200,000,000 Subscribers 7 days - $0.17 ~ 13.6 RUB Subscribers. Daily Completion: 200,000,000 Subscribers 14 days - $0.20 ~ 16 RUB Subscribers. Daily Completion: 200,000,000 Subscribers 30 days - $0.30 ~ 24 RUB Subscribers. Daily Completion: 200,000,000 Subscribers 60 days - $0.40 ~ 32 RUB Subscribers, 14-day guarantee. Daily Completion: 200,000,000 Subscribers 90 days (Super Fast) - $0.50 ~ 40 RUB Subscribers, 14-day guarantee. Daily Completion: 200,000,000 Subscribers 120 days (Super Fast) - $0.60 ~ 48 RUB Subscribers, 14-day guarantee. Daily Completion: 200,000,000 Subscribers Lifetime (Super Fast) - $0.70 ~ 56 RUB Lifetime Subscribers. 14-day guarantee. Daily Completion: 200,000,000 Telegram Services - Price per 1000 Post Views - $0.06 ~ 5 RUB Reactions - $0.08 ~ 6.5 RUB Bot Starts - $0.10 ~ 8 RUB Bot Starts with referrals - $0.15 ~ 12 RUB DISCOUNTS and CASHBACK for large volumes Direct Supplier. We work from our own accounts with our own software! High execution speed. Multiple payment methods. We work 24/7! Additional discounts are discussed for volumes starting from $1000 per day. SUPPORT 24/7 - TELEGRAM WEBSITE 24/7 - METATG.ORG
    • Added: a brand-new default dashboard template. You can now add multiple game/login server builds. Full support for running both PTS & L2J servers simultaneously, with switching between them. Payment systems: added OmegaPay and Pally (new PayPal-style API). Account history now stores everything: donations, items delivered to characters, referrals, transfers between game accounts, and coin transfers to another master account. Personal Promo Code System: you can create a promo code and assign it to a user or promoter. When donating, a player can enter this promo code to receive bonus coins, and the promo code owner also receives a bonus — all fully configurable in the admin panel.     Look demo site: demo
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock