Jump to content
  • 0

Killmonster


billycaster

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  01/25/16
  • Last Seen:  

Please help me with this script.. i want to kill all monster on my custom map.. i dont know if my script is correct.. :(

 

 

<tab>script<tab>Killer<tab>-1{

ontimer100:
oninit:
killmonster "map_name","All";

end;

}


i want to kill them everytime they respawn.. autokill activate every 1 sec :)

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  88
  • Reputation:   10
  • Joined:  01/15/16
  • Last Seen:  

If you dont want the monsters to load on a map, just edit the respawning, you can found them in npc/mobs/towns.txt or npc/mobs/..., npc/pre-re/mobs/...  etc

if you do a script like the one you put your server will be slowler and might have a very annoying lag (I strongly dont recommend a script that run forever each 0,1 milisecond to just kill monsters on a map)...

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

why not just remove these monsters from the maps instead of keep killing these monsters every seconds?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  01/25/16
  • Last Seen:  

bcoz its not working :(

For example at niflheim.. even though i remove all the specific monsters from my script NPC. and started to command: @loadnpc [NPC Name] after that it will be successfully loaded. But the monster's are still keep respawning.. i dont know what to do anymore T_T please help.. thank you,,,

 

 

but is it possible to have a NPC like that? 

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

@reloadscript.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  01/25/16
  • Last Seen:  

ok.. thank you so much for your help Emistry and Enthr ^_^ 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...