MoMoProxy has updated more static residential proxies for USA location, anyone interested in can view: https://momoproxy.com/static-residential-proxies
To manually override it you got to use command //field_cycle set_step 1 11
1 is the field cycle id for hellbound island from db (fiy 2 & 3 are the seeds in gracia sod and soi) and 11 is the level you want to change it to. Anywhere from 1 to 11 will work for different stages.
Question
VideoCopilot
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)
Edited by VideoCopilot11 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now