Jump to content
  • 0

[REQUEST]Monster Guard in Town


Drakkus

Question


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

Hello, I've been wondering if there is a 'SCRIPT', that can guard the Town instead of NPC, on the Selected Area.

means, only the 'Area' which they can Walk (can be modify by 'Coordinates'), for Example: There's a 'Poring' Bypass in that Area, the 'Monster Guard' will kill that monster and after he kill it, he will back in his Area where he stays.

If someone could do it for me, can you share it to me.

Please feel free ask me if you don't understand well.

Regards,

Mindless

Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

I don't believe this is possible.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

I don't believe this is possible.

Well, i guess we will just have to Wait. till someone Would Pop-UP for this Topic.

Looking forward in this thread.

Regards,

Mindless

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

Just confirmed, it is possible.

<07@Arcenciel> is possible to code an NPC to act like a guard like in those other MMORPG games?

<07@Arcenciel> O_o

<10Mercurial|LolSleep> they going about boobs

<10Mercurial|LolSleep> on rathena again

<07@Aeomin> Arcenciel, I have done it

<07@Arcenciel> oh really?

<07@Aeomin> back to 2006 or so

<10Mercurial|LolSleep> It should be

<07@Arcenciel> just pure scripting?

<10Mercurial|LolSleep> :(

<07@Aeomin> yes pure script

<10Mercurial|LolSleep> NPC move

<10Mercurial|LolSleep> npc attack ;)

<07@Eurydice> And done.

<07@Aeomin> BUT..

<07@Eurydice> o-o;

<07@Arcenciel> ohhh

<07@Aeomin> cpu usage...

<10Mercurial|LolSleep> ^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

See? it's possible cu'z i've been seen some of the 'Private Server' using this Script, somewhere 2005-2006.

But i can't remember what is the name of that System.

If you could help me for it, much appreciated.

Thank you!

BUMP for my Topic.

@Arcenciel, willing to Help me for this?

You've just ask for Aeomin if it is Possible?

Regards,

Mindless

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

I don't have any clue as how to do this. Didn't even know it was possible to begin with.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

I don't have any clue as how to do this. Didn't even know it was possible to begin with.

Awts? Well, i thought you've already made it for me.

can you Ask please for 'Aeomin' how to do that thingy? even me i can't do that script actually.

I really need this script. you know already that Concept right?

Why don't you try to ask for someone so that you could start for this?

Regards,

Mindless

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  104
  • Reputation:   30
  • Joined:  11/11/11
  • Last Seen:  

Yes I have done it before, but sadly I don't have the script anymore..Basically I made a NPC that kills non-GM players in the area then return to its spot, but it is really CPU intense!

I can give you some hints though.

  1. movenpc to walk
  2. getmapxy to get monster in a cell, which means you would make a loop that constantly checks the area around the npc (which is why it is CPU intensive).
  3. I can't find any attack related commands in script_commands.txt at this moment, maybe you can try use special effects and fake damage?

[EDIT]

Another look in that file, "The Event field can be used alternatively to specify other mob properties. Use

2 to specify that the mob should be small, 4 for big monsters, and 8 for

special ai mobs (which by default attack other monsters instead of players).

You can add these, so using 10 will spawn small monsters that attack other

mobs (if you specify both 2 and 4, the small version takes priority)."

So I think you can also summon permanent monster with special event flag set, then manually control the AI.

[EDIT2]

Tried dig through old source code.. not much information, but I did found a command named mobattach that does not exist anymore.

It is around revision 7000.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

Woah! i like those 'IDEA' you've done before. specially the 'HINTS' you give to me.

But unfortunetly, i can't excute the script basically, since i'm not really good at Scripting Areas.

But do you have any chances to work on this 'REQUEST' might the information you give would apply in the script?

I'm still waiting for this one.

Thank you Aeomin!

Regards,

Mindless

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  104
  • Reputation:   30
  • Joined:  11/11/11
  • Last Seen:  

@Mindless,

I am not good scripting too. If I recall correctly, my script is based on one of the sample/custom script in ea repo back then.. However, trying to find a revision that actually has it would be.. pain.... :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

@Mindless,

I am not good scripting too. If I recall correctly, my script is based on one of the sample/custom script in ea repo back then.. However, trying to find a revision that actually has it would be.. pain.... :D

How sad, maybe i don't have chances to make this one, i would like to make my 'Upcoming' server soon based on MMPORG Games.

I hope someone would help me for this one.

Thanks again mate and Arcenciel for the Effort!

Regards,

Mindless

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