Jump to content
  • 0

Vote Reward problem


Question

Posted

I have a vote reward on my srv (on 10 votes i give 2 mouse coins) (freya cilent) but they take all players and their bots (dual box etc) and i limit the boxes and each IP can log with 2 acc only. But some internet cafes have prob with that and they cant log more than 2 players.

 

 

So i want to make my vote reward to go only in one account each IP. How can i do it?

9 answers to this question

Recommended Posts

  • 0
Posted

you cant do anything about the problem with nets... you have to choose no dual box and only 2 players in net or dual box and unlimited players in nets :(

  • 0
Posted

There is plenty of ways to do it, for example create new FastMap<String, L2PcInstance> containing players which may receive reward.

 

Map kay would be player acc name.

 

How to put those lucky guys there? Iterate players from L2World, and inside for loop put check

 

if map contain such kay (player acc in this case) do not add in Map.

 

And after that iterate for this map, reward for players (from this map)

 

Really simple.

  • 0
Posted

I didnt understand what to do, i am not so pro :/ .

 

Do u have any Freya script (i dont use eclipse) with that feature to give me? I think u can set it in the script too.

 

Or if u dont have tell me from the start what to do i mean step by step :P.

 

 

Remember i want vote reward to goes only on 1 cilent per PC. (not in dualboxes etc.)

  • 0
Posted

I gave you clear description about how to do it, we are not giving ready sources, some own effort is important aswell.

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
Answer this question...

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