Jump to content

Recommended Posts

Posted

i will ask you again,where is your work? to help another people?

 

if that code work corect what is your problem is your idea?

 

Sorry, but I cannot understand your English, after a lot of failed attempts.

If your point is "Have you done anything to help the forum?", then the answer is "Just visit the current section and look around you".

Anyway, we have started to go out of the topic, something that I would really prefer to avoid.

I've stated my opinion, and I'm out of the topic, since you are not willing to co-operate normally, in order to achieve something "better".

Posted

Sorry, but I cannot understand your English, after a lot of failed attempts.

If your point is "Have you done anything to help the forum?", then the answer is "Just visit the current section and look around you".

Anyway, we have started to go out of the topic, something that I would really prefer to avoid.

I've stated my opinion, and I'm out of the topic, since you are not willing to co-operate normally, in order to achieve something "better".

 

[gr]na miliso ellinika an den ginomai katanoitos sta agglika.Tin epomeni fora pou 8a ekferis tin gnwmi sou na gineis pio epioikis efoson esi den to ekanes auto den exeis kanena dikaioma na xeftilizis i na prospa8isis na ipobibasis auton pou to egrapse me to kai kala ti douleia exoune ola afta ekei mesa. sou apantisa se merika pragmata einai "newbies" gia newbies devs. an o code litourgi swsta den iparxi problima an mporouses na to fix edw kai kairo 8a to eixes kanei opote se parakalw pl ase ola ta alla apo exw.

 

kai ekfero tin gnwmi mou se kati opws kai esi gia mena"

 

esi kai i parea sou katastrespate to mxc sou arki auto? bgika off topic alla eprepe na katalabis oti den eisai telios..

Posted

[gr]na miliso ellinika an den ginomai katanoitos sta agglika.Tin epomeni fora pou 8a ekferis tin gnwmi sou na gineis pio epioikis efoson esi den to ekanes auto den exeis kanena dikaioma na xeftilizis i na prospa8isis na ipobibasis auton pou to egrapse me to kai kala ti douleia exoune ola afta ekei mesa. sou apantisa se merika pragmata einai "newbies" gia newbies devs. an o code litourgi swsta den iparxi problima an mporouses na to fix edw kai kairo 8a to eixes kanei opote se parakalw pl ase ola ta alla apo exw.

 

kai ekfero tin gnwmi mou se kati opws kai esi gia mena"

 

esi kai i parea sou katastrespate to mxc sou arki auto? bgika off topic alla eprepe na katalabis oti den eisai telios..

Sorry coyote...PWNED!!! I like it !!!

@MaxSound [gr] pesta xrisostome opote ginete share petagete i pordi k leei tn papariatis [/gr]

Btw nice share added on my collection  but.. the net.sf.l2j etc etc are setted default or i must add them?

Posted

Sorry coyote...PWNED!!! I like it !!!

@MaxSound [gr] pesta xrisostome opote ginete share petagete i pordi k leei tn papariatis [/gr]

Btw nice share added on my collection  but.. the net.sf.l2j etc etc are setted default or i must add them?

 

 

you need to implement the imports with your pack :)

Posted

stop talking greek on an english section.

stop abusing with karma for no reason. there wasn't even a 0.1% reason.

 

Me (as a non greek mod) have the duty to clean english sections.

 

i have lot of cleans to do and i don't have time to bother greek mods or admin himself to translate me your fights.

 

Sniffer take a 2 weeks ban for "Continuous attempts to create flame wars, offensive posts and rude behavious, off-topic content at replies & use of greek in english topics"

 

 

_____________________________

 

and this fight stop here.

 

really, this time (like always) Coyote isn't provocing anyone.

Posted

stop talking greek on an english section.

stop abusing with karma for no reason. there wasn't even a 0.1% reason.

 

Me (as a non greek mod) have the duty to clean english sections.

 

i have lot of cleans to do and i don't have time to bother greek mods or admin himself to translate me your fights.

 

Sniffer take a 2 weeks ban for "Continuous attempts to create flame wars, offensive posts and rude behavious, off-topic content at replies & use of greek in english topics"

 

 

_____________________________

 

and this fight stop here.

 

really, this time Coyote isn't provocing anyone.

 

First of all erol listen me i dont have any problem with Coyote, he starts the fights all time because he dont respect anyone work. (he believes  is a pro developer) ok yes he  for himself.

 

second i am here to help the forum and the people with bugs or tricks to fix them my free code is that.. and ofc works perfect..

 

Thierd you can't all time to protect them because you will loose all the good devs.

 

sorry but that is my opinion.

 

 

 

Posted

First of all erol listen me i dont have any problem with Coyote, he starts the fights all time because he dont respect anyone work.

 

second i am here to help the forum and the people with bugs or tricks to fix them my free code is that.. and ofc works perfect..

 

Thierd you can't all time to protect them because you will loose all the good devs.

 

sorry but that is my opinion.

 

 

 

Jesus christ

 

no one said anything about your share

even Coyote didn't insult your share

he just said:

And what's the point? You already can invite 2-3 same classes in the party.

 

Wow, amazing.. pff

and yeah, You already can invite 2-3 same classes in the party.

 

wtf you though as bad on those words, such bad to dekarme someone?

 

Posted

Jesus christ

 

no one said anything about your share

even Coyote didn't insult your share

he just said: and yeah, You already can invite 2-3 same classes in the party. (what do you mean?)

 

wtf you though as bad on those words, such bad to dekarme someone?

 

 

 

read all the topics erol.

 

and btw without that code you can invite 9 people with same class in party..

 

so Coyote is totally   wrong.

 

 

Sorry for offtopic:

Why Sniffer* banned?

 

y why?

Posted

 

read all the topics erol.

 

and btw without that code you can invite 9 people with same class in party..

i remember all topics.

 

All topics were closed/junked coz you were fighting for no reason.

dude, you're self-destructive.

 

Just post your shares and avoid fights, leave the community decide if it is good or bad.

Posted

i remember all topics.

 

All topics were closed/junked coz you were fighting for no reason.

dude, you're self-destructive.

 

Just post your shares and avoid fights, leave the community decide if it is good or bad. ( why i need to to that? i need to protect my self and my work

Coyote have you and grisom..

 

 

i am the wrong now? Coyote he starts all the times! you will crazy me..?

 

i am the wrong because i share my work and my fixes and we have all time 1 guy to say bad things for anyone work?

Posted

i am the wrong because i share my work and my fixes and we have all time 1 guy to say bad things for anyone work?

 

Yes, you totally are, as far as I'm concerned.

Expressing my opinion never caused problems in this section, and sometimes it even improved it along with the skills of the coders.

And if you share something publicly you will certainly receive good comments that you will enjoy, but you have to be ready for the "bad" critisism, as you like to call it.

Posted

i don't know if this code rly works,it is well right or w/e

i don't have the proper knowledge to say this

but the idea is one of the worse ever..instead of fixing that skill you just restrict more than 2-3 same class in a party?so no more than 3 archers px in a party?rofl

Guest
This topic is now closed to further replies.



  • Posts

    • what pack you use  send me on discord for it
    • package custom.events.RandomZoneEvent; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Random; import java.util.concurrent.ScheduledFuture; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.l2jmobius.commons.threads.ThreadPool; import org.l2jmobius.commons.time.SchedulingPattern; import org.l2jmobius.commons.time.TimeUtil; import org.l2jmobius.commons.util.IXmlReader; import org.l2jmobius.gameserver.managers.ZoneManager; import org.l2jmobius.gameserver.model.StatSet; import org.l2jmobius.gameserver.model.actor.Creature; import org.l2jmobius.gameserver.model.actor.Npc; import org.l2jmobius.gameserver.model.actor.Player; import org.l2jmobius.gameserver.model.quest.Event; import org.l2jmobius.gameserver.model.zone.ZoneId; import org.l2jmobius.gameserver.model.zone.ZoneType; import org.l2jmobius.gameserver.model.zone.type.RandomZone; import org.l2jmobius.gameserver.util.Broadcast; /** * Random Zone Event - Activates one random PvP zone temporarily. No modifica la clase de la zona: usa flags PvP en runtime. * @author Juan */ public class RandomZoneEvent extends Event { private static final String CONFIG_FILE = "data/scripts/custom/events/RandomZoneEvent/config.xml"; private static int EVENT_DURATION_MINUTES = 15; private static boolean _isActive = false; private ScheduledFuture<?> _eventTask = null; private final List<ZoneType> _availableZones = new ArrayList<>(); private ZoneType _activeZone = null; public RandomZoneEvent() { loadConfig(); loadZones(); registerZoneListeners(); } /** * Registra listeners a TODAS LAS ZONAS random */ private void registerZoneListeners() { for (ZoneType zone : _availableZones) { addEnterZoneId(zone.getId()); addExitZoneId(zone.getId()); LOGGER.info("[RandomZoneEvent] Registered listener for zone: " + zone.getName()); } } private void loadConfig() { new IXmlReader() { @Override public void load() { parseDatapackFile(CONFIG_FILE); } @Override public void parseDocument(Document doc, File file) { forEach(doc, "event", eventNode -> { final StatSet att = new StatSet(parseAttributes(eventNode)); final String name = att.getString("name"); for (Node node = eventNode.getFirstChild(); node != null; node = node.getNextSibling()) { if ("schedule".equals(node.getNodeName())) { final StatSet attributes = new StatSet(parseAttributes(node)); final String pattern = attributes.getString("pattern"); final SchedulingPattern schedulingPattern = new SchedulingPattern(pattern); final StatSet params = new StatSet(); params.set("Name", name); params.set("SchedulingPattern", pattern); final long delay = schedulingPattern.getDelayToNextFromNow(); getTimers().addTimer("Schedule_" + name, params, delay + 5000, null, null); LOGGER.info("[RandomZoneEvent] Event " + name + " scheduled at " + TimeUtil.getDateTimeString(System.currentTimeMillis() + delay)); } } }); } }.load(); } private void loadZones() { for (ZoneType zone : ZoneManager.getInstance().getAllZones(RandomZone.class)) { if ((zone.getName() != null) && zone.getName().toLowerCase().startsWith("random_zone")) { _availableZones.add(zone); LOGGER.info("[RandomZoneEvent] Loaded zone: " + zone.getName() + " (id=" + zone.getId() + ")"); } } LOGGER.info("[RandomZoneEvent] Total random zones loaded: " + _availableZones.size()); } @Override public void onTimerEvent(String event, StatSet params, Npc npc, Player player) { if (event.startsWith("Schedule_")) { eventStart(null); final SchedulingPattern schedulingPattern = new SchedulingPattern(params.getString("SchedulingPattern")); final long delay = schedulingPattern.getDelayToNextFromNow(); getTimers().addTimer(event, params, delay + 5000, null, null); LOGGER.info("[RandomZoneEvent] Rescheduled for " + TimeUtil.getDateTimeString(System.currentTimeMillis() + delay)); } } @Override public boolean eventStart(Player eventMaker) { if (_isActive) { if (eventMaker != null) { eventMaker.sendMessage("RandomZoneEvent already active."); } return false; } if (_availableZones.isEmpty()) { Broadcast.toAllOnlinePlayers("[RandomZoneEvent] No zones configured."); return false; } _isActive = true; Broadcast.toAllOnlinePlayers("⚔️ Random Zone Event has started!"); _eventTask = ThreadPool.schedule(this::activateRandomZone, 5_000); return true; } private void activateRandomZone() { _activeZone = _availableZones.get(new Random().nextInt(_availableZones.size())); _activeZone.setEnabled(true); Broadcast.toAllOnlinePlayers("🔥 Random Zone Event: " + _activeZone.getName() + " is now PvP for " + EVENT_DURATION_MINUTES + " minutes!"); _eventTask = ThreadPool.schedule(this::eventStop, EVENT_DURATION_MINUTES * 60 * 1000L); } @Override public boolean eventStop() { if (!_isActive) { return false; } _isActive = false; if (_eventTask != null) { _eventTask.cancel(true); _eventTask = null; } if (_activeZone != null) { _activeZone.setEnabled(false); Broadcast.toAllOnlinePlayers("🏁 Random Zone Event ended. " + _activeZone.getName() + " is back to normal."); _activeZone = null; } else { Broadcast.toAllOnlinePlayers("🏁 Random Zone Event ended."); } return true; } @Override public void onEnterZone(Creature creature, ZoneType zone) { if (!_isActive || (_activeZone == null)) { return; } if ((zone == _activeZone) && creature.isPlayable()) { creature.setInsideZone(ZoneId.PVP, true); if (creature.isPlayer()) { creature.sendMessage("Esta zona está en modo PvP temporalmente."); } } } @Override public void onExitZone(Creature creature, ZoneType zone) { if (!_isActive || (_activeZone == null)) { return; } if ((zone == _activeZone) && creature.isPlayable()) { creature.setInsideZone(ZoneId.PVP, false); if (creature.isPlayer()) { creature.sendMessage("Abandonaste la zona PvP temporal."); } } } @Override public boolean eventBypass(Player player, String bypass) { return true; } @Override public String onEvent(String event, Npc npc, Player player) { return super.onEvent(event, npc, player); } @Override public String onFirstTalk(Npc npc, Player player) { return null; } public static void main(String[] args) { new RandomZoneEvent(); } } i have this but its not working
    • ZonePvPSpawnBossRadio=0 ZonePvPSpawnBossBarakiel=0 at the Customs.ini in L2Server folder. Im prety sure this is it because i had the same problem with you in cruma 1 floor for example and i couldn't fix it but i fixed it finally by changing these 2 lines
    • Siege Reward Start PM Msg Rework Config root BossDieAnnounce and BossDieSound in the L24Team.properties and Config.java files for global raid boss death notifications and sounds. Adds a new reward_list table to the DB.sql file to track castle rewards. Improves character creation logic for thread safety and validation. Adds extensive state checks to the RequestEnchantItem method to prevent enchantments during inappropriate player states. Fixed auto-attack animation bug (there was no attack animation, only damage animation) Clean Code Other fixes I forgot to list! Java 14 Fixed issue where deleting a character would prevent it from leaving the screen or being removed, or even after a delete CD (it would only exit when re-logging in or creating a new character). Added Premium System from the other C2 project (Needs testing and improvement). Added the "Improved" Community Board (incomplete).
  • 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