Jump to content

Recommended Posts

Posted (edited)

For High Five, L2j
 
Here it comes Shot The Dog Event. Now for free
 
Players are divided in two teams and they must fight transformed in Sniper Dogs with their Event Skills. In every kill they'll win Dollar Dogs, that they must use in the same Event to buy more powerful skills. The team that kill more enemies will won.
 

Features:
 
- Multiple Instance: You can choose if you want the script hand out the players in differents instances to avoid needless aglomerations

- Full configurable Event (language, prizes for winners, losers and ties, time periods, automatic or non-automatic...)
 

lono.jpgl40v.png

 

p8il.jpgrj5r.jpg

 
 
 
- Special GM Commands and special User Commands for the Event (incloudes and special event chat).
 
Admin commands:

  • shooter_menu - shows the admin event menu
  • shooter_advance - advance the event to the next period
  • shooter_abort - cancel the event
  • shooter_reg_log - shows the log of the registred players once the event has started
  • shooter_info - shows the actual configuration of the event
  • shooter_score - shows the actual scores of the event in the different zones (if multiple instance option is active)
  • shooter_eventchat_listen - turn on/off to listen the event chat for GMs

 

vsj3.jpg

 
- GM panel for the Event that changes between the differents periods
 

y4qo0.jpg5r4p.jpg

 
 
- All users can participate although their levels and classes won't be the same. All stats inside the Event are statics (Elemental stats doesn't affect).

 

1nsf.jpg

 
- The Event can be viewed by another players outside the event

 

1z2s.jpg

 
- Scores at the end of the Event

 

27sx.png

 

2weausz.jpg

 

5xlxc5.jpg

 

6xlq.jpg

 

be71.jpg

 
 
Event full configurable:
 

# ---------------------------------------------------------------------------
# Laszlo Events Config
# ---------------------------------------------------------------------------
#
# Be sure you have "CustomNpcTable" and "CustomSkillsLoad" in true values, check your General.properties file.
#
# ---------------------------------------------------------------------------
# Shot The Dog Event
# ---------------------------------------------------------------------------
# Enable Event. Disable for not use.
# Default: true
ShooterEventEnable = true

# Define your event language (htmls and system messages. For skills description use the correct skillname-e).
# Default: english
# Avaiable Options: english, spanish
ShooterEventLang = english

# If it is true, the event will start automatically at scheduled hours, set in "STDEventInterval" values.
# Default: false
ShooterEventAutomatic = true

# Times Shot The Dog will occur (24h format).
STDEventInterval = 16:20,15:45


# If the value is true, the script will create predeterminated instances (max 5) and replace the players in those if ShooterEventParticipantsMaxInstance exceeds the own value.
# NOTE: if the value is false, all the participants will be in the same place. Use true to avoid innecessary aglomeration.
# Default: true
ShooterEventMultipleInstance = true


# Allow the players to see the features of the event in the inscription NPC (max-min players, max-min levels, prizes...)
# Default: true
ShooterEventFeatureView = true


# Num of minimun Participants
# Default: 2
ShooterEventParticipantsMin = 2


# Num of maxim Participants in total.
# Default: 200
ShooterEventParticipantsMaxTotal = 200


# If the value is true, there will be a max-min level for the inscription.
# Default: true
ShooterEventLevelLimit = true
# if you don't want max level limit, write 99
ShooterEventLevelLimitMax = 99
ShooterEventLevelLimitMin = 40


# Num of maxim Participants in each instance. If the num of players exceeds this value, the script will redirect a equal num of players in differents event instances, to avoid inneccessary algomeration
# NOTE: There are max five event instances for this event. Shot The Dog Event works properly if the math relation beetwen ShooterEventParticipantsMaxTotal and ShooterEventParticipantsMaxInstance is 5
# Default: 40
ShooterEventParticipantsMaxInstance = 4


# Reward ID
# Default: 57
ShooterEventRewardId = 57


# Reward Quantity
# Default: 10000
ShooterEventRewardQuant = 10000


# Reward for loser Team. If it is true, it will give a reward to the loser team
# Default: false
ShooterEventEnableRewardLoser = true


# Reward ID for loser Team
# Default: 57
ShooterEventRewardIdLoser = 57


# Reward Quantity for loser Team
# Default: 10000
ShooterEventRewardQuantLoser = 1


# Reward for event ended in Tie. If it is true, both teams will have reward
# Default: false
ShooterEventEnableRewardTie = true


# Reward ID for Tie situation
# Default: 57
ShooterEventRewardIdTie = 57


# Reward Quantity for Tie situation
# Default: 10000
ShooterEventRewardQuantTie = 100


#Inscription time once start announcments (in mseconds)
# Default: 600000 (10 minuts)
ShooterEventInscriptionTime = 600000


#Time to prepare party and skills once the event has started (in mseconds). Can't be inferior than 5.
# Default: 30000 (30 seconds.)
ShooterEventPreparationTime = 30000


#Duration of the Event (in mseconds)
# Default: 600000 (10 minuts)
ShooterEventProcessTime = 600000


#Time that allows the player view the stadistics of the event when it has ended (in mseconds).
# Default: 300000 (5 minuts.)
ShooterEventStadisticsTime = 300000


# Location for Inscription NPCs (3) Event spawn in form x,y,z[,heading]
# Default Giran: 83403,148618,-3404,32049
# Default Aden: 147450,25813,-2012,17681
# Default Goddard: 147685,-55514,-2734,49151
ShooterEventNpc1Coordinates = 83403,148618,-3404,32049
ShooterEventNpc2Coordinates = 147450,25813,-2012,17681
ShooterEventNpc3Coordinates = 147685,-55514,-2734,49151


# Fire Friend (only skills) in Shot The Dog Event
# Default: false
ShooterEventFireFriend = false

Links:

https://mega.co.nz/#!0t1CWT6S!TSUuHQk_NcJMKzyQmghMXkWo2UIIx5IsFh28D7h3Ypk

https://www.mediafire.com/?kirs0m1fwp06988


More Events coming soon!
 
Credits by:
Laszlo's Developers

Edited by kuriku
  • Upvote 1
Posted

you forgot the configs.java :P but seem nc event

Oops, I forgot completly add the file with the mods in existents files in Core and DP side, my fault.

 

But now it's re-uploaded. Thnx!

Posted

Oops, I forgot completly add the file with the mods in existents files in Core and DP side, my fault.

 

But now it's re-uploaded. Thnx!

I forgot i already made them i could send them to you and upload :P 

Posted (edited)

I have a problem.. i add this Event correct, but after start GS and use any skill, char stands still..

anyone help me?

Edited by Hl4p3x
Posted

There are any error missages in the log¿?

Look in core-side, at L2Character.java and be sure you paste correctly the code.

If the problem still exists, paste the full file here.

Posted

There are any error missages in the log¿?

Look in core-side, at L2Character.java and be sure you paste correctly the code.

If the problem still exists, paste the full file here.

No errors in GS... Just my gm char stands still.. I will place the codes again and report to u..

Posted

Well i am using freya and i need to adopt it completely even config.java need adopt for me :D no tested yet.

Me pe8anan ta agglika s .. an katalava kala 8es kapoion na st kanei addapt ?

 

An nai , dokimase mia monos sou kai oti provlima exeis edw eimaste apla kane ena post kai 8a se boi8isoume.

Posted (edited)

Me pe8anan ta agglika s .. an katalava kala 8es kapoion na st kanei addapt ?

 

An nai , dokimase mia monos sou kai oti provlima exeis edw eimaste apla kane ena post kai 8a se boi8isoume.

Ελα ρε εσυ professional θα κοιταξω τα αγγλικα μου στο maxcheaters χα και τι adopt? εγω θα το κανω adopt σε freya και θα το κανω share

Τεκνον μου :P

Edited by WolfGiaS3na
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • I can see that the admins arent taking any action, yet they still seem willing to share information about various other people names and IP addresses. But when it comes to scams, no one reacts.      
    • Server Info Chronicle:  Interlude                                                                                                                                    XP: 100x | SP: 100x | Drop: 50x | Adena: 75x Enchant: Safe +3 |  Max +21 Website: Website Link Discord: Discord Link   WHY? When I was a teenager I had this idea. Build my own Lineage 2 server. My own rules. My own world. I wasn't a programmer. I had no idea how any of it worked. I tried, hit a wall, and quit. But the idea never left. I came back years later. Got further. Quit again. Watched friends try similar things. The idea stayed stuck in my head for fifteen years. I'm a developer now. I finally finished it. Not because I suddenly had more time - I have a full-time job and real responsibilities. An hour before bed if I'm lucky. That's actually exactly why I finished it.   The problem I kept running into I still love this game. But every server I tried as an adult made that one hour feel worthless. Log in, kill a few mobs, make no real progress, log out frustrated. The game was designed for someone with unlimited time. That person doesn't exist in my life anymore. I looked around. Everyone I used to play with has the same problem. Same love for the game. Same lack of time. Jobs, families, maybe an hour late at night. So I stopped waiting for someone else to build it.           WHAT? Custom starting zone in Gludin (up until 2nd profession start) Talent system - rebirth at level 80 and choose your talents Bounty hunter system - daily tasks to kill random monsters to receive great reward! Potion crafting system - custom HP/MP potions and recipes Custom 1st & 2nd class quests (shorter) Scheme buffer Shop until C grade   Visit our website to get more info: Website Link   The philosophy 95% of the game is completely soloable. No clan required. No raid schedules. No guilt when you have to log off. You are the solo director of your own session. Log in, pursue your goal for an hour, log out on your own terms. When you've conquered what you wanted - you stop naturally. A new season drops with fresh Talent Tree changes and you come back to build something completely different. No endless stretched grind. No pay-to-win. No shady admin decisions. No surprise wipes. I'm one developer who built this because I love it.                                          This is the server I needed fifteen years ago. Glad I finally had the skills to build it. Come see what I made. [Forever Lineage]
    • Hello MaxCheaters community! We’ve all been there: you spend months customizing your NPCs, balancing classes, and setting up the perfect farm zones. You launch your server, the hype is real, and suddenly you hit 200 players—and the "delay" starts. The mobs stop reacting, the Olympiad matches stutter, and your players start complaining on Discord. Many "newbie" admins think the solution is just throwing more RAM at the VPS. While hardware matters, Java is a finicky beast. If you don't tune your JVM (Java Virtual Machine) and your core code, you’ll lag even on a NASA supercomputer. Today, I’m sharing a deep dive into optimizing your L2 server for maximum performance. 1. The Myth of "More RAM" The biggest mistake people make is assigning 32GB of RAM to a server that only needs 8GB. In Java, if your Heap size is too large, the "Garbage Collector" (GC) has to work much harder. When the GC runs a "Full GC" cycle on a massive heap, it performs a "Stop-the-World" event. This literally freezes your server threads for 1–3 seconds to clear memory. Recommendation: For a mid-rate server with 500 players, 6GB to 8GB of Xmx (Max Heap) is usually the sweet spot. Use G1GC (Garbage First Garbage Collector) instead of the old ParallelGC. It handles large heaps much more gracefully by breaking memory into regions. 2. JVM Startup Flags (The Secret Sauce) Don't just run java -jar l2jserver.jar. You need specific flags to ensure the CPU prioritizes the right tasks. Try adding these to your start.sh or start.bat: Bash   -Xms6G -Xmx6G -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -XX:+OptimizeStringConcat -XX:+UseStringDeduplication -XX:+ParallelRefProcEnabled -XX:+TieredCompilation MaxGCPauseMillis=50: This tells Java, "Try not to freeze the server for more than 50ms at a time." It makes the gameplay feel much smoother for the end-user. 3. Geodata and Pathfinding Optimization Geodata is the biggest CPU killer in Lineage 2. Every time a mob moves or a player clicks, the server calculates "Can I see this target?" and "Is there a wall in the way?". The Fix: Use a "Pathfinding Cache." If 100 players are running from the Giran Gate to the Luxury Shop, the server shouldn't calculate that path 100 times. Check your Geodata format: Ensure you are using the .l2j or .dat formats optimized for your specific core. If your console is flooded with "Pathfind node limit reached," increase your node limit in the geo.properties file, but be prepared for higher RAM usage. 4. Database Pooling (HikariCP vs. C3P0) If your server freezes for a split second every time someone saves their character or buys an item, your Database Connection Pool is the bottleneck. Most old L2J cores use C3P0, which is outdated and slow. Switch to HikariCP: It is significantly faster and handles "dead" connections much better. Also, ensure your characters and items tables are indexed correctly in MySQL. Running a VACUUM or OPTIMIZE TABLE once a week can prevent those annoying "saving player data" spikes. 5. Network Threading In your server settings, look for "Network" or "Thread" configurations. Usually, you’ll see SelectorThreads and WorkerThreads. Selector Threads: Should be equal to the number of physical CPU cores. Worker Threads: This is where the logic happens (skills, movement). If this is too low, actions will "queue up," creating a delay even if your ping is low. 6. Community Board (BBS) Optimization On MaxCheaters, we love fancy Community Boards. However, if your Buffer or Shop script is poorly coded, it might be reloading the entire HTML from the hard drive every time a player clicks a button. The Fix: Ensure your scripts cache the HTML in the RAM. Reading from an SSD is fast, but reading from RAM is thousands of times faster. Conclusion Optimization isn't a "one-click" fix; it’s about finding the balance between your hardware and your software. Start with your JVM flags, clean up your Geodata settings, and make sure your Database isn't choking on old logs. If you found this helpful, leave a comment or a "Thank You" below! If you have specific lag issues with a certain core (aCis, L2Emu, etc.), post your server.properties and I’ll try to help you tune it.
  • 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..