Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-23-2009, 11:10 AM
RichardoX
Hill Giant
 
Join Date: Dec 2004
Location: in your closet....
Posts: 169
Default Interactive Bots

This feature would be to use bots as interactive npcs. For example, we'd need some custom perl commands. Here is an example of what I mean.


Code:
sub EVENT_SAY {
if($text=~/hail/i)
{
quest::say("Hello, $name! I am a traveling adventurer and mercenary for hire. For 5 platinum, I will join your party!")
}}

sub EVENT_ITEM {
if($platinum == 5)
{
quest::botjoin();
##the npc will join the players group and function as a bot.
quest::groupsay("Hello! Glad to be of service."); 
##groupsay would be a means of the bot responding in group chat.
}}

We could even expand on the abilities to control the bot. Group commands such as the following:

/g !stay
/g !protect playername
/g !follow playername
/g !attack
/g !assist playername
/g !stop

I think this would bring in a bag of opportunities to those who enjoy creating ring events and other forms of interactive questing.

From what I understand, you have to remove the check for ownership of the bot to place a bot somewhere and force him to join any players group. Any useful comments or pointers on where to start with this? I've never written perl commands before so I don't know where to start with that.
__________________
a hill giant slashes YOU for 25 points of damage!
You have been slain!
LOADING, PLEASE WAIT...
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:41 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3