Jump to content

VideoCopilot

Members
  • Posts

    91
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by VideoCopilot

  1. Tessa i just try spawn mob at the position of the player isnt that code right?
  2. Hello i made an event and i try once the player go there and transform after this the mobs spawn or npc's whatever and i use this code: public List<L2Spawn> _MonsterSpawn = new FastList<L2Spawn>(); private int[] mobs={ 21162, 21253, 21184, 21205, 21163, 21254, 21206, 21185, 21255, 21207, 21165, 21186 }; public static L2Spawn _mobsSpawn; . . . . . . . private void spawnGuards(final EventPlayer player) { L2NpcTemplate tmpl = NpcTable.getInstance().getTemplate(mobs[Rnd.get(0, 11)]);// ID do mob try { _mobsSpawn = new L2Spawn(tmpl); _mobsSpawn.setLocx(player.getX() + Rnd.get(650) - Rnd.get(350) + Rnd.get(150)); // loc x _mobsSpawn.setLocy(player.getY() + Rnd.get(650) - Rnd.get(250) + Rnd.get(140)); // loc y _mobsSpawn.setLocz(player.getZ()); // loc z _mobsSpawn.setAmount(1); _mobsSpawn.setHeading(0); _mobsSpawn.setRespawnDelay(150000); _mobsSpawn.setLocation(0); _mobsSpawn.setInstanceId(player.getInstanceId()); _MonsterSpawn.add(_mobsSpawn); _mobsSpawn = null; } catch (Exception e) { System.out.println("Error in event"); } } private void transformPlayer(final EventPlayer player) { player.setNameColor(255, 0, 0); player.transform(303); player.setStatus(1); untransformMutant(); player.broadcastUserInfo(); mutant = player; spawnGuards(player); } So player transform but mobs no spawn... I though maybe is because inside the event engine where player.teleToEventArea(); is instance and yes it was so i used _mobsSpawn.setInstanceId(player.getInstanceId()); to be in same instance with player but still i cant see them or i dont see if they spawn... (ps no errors in GS)
  3. So xdem is at net cafe ;D ? no internet at home :3 ?
  4. no need apologize for your english lol :D i just i find this useless cause already shared many times i didnt say its not yours
  5. I don't get it, no to be rude but 1st this code has been shared 5000 times 2nd is very easy why guys share those stuff to earn reput?
  6. Well added scheduleGeneralAtFixedRate(new Runnable for KnownPlayersInRadius and it works fine but i really dont know if it affect a lot the fact that it check every 0.5 seconds
  7. is there any way to add me on skype cause i messed up now with threadpool -.- ? if you can i really appreciate skype: unst0ppabl32
  8. public class CheckCouple { public static CheckCouple getInstance() { return SingletonHolder._instance; } public CheckCouple() { } @SuppressWarnings("synthetic-access") private static class SingletonHolder { protected static final CheckCouple _instance = new CheckCouple(); } } Something like this? and add it on gameserver so inside public CheckCouple() { } you add the check and it worke ach time a player with class enter inside the region arround you for knowncharacter u put ?
  9. Yes i made the code already what i want to do the point is in which file i add it in L2PcInstance but where? in which class?
  10. Thanks for answers btw, for (final L2Character obj : activeChar.getKnownList().getKnownCharactersInRadius(skill.getSkillRadius())) this where should i add a line like this? to do the check up and inside and if (if player.getClass() == bla bla )
  11. You mean threadpool ? every 1 seconds? ye somehow is heavy :/ any chance to do this with passive skill? that affect area or knownlist does not require threadpool :? Ps. i got it something like for (final L2Character obj : activeChar.getKnownList().getKnownCharactersInRadius(500())) but where should i add this line i mean in which file to do the check?
  12. Hello i was about to make a code that check if a duelist come close to you to do something like reduce his speed or whatever and i saw the codes and there is no such a file to do live check if player come close to you and i end up with passive skill but still i cant understand how Passive skills work So to make a new passive in Freya and make a check if player class is X or generaly a check and make the passive work how this should be? Thanks in advance
  13. Devlin is ready to cry :DDDDDDDDD *grabs pop corn*
  14. Solved beause im legendary (and Maxtor is noob :P )
  15. Can you add me on skype plz really is need... missing details skype: unst0ppabl32 Please sir... i really appreciate
  16. I just changed Externalhost = XXX.zapto.org but still it say 127.0.0.1 in logs >.>
  17. Ye i did.. add my www.whatismyip.com only in ExternalHost = and same..
  18. Anyone know how to make it online? i mean generaly Lindvior packs has no ipconfig.xml it has only server.ini but in externalhost = ??? whenever i put my online or DUc ip in console says registered gameserver as 127.0.0.1 always... where u change to online IP?
  19. Hello im trying to make L2 mobius online using the server.ini chaging the ip to my online ip but still gameserver says registered as 127.0.0.1 where u change the IP ? there is no ipconfig.xml .. # IP on which gameserver binding, * - for all possible GameserverHostname = * GameserverPort = 7777 # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname ExternalHostname = 178.128.108.51 # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname InternalHostname = 178.128.108.51 # Address and Port for loginserver LoginPort = 9014 LoginHost = 127.0.0.1 LoginUseCrypt = True
  20. Καλησπερα εβαλα το L2Mobius(lindvior) και δεν εχει ipconfig.xml παρα μονο server.ini αλλαξα την IP # IP on which gameserver binding, * - for all possible GameserverHostname = * GameserverPort = 7777 # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname ExternalHostname = 178.128.108.51 # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname InternalHostname = 178.128.108.51 # Address and Port for loginserver LoginPort = 9014 LoginHost = 127.0.0.1 LoginUseCrypt = True αλλα στο gameserver παλι λεει registerted as 127.0.0.1 ... τι παιζει?
  21. Add me on skype 1 sec plz i want share u screen to see something Skype: unst0ppabl32 Thanks. waiting
  22. So if you want to open a server with this chronicle you need send them hosts :P ?... how idiot thing is this... Lineage 2 fucked up
  23. Ye but guys lets pretend i want a friend join in my server... i won't send hosts file ... for god sake.. how Ertheia working cause even official is using 127.0.0.1 in l2.ini so somewhere else their IP or Duc should be... btw in host i dont have any ip's is empty.. soo any file that contain the IP i have to change into my www.whatismyip.com in order to my friend join? Thanks :3
  24. Hello im using L2J Ertheia chronicle and server i changed the l2.ini to my localhost but still it connect to the OFFICIAL L2 Ertheia server.. How they made it? Which file you change to your ip.. thanks a lot!
×
×
  • 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