Results 1 to 4 of 4

Thread: REQ: Paging feature

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    14

    REQ: Paging feature

    Hey Folks

    I will pay $100 USD for this feature : )

    when rare mob pops MYSEQ rings my phone or pager : )

    Phone prefered : )

    HEHEH Thanks

    Phatman
    Phat Lewtz for me
    Slim pickings for you
    Muahahahahahahaa

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    752
    plz ban
    -- Lord Crush

    Greater Faydark has to be cleaned from all Elves !

    This is a HOTKEY !!!

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    741
    Step 0: Get SMTP running on your Showeq box.

    Step 1: Change your "alert action" to run a shell script instead of play a sound.

    Step 2: Put your mob on your alert list.

    [Alert]
    Name:Emperor Crush

    Step 3: Make shell script.

    #!/bin/sh

    echo OMGZ OMGZ Lord Crush is up! Cut out of work and get to Crushbone now! | mail [email protected]

    Step 4: Park FD'd character in Crushbone.

    Step 5: Go to work. Stare at email client.

    I don't do this personally, but no reason why it wouldn't work. Now you can KS other guilds with incredible efficiency!

    Edit: Ooooooo, a sarcasm detector. That's reeeeeeeeal useful.

  4. #4
    Registered User
    Join Date
    Apr 2003
    Posts
    10

    this is easy to add

    Here's a quick hack to do just this.

    1. You'll need to know how to send an SMS to your phone via email. eg [email protected] (att) or [email protected] (t-mobile/voicestream)

    2. you need to have IIS installed with SMTP service configured as a smarthost using dns

    3. Add the reference to the .net mail libraries:

    System.Web.Mail;

    4. Copy the beepalert definitions to a pagealertdefinitions and create a new pagealert checkbox on form 3, mapping it to chkbox7 (instead of 5). You should probably add a phone/email address textbox here, but I was lazy.

    Here's where you hook in and send the mail message on alert

    search for:

    if (matched) {
    if (Settings.Instance.PrefixStars)
    t = "*** " + t;

    //** new code begins:

    if (Settings.Instance.PageOnAlert) {
    string from = "[email protected]";
    string to = "[email protected]";
    string subject = t
    string body = ""
    SmtpMail.SmtpServer = "localhost";
    SmtpMail.Send(from, to, subject, body);
    }


    This should send you an SMS to your phone with the subject being the name of the mob that spawned.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On