• Welcome to Valhalla Legends Archive.
 

Sample Bot

Started by ILurker, April 16, 2003, 09:33 PM

Previous topic - Next topic

ILurker

Finally, I have taken some time to modify samplebot from the last patch, and release it.

Samplebot:
[Starcraft & Brood War Only]

Download:...
http://www.wolfness.com/simi/chaosbot/samplebot.zip

Feel free to rip this off all you want, I don't care.

TheMinistered

#1
I want to thank you for posting an example, good job! however, before even opening, I prophicy that I will end up posting correctiong/tips, first thing I see are naming conventions are _horrible_ but thats okay you can work on them, these are all things to help you out, don't take them the wrong way.  Take them and use them to improve further.

[edit 1]
Please do not put things like ...


'Sample Bot By: iLurker'


Then not give credit to authors of other parts of your source.  You are misleading people who read the source code.  If there is any doubt in who wrote it, I could consider it plagiarism.

[edit 2]
If you are going to take a modular approach (Yes, I see your class modules, but the majority of the project is modular, and what class modules that do appear in his project appear to be the works of others) then please name modules according to what would be contained.  Try breaking the code up into modules, each module handling different things.  Then place the functions/subs into the corresponding modules.  I'm sure you _all_ know this already though, so enough said.

[edit 3]
Please try to keep a constant coding style through out the project.  From looking at all the files contained in the project, each one contains a various flavor of coding.  While this does proove that some of the code isn't yours, it also decreases readability (cough no 1337 chat coding cough).  Try to improve here.

[edit 4]
Try to atleast make some optimizations, there are tons out there.

Camel

[edit 1]
don't _ever_ apologize before you've done anything wrong

Mesiah / haiseM

   pbuffer.InsertNTString "BinaryGateway"

i thought this code looked familiar...
]HighBrow Innovations
Coming soon...

AIM Online Status: 

ILurker

I needed a little help with some parts of the bot  :-\

Banana fanna fo fanna

ILurker: WHERE THE HELL DID YOU GET MY SOURCE FROM?

Fr0z3N

st0rm your source?

i havent loked at that one yet, no time!

Mesiah / haiseM

QuoteILurker: WHERE THE HELL DID YOU GET MY SOURCE FROM?

lmao@that
]HighBrow Innovations
Coming soon...

AIM Online Status: 

Banana fanna fo fanna

Most likely Ethbot or some version of BG...

Etheran

#9
*whistles innocently*

Edit: Module3.bas is a direct copy and paste from ethbot, no modification or anything that I can tell.

Edit2: Good to see my ReverseString algorithm in use in Module4.bas. :D

FyRe


Camel

Quote from: Etheran on April 21, 2003, 12:14 AMEdit2: Good to see my ReverseString algorithm in use in Module4.bas. :D
just use StrReverse...