Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 30th, 2006, 5:17 AM   #1
JJBlaha
Newbie
 
Join Date: Dec 2006
Posts: 4
Rep Power: 0 JJBlaha is on a distinguished road
Need Some Help Picking a Language

I want to make a program that can take data from a game, write to and from databases, and interact with the game. Must be in windows. What language should I write this in, and why? What will I need to know? I know PHP.
JJBlaha is offline   Reply With Quote
Old Dec 30th, 2006, 6:34 AM   #2
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
What game? Taking data and interacting with a game may be difficult, depending on what that game is.
Arevos is offline   Reply With Quote
Old Dec 30th, 2006, 7:43 AM   #3
JJBlaha
Newbie
 
Join Date: Dec 2006
Posts: 4
Rep Power: 0 JJBlaha is on a distinguished road
The game is magic the gathering online. The game can be downloaded at http://www.wizards.com/default.asp?x.../downloadlinks for free.
JJBlaha is offline   Reply With Quote
Old Dec 30th, 2006, 8:25 AM   #4
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
I'd say that it would be pretty difficult to create a program that could interact with that game autonomously.
Arevos is offline   Reply With Quote
Old Dec 31st, 2006, 4:00 PM   #5
JJBlaha
Newbie
 
Join Date: Dec 2006
Posts: 4
Rep Power: 0 JJBlaha is on a distinguished road
At least 3 seperate people have. I write a bot using a macro program called AC Tools that used screen captures and mouse movements and clicks to do it, but I want something more advanced. I know it can be done, I am just not sure how.
JJBlaha is offline   Reply With Quote
Old Dec 31st, 2006, 7:11 PM   #6
Indigno
Professional Programmer
 
Indigno's Avatar
 
Join Date: Dec 2005
Location: Anywhere non-productive
Posts: 267
Rep Power: 0 Indigno is an unknown quantity at this point
Send a message via AIM to Indigno Send a message via MSN to Indigno Send a message via Yahoo to Indigno
If you're looking to grab the data on the way to the server and the client, you'll need something that can wirk with sockets. If you want to just pull it out of the client, then I can't rightly say that I know.
__________________
Perhaps I should have a sticky topic for all of the times I "return" to this forum instead of a new one every time.
Indigno is offline   Reply With Quote
Old Dec 31st, 2006, 7:14 PM   #7
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
The main problem is getting information from the game in a format that can be parsed by a program. You essentially have two approaches; try to capture the information as it appears to the user, or try to get the information required by looking at the program's internal state (or, alternatively, its network traffic).

Neither approach seems easy. Magic the Gathering Online appears to use a custom GUI system (not uncommon in computer games), and from the screenshots I've seen it looks as if you can't select the text on a card image. Thus, in order to get the information from the game you'd have to use optical character recognition (OCR) and some complex graphical routines to discern the game's state from the images on screen. Trying to infer the same information from internal program state or network traffic seems even more difficult.

I'm not saying that it's impossible, but it may be far more difficult than you've anticipated.
Arevos is offline   Reply With Quote
Old Dec 31st, 2006, 7:34 PM   #8
Indigno
Professional Programmer
 
Indigno's Avatar
 
Join Date: Dec 2005
Location: Anywhere non-productive
Posts: 267
Rep Power: 0 Indigno is an unknown quantity at this point
Send a message via AIM to Indigno Send a message via MSN to Indigno Send a message via Yahoo to Indigno
What exactly are you intentions with this program? What will it do?
__________________
Perhaps I should have a sticky topic for all of the times I "return" to this forum instead of a new one every time.
Indigno is offline   Reply With Quote
Old Dec 31st, 2006, 7:59 PM   #9
JJBlaha
Newbie
 
Join Date: Dec 2006
Posts: 4
Rep Power: 0 JJBlaha is on a distinguished road
I know how to get what cards they own into a .csv database. What i need it to do is know when windows pop up (they always pop up in the same place) or when certain images change (always the same images in the same place) right now I think i can do it with a macro program like AC Tools or AutoIT in combination with something to deal with, and write to and from databases. What i do not know how to do is determine what cards they have picked in a trade, but maybe intercepting the packets with something similiar to a packet sniffer would work?

So my revised question is what language is best for dealing with databases, packet sniffing, and such?
JJBlaha is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
If you had it to do all over again, which language? peace_of_mind Coder's Corner Lounge 24 Jan 13th, 2008 5:06 PM
Language creation/extending gryfang Project Ideas 43 Jul 20th, 2006 1:42 PM
Language display in program Prm753 C++ 3 May 30th, 2006 5:45 PM
More languages? UnKnown X Coder's Corner Lounge 27 Dec 18th, 2005 3:06 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:58 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC