Jump to content

[Share] Random: No Walk Mobs


bauwbas

Recommended Posts

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.

 

 

 

 

Link to comment
Share on other sites

  • 3 weeks later...

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?
Link to comment
Share on other sites

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...
Link to comment
Share on other sites

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. :)

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...

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

Link to comment
Share on other sites

  • 3 weeks later...
Guest
This topic is now closed to further replies.


×
×
  • 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