[-]
Shout:
Click Refresh to load shouts.

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[REQUEST] Gm detector
01-20-2010, 12:11 PM
Post: #1
[REQUEST] Gm detector
Hi, i don't know how to create own gm detector. Actually i need only red msg detector which will be give alarm on selected packets. On my Tibia ots there are many modifications in gm actions so normal bots doesn't work. I have packets from server during gm message. Is this possible to write program which will be give alarm when gm send red message? If it's possible then can somebody write it for me, please?
Find all posts by this user
Quote this message in a reply
01-22-2010, 01:37 PM
Post: #2
RE: [REQUEST] Gm detector
Haha! I think that for the east easy way, you may load Battle List, and check if any of the battlelist creatures possess the word "GM".
Find all posts by this user
Quote this message in a reply
01-23-2010, 06:07 PM
Post: #3
RE: [REQUEST] Gm detector
It doesn't work because on my 7.6 ots gms have normal nicknames like 'Best Player'. I was mailing with Daniel (the Blackd Proxy's creator) and he corrected some things special for my ots. Gms send unusuall packets during any their actions. I found they are using special command which is visible only for one player. This message isn't detected by Blackd Proxy as gm rare message or any other message... It can't find this type message by $lastmsg$ variable too... Can somebody create program which will be give alarm on message like this? I have packets got during sending this message by gm.
Find all posts by this user
Quote this message in a reply
02-01-2010, 02:12 AM
Post: #4
RE: [REQUEST] Gm detector
Refresh
Find all posts by this user
Quote this message in a reply
03-15-2010, 07:57 AM
Post: #5
RE: [REQUEST] Gm detector
If you can get API for the client version, just use the hook proxy to listen for incoming speech packets, if the "color" value is red, make your media element play...
Find all posts by this user
Quote this message in a reply
03-25-2010, 12:19 PM
Post: #6
RE: [REQUEST] Gm detector
So the most problem is - i can't create applications : s Can you make something like this? : s
Find all posts by this user
Quote this message in a reply
03-31-2010, 01:51 PM
Post: #7
RE: [REQUEST] Gm detector
You should check if a player name contains the sentences "GM" in uppercase. It works fine for me ^^ also why dont you check http://www.TibiaAuto.net it has alot of tutorials and scripts that will be usefull to translate.
Find all posts by this user
Quote this message in a reply
03-31-2010, 02:04 PM (This post was last modified: 03-31-2010 02:05 PM by muttley. Edit Reason: )
Post: #8
RE: [REQUEST] Gm detector
foreach (Creature c in client.Battlelist.GetCreatures())
{
    char[] name = c.Name.ToCharArray();
    if ((name[0] == "G") && (name[1] == "M"))
    {
           //gm detected, play alert, write messages, kill Bill Gates or sth else.
    }
}

[Image: 8voznk.png]
Polish Knight Wrote:To kwestia 4 cyców na klacie
Find all posts by this user
Quote this message in a reply
04-01-2010, 02:43 AM
Post: #9
RE: [REQUEST] Gm detector
(03-31-2010 02:04 PM)muttley Wrote:  
foreach (Creature c in client.Battlelist.GetCreatures())
{
    char[] name = c.Name.ToCharArray();
    if ((name[0] == "G") && (name[1] == "M"))
    {
           //gm detected, play alert, write messages, kill Bill Gates or sth else.
    }
}

And this is the most problem - gamemasters haven't usuall nicknames. : d
Find all posts by this user
Quote this message in a reply
04-01-2010, 07:37 AM
Post: #10
RE: [REQUEST] Gm detector
Maybe outfit detection ?

[Image: 8voznk.png]
Polish Knight Wrote:To kwestia 4 cyców na klacie
Find all posts by this user
Quote this message in a reply
Post Reply 



Contact UsTProgrammingReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication