Jump to content
  • 0

Vote Reward problem


LoyLoy

Question

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?

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

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

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