A Mob Checker

Suicide

Active Member
Well this is my first release of any script that I designed.

This script checks to see if a mob exists within a certain range and detects it. Once detected it will send an email to anywhere you like. It also will tell any channel you assign that the mob is not up every 20 min. If the mob is up then it will tell that channel that the mob exists and the time it spawned.

This script uses Isxpoco

You will need to configure this program to be able to send emails. Ama did a good job at documenting this Here

Inside the script you will need to make a few changes and each change has 3 * before and after it. An example is ***YOUR EMAIL ADDRESS***.

You can also rewrite the script to detect just about anything by modifying this line
Code:
${Actor[Mayong Mistmoore,range,50](exists)}
and replacing Mayong Mistmoore with anything mob.

I hope you all enjoy it and find this useful.
 

Attachments

un092

Active Member
pretty handy script, and for the most part i like it, i've also kind of restructured it so it works with isxaim instead of isxpoco. but i'm having one issue with it

seems that once you get to the point in the script where its supposed to announce to the custom channel that the mob is still not up roughly ~20min, the script hits a dead end and doesnt keep checking. i figure the problem is here

if ${Count}==120
{
EQ2Execute /tellchannel ***CHANNEL NAME*** "mayong is not up as of ${Time}"
}
and what it needs is something to reset the count to one, so the loop continues until the mob you are looking for pops and is recognized. i'd adjust it myself but i'm not really sure of how to use the language to reset the count.

also another question i have is...

at the end when it says "wait 100" what unit of time is this, just curious so i can fine tune this a little more

if anyone could offer any insights, that'd be sweet
 

Amadeus

The Maestro
Staff member
Along the same lines, here is a simple script that I did in order to alert me when that stupid mob spawns in Maj'Dul for the Call of Ro quest line:

Code:
function main(string SearchingFor)
{
    echo "Now Searching for ${SearchingFor}..."
    
    do
    {
        if ${Actor[${SearchingFor}](exists)}
        {
            do
            {
                announce "${Actor[${SearchingFor}]} Found!!" 3 1
                where ${SearchingFor}
                Actor[${SearchingFor}]:DoTarget
                wait 50
            }
            while ${Actor[${SearchingFor}](exists)}
            break
        }
        wait 5
    }
    while ${ISXEQ2(exists)}
    
    echo "Script Ending..."
}
 

Nuprecon

Active Member
<stuff>
also another question i have is...

at the end when it says "wait 100" what unit of time is this, just curious so i can fine tune this a little more

if anyone could offer any insights, that'd be sweet
That wait is 1/100th of a second. so obviously a full second would be wait 1000
 

Amadeus

The Maestro
Staff member
That wait is 1/100th of a second. so obviously a full second would be wait 1000
No, no, no...

'wait' is in deciseconds. So, "wait 10" is one second, etc.

You can also use "waitframe" which waits for one frame (which is different for all users since everyone has different FPS).
 
Top Bottom