Jump to content

Recommended Posts

Posted (edited)

Problem for reg more 2 players...3...4..5 all , no teleport and error console.   In high five .

Edited by MaKasTreRo
Posted

Problem for reg more 2 players...3...4..5 all , no teleport and error console.   In high five .

consider of posting here the error.

  • 4 weeks later...
  • 4 months later...
  • 1 month later...
Posted

Replace Vector for CopyOnWriteArrayList (only if you fix your crap, read the end).

-------------

if(players.isEmpty() || players.size() < 2)

the second check verify the first check... So use only

if(players.size() < 2)

-------------

 

You don't have to make any costly operations on "_players" (except the olympiad check to remove ppl). You can simply pick the players as :

_player1 = _players.get(rnd1);
_player2 = _players.get(rnd2);

Create 2 L2PcInstance variables on RandomFight (same level than _players) to store players. The idea is to .clear() "_players" once the 2 players are taken, and set both players vars to null once the fight is over (tie/win/lose).

Posted

Thank you. and one more pleasure.

 

I want to make seconds count after game is finished to count from 10 to 1 and then teleport players. not instantly.

 

Is it possible?

Posted

Thank you. and one more pleasure.

 

I want to make seconds count after game is finished to count from 10 to 1 and then teleport players. not instantly.

 

Is it possible?

 

There are multiple example of delayed actions, check ThreadPoolManager lines. The time is in milliseconds.

  • 4 months later...
  • 1 month later...
Posted

Delete by owner but if you want to have events like that (1v1 or party fight automaticaly e.t.c) 

you can buy from developers 

 

i can also code for small small small amount of money seperately events. 

 

skype: unst0ppabl32

Guest
This topic is now closed to further replies.



  • Posts

    • i had sent you in discord i think already the link seen you asking in mobius forum  anyway here you go  https://www.mediafire.com/folder/6oh7l7hf34xr9/C1
    • Hello all.   I have some strange errors on server side and the right bar of Open Beta STORE is not showing anymore after changing server ip.   Errors: [11:34:12] TriggerParser: Exception: l2.gameserver.data.xml.parser.exception.InvalidAttributeValueException: Bypass trigger is calling "classMaster#tryShowIcon" action which is missing! l2.gameserver.data.xml.parser.exception.InvalidAttributeValueException: Bypass trigger is calling "classMaster#tryShowIcon" action which is missing! at l2.gameserver.data.xml.parser.TriggerParser.parseBypasses(Unknown Source) ~[server.jar:?] at l2.gameserver.data.xml.parser.TriggerParser.parseTrigger(Unknown Source) ~[server.jar:?] at l2.gameserver.data.xml.parser.TriggerParser.readData(Unknown Source) ~[server.jar:?] at l2.commons.data.xml.AbstractParser.parseDocument(Unknown Source) ~[server.jar:?] at l2.commons.data.xml.AbstractFileParser.parse(Unknown Source) [server.jar:?] at l2.commons.data.xml.AbstractParser.load(Unknown Source) [server.jar:?] at l2.gameserver.data.xml.Parsers.parseAll(Unknown Source) [server.jar:?] at l2.gameserver.GameServer.<init>(Unknown Source) [server.jar:?] at l2.gameserver.GameServer.main(Unknown Source) [server.jar:?]   java.lang.IllegalArgumentException: Couldn't find Config "closedBeta" in file "shop" at l2.commons.config.ConfigManager.getConfigValue(Unknown Source) ~[server.jar:?] at l2.commons.config.ConfigManager.getObjectValue(Unknown Source) ~[server.jar:?] at l2.ext.closedbeta.ClosedBeta.isBetaTester(ClosedBeta.java:32) ~[?:?] at l2.ext.closedbeta.ClosedBeta$OnEnterWorld.onEnterWorld(ClosedBeta.java:23) ~[?:?] at l2.gameserver.model.actor.listener.PlayerListenerList.onEnterWorld(Unknown Source) ~[server.jar:?] at l2.gameserver.network.l2.c2s.EnterWorld.runImpl(Unknown Source) [server.jar:?] at l2.gameserver.utils.ExecutionRecorder.wrapInPacketExecution(Unknown Source) [server.jar:?] at l2.gameserver.network.l2.c2s.L2GameClientPacket.run(Unknown Source) [server.jar:?] at l2.commons.net.nio.impl.MMOExecutableQueue.run(Unknown Source) [server.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?] at java.lang.Thread.run(Thread.java:840) [?:?] Caught at: l2.gameserver.network.l2.c2s.EnterWorld.runImpl(Unknown Source)   I am using lucera files, Ertheia version.   Any help would be gladly appreciated. Thank you.
    • u cant change anything in facebook without a password, so my tiktok case wasnt a hijack.
    • Exactly, if somebody hijacks ur sessions, then u wont see a new device in your "Devices List". And with that hijacked session you are able to change whatever you want unless you have 2FA enabled. And I believe changing a group owner doesn't trigger 2FA.
  • 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