ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
New to C++ ;( (Bots)
New to C++ ;( // BotsrizlaJul 8, 2006, 1:08pm
Hi everyone..
Okay, usually im a novice VB 6 programmer, but since 4.1 has been released Mr. Grimms SDK Wrapper no longer works.. so I have decided to attempt to learn C++ to create bots.. If there is anybody out there whom is willing to help in any way i would greatly appreciate it, as its incredibly difficult to program in a new language from scratch.. im using Bloodshed Dev C++.. and have got a basic bot connected.. and responding to a few phrases.. and clicks.. but i beleive the program needs to be threaded.. as once I initiate a loop that i wish to keep running in the back ground so to speak.. the program does not respond to anything else.. if that makes sense? Please someone be my mentor! lol Rizla+ ;) PS: it shouldnt be tooooo much work for yah.. just put me on the right path... strike rapierJul 8, 2006, 6:50pm
[View Quote]
Use a graphical user interface to do it, that way you can set up what is
called a message loop timer WM_TIMER which you can then trigger aw_wait for - no more use of while loops. Avoid threading if you can, horrible horrible thing in most cases - certainally not something you want to try and tackle if you are new. I suggest you download Visual Studio 2005 express, its a good price (Free!) and although its .NET for a new user its a good thing to use. -- - Mark Randall http://www.temporal-solutions.co.uk "We're Systems and Networks..." "It's our job to know..." byteJul 8, 2006, 7:06pm
Don't even have to use the .NET portions, can make console programs with express that have no UI. You have to buy the full version to get access to MFC and other such nonsense in 2005.
[View Quote] andrasJul 8, 2006, 7:07pm
[View Quote]
[View Quote]
On the contrary - I suggest to keep Dev C++ :)
..NET is evil!!! OTOH I agree with Strike - threading is not a good idea with the SDK! Consult with Lady NightHawk - she learned the SDK by herself and she is using Dev C++ :) -- Andras "It's MY computer" (tm Steve Gibson) byteJul 8, 2006, 7:33pm
Can I ask why you are against .NET other than anti-Microsoft sentiment? Don't give me that it's a proprietary way of Microsoft forcing their programming methods on us. Both C# and the Common Language Infrastructure (including the Common Intermediate
Language, the Byte-Code, and the Virtual Machine) have been both ISO and ECMA standardized. Proof of this can be found at the mono project, an open-source implementation of the CLI by Novell and others. http://www.mono-project.com/Main_Page for more information on that. :) [View Quote] > > On the contrary - I suggest to keep Dev C++ :) > .NET is evil!!! > OTOH I agree with Strike - threading is not a good idea with the SDK! > Consult with Lady NightHawk - she learned the SDK by herself and she is > using Dev C++ :) > strike rapierJul 8, 2006, 8:40pm
[View Quote]
..NET has one major weakness (especially on the C++ side)...
Lack of multiple inheritance support, especially for major bots its useful to pile layers and layers on top of a base class to add extra functionality etc. -- - Mark Randall http://www.temporal-solutions.co.uk "We're Systems and Networks..." "It's our job to know..." byteJul 8, 2006, 9:20pm
I'll give you that, but that's more of a programming style and convenience than anything else.
[View Quote] lady nighthawkJul 9, 2006, 9:42pm
I did? LOL Thanks for the vote of confidence ... *looks to see where I can
find some of that now*! Hugzzz LNH [View Quote] rizlaJul 17, 2006, 11:05am
Microsoft hater? lol far from it
But without a working vb sdk not much choice but to try something different ;) [View Quote] |