![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Unverified User
Join Date: Apr 2008
Posts: 5
Rep Power: 0
![]() |
Detect a string of text in a running program.
Hello, new to the forums and my apologies if this is the wrong place for this
![]() I want to know if this is possible, if a program already exists, or how hard it would be to make such a program, if I need to pay someone to make it. I am running a full screen game similar to World of Warcraft, if anyone has played it. I am trying to find a program, that will detect text that is sent to me/displayed on my screen in the game. I would then like the program to make a loud obnoxious noise, once that string of text is detected. I.E: "Selected 'X' target" Program then emits a loud noise. |
|
|
|
|
|
#2 |
|
The Oblivious One
Join Date: May 2005
Location: Ontario, Canada
Posts: 644
Rep Power: 4
![]() |
Re: Detect a string of text in a running program.
Well, this could be way off base since I've never played WoW. I do know that WoW can be controlled through a scripting language called Lua.
This might be useful, but I really don't know. http://www.wowwiki.com/Lua
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS! |
|
|
|
|
|
#3 |
|
Battle Programmer
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 763
Rep Power: 3
![]() |
Re: Detect a string of text in a running program.
Your program could take a screenshot and then try to OCR some meaning out of it. Probably too much work for an unreliable solution though
![]()
__________________
<insert disclaimer here> <insert shameless plug for Visual Studio here> |
|
|
|
|
|
#4 |
|
Unverified User
Join Date: Apr 2008
Posts: 5
Rep Power: 0
![]() |
Re: Detect a string of text in a running program.
Not QUITE what I was looking for but the LUA link did give me some info.
Ive been tooling around with the games files, and have discovered that everything I type is stored in an in game log. So, theoretically, I suppose the easiest way to make a program like this would be to have a program that opens up the text file, searches for the text, and if it exists to then make the noise. Anyone know if this is possible? Heres some example of the text: [04/01/08 23:27:07] Lothir -> WreckLoose : Quick Major Health V of Purifying [ Casting... ] [04/01/08 23:27:07] Indestructible Fyakki -> WreckLoose [ Missed ] [04/01/08 23:27:07] WreckLoose -> Indestructible Fyakki : Cloak of Thorns IV [ 137 pierce ] So lets say if the program detected: Indestructible Fyakki -> WreckLoose [ Missed ] I would want it to make a sound. Last edited by Maxmackey; Apr 2nd, 2008 at 1:52 AM. |
|
|
|
|
|
#5 |
|
Not a user?
Join Date: Sep 2007
Posts: 272
Rep Power: 2
![]() |
Re: Detect a string of text in a running program.
Sounds like you're wanting to make a gamebot, which is most likely against the game TOS
|
|
|
|
|
|
#6 | |
|
hi: for(;;) goto hi;
|
Re: Detect a string of text in a running program.
Quote:
__________________
How do you play Religious Roulette? Stand around in a circle and blaspheme till someone gets struck by lightning. |
|
|
|
|
|
|
#7 |
|
Unverified User
Join Date: Apr 2008
Posts: 5
Rep Power: 0
![]() |
Re: Detect a string of text in a running program.
I am NOT making a game bot.
The program will be used to notify me when someone is sending me a group message. If you want details: Someone in my group will be saying "Selected Valkor the Impaler" I then wish to have the program notify me, either if im asleep or just alt+tabbed, so I can then start the game and join them. |
|
|
|
|
|
#8 |
|
Hobbyist Programmer
|
Re: Detect a string of text in a running program.
I would make sure that you make a copy of the file before opening it and reading it. There are some programs that if they try to reopen an open file it will fail. Make sure you sure some kind of error handling.
|
|
|
|
|
|
#9 |
|
Newbie
Join Date: May 2008
Posts: 4
Rep Power: 0
![]() |
Re: Detect a string of text in a running program.
You have been reported - again. Have a nice day.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Matlab - How to display a variable and text string in same disp command | finlejb | Other Programming Languages | 0 | Feb 15th, 2006 6:53 PM |
| How to detect cursor location and insert text??? | syntax-error | C# | 3 | Jun 30th, 2005 1:42 AM |
| Hi, and a question about cost of running a program | säkki | Community Introductions | 5 | Feb 6th, 2005 6:03 AM |