Jump to content

Recommended Posts

Posted (edited)

Deleted all my shares a while ago but wanted to leave this one here because there are people selling this stupidly simple code.

 

It's command based individual vote reward for Hopzone, Topzone and Network.

 

Commands are .votehope, .votetop and .votenet.

It is secured on both the account level and the IP level so it's as protected as it gets without adding HWID.

 

It can be easily converted to a NPC based one.

 

Code: https://gist.github.com/Elfocrash/a5ba37666dd9c4d3f9a9ec022301930c

 

Link for gson 2.6.2 https://repo1.maven.org/maven2/com/google/code/gson/gson/2.6.2/gson-2.6.2.jar

 

Edited by Elfocrash
  • Like 2
  • Upvote 1
Posted
1 hour ago, baksteen said:

Just pick a random one from topzone/netowkr?

Like you can 'guess' any server API of top/hop-zone. Network requires only profile name tho.

  • 2 weeks later...
Posted

says to go on java/net/sf/l2j/gameserver/model/actor/instance/Player.java

 

but i dont have Player.java on frozen

 

where should i add the codes from player.java?

Posted

@KIDutz This code refers to Java pack , it needs to be converted into Frozen one.

P.S. If any1 is willing to convert it, i would appreciate it.

P.S.(2) Elfocrash thank you for your great work and contribution.

  • 2 weeks later...
Posted

Hi and thx but how inser my server here 

 

        return String.format("https://api.l2topzone.com/v1/vote?token=%s&ip=%s", getApiKey(), player.getIpAddress());

 

thx in advance!

  • 2 months later...
  • 1 year later...
  • 1 month 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.

×
×
  • Create New...