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

    • To use this exploit you have to:   1) Have access to the castle vault, aka you have to own a castle. 2) Send through Adrenaline Engine.BypassToServer(Bypass) as emommy said 3) In the crafted packet you will put a negative amount eg -100000000 What this does is it multiplies it by -1 so it becomes positive. 4) You won't see anything in your inventory, but if you open the castle vault through the Chamberlain you will see that the warehouse now has 10000000 adena. The negative became positive. 5) Withdraw the adena normally and you now have all the adena you need.   I wouldn't bother explaining how to do it, but this idiot (Galagard) wanted to challenge me. And from what I can see, they haven't patched the exploit even if I reported it to them a week ago so it's obvious that people will start sharing it around.   Maybe I should start positing here instead of the official channels.   All public versions of L2JMobius for all chronicles are vulnerable and not patched yet.   And thanks to this idiot (Galagard), everyone now knows.   Baldurian. EDIT:    Ok I just got informed that Mobius decided to accept the fix in the public repo.   So I will now post a proof of the exploit as Galagard requested. Normally I don't do so, but my good friend Galagard who has his nose so far stuck up his asshole, insulted me, and challenged me to show proof:     And to be fair to everyone, this is not an L2JMobius issue as the thread claims. It's L2JServer leftover, so if you have L2JServer derivative packs, you should patch too. 
    • Already fixed in subscriber version, but this bug report is classified as "Invalid" because since the author did not explain the method in detail, the validation flaw does indeed exist—but that alone does not prove it is possible to duplicate adena or any other item by exploiting said flaw. It looks like yet another AI hallucinating a vulnerability, then deducing that it could be used to exploit a different vulnerability. No have proofs in video or a detailed way to reproduce the potential failure Go find something else to do, Baldurian; you don’t even know how to exploit the flaw you reported yourself.
    • Interface sources for P196 (Secret of Empire 2 or aka Fafurion) for Main/Classic. This protocol is commonly used for classic interlude. You can use the xdat editors which support this protocol from my other shares.   NWindow + Interface UC + L2Editor Compiler   Download  
    • Interface sources for P166 (Secret of Empire 1) for Main/Classic. This protocol is commonly used for classic interlude. You can use the xdat editors which support this protocol from my other shares.   NWindow + Interface UC + L2Editor Compiler   Download  
    • You can manually send the bypass (if this is a bypass not a packet function) using:   Engine.BypassToServer(Bypass); Click the red circle to record game actions (it should capture bypasses) and then you can manipulate it as such with a simple script begin Engine.BypassToServer(Bypass); end.  
  • 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..