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...

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


×
×
  • 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