Author Topic: GM detect  (Read 12526 times)

0 Members and 1 Guest are viewing this topic.

Offline ChrisokTopic starter

  • Jr. Member
  • **
  • Posts: 46
  • Activity:
    0%
  • Reputation Power: 1
  • Chrisok has no influence.
  • Respect: +18
  • Referrals: 0
    • View Profile
GM detect
« on: April 24, 2013, 09:18:25 AM »
+1
i use this for fs uosa change names if you know them.
Code: [Select]
Unit GM_detect;
interface
 
function is_GM_around():boolean;
function does_GM_name_match(ID:cardinal):boolean;
implementation
 
Var
   GM_name_contains :array of string; // general prefixes+official uosa staff
      
 
function does_GM_name_match(ID:cardinal):boolean;
var
   HisName:String;
   i:integer;
begin
   HisName := GetName(ID);
  GM_name_contains := ['GM','Seer', 'Counselor', 'Helper', 'Administrator', 'Admin','GM_name1', 'GM_name2', 'GM_name3', 'GM_name4', 'Derrick', 'Kaivan'];
   For i:= Low(GM_name_contains) to High(GM_name_contains) do
   begin
      if (BMSearch(1,HisName,GM_name_contains[i])>0) then
      begin
      // the name of the character mached with one of known GM names
         AddToSystemJournal('Found by a GM, CARE');
         Result := true;
         Exit;
      end;
   end;
   Result := false;
end;

function is_GM_around():boolean;
var
   GM_ID :Cardinal;
begin
   FindDistance := 30;
  
   GM_ID := FindType($0190, Ground);  // looking for a male GM
  
   if (GM_ID >0) then
      if (does_GM_name_match(GM_ID)) then
      begin
         Result := true;
         Exit;
      end;
 
   GM_ID := FindType($0191, Ground);   // looking for a female GM
      
   if (GM_ID >0) then
      if (does_GM_name_match(GM_ID)) then
      begin
         Result := true;
         Exit;
      end;
      
   // Found no Staff
  
   Result := false;
end;
 
begin
AddToSystemJournal('Found Nothing, Keep Macroing');
end.
« Last Edit: April 26, 2013, 06:27:18 AM by Chrisok »

Offline Crome969

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +559
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: GM detect
« Reply #1 on: April 24, 2013, 09:50:12 AM »
+1

Offline manwinc

  • Elite
  • *
  • *
  • Posts: 2556
  • Activity:
    0%
  • Reputation Power: 32
  • manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!
  • Gender: Male
  • "The Devs Hard at Work"
  • Respect: +272
  • Referrals: 1
    • View Profile
Re: GM detect
« Reply #2 on: April 24, 2013, 10:03:03 AM »
+1
Phhhh.... This would be Useful IF GM's Existed anymore...
Monkeys and Typewriters!

" Oh I know, We'll make a Boss Encounter that requires 3 keys per player to enter, Then we'll make it not a closed instance so you never know if you are going to pop into a fresh room or a boss that has 1% Health left with 20 dudes smashing its face in, wasting your time and effort"

Offline Insideout

  • Full Member
  • ***
  • Posts: 191
  • Activity:
    0.8%
  • Reputation Power: 2
  • Insideout has no influence.
  • Respect: +62
  • Referrals: 0
    • View Profile
Re: GM detect
« Reply #3 on: April 24, 2013, 11:03:38 AM »
-1
They still exist I have one drop by the house every time the lil razor running punks decided they think I'm scripting lol

Offline ChrisokTopic starter

  • Jr. Member
  • **
  • Posts: 46
  • Activity:
    0%
  • Reputation Power: 1
  • Chrisok has no influence.
  • Respect: +18
  • Referrals: 0
    • View Profile
Re: GM detect
« Reply #4 on: April 24, 2013, 01:20:45 PM »
-1
Yea, the one i personally use (has maybe an additional 10 lines) scans for people trying to talk to the bot, with about 10 different catchphrases to scan for.. posted this as something to develop from. Originally found it on a russian shard site not working so i fixed for the freeshards i play

Offline NObama

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +325
  • Referrals: 2
    • View Profile
Re: GM detect
« Reply #5 on: April 24, 2013, 02:59:12 PM »
+1
There are GMs.  Recently had someone page on me for refusing to sell them relic fragments at ridiculously low prices.  GM showed up to see if my multiple 3,000 relic frag commodity deeds were duped. 

They aren't, by the way.  Very amusing case of sour grapes. 

Offline manwinc

  • Elite
  • *
  • *
  • Posts: 2556
  • Activity:
    0%
  • Reputation Power: 32
  • manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!
  • Gender: Male
  • "The Devs Hard at Work"
  • Respect: +272
  • Referrals: 1
    • View Profile
Re: GM detect
« Reply #6 on: April 24, 2013, 04:12:44 PM »
+1
You guys must be Lucky then. I think I've been waiting on gm's for weeks to fix some glitched Accounts/Servers. 
Monkeys and Typewriters!

" Oh I know, We'll make a Boss Encounter that requires 3 keys per player to enter, Then we'll make it not a closed instance so you never know if you are going to pop into a fresh room or a boss that has 1% Health left with 20 dudes smashing its face in, wasting your time and effort"

Offline NObama

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +325
  • Referrals: 2
    • View Profile
Re: GM detect
« Reply #7 on: April 24, 2013, 04:33:49 PM »
+1
You guys must be Lucky then. I think I've been waiting on gm's for weeks to fix some glitched Accounts/Servers. 

Page on yourself, maybe?  This was on Atlantic...on which servers are you trying to get GM attention?

Offline Crome969

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +559
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: GM detect
« Reply #8 on: April 24, 2013, 10:36:58 PM »
+1
You guys must be Lucky then. I think I've been waiting on gm's for weeks to fix some glitched Accounts/Servers. 
I needed 3 times a GM lately, Paged , after 2-8hours they were avaible. I also Paged on Pacific and then got response on europa, so i think they can react whenever they can and no matter where you are..

Offline uofreak

  • Restricted
  • **
  • Posts: 12
  • Activity:
    0%
  • Reputation Power: 1
  • uofreak has no influence.
  • Respect: +4
  • Referrals: 0
    • View Profile
Re: GM detect
« Reply #9 on: November 16, 2018, 09:25:41 AM »
+1
Cool but usually GMs are cloaked/hidden would this still detect them or nope? :)

Tags: