ScriptUO

Official ScriptUO EasyUO Scripts => Submit your Script => Inactive Submissions => Topic started by: gen2000 on October 17, 2009, 03:49:49 PM

Title: Gen's GM Alert 2.0
Post by: gen2000 on October 17, 2009, 03:49:49 PM
Code: [Select]
;=================================================================
; Script Name: Gen's GM Alert 2.0
; Author: Gen2000
; Version: 2.0
; Shard OSI / FS: OSI
; Release Date: 10/17/09
; Purpose: Menu Driven GM alert and more!
;=================================================================
; Featured Alerts: GM Talks
;                  Character Moves
;                  Lost Connection
;                  Character in Jail
;                  Character Dead
;                  Trade Window
;-----------------------------------------------------------------
; Other Features:  Voice Alerts! (It talks!)
; Player Detection w/ Name of character detected in menu/voice
;=================================================================
; Requirments: s7TTS VBScript (Included)
;              talk VBScript  (Included)
;              warning.wav    (Included)
;=================================================================
; Directions:  Make sure all 4 files are in the same folder as euo.
;              (Gen's GM Alert 2.0 + 3 files above)
;              Start script and check the boxes you want to use.
;=================================================================
; Special Thanks: snicker7/s7Accessability Suite - "Voice Alerts"
;=================================================================
; http://www.scriptuo.com
;=================================================================

This is the script I use for everything AFK.
-Scans journal for GM's and anybody else that may talk to you.
-Tells you if your character moves (optional)
-Tells you if you lost connection. (optional)
-Tells you if your character is in jail! (optional)
-Tells you if your dead. (optional)
-Tells you if your trade window opens. (optional)

-It has player detection and will let you know who come onto your screen in the menu/voice. (optional)

-It also has sound and TALKS!
  when you get an alert it will not only show you the alert/player detected in the menu.
  It will play and warning sound(included) followed by talking and telling you
  what alert was triggered, or who has walked onto your screen.

 


Title: Re: Gen's GM Alert 2.0
Post by: Hoby on October 17, 2009, 05:11:22 PM
Sweet, cant wait to try it out since ive been spending alot of time in heartwood!!
Title: Re: Gen's GM Alert 2.0
Post by: Abyss on October 18, 2009, 12:14:55 PM
I'll give this a test tonight let you know my findings in the morning.
Title: Re: Gen's GM Alert 2.0
Post by: onlyindreams on October 18, 2009, 04:57:21 PM
I've been running it while training up my mage. I've had two people come by and both times it said "XXXX has arrived" in the ventrillo robot like voice. XXXX being the character name with guild abbreviation.

Still no run-in with a GM yet, not that I'm hoping for it  ;)
Title: Re: Gen's GM Alert 2.0
Post by: onlyindreams on October 18, 2009, 05:32:54 PM
While running C2's Casting Trainer, for the heck of it I decided to have a friend drop an item on me just to see what it did for the trade window alert. After I got the alert the alerter automatically pauses. So I clicked to resume it, which it did... Now in C2's script he has it opening your pack to keep your character active. Each time his script would open my backpack, your script would give a warning and automatically pause.

To fix this without restarting the script I unchecked "trade window" but it still does this. On your alerter box it says "Journal: Container holds X items".

I stopped and restarted the script and I haven't had any issues since. But since my plan is to use this alerter while training or whatever, this issue is pretty big for me.

*EDIT* I just moved my character one step while running C2's script. It game me the character has moved warning then paused. Upon resuming it did the "container holds X items" thing and pauses.
Title: Re: Gen's GM Alert 2.0
Post by: gen2000 on October 18, 2009, 06:50:28 PM
While running C2's Casting Trainer, for the heck of it I decided to have a friend drop an item on me just to see what it did for the trade window alert. After I got the alert the alerter automatically pauses. So I clicked to resume it, which it did... Now in C2's script he has it opening your pack to keep your character active. Each time his script would open my backpack, your script would give a warning and automatically pause.

To fix this without restarting the script I unchecked "trade window" but it still does this. On your alerter box it says "Journal: Container holds X items".

I stopped and restarted the script and I haven't had any issues since. But since my plan is to use this alerter while training or whatever, this issue is pretty big for me.

*EDIT* I just moved my character one step while running C2's script. It game me the character has moved warning then paused. Upon resuming it did the "container holds X items" thing and pauses.

It's not the container that's setting it off, it's the journal message. it's what I call a false positive..

under the Falses..

;================================================
;----------------Falses--------------------------
;================================================
; If you get a false positive you can add it below.
; Go to Tools/VarDump on EUO
; Scroll down to !Debug.(at the bottom)
; Copy and past that into a new %FALSE
; Update %FALSES at the top.
;================================================

add..

set %FALSE(number) Container_holds

and update..

set %FALSES(number)

Code: [Select]
;================================================
;----------------Falses--------------------------
;================================================
; If you get a false positive you can add it below.
; Go to Tools/VarDump on EUO
; Scroll down to !Debug.(at the bottom)
; Copy and past that into a new %FALSE
; Update %FALSES at the top.
;================================================
set %FALSES 40 ;updated from 39 to 40 cause I added a false.
set %FALSE1 you_see:
set %FALSE2 Can't_get_there
set %FALSE3 You_are_now_under_the_protection_of_the_town_guards.
set %FALSE4 Care_to_hear_how_to_earn_some_easy_gold?
set %FALSE5 I_have_an_offer_for_you.
set %FALSE6 You_are_frozen_and_cannot_move.
set %FALSE7 You_are_already_casting_a_spell.
set %FALSE8 You_prepare_to_strike
set %FALSE9 in_Bushido_has
set %FALSE10 This_book_needs_time_to_recharge.
set %FALSE11 You_cannot_cast_that_spell_in_this_form.
set %FALSE12 You_cannot_honor_this_monster_because_it_is_too_damaged.
set %FALSE13 You_have_lost_all_Perfection_in_fighting_this_opponent.
set %FALSE14 Mana_to_use_this_ability.
set %FALSE15 You_cannot_use_this_ability_while_frozen.
set %FALSE16 You_have_lost_some_Perfection_in_fighting_this_opponent.
set %FALSE17 You_did_not_earn_the_right_to_loot_this_creature!
set %FALSE18 You_prepare_to_perform_a_Shadowjump.
set %FALSE19 What_do_you_want_to_use_this_item_on?
set %FALSE20 You_carve_some_meat,_which_remains_on_the_corpse.
set %FALSE21 You_skin_it,_and_the_hides_are_now_in_the_corpse.
set %FALSE22 You_see_nothing_useful_to_carve_from_the_corpse.
set %FALSE23 I_cannot_tell_where_I_am.
set %FALSE24 You_have_Achieved_Perfection_in_inflicting_damage_to_this_opponent!
set %FALSE25 You_have_achieved_the_highest_path_in_Valor_and_can_no_longer_gain_any_further.
set %FALSE26 You_failed_to_create_the_item,_and_some_of_your_materials_are_lost.
set %FALSE27 Tame_which_animal?
set %FALSE28 Click_on_the_person_to_transfer_ownership_to.
set %FALSE29 You_have_earned_250_reward_points_for_this_donation.
set %FALSE30 You_are_overloaded.
set %FALSE31 This_is_currently_in_use.
set %FALSE32 You_are_busy_doing_something_else_and_cannot_focus.
set %FALSE33 You_are_unable_to_resurrect_your_patient.
set %FALSE34 You_are_able_to_resurrect_your_patient.
set %FALSE35 Greetings.__Have_a_look_around.
set %FALSE36 Thank_you_so_much
set %FALSE37 What_shall_I_use_this_key_on?
set %FALSE38 There_is_no_metal_here_to_mine.
set %FALSE39 Where_do_you_wish_to_dig?
set %FALSE40 Container_holds ;added a new false
Title: Re: Gen's GM Alert 2.0
Post by: onlyindreams on October 18, 2009, 07:04:23 PM
I tried this two ways.

Code: [Select]
set %FALSE40 Container_holds ;added a new false
and

Code: [Select]
set %FALSE40 Container_holds_7_items

In your post you said
Quote
; If you get a false positive you can add it below.
; Go to Tools/VarDump on EUO
; Scroll down to !Debug.(at the bottom)
; Copy and past that into a new %FALSE
; Update %FALSES at the top.
. I did the copy and paste in the VarDump and it still isn't working. I don't completely understand scripting language so perhaps I misunderstood what you were saying I should do.
Title: Re: Gen's GM Alert 2.0
Post by: gen2000 on October 18, 2009, 07:21:51 PM
if you go to tools/vardump in the euo menu, scroll to the button, what does the debug varible say?
Title: Re: Gen's GM Alert 2.0
Post by: onlyindreams on October 18, 2009, 07:56:56 PM
Code: [Select]
%DEBUG: -1
Title: Re: Gen's GM Alert 2.0
Post by: gen2000 on October 18, 2009, 08:30:52 PM
I downloaded the GM Alert from the site to make sure there wasn't any differences, I also ran C2's casting and it's opening up the bag like you said, but no alerts. I had everything check.. I'm at  a loss.. sorry... :-[
Title: Re: Gen's GM Alert 2.0
Post by: onlyindreams on October 18, 2009, 09:26:57 PM
I wasn't getting the backpack alert until after I purposely set off the alarm with the trade gump or moving my character one tile. Now it just won't stop.
Title: Re: Gen's GM Alert 2.0
Post by: gen2000 on October 18, 2009, 10:31:49 PM
I wasn't getting the backpack alert until after I purposely set off the alarm with the trade gump or moving my character one tile. Now it just won't stop.

just tried that too.. working fine for me.. lol
what the Alert in the menu? top right..
Title: Re: Gen's GM Alert 2.0
Post by: onlyindreams on October 20, 2009, 12:28:16 PM
Here's a new, well I guess sort of same issue. I started your GM Alert in the middle of running C2's script. It paused within 2 seconds.

Under "Journal" it says "my name: The spell fizzles."

For "Alert" is says "Talking"

I have Lost Connection, Jail, Dead and Trade Window Checked.


Title: Re: Gen's GM Alert 2.0
Post by: gen2000 on October 20, 2009, 04:24:49 PM
Here's a new, well I guess sort of same issue. I started your GM Alert in the middle of running C2's script. It paused within 2 seconds.

Under "Journal" it says "my name: The spell fizzles."

For "Alert" is says "Talking"

I have Lost Connection, Jail, Dead and Trade Window Checked.

Add The_spell_fizzles. to the #FALSES
Title: Re: Gen's GM Alert 2.0
Post by: luv2luvlong on January 28, 2010, 06:05:32 PM
While running my miner/leathergather i finally got snitched on and had a visit from GM. Fortunately, I was paying attention, cause there was no response from script.
Just so you know they changed the chat thing again. Unfortunately, didn't get a chance to save journal before converastion was gone, or I would post it for ya. Will try toget it When (not if) it happens again.
Title: Re: Gen's GM Alert 2.0
Post by: rolixx on May 16, 2015, 07:41:47 AM

-It has player detection and will let you know who come onto your screen in the menu/voice. (optional)

Great script! But it doesn't detect players for me (uo forever server). But other features works - It detects my movement, trade & etc. Could you please help to solve detection of other players?
Title: Re: Gen's GM Alert 2.0
Post by: Ketchup on May 19, 2015, 08:04:48 AM
No longer detects GM's for me, if possible could you also add an alert for when your characters gets a message icon in the top left corner from staff?
Title: Re: Gen's GM Alert 2.0
Post by: rolixx on May 19, 2015, 09:41:46 AM
Pleeeease fix that great script!!  :o Its the only one script which could help. I'm working at computer all day long and its nice to have script which could help when GM or other player screwing your character.
Title: Re: Gen's GM Alert 2.0
Post by: Crisis on May 19, 2015, 01:22:51 PM
Pleeeease fix that great script!!  :o Its the only one script which could help. I'm working at computer all day long and its nice to have script which could help when GM or other player screwing your character.

The header tells you that the script was written for OSI. Freeshards are quite different at times and you will most likely need to make changes. Try starting here:

Code: [Select]
menu get playerdetect
if ! #MENURES
  goto trade
if %contact_wait < #SCNT
  ignoreitem reset name
finditem HS_IS_NAB_OAB_QAB_PAB_MAB_RAB_SAB_LAB_XU_AV_OCB_NCB G_12
if #findkind <> -1
{
  if #FINDREP <> 7
  {
    gosub GetName #findid
    if #result
    {
      set %cname %Propname
      set %sound #false
      gosub alert %cname , #spc , has , #spc , arrived
      set %contact %cname
      menu set contact %contact
    }
  }
  ignoreitem #findid name
  set %contact_wait #SCNT + 30
}
Title: Re: Gen's GM Alert 2.0
Post by: pr0n00b69 on November 29, 2015, 11:16:29 PM
Some1 can post script again? i can't find the download botton i play on UoDreams so i hope it can work there or if some1 know a script that might work please let me know !

Post Merge: November 29, 2015, 11:38:39 PM
Pleeeease fix that great script!!  :o Its the only one script which could help. I'm working at computer all day long and its nice to have script which could help when GM or other player screwing your character.

The header tells you that the script was written for OSI. Freeshards are quite different at times and you will most likely need to make changes. Try starting here:

Code: [Select]
menu get playerdetect
if ! #MENURES
  goto trade
if %contact_wait < #SCNT
  ignoreitem reset name
finditem HS_IS_NAB_OAB_QAB_PAB_MAB_RAB_SAB_LAB_XU_AV_OCB_NCB G_12
if #findkind <> -1
{
  if #FINDREP <> 7
  {
    gosub GetName #findid
    if #result
    {
      set %cname %Propname
      set %sound #false
      gosub alert %cname , #spc , has , #spc , arrived
      set %contact %cname
      menu set contact %contact
    }
  }
  ignoreitem #findid name
  set %contact_wait #SCNT + 30
}

could you help me please? i can't send u a pm !
Title: Re: Gen's GM Alert 2.0
Post by: Crisis on November 30, 2015, 02:23:02 AM
I can help, you need to go back to the new introductions section, read the stickied examples and post an introduction. As long as you follow the good examples and make a good introduction, you will have access to almost all of the downloads.

New Introductions: http://www.scriptuo.com/index.php?board=20.0
Reason why we require a good introduction: http://www.scriptuo.com/index.php?topic=1683.0