ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Few Random Classes (Sdk)
Few Random Classes // Sdkstrike rapierFeb 8, 2004, 9:27am
These are something like the common classes brant released ages ago (but to
his own admission, were shite...) anyhowzies... The classes contain all the avatar information, in publics (no need for horrible properties) and all the data being contained at once allows for some brilliant encapsulation. The classes are straight from one of the bots we run in AWEdu, and considering they are in VB they are (very) fast. Also, coordinates function, less code... more action, simple, but thats taken from a older bot. I would really push everyone to use classes and handle events inside the relevant classes etc... Cooincidently... anyone who uses avatar name as the key should be shot, these don't use a key. You get the joy of looping though each avatar in the collection by yourself. These contain about 10-15% of the entire code used in the respective classes used in he bot, so just to let you know they are VERY upgradable. Cooinkindinkly, almost everything uses the syntax data type keys... dim appears very rarley (if at all) Copyright... there is no copyright, use them to your best ability, oh yeah and no warrenty either... they could cause your computer to hack NORAD and launch a nuclear strike on Russia... but I doubt that would ever happen... http://zetech.swehli.com/downloads/classes.zip - Marky R strike rapierFeb 8, 2004, 9:28am
One thing I forgot to mention, the private sdk... it needs to be set to the
SDK on your form (or memory location, if your being difficult). This was done as part of a absolutly gigantic function in them that I removed before I sent them... so you need to add one :) - Marky R johnfFeb 8, 2004, 11:37am
Russia eh, thanks Mark.. always wanted to launch a nuclear strike against
russia :-D ~John [View Quote] |