Jump to content
  • 0

[REQUEST/HELP]Vote Reward Engine


Question

Posted

Hi all, i need a vote reward engine !

 

I see 3 exemples of them ...and dont work for me ( maybe That Work but i cant adapt it for work on l2js ) !

 

L2js have the code alitle difrent from l2jserver!

u can see here (com.l2js) :

Config.java

and here (com.l2js.mods) :

ConfigCustom.java

 

the razon for the code no work  i will show, that part of code i need add them on ConfigCustom.java :

HOPZONE_REWARD_CHECK_TIME = Integer.parseInt(elcardia.getProperty("HopzoneRewardCheckTime", "5"));

                String HOPZONE_SMALL_REWARD_VALUE = elcardia.getProperty("HopzoneSmallReward", "57,100000000;");

                String[] hopzone_small_reward_splitted_1 = HOPZONE_SMALL_REWARD_VALUE.split(";");

                for (String i : hopzone_small_reward_splitted_1)

                {

                String[] hopzone_small_reward_splitted_2 = i.split(",");

                HOPZONE_SMALL_REWARD.put(Integer.parseInt(hopzone_small_reward_splitted_2[0]), Integer.parseInt(hopzone_small_reward_splitted_2[1]));

                }

i need adapt the red line to " getBoolean(properties, "

and green line to " getString(properties," << maybe i'm not sure

 

but after i try adapt the code ...other error, on:

 

public static int HOPZONE_REWARD_CHECK_TIME;

public static Map<Integer, Integer> HOPZONE_SMALL_REWARD = new FastMap<Integer, Integer>();

public static Map<Integer, Integer> HOPZONE_BIG_REWARD = new FastMap<Integer, Integer>();

public static int HOPZONE_DUALBOXES_ALLOWED;

 

i know, i need import map or fastmap ....somethink like this ...

 

after like +/- 6h trying adapt that code, i'm pure crazy ...

 

soo i come here to request help from u guys !

 

i just need the config.java / ConfigCustom.java for the code work ( i think ) and after that maybe that work witch the new hopzone website.

 

 

why i use l2js? just becose the server runs more fast.  ( i have the last synchronization with l2jserver made my be ) but u can still can help me witch that svn : http://subversion.assembla.com/svn/L2jSProject/trunk/

 

help me pls guys !

7 answers to this question

Recommended Posts

  • 0
Posted

use search, 03894093804 peeps daily asking for the same thing.

 

 

Locked.

 

 

 

-Unlocked, he add propper info to his rq.

  • 0
Posted

its so simple ! i use all vote reward systems and no one work with the new hopzone website ...and i still want a auto-reward for x votes ....ahhh and for free ....

 

 

 

 

damn i will start a server witchout auto-vote reward and  my server will fail

  • 0
Posted

auto vote reward isnt key to success :)

If website changed, that mean Java code is reading Vote Number from wrong place, u will need to correct that. Find line of code that reads hopzone website.

Guest
This topic is now closed to further replies.


  • Posts

    • just with this extender that I have shared it is not possible to start with c4 client, you have to make some changes to the extender and it works with c4 client perfectly. regarding the updates in this last revision   🔹dll is not packaged with vmprotect   New custom zone types have been added: 🔹 NO_NOBLESS begin MinX=84638 MaxX=92616 MinY=-87170 MaxY=-82018 MinZ=-6000 MaxZ=0 Type=NO_NOBLESS KickOutPos=83007/148057/-3464 end   ▶️ This zone checks if the character is noble. If it does not meet the condition, it will be automatically kicked to the indicated position (KickOutPos). 🔹 CUSTOM_SPAWN_ZONE begin MinX=77275 MaxX=85704 MinY=10122 MaxY=18066 MinZ=-8000 MaxZ=5000 Type=CUSTOM_SPAWN_ZONE OutPos=83007/148057/-3464 Spawns={{82984/18066/-5256}};{{79275/15147/-5248}};{{82922/14263/-5256}};{{83704/10122/-5288}} end ▶️ This zone allows characters, upon death, to respawn with full buff, CP, HP and MP if they press “Fixed”. They will only be able to revive in one of the positions defined in Spawns. 🔧 Both zones are fully configurable from territorydata.txt
    • Could you tell me what changed in this update?   more one question: Is it possible to log in through the c4 client instead of interlude? That would be great  
    • ➡ Discount for your purchase: JULY2025 (11% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • ➡ Discount for your purchase: JULY2025 (11% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
  • Topics

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