Jump to content
  • 0

Community Board Olympiad


thepwned2

Question

123454.png

 

 

 

Hello guys, tried too many things to fix this but is so weird error. if anyone have some ideas please..

when i click to watch one class list.. appear this textbox and console error.

Edited by thepwned2
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

You lost resolution of picture when you uploaded it, the text is unreadable.

sorry.

 

when i click at olympiad classes it appears this error in console

 

.15 11:18:47] WARN: [Character: [ADM] KontrolIV[268483393] - Account: theowner17 - IP: 127.0.0.1] sent not handled RequestBypassToServer: [_mail;91]

[24.11.15 11:18:53] WARN: [Character: [ADM] KontrolIV[268483393] - Account: theowner17 - IP: 127.0.0.1] sent not handled RequestBypassToServer: [_mail;89]

[24.11.15 11:19:08] WARN: [Character: [ADM] KontrolIV[268483393] - Account: theowner17 - IP: 127.0.0.1] sent not handled RequestBypassToServer: [_mail;88]

 

 

[23.11.15 20:46:42] WARN: [Character: tasos[268483393] - Account: theowner17 - IP: 127.0.0.1] sent bad RequestBypassToServer: "_mail;94"

java.lang.NullPointerException

    at java.util.regex.Matcher.appendReplacement(Unknown Source)

    at java.util.regex.Matcher.replaceAll(Unknown Source)

    at java.lang.String.replaceAll(Unknown Source)

    at l2r.gameserver.communitybbs.Managers.OlympiadCategory.parsecmd(OlympiadCategory.java:50)

    at l2r.gameserver.communitybbs.BoardsManager.handleCommands(BoardsManager.java:96)

    at l2r.gameserver.network.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:269)

    at l2r.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:79)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Edited by thepwned2
Link to comment
Share on other sites

  • 0

RequestBypassToServer is under the check of a regex pattern, which doesn't seem to be happy with _ or ; command.

 

As it's part of numerous commands, notably community board, you should drop it entirely. Becuase pack owners probably added it without checking it.

 

What's OlympiadCategory.parsecmd(OlympiadCategory.java:50) ?

Link to comment
Share on other sites

  • 0

RequestBypassToServer is under the check of a regex pattern, which doesn't seem to be happy with _ or ; command.

 

As it's part of numerous commands, notably community board, you should drop it entirely. Becuase pack owners probably added it without checking it.

 

What's OlympiadCategory.parsecmd(OlympiadCategory.java:50) ?

 

you mean that my server pack don't allow me to add this?

Link to comment
Share on other sites

  • 0

 

RequestBypassToServer is under the check of a regex pattern, which doesn't seem to be happy with _ or ; command.

 

As it's part of numerous commands, notably community board, you should drop it entirely. Becuase pack owners probably added it without checking it.

 

What's OlympiadCategory.parsecmd(OlympiadCategory.java:50) ?

 

you mean that my server pack don't allow me to add this?

i am really not a programmer and i don't have any idea about how to slove this problem..if you could help me add me in skype please : a8an4t0s

 

Link to comment
Share on other sites

  • 0

You have to find someone dedicated to developement if you want to open a server, because it will be the first of a long list of issues your server will encounter.

 

I only help on public, otherwise I waste my time helping "one month life" servers. Also, clever people can find numerous solutions as those forums act like a big library. Finally, I'm already dedicated to my own IL fork.

 

I asked you a simple question, if you can't answer it, avoid to open a server.

 

PS : avoid to double post, learn to quote/edit your messages.

Edited by Tryskell
Link to comment
Share on other sites

  • 0

You have to find someone dedicated to developement if you want to open a server, because it will be the first of a long list of issues your server will encounter.

 

I only help on public, otherwise I waste my time helping "one month life" servers. Also, clever people can find numerous solutions as those forums act like a big library. Finally, I'm already dedicated to my own IL fork.

 

I asked you a simple question, if you can't answer it, avoid to open a server.

 

PS : avoid to double post, learn to quote/edit your messages.

 

alright thank you

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • https://github.com/binance/binance-futures-connector-java   Use their API, And then you can convert it to be used on your Multisell.
    • WTB 414 interface source (4game), compiler, xdat editor.  
    • Edit ItemsAutoDestroy#addItem method, simply enforce whatever timer you want. L2J already handles your case, eg. herbs naturally dissapear after a while.
    • https://www.youtube.com/watch?v=VjJ2uLlRGOc LF something similar to this. ability to do transactions/verify/withdraw/add and history. Do NOT need new window, can be done in html as long as the function works   Serious people only, paying well
    • Hello, I'm having a problem with my drop rates, due to the high amount of loot that Champions give I made it so that non-stackable items drop on the ground (since going over 500 items in the inventory disables a character), the problem is that in the long run sometimes Champions dropped hundreds or thousands of non-stackable items on the ground, causing massive lag, lowering the drop rate/chance isn't a possibility since that would mean massively decreasing the chance of item to be dropped from a regular mob, to solve this I just set the MultipleItemDrop config to False, with that only 1 item is created if the item is non-stackable   HOWEVER the problem is that now whenever I'm doing a quest and the NPC gives 2 or more items of the same ID (like the Spirit of Mirrors quest in the Human Village) I get only 1 instead, making the quest impossible to complete, I went into the core and noticed 2 variables affected by the MultipleItemDrop config: dropItem and addItem, I thought that maybe creating a new config and separating both would solve the problem, and it did, but after that if someone logged out while having equipped any item other than NG then the character would be unable to enter again, and a massive error appears on the console when someone tries to login said character, the error was basically StackOverflowError which with my really lacking knowledge of java it means that something is on an infinite loop   With that situation happening I think that now my safest option is to just limit the amount of items dropped on the ground, how can I do this? here's the code for the item drop:   public L2ItemInstance dropItem(L2PcInstance player, int itemId, long itemCount) { L2ItemInstance item = null; for (int i = 0; i < itemCount; i++) { // Randomize drop position. final int newX = (getX() + Rnd.get((RANDOM_ITEM_DROP_LIMIT * 2) + 1)) - RANDOM_ITEM_DROP_LIMIT; final int newY = (getY() + Rnd.get((RANDOM_ITEM_DROP_LIMIT * 2) + 1)) - RANDOM_ITEM_DROP_LIMIT; final int newZ = getZ() + 20; if (ItemTable.getInstance().getTemplate(itemId) == null) { LOG.error("Item doesn't exist so cannot be dropped. Item ID: {} Quest: {}", itemId, getName()); return null; } item = ItemTable.getInstance().createItem("Loot", itemId, itemCount, player, this); if (item == null) { return null; } if (player != null) { item.getDropProtection().protect(player); } item.dropMe(this, newX, newY, newZ); // Add drop to auto destroy item task. if (!Config.LIST_PROTECTED_ITEMS.contains(itemId)) { if (((Config.AUTODESTROY_ITEM_AFTER > 0) && !item.getItem().hasExImmediateEffect()) || ((Config.HERB_AUTO_DESTROY_TIME > 0) && item.getItem().hasExImmediateEffect())) { ItemsAutoDestroy.getInstance().addItem(item); } } item.setProtected(false); // If stackable, end loop as entire count is included in 1 instance of item. if (item.isStackable() || !Config.MULTIPLE_ITEM_DROP) { break; } } return item; } And the code for the itemdrop on L2Attackable.java:   public void doItemDrop(L2NpcTemplate npcTemplate, L2Character mainDamageDealer) { if (mainDamageDealer == null) { return; } L2PcInstance player = mainDamageDealer.getActingPlayer(); // Don't drop anything if the last attacker or owner isn't L2PcInstance if (player == null) { return; } CursedWeaponsManager.getInstance().checkDrop(this, player); if (isSpoiled()) { _sweepItems.set(npcTemplate.calculateDrops(DropListScope.CORPSE, this, player)); } Collection<ItemHolder> deathItems = npcTemplate.calculateDrops(DropListScope.DEATH, this, player); if (deathItems != null) { for (ItemHolder drop : deathItems) { L2Item item = ItemTable.getInstance().getTemplate(drop.getId()); // Check if the autoLoot mode is active if (isFlying() || ((!item.hasExImmediateEffect() && ((!isRaid() && Config.AUTO_LOOT) && (item.isStackable() || (isRaid() && Config.AUTO_LOOT_RAIDS)))) || (item.hasExImmediateEffect() && Config.AUTO_LOOT_HERBS))) { player.doAutoLoot(this, drop); // Give the item(s) to the L2PcInstance that has killed the L2Attackable } else { dropItem(player, drop); // drop the item on the ground } // Broadcast message if RaidBoss was defeated if (isRaid() && !isRaidMinion() && (drop.getCount() > 0)) { final SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.C1_DIED_DROPPED_S3_S2); sm.addCharName(this); sm.addItemName(item); sm.addLong(drop.getCount()); broadcastPacket(sm); } } } }   Thanks in advance
  • 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