Jump to content

Recommended Posts

Posted (edited)

Hi everyone.  :)

My first time here, I want to share with you some of my mods... check below!

 

- AIO

A system that transform you into a support, adding skills (buff type) of all other classes.
Different of all others, I did a task that add a character, catch the duration of his privileges and subtract by current calendar in millisecond. Basically every time you enters in game, you're added to the Task list, enabling server to remove the character's privileges at the exact moment of his duration.
 
- Pvp Color/Skill
A system that apply name/title color, also add some skills (not stored in db but re-added on every subclass change) by winning pvps, with the possibility to change any value without core support.
The great point is that the system is made using XML, so you can put infinite lines with your chosen values.
New XML added to handle rewards during pvps (for killers). You can edit item id/count and chance to gain the reward.
 

 - pvp_color.xml

<?xml version='1.0' encoding='utf-8'?>
<list>
       <!-- 
              No limit for templates. If you want to edit or add new templates, do it by copying a line and replacing values.
              Listed values below are used for examples.
       -->
       <template pvpAmount="100" nameColor="FF9900" titleColor="FFFF77" skills="3206,10;"/>
       <template pvpAmount="200" nameColor="FF99FF" titleColor="FFFF77" skills="3156,1;"/>
       <template pvpAmount="300" nameColor="00FF00" titleColor="FFFF77" skills="3157,1;"/>
       <template pvpAmount="400" nameColor="00FFFF" titleColor="FFFF77" skills="3147,1;"/>
       <template pvpAmount="500" nameColor="FFFF00" titleColor="FFFF77" skills="3158,1;"/>
</list>
 
pvp_reward.xml
<?xml version='1.0' encoding='utf-8'?>
<list>
       <!-- 
              No limit for templates. If you want to edit or add new templates, do it by copying a line and replacing values.
              Listed values below are used for examples.
       -->
       <template itemId="57" itemCount="1000" chance="0.7"/>
</list>

 

- Raid Boss Info

A system that shows to characters status/drop list of raid/grand boss.

A new class was created to load grandboss_data/raidboss_spawnlist tables and insert respawn time values inside a Map. This Map is updated every time a raid/grand boss dies or be spawned.

 

Aol9kza.jpg

 
Name Change (new)
An item that changes the name of the character.
Don't worry, we made checks on retail conditions, as 16-character limit, ...
Remeber, you have to set an item to be the handler of Name Change. You can do it by adding <set name="handler" val="NameChange" /> on XML of the item.
 

sm1Tacr.jpg

 
I provide support only for aCis.
Here is my pastebin with the diffs for aCis 350: http://pastebin.com/u/Kraker
 
Credits: Kraker
 
I'll continue updating the topic in next days.
I hope you enjoy.
Edited by Kraker
  • Upvote 3
Posted

Raid Boss Info added.

Read main post for more info.

sorry but i think double post isn't allowed...

you can just edit your main post with Updated : Raid Boss Info added.

Read main post for more info. e.t.c

Posted

sorry but i think double post isn't allowed...

you can just edit your main post with Updated : Raid Boss Info added.

Read main post for more info. e.t.c

Stfu dude.

Keep it up man. Nice shares ^^

Posted

You can improve pvp color/skill thing with:

- Gain item on x pvp points

- Not only pvp, but x PK required for rewards

- Hero glow

 

You should make any of those: nameColor="FF9900" titleColor="FFFF77" skillId="3206" skillLv="10" as not required.

Also before final L2Skill skill = SkillTable.getInstance().getInfo(pvpColor.getSkillId(), pvpColor.getSkillLv());, you should make if(pvpColor.getSkillId() > 0)

In pvpColor() you should make broadcastUserInfo(); after the loop, so if someone gets many bonuses at once there will be no spam of that packet.

 

 _log.warning("Exception: PvpColorTable load: " + e); - you should always put also 2nd argument e. Like this: _log.warning("Some message about the error", e);. It's good to do this, because if exception will occur, your warning will not show line and stack trace of the error.

 

I hope you don't mind, that i tell you code could be better.

Posted

vampir, you're completely right.  :) 

I'll improve Pvp Color/Skill with some new features today.

My bad sending packets inside the loop. >.<

 

Thank you all for the welcome.

Posted (edited)

Pvp Color/Skill updated!

- Skills can be used more than 1 time per template

- 2nd XML added to handle rewards

Edited by Kraker
Posted (edited)

Pvp Color/Skill updated!

- Skills can be used more than 1 time per template

- 2nd XML added to handle rewards

 

Why would you create 2 XMLs, when you can nicely mix them into one? and that config for enable/disable is useless.

Edited by Trance
Posted

Why would you create 2 XMLs, when you can nicely mix them into one? and that config for enable/disable is useless.

 

I prefer separated for my organization style.  :P

About the config to enable/disable, it isn't useless cause if disabled, you evade the usage of RAM to read all the code every time you get pvp point or change a subclass.

  • 2 weeks later...
  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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

    • The hardest part for anyone is to reverse engineer your server but you're handing the code out for free. At that point, there's no real challenge.   you want facts?   public function __construct(?int $userId = null) { if ($userId == null) { return $this; } // you know that constructs does not return values in php?   🤏just 1 file bad code.   you want to be hacked? show your customers websites that run that code 167.235.*.* api.spherewe***** stop writing chatgt, and dont challenge me again i tried to help you, but if you want me i can share everything even guide users how to hack every client you have even your server
    • L2 PVPTOP - HTML DESIGN    
    • Do not trust this guy, he will scam you. I have sent proof to the mods, I have posted proof on another thread and I can send proof to anyone who DMs me. Avoid this guy. So not only did he scam me out of $51 USDTthen delete his messages and blocked me (I have proof) . You can see his Facebook group is constantly changing names depending on his most current scam. If you see this message and you still decide to go forward with sending your money to him, that’s on you. I can’t stress this enough. This guy is a scammer. 
    • So Goldbar thinks that deleted his side of the conversation makes it easier to claim he didn’t scam me. But I sent him $51 USDT to his ERC-20 account it was verified, he acted like it was fine but then deleted his messages and blocked me. Seriously do not trust this guy. 
    • Hi everyone, let me introduce myself—I'm Martin, a junior developer. I'm diving into the world of L2 servers, and honestly, I'm super overwhelmed about where to start learning the right way to set up, configure, and run a server. There are so many datapacks—free, private—but it's so much that my head feels like it's going to explode. I'm currently looking for someone or an active project willing to take me on as an intern. I'm not looking to make money—I'm just here to learn and grow out of pure passion for L2. I've already been working with L2jMobius H5. I managed to edit the Community Board, add a buffer, GM Shop, and teleports. I've also created custom NPCs for the GM Shop, and imported new custom weapons and armors—complete with original glow effects, like the Valakas and Antharas weapons. But there's still a lot I don't know, and it can get overwhelming. That’s why I’m looking for someone—or an active non-profit project—willing to take me on as an intern. I’m not looking to make money; I just want to learn, contribute, and grow out of pure passion for L2. If you’re working on a project and could use a motivated learner who’s eager to help, I’d love to connect!
  • Topics

×
×
  • Create New...