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