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

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

    • Thanks for the collection and the free advertising! These files have been in the public domain for a long time — you just saved people the trouble of searching. A true fan. 😄 Just to clarify for everyone reading: these files have nothing to do with this topic. They are 10+ year old builds, and since various third-party modifications exist in the wild, we cannot guarantee what may have been added or changed in those versions. Use them at your own risk. If you're interested in our older builds, we have a dedicated thread for that with significantly reduced prices — very accessible for any budget. We have also recently resumed full technical support for legacy builds, handled by a separate team that doesn't interfere with our private development direction for larger projects. You can find our legacy builds here: OLD packs L2-scripts original Our current private sources are a completely different story — which is exactly what this thread is about. Too bad all your time goes into collecting other people's old code instead of developing your own project. Though judging by "L2MID is currently offline, we will come back soon in 2026" — you clearly have plenty of time on your hands. 😉
    • SHARED alreaxy! Are these files yours? https://fex.net/ru/s/kdop2z4
    • You asked for examples of coping projects, we provided them, you asked for feedback from our clients, some of them wrote their reviews on the same mmodev, what else can I prove to you? you just asked your friends from mmodev to write nasty things, they have never been our customers and never will be, because they are used to downloading only free products and hacking it. You just don't respect the work of others, this is the conclusion that can be drawn from your inflammatory topic on mmodev, where there are many people who once could not buy our assemblies or whom we kicked out of work or for some other reason. But you are completely wrong and you are behaving very lowly. But let it be on your conscience. Good luck, keep busy with your project, and don't interfere with others.
    • I will never use L2J as the basis for my project but what i saw in MMODEV was enough for me. GL    
    • Very nice work, once you start it's addictive and there's no stopping to it right ? Try to make your LLMs act like an agent in a loop and give them tools (functions to call shout, whisper, invite to party, invite to clan, goto target, assist, pass command) Give them a vector based memory Use a situational score based system for skill selection by priority. The sky's the limit  https://imgur.com/a/H6FdBpT This is me and my clan of AI's in my server.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..