Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

How to protect your monster from low levels

Elite Diviner
Joined
Sep 17, 2013
Messages
433
Reaction score
120
Hey , Its my first tutorial I don't know if this helpful for someone or no but at least will help someone else .Here is a example how to protect your monsters from a low level, running to the correct place , etc.
map 0 is the world map every one can run to it and should be attack able to the monsters so there will be level 50 can attack in 70+ area if its not protected.

How can I protect it?

Here is a full example from my files .

UNPROTECTED <<<

InitMonster.txt
(monster (name 991)(index 991)(country 2)(race 1)(level 5)(ai 1)(range 25)(sight 180 300)(exp 4)(itemgroup 1 1)(itemgroup 19000 3) (str 1)(hth 1)(int 1)(wis 1)(dex 1)(hp 1)(mp 400)(aspeed 1600)(hit 3)(dodge 0) (attack 0 8 20)(magic 0 0)(defense 0 0)(absorb 0)(mspeed 1400 400)(resist 0 0 0 0 0)(quest (10001 1 10000 3)(10001 2 10000 3)))
GenMonster.txt

(genmonster (index 991)(map 0)(area 1)(max 120)(cycle 10)(rect 7273 9875 7407 9935))
Quest.txt
;Elder Island ;---------------------------(quest (index 8005 3)(case (if (item (3355 1)))(then (teleport 0 288967 228286)))(case (if (item (444 1)))(then (link 8105 3)))(case (if (item (443 1)))(then (html 500007)))(case (then (html 500007)))) (quest (index 8105 3)(linked 1) (case (if (gstate 104 0) (level 55)) (then (teleport 0 288967 228286))) (case (then (html 500007))))(quest (index 8205 3) (case (if (gstate 104 0) (level 55)) (then (teleport 0 288967 228286))) (case (then (html 910031))))



PROTECTED<<<

InitMonster.txt
(monster (name 991)(index 991)(country 2)(race 1)(level 5)(ai 1)(range 25)(sight 180 300)(exp 4)(itemgroup 1 1)(itemgroup 19000 3) (str 1)(hth 1)(int 1)(wis 1)(dex 1)(hp 1)(mp 400)(aspeed 1600)(hit 3)(dodge 0) (attack 0 8 20)(magic 0 0)(defense 0 0)(absorb 0)(mspeed 1400 400)(resist 0 0 0 0 0)(quest (10001 1 10000 3)(10001 2 10000 3)))
GenMonster.txt

(genmonster (index 991)(map 5)(area 1)(max 120)(cycle 10)(rect 7273 9875 7407 9935))
Quest.txt
;Elder Island ;---------------------------(quest (index 8005 3)(case (if (item (3355 1)))(then (teleport 5 288967 228286))) (case (if (item (444 1)))(then (link 8105 3)))(case (if (item (443 1)))(then (html 500007)))(case (then (html 500007)))) (quest (index 8105 3)(linked 1) (case (if (gstate 104 0) (level 55)) (then (teleport 0 288967 228286))) (case (then (html 500007))))(quest (index 8205 3) (case (if (gstate 104 0) (level 55)) (then (teleport 0 288967 228286))) (case (then (html 910031))))

---------------------------
Map 5 just was for an example ,You can change it just make the teleport quest as the genmonster's map number to protect it with the level you want which should be for example
(level 55)) (then (teleport 0 288967 228286)))
---
I wish that I've helped you.
Regards,
MrSheba.
 
Experienced Elementalist
Joined
Jul 11, 2015
Messages
201
Reaction score
273
This is actually a good/bad thing for cheaters. :)
 
Skilled Illusionist
Joined
Feb 1, 2013
Messages
323
Reaction score
52
its a good example for foe/d2/d4 etc monsters if someone want to make a limition level for this areas&dungeons,
i think it would be helpful for begginers thanks for this tutorial
 
Junior Spellweaver
Joined
Oct 7, 2015
Messages
127
Reaction score
42
D2 and D4 alternative to just disable walk in portals in etc.txt

 
Skilled Illusionist
Joined
Feb 1, 2013
Messages
323
Reaction score
52
D2 and D4 alternative to just disable walk in portals in etc.txt
true i am using this way only for foe and any other maps thats are replace able
 
Last edited:
Experienced Elementalist
Joined
Oct 9, 2012
Messages
282
Reaction score
77
if im right you can still attack them with skills like splashy, storms etc
 
Junior Spellweaver
Joined
May 9, 2014
Messages
107
Reaction score
36
if im right you can still attack them with skills like splashy, storms etc

No you can't, all you can do is to pick drops in case player that is on correct map invite you to party.
 
Joined
Sep 10, 2006
Messages
1,243
Reaction score
179
That's how our channel system worked at NWK.

We modified the server packets to ignore sending of monster appearing/damaging if the player was on a different 'map'/'channel'.
 
Back
Top