Jump to content

[Share]One solution For corrupt GMs(healing their chars)


ZnX

Recommended Posts

### Eclipse Workspace Patch 1.0

#P datapack_development

Index: data/scripts/handlers/skillhandlers/Heal.java

===================================================================

--- data/scripts/handlers/skillhandlers/Heal.java (revision 7680)

+++ data/scripts/handlers/skillhandlers/Heal.java (working copy)

@@ -136,6 +136,13 @@

double hp;

for (L2Character target: (L2Character[]) targets)

{

+ if (activeChar.isGM() && !target.isGM())

+ {

+ activeChar.abortCast();

+ activeChar.sendMessage("You can't heal a Non GM player!");

+ return;

+ }

+

// We should not heal if char is dead/invul

if (target == null || target.isDead() || target.isInvul())

continue;

 

 

checked on l2j epilogue working perfect

Link to comment
Share on other sites

If you(admin) have on your server gm like those,it's your fault to trust them from the begin.

And if are really corrupted ,this will not stop them :>

that's why ~>

Crappy and shitt1 idea....

Link to comment
Share on other sites

only one thing... If a player have a skill/buff that becomes his status invulnerable? (like orc/bishop skill) it will get healed anyway?

 

I think there ways to refine this...

 

Anyway thanks for sharing, good gain gm friendships jejeje ^_^!

Link to comment
Share on other sites

Come on guys.

He just shares.Why so much negativity everywhere?

At least,appreciate the time he spent to make that or find it.

 

Link to comment
Share on other sites

Come on guys.

He just shares.Why so much negativity everywhere?

At least,appreciate the time he spent to make that or find it.

 

Yes we appreciate it,

but we are free to post our comments,anyway

Link to comment
Share on other sites

Yes we appreciate it,

but we are free to post our comments,anyway

Providing that you will show respect to what he's done,and this is not respect.
Link to comment
Share on other sites

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

    • Hello if anyone is looking for interlude server with free bot, no P2W and uniques features I can recommend freshly opened https://l2romans.com/features/, great server for chilling and having fun with friends casually. Everyone is welcomed
    • So excited to announce 3x Telegram Premium (6 months)   Join our official TG and participate to win!   Asocks.com - trusted proxy service providing mobile and residential proxies with a single price of $3 per 1GB   A huge locations pool and high speed will help complete all tasks    
    • Well, sorry not sorry for resurrecting old topic, but I believe it's ultimately stupid to implement license checks like Vilmis did 🙂   private static String url = "jdbc:mysql://185.80.128.233/" + getData("Zm9ydW1fZGI="); private static String username = getData("bXJjb3B5cmlnaHQ="); private static String password = getData("Y29weXJpZ2h0XzEyMw=="); con = GlobalDB.getInstance().getConnection(); PreparedStatement statement; statement = con.prepareStatement("SELECT field_6 from core_pfields_content WHERE member_id = ?"); statement.setInt(1, Config.FORUM_USER_ID); ResultSet rset = statement.executeQuery();   This awesome way of coding things leaves us with base64-encoded credentials and DB exposed and accessible globally 😉 Btw he checks his licensing data from some plugin generated table his forum uses. Vilmis took action and ensured that mrcopyright user would have only needed accesses and rights for this operation. But he forgot to ensure that his INFORMATION_SCHEMA database would not be exposed and readable... That leads us to fully readable server variables like version used (10.1.26-MariaDB-0+deb9u1 - pretty ancient DB and OS, I'd assume). From here you can go south and do some kinky stuff, if you want and have knowledge for that. But who cares, right?   Ooh, table core_pfields_content field_6 is IP address which is checked by FORUM_USER_ID. Yep, you can query all IP addresses there (124 of them right now) and also do whatever you want with them! 🙂  The most fun part? Files source has been shared what, more than 2 years ago?  Vilmis still uses very same credentials and never changed it after sources exposure - who cares. Although, "sources" may be way too strong word here. If anyone still use paid Orion versions, I'd suggest packing your shit and leaving immediately, or at least fix this incompetent fool caused problems. It's obvious Vilmis don't care or maybe doesn't even know from the first place how to solve this problem (hint hint - tiny PHP Rest API microservice which would do absolutely the same but without exposing sensitive data?). By doing that, he exposes his infrastructure and YOUR data, and he does that for more than 2 years now 🙂 Developer of century!    
    • rename the l2.bin into l2.exe
  • Topics

×
×
  • Create New...