protected int getVoteWinner()
{
int old = 0;
HashMap<Integer, Integer> temp = new HashMap<>();
for (int vote : votes.values())
{
if (!temp.containsKey(vote))
temp.put(vote, 1);
else
{
old = temp.get(vote);
old++;
temp.getEntry(vote).setValue(old);
}
}
int max = temp.head().getNext().getValue();
int result = temp.head().getNext().getKey();
for (Map.Entry<Integer, Integer> entry : temp.entrySet())
{
if (entry.getValue() > max)
{
max = entry.getValue();
result = entry.getKey();
}
}
votes.clear();
temp = null;
return result;
}
How do I solve this problem? Use aCis 350, replaces FastMap with HashMap and is giving this error.
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.
@Hitcher what i found is that rates from MyExt64.ini are somehow ignored.
For example, if i set:
in L2Server.ini
[event]
adenaamount=0
itemrate=0
spoilrate=0
exprate=0
aiadenarate=0
aiexprate=0
and in MyExt64.ini
[rate]
; Adena rate
AdenaRate = 1.0
; Drop rate
DropRate = 1.0
; Spoil rate
SpoilRate = 1.0
; RB drop rate
BossDropRate = 1.0
; Herb drop rate
HerbRate = 1.0
; For highrate servers turn this on, lowers drop for mobs lvl 19- so you don't get 40 small shields
FixupLowLevel = false
; Items that are not affected by rate change
IgnoredItems = 6656,6657,6658,6659,6660,6661,6662,8191
; Whether dump drop/spoil to a file in DUMP folder
Dump = false
; Seal stone amount rate (multiplier)
SealStoneAmountRate = 1.0
The rates from MyExt64.ini are ignored.
Does anyone know what is the issue here?
I've also tried with the below setting as i read somewhere that 100 would be 1x
[event]
adenaamount=100
itemrate=100
spoilrate=100
exprate=100
aiadenarate=100
aiexprate=100
However, when i set this, the exp/sp/adena is somehow 3x in-game.
I've tested with killing 1 gremlin with lvl 1 char and the exp and sp is x3 the amount in acquire_exp_rate=382.07 acquire_sp=26.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Question
L2shaken
http://imgur.com/a/KJwdY
How do I solve this problem? Use aCis 350, replaces FastMap with HashMap and is giving this error.
Edited by L2shaken17 answers to this question
Recommended Posts
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.