bauwbas Posted January 15, 2010 Posted January 15, 2010 Ok, credits go for L2DCProject, I'm just changed Import link :D Tested on Gracia Final and Epilogue. Ok, this little script allow to write an NPC id, and he don't move from his point. First of all, you need to download this NoRandomWalkMobs.java script from this Link #1 Link #2 Link #3 Second you need go to data\scripts and create new folder called NpcModifiers.. Add download *.java file to NpcModifiers folder... Finaly go to gameserver\data open scripts.cfg and in the end add new line # NPC modifiers NpcModifiers/NoRandomWalkMobs.java Additional information: Q. Where i need to write npc id? A. Open NoRandomWalkMobs.java with any editor and find these id's <...> 32495,32367 and in the end write your own id.
Kràtos Posted February 1, 2010 Posted February 1, 2010 I like it x] Thank you T.T Nice share but which is the point of this ? If you use this you can make the mobs of your choice not walking ;]
Alexi Posted February 1, 2010 Posted February 1, 2010 I like it x] Thank you T.T If you use this you can make the mobs of your choice not walking ;] Yeah i understand this but if you attack them ? can they move or not?
Kràtos Posted February 1, 2010 Posted February 1, 2010 Yeah i understand this but if you attack them ? can they move or not? Why you ask and don't test it? Made as spam T.T
Alexi Posted February 1, 2010 Posted February 1, 2010 Why you ask and don't test it? Made as spam T.T Honestly i hate spam cuz i dont care about post count, i cant test it right now cuz im using a notebook not even a laptop and it is very slow and i asked cuz im too curious about this...
bauwbas Posted February 2, 2010 Author Posted February 2, 2010 Yeah i understand this but if you attack them ? can they move or not? If you hit mob, he move... This script useful for example for lvl up zone, if you want that your mob don't move from their spawn. :)
badriniki Posted March 1, 2010 Posted March 1, 2010 yep this is nice for an lvl up zone :P thank you for your share!
varens Posted March 1, 2010 Posted March 1, 2010 that is good for farm zone too, admin can make one farm zone with hmm 50 moobs who stay in one place and all players will fight for that spots ;]
Colville® Posted March 13, 2010 Posted March 13, 2010 I am running CT2.4 and I get these error's any idea on how to fix them ? ---------- 1. ERROR in \NoRandomWalkMobs.java (at line 18) import net.sf.l2j.gameserver.datatables.SpawnTable; ^^^ The import net cannot be resolved ---------- 2. ERROR in \NoRandomWalkMobs.java (at line 19) import net.sf.l2j.gameserver.model.L2Spawn; ^^^ The import net cannot be resolved ---------- 3. ERROR in \NoRandomWalkMobs.java (at line 20) import net.sf.l2j.gameserver.model.actor.L2Npc; ^^^ The import net cannot be resolved ---------- 4. ERROR in \NoRandomWalkMobs.java (at line 53) for (L2Spawn npc : SpawnTable.getInstance().getSpawnTable().values()) ^^^^^^^ L2Spawn cannot be resolved to a type ---------- 5. ERROR in \NoRandomWalkMobs.java (at line 53) for (L2Spawn npc : SpawnTable.getInstance().getSpawnTable().values()) ^^^^^^^^^^ SpawnTable cannot be resolved ---------- 6. ERROR in \NoRandomWalkMobs.java (at line 67) public String onSpawn(L2Npc npc) ^^^^^ L2Npc cannot be resolved to a type ---------- 6 problems (6 errors)The import net cannot be resolved The import net cannot be resolved The import net cannot be resolved L2Npc cannot be resolved to a type L2Spawn cannot be resolved to a type SpawnTable cannot be resolved Failed executing script: C:\L2setup\workspace\L2knights\gameserver\data\scripts\ NpcModifiers\NoRandomWalkMobs.java. See NoRandomWalkMobs.java.error.log for deta ils. Cheers
Recommended Posts