l2fire Posted November 28, 2016 Posted November 28, 2016 Hello, maybe anyone knows why my eclipse show that errors, but when i try to compile so build succesfully. I'm using l2j acis. And how i can delete all spawned mobs in the world.. How i saw all npc are in .xml files not in database. Thanks everyone for answers, sorry for my bad english :D
0 melron Posted November 28, 2016 Posted November 28, 2016 (edited) Hello, maybe anyone knows why my eclipse show that errors, but when i try to compile so build succesfully. I'm using l2j acis. And how i can delete all spawned mobs in the world.. How i saw all npc are in .xml files not in database. Thanks everyone for answers, sorry for my bad english :D 1st.show us your error 2nd. Open console in ur database and paste -> truncate table spawnlist; (or whatever you are using for spawns) Edited November 28, 2016 by ⏇Melron⏇℠Abs
0 l2fire Posted November 28, 2016 Author Posted November 28, 2016 http://imgur.com/a/KqHDv . There's photo with error. u say: 2nd. Open console in ur database and paste -> truncate table spawnlist; (or whatever you are using for spawns) But im need delete only mobs with type "L2Monster" Thank u.
0 Reborn12 Posted November 28, 2016 Posted November 28, 2016 (-> t what is it.. getTemplates.isType must be the correct
0 l2fire Posted November 28, 2016 Author Posted November 28, 2016 Ye, but why it compiling without errors?
0 Reborn12 Posted November 28, 2016 Posted November 28, 2016 Ye, but why it compiling without errors? And ? You want to compile only errors?error=wrong Red=Error You dont need errors on compile my friend
0 l2fire Posted November 28, 2016 Author Posted November 28, 2016 Of course i dont need it. But that's errors show when im downloaded patch from SVN. :) It's show original and idk why.
0 melron Posted November 28, 2016 Posted November 28, 2016 (edited) http://imgur.com/a/KqHDv . There's photo with error. u say: 2nd. Open console in ur database and paste -> truncate table spawnlist; (or whatever you are using for spawns) But im need delete only mobs with type "L2Monster" Thank u. You want to delete mobs or just their spawn? Also, what version of eclipse you are using? try this -for (NpcTemplate raid : NpcTable.getInstance().getTemplates(t -> t.isType("L2RaidBoss"))) - { - for (L2Spawn spawn : SpawnTable.getInstance().getSpawnTable()) - { - if (spawn.getNpcId() == raid.getNpcId()) - { - RADARS.put(raid.getNpcId(), new Location(spawn.getLocx(), spawn.getLocy(), spawn.getLocz())); - break; - } - } - } + for (L2Spawn spawn : SpawnTable.getInstance().getSpawnTable()) + { + if (spawn.getTemplate().isType("L2RaidBoss")) + RADARS.put(spawn.getNpcId(), new Location(spawn.getLocx(), spawn.getLocy(), spawn.getLocz())); + } Edited November 28, 2016 by ⏇Melron⏇℠Abs
Question
l2fire
Hello, maybe anyone knows why my eclipse show that errors, but when i try to compile so build succesfully.
I'm using l2j acis.
And how i can delete all spawned mobs in the world.. How i saw all npc are in .xml files not in database.
Thanks everyone for answers, sorry for my bad english :D
7 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