VideoCopilot
Members-
Posts
91 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by VideoCopilot
-
Help Spawn Mobs On Event
VideoCopilot replied to VideoCopilot's question in Request Server Development Help [L2J]
Tessa i just try spawn mob at the position of the player isnt that code right? -
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)
-
So xdem is at net cafe ;D ? no internet at home :3 ?
-
Code [Share]Get Class Items With Commands.
VideoCopilot replied to 'Baggos''s topic in Server Shares & Files [L2J]
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 -
Code [Share]Get Class Items With Commands.
VideoCopilot replied to 'Baggos''s topic in Server Shares & Files [L2J]
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? -
Help L2J Passive Skill (Create)
VideoCopilot replied to VideoCopilot's question in Request Server Development Help [L2J]
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 -
Help L2J Passive Skill (Create)
VideoCopilot replied to VideoCopilot's question in Request Server Development Help [L2J]
is there any way to add me on skype cause i messed up now with threadpool -.- ? if you can i really appreciate skype: unst0ppabl32 -
Help L2J Passive Skill (Create)
VideoCopilot replied to VideoCopilot's question in Request Server Development Help [L2J]
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 ? -
Help L2J Passive Skill (Create)
VideoCopilot replied to VideoCopilot's question in Request Server Development Help [L2J]
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? -
Help L2J Passive Skill (Create)
VideoCopilot replied to VideoCopilot's question in Request Server Development Help [L2J]
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 ) -
Help L2J Passive Skill (Create)
VideoCopilot replied to VideoCopilot's question in Request Server Development Help [L2J]
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? -
Help L2J Passive Skill (Create)
VideoCopilot posted a question in Request Server Development Help [L2J]
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 -
Code Automatic Potions Free Code For All L2J Packs!
VideoCopilot replied to numl0ckas's topic in Server Shares & Files [L2J]
Devlin is ready to cry :DDDDDDDDD *grabs pop corn* -
Help L2 Mobius (Online Ip Problem)
VideoCopilot replied to VideoCopilot's question in Request Server Development Help [Greek]
Solved beause im legendary (and Maxtor is noob :P ) -
Help L2 Mobius (Online Ip Problem)
VideoCopilot replied to VideoCopilot's question in Request Server Development Help [L2J]
Solved because im pro -
Help L2 Mobius (Online Ip Problem)
VideoCopilot replied to VideoCopilot's question in Request Server Development Help [L2J]
Can you add me on skype plz really is need... missing details skype: unst0ppabl32 Please sir... i really appreciate -
Help L2 Mobius (Online Ip Problem)
VideoCopilot replied to VideoCopilot's question in Request Server Development Help [L2J]
I just changed Externalhost = XXX.zapto.org but still it say 127.0.0.1 in logs >.> -
Help L2 Mobius (Online Ip Problem)
VideoCopilot replied to VideoCopilot's question in Request Server Development Help [L2J]
Ye i did.. add my www.whatismyip.com only in ExternalHost = and same.. -
Code Jts Lindvior Source Code
VideoCopilot replied to Alltegz's topic in Server Shares & Files [L2J]
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? -
Help L2 Mobius (Online Ip Problem)
VideoCopilot posted a question in Request Server Development Help [L2J]
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 -
Help L2 Mobius (Online Ip Problem)
VideoCopilot posted a question in Request Server Development Help [Greek]
Καλησπερα εβαλα το 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 ... τι παιζει? -
Help L2Jertheia - Change To Localhost
VideoCopilot replied to VideoCopilot's question in Request Server Development Help [L2J]
Add me on skype 1 sec plz i want share u screen to see something Skype: unst0ppabl32 Thanks. waiting -
Help L2Jertheia - Change To Localhost
VideoCopilot replied to VideoCopilot's question in Request Server Development Help [L2J]
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 -
Help L2Jertheia - Change To Localhost
VideoCopilot replied to VideoCopilot's question in Request Server Development Help [L2J]
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 -
Help L2Jertheia - Change To Localhost
VideoCopilot posted a question in Request Server Development Help [L2J]
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!
