Jump to content

andy1984

Members
  • Posts

    43
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by andy1984

  1. final Player tmp = getClient().getPlayer(); final Party party = tmp.getParty(); if (tmp != null && party != null && party.equals(_player.getParty()) && !party.isLeader(_player)) writeC(0x01); // team circle around feet 1= Blue, 2 = red else if (tmp != null && party != null && party.equals(_player.getParty()) && party.isLeader(_player)) writeC(0x02); // team circle around feet 1= Blue, 2 = red else writeC(_player.getTeam().getId()); this is for red and blue. Also broadcastCharInfo in Party/Disband, Leave and you are good. for different colors im not sure if its possible.
  2. Hello MxC! Today i noticed a weird bug on my vote manager. On first interact with the npc it shows completely wrond date for the next vote. The code is this If i click again on the npc then everything is correct. Check images Below: First Interact: Second Interact Npc class = public class VoteManager extends Npc Any clue? Fixed. Lock it
  3. Link is dead. Can re upload? it seems a very useful tool
  4. I allready tryed it. Its always the same. Even when you login a normal character always is heading to the east.
  5. Hello again! I found something that is bothering me a lot on this system. When i spawn the npc and no active winner to show his monument the heading on npc is fine. When a winner exist and his monument spawn, heading is always to the east. i tryed to change is in the serverpacket and made it even static number to check and nothing happened. Any clue?
  6. no. Im stupid. fixed. public void setPolymorphInfo(CharSelectSlot polymorphInfo) { _polymorphInfo = polymorphInfo; for (WorldObject object : getKnownType(Player.class)) { if (object instanceof Player) { sendInfo(object.getActingPlayer()); } } } its not Object its WorldObject. There are more to fix. I will update the patch when im done for anyone interesting https://pastebin.com/MdMQdEwe
  7. Hello MxC! I am trying to adapt a event that every day will spawn a npc with the outfit of the top player. I managed to add the patch that i found but on aCis 401 that im using a lot of things are changes. I dont have any error but the npc doesn't appear as it has. here is the patch for what i did. https://pastebin.com/nnpTSaJ9 I think the problem is on this lines + public void setPolymorphInfo(CharSelectInfoPackage polymorphInfo) + { + _polymorphInfo = polymorphInfo; + + for (L2Object object : getKnownList().getKnownObjects()) + { + if (object instanceof L2PcInstance) + { + sendInfo(object.getActingPlayer()); + } + } + } this is from an older acis pack. I did it like this: public void setPolymorphInfo(CharSelectSlot polymorphInfo) { _polymorphInfo = polymorphInfo; for (Object object : getKnownTypeInRadius(Player.class, 2000)) { if (object instanceof Player) { sendInfo(((Player) object).getActingPlayer()); } } } if anyone can help i will apreciate it
  8. Hello MxC! How can i change the window that opens when you hit the button that appears when you received an email? Where can i find this?
  9. there is no 398 or 399 revision there. from 382 is going to 401.
  10. Hello MxC! Is there any link for a clean aCis 398 or 399 revision?
×
×
  • 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