Author |
Message |
ChalkEagle Newbie
Joined: May 31 2004 Posts: 23 Offline
|
Posted: Fri Aug 27, 2004 9:58 pm Post subject: MERVbot Tutorial |
 |
|
|
|
If you think this is a post asking for a MERVBot tutorial, surprise, its not.
I am writing up a detailed MERVBot tutorial. Ive done about 7 sections so far as well as how to run it and set it up. Its a work in progress, but if anyone wants to comment on it, feel free. Just felt like doing my part in the war against not enough bot programmers.
www.sectionops.net/er/tutorial.html
(That goes to the Setup/How to run Page, links at the bottom of it)
I am also free for suggestions. Its ment for a very beginner audience, so I try to go into as much detail as I can.
-Chalk Eagle |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Fri Aug 27, 2004 11:30 pm Post subject: |
 |
|
|
|
Nice job with what I've read so far. But I do have a few suggestions, as always:
- Mervbot.com seems to be broken right now. I'd suggest using catid.ssihosting.com, since that will almost definitely stay the same for quite a while.
- On the project setup page, it sounds like the user should compile the default code and use that as their plugin. That won't be too functional.
I'd add in something about "write your code!" first.
- On the how to run page, I'd suggest adding the attribute "readonly" to each of the textareas. Looks a lot nicer that way.
- Spawn.h: you can also add functions and member variables. (If they read that tutorial, they should know what members are by now.)
- I'd also tell the reader that detailed descriptions of each event also live in dllcore.h, along with a "DO NOT TOUCH!" message.
- User code should go below "Put blah here" comments.
- Code looks SO much nicer with braces on their own lines. And they're braces, not parenthesis as you said in the code section.
- Make the repetitive ifs in gotCommand() else ifs to save CPU time.
- The !commands command is a little ugly. Why don't you have the user add that in gotHelp()?
- You should really use CMPSTART() in EVENT_Chat instead of assigning the contents to a few different Strings. If you really want to use Strings, at least only use one.
That's all for now. Sorry, it's kinda long, but hopefully it'll help. Good luck  _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Fri Aug 27, 2004 11:41 pm Post subject: |
 |
|
|
|
why not open the provided project file in the tutorial (1 step) instead of creating the project file (7 steps).
I keep a copy in a template directory that I copy and rename whenever I make a new plugin. |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Sat Aug 28, 2004 12:05 am Post subject: |
 |
|
|
|
there is a reason for not a lot of bot programmers. There arent a lot of people capable of programming. I strongly disagree with teaching script kiddies the ABCs of programming like a retard. There are enough plugins that have been poorly done, including so of mine that i rushed, there needs to be a higher understanding of what the core is doing and that can only be accomplished if the person reading this tutorial knows how to program. And if they know how to program, they wont need a tutorial to hold thier hand through FOR loops and sting handling.
So for you script bitches,
step 1. Learn to program in C and/or C++ (this involves knowing more than int main(){return 0;} )
step 2. Read some of the mervbot source code along with dll code to get a gist of the ideas involved with dll programming |
|
Back to top |
|
 |
Deadly Seasoned Helper
Age:34 Gender: Joined: Oct 15 2003 Posts: 148 Location: Ontario Canada Offline
|
Posted: Sat Aug 28, 2004 1:33 am Post subject: |
 |
|
|
|
i dont know C++ and i can make good enough plugins.. the code is prolly shit compared to ppl that know lots of C++ but the plugin works so i dont care  _________________ Known as DeadlySoldier!! in-game..
http://deadly.sscentral.com -- My Bots |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Sat Aug 28, 2004 6:26 am Post subject: |
 |
|
|
|
OK, OK, I really do agree with 50%, but I didn't want to be discouraging. I think that if someone can't figure out how to do the most basic stuff, they won't be able to make a good plugin. |
|
Back to top |
|
 |
ExplodyThingy Server Help Squatter
Age:38 Gender: Joined: Dec 15 2002 Posts: 528 Location: Washington DC Offline
|
Posted: Mon Aug 30, 2004 7:40 pm Post subject: |
 |
|
|
|
If you so desire, Ill add this to the sticky on ssforum. _________________ There are no stupid question, but there are many inquisitive idiots.
Loot
Dr Brain> I hate clean air and clean water. I'm a member of Evil Conservitive Industries |
|
Back to top |
|
 |
|