Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Something for NPC Server (https://forums.graalonline.com/forums/showthread.php?t=33273)

Brandon_Bravo 07-11-2002 08:13 AM

Something for NPC Server
 
I think it would be a cool thing if you could make NPCServer do things based on messages it receives. For example, the Events Admin or a member of the ET activates an NPC that causes the NPCServer to send a message to everyone with:
Mass Message:
An event is currently being held!
Current Event: Survivor
To be warped to the event, send a reply with "Warp to Event" as the contents.
Then, it would work like this:
NPC Code:

if (messagerecieved(Warp to Event)) {
with (players[sender]) {
setlevel2 eventlevel,x,y;
}
}


What do you think?

**EDIT** Another function could be:
messagestartswith - Checks for what the message starts with.

Falcor 07-11-2002 08:18 AM

I still like the idea of having the NPCs server having code. Like you can program your npcs server to answer questions based on content of messages, instead of him going "IM NPCS SERVER OBEY MEH".

AlexH 07-11-2002 08:21 AM

I've always wanted to be able to make the NPC Server recognise player messages to it then it could act like kind of an FAQ NPC that searches the message from the player for key words then answers based on the key words it finds.
Like if you asked it where you got the gold axe you could script it to auto reply an answer telling you where it was.

Brandon_Bravo 07-11-2002 08:24 AM

Sounds good. A totally scriptable NPCServer would be very cool.

draygin 07-11-2002 08:48 PM

One major problem is the vast majority of people just have the NPC server on ignore.

AlexH 07-11-2002 08:50 PM

Well with the use I wanted it for that wouldn't be a problem but it would be for the events thing.
But if it did announce things like that I assume most players would take it off ignore.
I have it in my buddy list anyways. :)

draygin 07-11-2002 08:55 PM

Quote:

Originally posted by AlexH
Well with the use I wanted it for that wouldn't be a problem but it would be for the events thing.
But if it did announce things like that I assume most players would take it off ignore.
I have it in my buddy list anyways. :)

Personally I prefer havnig it at the bottom of the screen because it annoys me. Then I dont have idiots making it message people with stuff like such and such is sexy fear so and so etc.. etc..

Tyhm 07-11-2002 09:48 PM

Sounds good to me. It'd be more secure too, as it can personally check the account for accuracy, whereas generally speaking staff tools check #a clientside.

Mass [message]
Warp [account] [level] [x] [y]
Ban [account] maybe
Delete [account] [weapon]
Reset [account]
Setstring [account] [string] [value]
It'd be a remote RC...though in all fairness, most of the more dangerous commands should at least require serverside IP verification

jeff335 07-12-2002 07:33 AM

you can mass using allplayers.


But yes, being able to have the NPC server do chatting over its PM would be good.

just define an actionpm that Control-NPC takes.


For that matter, there should be a new command for NPCs...showonplayerlist, so they all can take an actionpm.

Brandon_Bravo 07-12-2002 09:26 AM

I like that idea. Maybe a new section on the playerlist titled "NPCs" or so.

user13-xo 07-13-2002 02:19 PM

Quote:

Originally posted by draygin
One major problem is the vast majority of people just have the NPC server on ignore.
How about getting rid of the annoying "I am NPC Server speach" it would annoy players less and also would need to get taken down if the NPC Server will be able to respond to PMs, which is a great idea.

Kaimetsu 07-13-2002 06:47 PM

Quote:

Originally posted by user13-xo


How about getting rid of the annoying "I am NPC Server speach" it would annoy players less and also would need to get taken down if the NPC Server will be able to respond to PMs, which is a great idea.

Grim Squeaker:

Perhaps making the NPC-Server ignore mass PMs would also be helpful. That way you don't get one immediate reply if you do send a mass.

AlexH 07-13-2002 08:28 PM

Quote:

Originally posted by Kaimetsu
Grim Squeaker:

Perhaps making the NPC-Server ignore mass PMs would also be helpful. That way you don't get one immediate reply if you do send a mass.

That be nice also and it does sound possible.
Players have ignore masses I'm sure it could be made so NPC Server could do since it logs in somewhat like a player.

iniquitus 07-14-2002 10:48 PM

I'd prefer if the NPC Server were hidden all togeather, but create npc commands that let you make an NPC show up in the playerlist and accept chat input etc, that way you could create "fake" players eheh :) FAQ-Bot and such.

Urizen :)

AlexH 07-14-2002 10:54 PM

Quote:

Originally posted by iniquitus
I'd prefer if the NPC Server were hidden all togeather, but create npc commands that let you make an NPC show up in the playerlist and accept chat input etc, that way you could create "fake" players eheh :) FAQ-Bot and such.

Urizen :)

Well if Stefan anabled/fixed (I dun know whats wrong with it) the invisable on playerlist RC option maybe NPC Server could have it built in.


All times are GMT +2. The time now is 04:43 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.