- Joined
- Dec 21, 2008
- Messages
- 12
- Reaction score
- 0
Wow this is amazing O_O I've never seen anything else like it. It still sucks if you have someone in your map and they just kill monsters that you haven't gotten to yet though.
is this related to moongrams's work ? i heard they had their antiks system too![]()
is this related to moongrams's work ? i heard they had their antiks system too![]()
I should be the one asking you, to me you are being stupid when you say yourself a pro and feels that you are 90% better than the community.
Does this works for anyone else? I implemented and It didn't work, activated AntiKS but They can still KS. Might be i added wrong, but Anyone tested yet?
if (monster.getBelongsToSomeone() && monster.getBelongsTo() != player.getId() && !player.isGM()) {
player.dropMessage("You cannot hit this monster because it belongs to someone else.");
continue;
}
if (player.getAntiKS() && antiKS < 3 && monster.getCanBelong() && player.getNumAntiKSMonsters() < 10) {
monster.setBelongsTo(player);
antiKS++;
}
lookie at the first linein case you tested it on a gm account
PHP:if (monster.getBelongsToSomeone() && monster.getBelongsTo() != player.getId() && !player.isGM()) { player.dropMessage("You cannot hit this monster because it belongs to someone else."); continue; } if (player.getAntiKS() && antiKS < 3 && monster.getCanBelong() && player.getNumAntiKSMonsters() < 10) { monster.setBelongsTo(player); antiKS++; }
honestly i don't have a test character, i implemented it but never really tried it. Ill look into it now
public boolean getBelongsToSomeone() {
return belongsTo != -1 && endBelong < System.currentTimeMillis();
}
public boolean getBelongsToSomeone() {
return belongsTo != -1 && endBelong > System.currentTimeMillis();
}
lookie at the first linein case you tested it on a gm account
PHP:if (monster.getBelongsToSomeone() && monster.getBelongsTo() != player.getId() && !player.isGM()) { player.dropMessage("You cannot hit this monster because it belongs to someone else."); continue; } if (player.getAntiKS() && antiKS < 3 && monster.getCanBelong() && player.getNumAntiKSMonsters() < 10) { monster.setBelongsTo(player); antiKS++; }
The way I saw the situation, the system wasn't working (the message would be, one way to check if its working), and he told the other person who didn't have it working to check if they were on a GM. So it would make sense if it didn't work, in case they were GM.Please learn what an Operator is...
!player.isGm() is checking to see if they are NOT a GM. So, that message would only show up if they were not a GM.
The way I saw the situation, the system wasn't working (the message would be, one way to check if its working), and he told the other person who didn't have it working to check if they were on a GM. So it would make sense if it didn't work, in case they were GM.
Of course that wasn't the case.