Jump to content

Recommended Posts

Posted

Guys since i see you took the older databasefactory from pes, update it to our current one the one you use now is a hell as far as performance goes(new threadpool for every connection close on every single getConnection call for the gameserver and not so good configuration).

Posted

Guys since i see you took the older databasefactory from pes, update it to our current one the one you use now is a hell as far as performance goes(new threadpool for every connection close on every single getConnection call for the gameserver and not so good configuration).

Boorinio Uses "Our dbfactory it's the same as l2jserver"

Boorinio Uses "Also we have a reworked one from setekh that waits to be commited"

Interpid is confused

Pauler Uses "Copy l2jacis latest rev and change c3p0 to BoneCp"

Pauler now has a project!

Posted

Boorinio Uses "Our dbfactory it's the same as l2jserver"

Boorinio Uses "Also we have a reworked one from setekh that waits to be commited"

Interpid is confused

Pauler Uses "Copy l2jacis latest rev and change c3p0 to BoneCp"

Pauler now has a project!

 

It's not bad that you copied our db factory, we are open source anyway. We also borrowed some minor parts from l2jfrozen.

 

And it would be good to update it to our latest dbfactory version, as far you may see a performance boost.

 

Regards.

Posted

It's not bad that you copied our db factory, we are open source anyway. We also borrowed some minor parts from l2jfrozen.

 

And it would be good to update it to our latest dbfactory version, as far you may see a performance boost.

 

Regards.

continue being ignorant i understand it both from you and interpid don't comment on my project stay in your topic

Posted

Boorinio Uses "Our dbfactory it's the same as l2jserver"

Boorinio Uses "Also we have a reworked one from setekh that waits to be commited"

Interpid is confused

Pauler Uses "Copy l2jacis latest rev and change c3p0 to BoneCp"

Pauler now has a project!

 

Yeah i see now its from l2jserver(it was synced to acis thats why ours had it too than), but still what i said about it still stands. BTW i wouldnt go to copying codes if i were you :)

Posted

Yeah i see now its from l2jserver(it was synced to acis thats why ours had it too than), but still what i said about it still stands. BTW i wouldnt go to copying codes if i were you :)

show it to pauler cause he seems not to understand what he has in his project , btw you have nothing to be copied AND if you had get used to be forked since you are open source

Posted

pes looking for users its simple logic, pathetic. not even forum.. and from what i remember pauler said that he make the project to learn and fun so why cry here now?interpid known as 'il hater' takes position its funny tho

Posted

pes looking for users its simple logic, pathetic. not even forum.. and from what i remember pauler said that he make the project to learn and fun so why cry here now?interpid known as 'il hater' takes position its funny tho

 

What the hell are you talking about?Jesus christ i just told you something that you could improve on and all i get is attack after attack...you guys are nuts. And we are pathetic?Sir you just wished luck in our topic 2 times and now we are pathetic, legit.

Posted

What the hell are you talking about?Jesus christ i just told you something that you could improve on and all i get is attack after attack...you guys are nuts. And we are pathetic?Sir you just wished luck in our topic 2 times and now we are pathetic, legit.

interpid we both know why you came here to comment , just to brag about the dbfactory which we copied from you (xaxxa you must feel really stupid after what hapenned) we have nothing against you and that's why nightwolf me or any other user would wish gl to a new projet but after this kind of behaviour we have every right to call you pathetic since you are acting like that ;)

Posted

interpid we both know why you came here to comment , just to brag about the dbfactory which we copied from you (xaxxa you must feel really stupid after what hapenned) we have nothing against you and that's why nightwolf me or any other user would wish gl to a new projet but after this kind of behaviour we have every right to call you pathetic since you are acting like that ;)

 

Wow, if I know that there is so much immaturity stored at this topic, I wouldn't even bother visitting in the first place. We didn't brag for anything, we came to help you, as far you copied the old version of dbfactory, by the time nightwolf doesn't reply at skype.

 

On the other hand, Boorinio is raging and cruing for no reason, disrespecting us, and a l2jhellas minion (muaddict) has the hilarious ideology that if you are not enjoying playing at a chronicle, you shouldn't develop on it. Intrepid replied to you polite enough the first time you called him "il hater", now stop interfering with no reason.

 

About the part, that Boorinio is saying that l2jpes has nothing worth copying, your timeline says the opposite, but I was ready for it by the time we are open-source. I can clearly see now why acis changed its politics.

 

Last thing, before I stop wasting my time here, I really laughed at the fact that their project is 8 months old and still no one uses it for live server.

Posted

interpid we both know why you came here to comment , just to brag about the dbfactory which we copied from you (xaxxa you must feel really stupid after what hapenned) we have nothing against you and that's why nightwolf me or any other user would wish gl to a new projet but after this kind of behaviour we have every right to call you pathetic since you are acting like that ;)

 

I came here to brag?You have the right to call me pathetic?LOL sure as you wish, if you cant even rake constructive criticism without beeing egoistic about it than i have nothing to say to any of you.

Posted

I came here to brag?You have the right to call me pathetic?LOL sure as you wish, if you cant even rake constructive criticism without beeing egoistic about it than i have nothing to say to any of you.

w/e let the ppls decide why you were here quote from pauler

 

[2:14 μμ] Pauler ©:

 

<<< I love how you guys copied my ex dbfactory for bonecp. :D

Posted

w/e let the ppls decide why you were here quote from pauler

 

[2:14 μμ] Pauler ©:

 

<<< I love how you guys copied my ex dbfactory for bonecp. :D

 

You insult me and than you go whatever let the people decide?  :not bad:

Posted

w/e let the ppls decide why you were here quote from pauler

 

[2:14 μμ] Pauler ©:

 

<<< I love how you guys copied my ex dbfactory for bonecp. :D

You posted the first half of the message. Tell him to post all of it.

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