Jump to content
  • 0

Community Top: Pk/PvP


Question

Posted (edited)

Hello, i trying to make top pvp/pk's for server. And i try to do this on community board. I don;t know if i start good. But i hope so. I want to display in C.B. list of players for pk's for exemple. I post here pic to see what is wrong and what i can do more. I want to do with pages.   to 20. 30/page Thank you ! 

For L2jMobius Hi5. Thank you again!

https://ibb.co/XzqRv9R

Edited by 0flee

2 answers to this question

Recommended Posts

  • 0
Posted (edited)
42 minutes ago, 0flee said:

Hello, i trying to make top pvp/pk's for server. And i try to do this on community board. I don;t know if i start good. But i hope so. I want to display in C.B. list of players for pk's for exemple. I post here pic to see what is wrong and what i can do more. I want to do with pages.   to 20. 30/page Thank you ! 

For L2jMobius Hi5. Thank you again!

https://ibb.co/XzqRv9R

Ouch ! 

Q12cRg1.gif

 

The code you've given is like... Java had a head on collision on Autobahn while a meteor in size of earth fall on it at the same time. Let's just mention few of the "abnormalities".

 

1.

if (command.startsWith("toppk"))

This part is not required because you have only 1 String inside the array hence the only time this method is called only when a voice command matches the given String

2. Why the if check exists anyway? It doesn't do anything. Remove it completely

3.

player.getPkkills();

Why this code exists? It does nothing. It won't pass the player's kill in any variable.

4. Why you initialize a list while it does nothing?

5. Why the title of Pk kill is replaced dynamic though the code while html is clearly only for Pk list?

6. What is the "pl" variable that you try to fetch data from? It doesn't exist in the code.

7. Why it has return false and then return true?

8.

{
  CommunityBoardHandler.seperateAndSend...
}

Why is this line inside two brackets? 

9. Why you open a request topic and your code is an image instead of pastebin or something?

10. Why you initialize a String and load html from cache and replace while you don't use it or send it to player?

 

I'm really confused.

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


  • Posts

    • The community keeps growing every day, more than 350 master accounts created with new players joining to experience Lineage II Classic 2.5 Remastered. Gameplay moved to Stage 2: 1.3 version Rising Tide, where you can do quest for Moon Armor set, farm faster in Alligator Island, Enchanted Valley as newcomer, Outlaw Forest also added where you can do the Daily Quest after Lv.51.    Think of it as a blend of C1, C2, and C3, but more challenging, with improved gameplay, better balance, and enhanced graphics thanks to the Classic client introduced around 2014–2015.   On top of that, all the new features we've added make the experience even more enjoyable while preserving the true Classic feeling.   If you're an Interlude player, it may feel unfamiliar at first but not completely different. It's a more hardcore experience that focuses primarily on developing your main character, rather than rushing to subclasses, Noblesse, and similar endgame goals.
    • I would like to share with you my pack from old L2Pride, based on aCis with latest updates and everything tha needs to run correct and smoothly on every needs. No error consoles ready to use live, ready economy, reworked mobs, skills balance, class balanced, ready events such as TVT/DM/CTF. The pack comes also with essence interface full workable. (Data Pack + Source Included)  The price is negotiable, so let me know in pm. Dont waste my time if you dont really want and only ask for price. https://prnt.sc/LRCRQyUxaxB5 https://prnt.sc/6I95YMy-WR6q https://prnt.sc/jjTm69gUGN7e https://prnt.sc/C7GLQKJXqDdw https://prnt.sc/Pnp7f_USCLar https://prnt.sc/8snRTbznlYEW
    • Longest 24 hours in my life. Also you find nothing on google about his "JewStor Service", neither on telegram besides on maxcheaters. Typical case of scamming.
    • You nid to use the alpha channel in Photoshop
    • "I am creating some buttons for the community, but I want to make their background transparent. Since my general background is a non-flat texture like clouds, if I don't have a transparent background, it doesn't look good. Could you please help me and tell me how I should go about generating the texture in UE2? Currently, I have the TGA texture with a transparent background in Photoshop."
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..