Most visitors online was 8830 , on 6 Feb 2024
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!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 line in 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 line in 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.