Buff Bot Example
This is an example of how far you can go with just a little imagination - I have two bots in PoK, one for mana and one for HP buffs. they med when no one's talking to them, stand when hailed, and talk/wave to each other.
Also, I had placed random signal scripts all around PoK so you get the impression they are oocing what they sell. I think this is an older script as I had also randomized their "time to ooc" so they would drive you nuts with their offers. Code:
#zone:PoKnowledge |
"Casting KEI and Clarity for donations on the rock behind the main bank..."
- that brings back memories! Nice example GeorgeS Code:
sub EVENT_SAY { |
I apologize as this may sound like a stupid question.
Where, and how would I go about implementing this code into my server? Thanks! Soraken |
I prefer using a global system for buff 'credit'.
Code:
sub EVENT_SPAWN |
Those are Perl Quests - they usually come with the package you downloaded, and you might already have them.
Quote:
|
Hi, I'm trying to learn the how these bots are scripted in Perl but am having trouble understanding all the lines of code. Does anyone mind breaking each line down and explaining what they do so I can gain a further understanding of the Perl Scripts?
|
Quote:
http://www.eqemulator.net/wiki/wikka...=QuestTutorial |
If you want, there are many examples on my quest editor. Also, there's a built in help/guide to assist.
GeorgeS |
Well, I was able to learn just about everything that the scripts here do. But when I created my own scripts, they didn't work. I posted the scripts in the Q/A section.
However, I do love examples. Where can I Find your quest examples GeorgeS |
Hey utopia this is spinningfists hows it going!? Should coem play on PvP with us!
|
DL the quest editor, and there are dozens of scripts to go by. Fill in the db.ini correctly, and you'll have access to the same scripts I did when learning the stuff. I believe all my quests are pre-tested and should work as is.
GeorgeS |
Quote:
In fact, now that I've started to put together a design team, I'm requiring them to do use GeorgeS quest script editor at least once. I like it because it connects to the database. My own concern is that there is no way to do the same thing for the scripts. The scripts have to be gathered from locally from a network or same machine. I was wondering if there was any plans to allow it to connect to ftp sites to grab the files. Or perhaps there is another method. |
I have debated over the FTP issue, and can definitely develop it so that's an option. I look into adding ftp access...
GeorgeS |
Quote:
|
Anyone know if there is a call like the 'quest::selfcast' that will cast on the target?
I have setup one of my buffbots to do group buffs, but it only seems to buff one target at a time. Thanks in advance! |
I love the buff bot but how would you tweak it to give extended durations? Is giving a bot AAs and gear hard?
I don't have the bot code that is being worked on elsewhere but just using the bot creator with georgeS' tools and copying the code above into a quest did the job, although i'd gladly pay more for an extended version! :) |
All times are GMT -4. The time now is 06:44 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.