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

I have seen in a lot servers that vote reward goes to one account each IP and the dual boxes doesnt recieve reward. So it is posible.

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

  • 0
Posted

I told u i am not so pro, i dont know what i suppose to do ur link. I didnt understand what i have to make and what that maps would help for...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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