Beginner Programmer ( Third Party Program Enhancement Software )
Hello everyone, I am new to the forums and to programming. I just started programming, and after reading a little bit about the benefits and negatives of various programming languages, I decided I would learn C#. I have written the classic 'hello world!' program, and a calculator program. I am at the very early stages in development, I am aware of this. I already have a big project in mind that I would like to be able to write, sometime in the future. I have no illusions, and I realize that I may be a year or two years away from where I need to be before I can even start to right a program like the one I am thinking about. What I would like is some direction. The project I have in mind would be a program that reads the amount of chips you have in your stack at an online casino, and then displays that number to my screen in big blinds. I would like to know what sort of programming techniques I should be looking into. What sort of technologies will most likely need to be leveraged on a project like this. This program is completely legal and would have to fall within any sites TOS before I would sell it, or use it, but I have read up on that, and it is completely legal, and not considered cheating. That being said, after this project I would like to work on others, trying to improve upon third party apps. If you have any videos, tutorials, books, or just some sound advice, I would appreciate it. Thank you for taking the time to read this.
Sam HobbsPosted Apr 7, 2012, 8:41 PM
The best way to learn about all that is to read a book or articles that are written to explain things like that. Use of a decimal in that manner is extremely fundamental in object-oriented programming except in other languages such as C++ the exact syntax varies. In C++ a "::" (double colon) might be used instead of a decimal and sometimes "->" is used instead. There are articles and books you can get for free in this web site; go to the home page.
IWill NotTiltPosted Apr 7, 2012, 8:15 PM
Sam HobbsPosted Apr 7, 2012, 8:07 PM
As for the other code, it is using "Debug.WriteLine" to write debugging data. It will be written only when a debug build is executed using the debugger. The output will appear in the "Output" window in Visual Studio. Try to find articles about the debugger (and what a debug build is if you are not yet familiar with that) and then if you still have questions create a new thread.
IWill NotTiltPosted Apr 7, 2012, 7:40 PM
if (data.dealerPos >= 0) Debug.WriteLine("Dealer position: {0}", data.dealerPos); else Debug.WriteLine("Error on reading dealer position");
IWill NotTiltPosted Apr 7, 2012, 6:42 AM
Sam HobbsPosted Apr 6, 2012, 11:30 PM
As I indicated previously, you should explore the controls for the application. In the General tab, the Window Caption is useful for many controls; it is the contents of edit (textbox) controls and some other controls such as buttons. The Windows tab can be useful; many controls actually have child controls. In the Class tab, the Class Name is important. For controls that are actually Windows API controls, the Class Name will be meaningful. Nothing else in the Class tab is useful most of the time. The Styles tab is not likely to be useful except for you education.
Something very different that can also be educational and potentially useful is a network sniffer such as Wireshark or this Network Monitor. If the data is coming from a web site or anywhere using networking, then you can probably see it coming in.
IWill NotTiltPosted Apr 6, 2012, 9:26 PM
IWill NotTiltPosted Apr 6, 2012, 8:41 PM
Sam HobbsPosted Apr 6, 2012, 7:15 PM
If the application is communicating with a web site, then it is likely doing that using a browser. Please understand that it is a possibility. So you need to start by determining what the UI is. In Spy++ there is a Finder tool you can use by dragging and dropping onto windows. You need to learn ho to do that. Then use that to determine the "class name" of the client arae of the applicaiton. The "client area" is essentially the entire window except for the title bar. The client area includes the menu area. Learn how to use Spy++ to find the parts of windows such as those.
I will be surprised if the applicatio does not use a browser. So I am trying to guide you so you can determine that yourself.
IWill NotTiltPosted Apr 6, 2012, 12:51 AM
http://www.google.ca/imgres?um=1&hl=en&sa=N&biw=1309&bih=737&tbm=isch&tbnid=jvp6UzdISmWIhM:&imgrefurl=http://www.compareonlinepoker.com/pokerstars-vs-full-tilt-poker/&docid=PcsCFB8nxN_lJM&imgurl=http://www.compareonlinepoker.com/wp-content/themes/revolution-magazine/images/pokerstars-lobby-575x430.gif&w=575&h=430&ei=hnZ-T6_kC46q8ATimcSRDg&zoom=1&iact=hc&vpx=690&vpy=286&dur=394&hovh=135&hovw=180&tx=119&ty=109&sig=100827256735892187157&page=1&tbnh=128&tbnw=171&start=0&ndsp=24&ved=1t:429,r:9,s:0,i:85
Sam HobbsPosted Apr 5, 2012, 11:54 PM
The thing you need to tell us is what is used for the UI and graphics. My guess is that it does use a browser. If it does then please read what I said.
IWill NotTiltPosted Apr 5, 2012, 11:07 PM
http://www.google.ca/imgres?q=pokerstars+classic&um=1&hl=en&sa=N&biw=1440&bih=775&tbm=isch&tbnid=Mas-HT3xm-aooM:&imgrefurl=http://www.flopturnriver.com/pokerstars-skins.php&docid=Jvkf0hK3hAeumM&imgurl=http://www.flopturnriver.com/images/pokerstars-classic.jpg&w=500&h=367&ei=fF9-T5POPIrs8wSap7yuDg&zoom=1&iact=hc&vpx=170&vpy=205&dur=1482&hovh=192&hovw=262&tx=150&ty=88&sig=114556121363475706666&page=1&tbnh=126&tbnw=162&start=0&ndsp=29&ved=1t:429,r:0,s:0,i:66
Sam HobbsPosted Apr 5, 2012, 8:13 PM
I am not sure what to say. My article Introduction to Web Site Scraping might help but I do not know.
IWill NotTiltPosted Apr 5, 2012, 9:50 AM