Server Help

Bot Questions - I wanna make a plugin

Oer The Dragon - Wed Jun 22, 2005 10:56 am
Post subject: I wanna make a plugin
Where tha hell is a detailed description how to make plugins on mervbot??!! I just wanna add a command: !specme for players.
Downloaded visual c++ and a ''tutorial'' thingy from catid.ssihosting.com how to make plugin for mervbot... didn't understand sh*t
now what?!?!

please icon_razz.gif
Purge - Wed Jun 22, 2005 12:27 pm
Post subject:
Since you didn't understand it, I just did it for you.
Anonymous - Wed Jun 22, 2005 1:02 pm
Post subject:
rolling on the floor laughing
Maverick - Wed Jun 22, 2005 1:32 pm
Post subject:
if you are interested in making plugins for Mervbot, read http://wiki.minegoboom.com/index.php/MERVBot_Tutorial

Read it carefully and do what it sais, you should be alright then.
50% Packetloss - Wed Jun 22, 2005 2:21 pm
Post subject:
If he is intrested then he needs to learn C++, there are enough script kiddies.
Purge - Wed Jun 22, 2005 2:31 pm
Post subject:
Script kiddies? icon_sad.gif
Solo Ace - Wed Jun 22, 2005 2:47 pm
Post subject:
Webopedia.com wrote:
Script kiddie

A person, normally someone who is not technologically sophisticated, who randomly seeks out a specific weakness over the Internet in order to gain root access to a system without really understanding what it is s/he is exploiting because the weakness was discovered by someone else. A scriptkiddie is not looking to specific information or a specific company but rather uses knowledge of a vulnerability to scan the entire Internet for a victim that possesses that vulnerability.


What 50 cent means doesn't have much to do with using security holes in a system, he means people who copy code from others without actually understanding what the code does.
They "write" plugins without knowing what they're doing, which usually leads to poorly written plugins.
This isn't really what's in the definition, but parts of it do match.
CypherJF - Wed Jun 22, 2005 3:51 pm
Post subject:
code smells!
50% Packetloss - Wed Jun 22, 2005 4:05 pm
Post subject:
Yep. I like wikipedia's definition better though.

http://en.wikipedia.org/wiki/Script_kiddie
Solo Ace - Wed Jun 22, 2005 4:18 pm
Post subject:
Heh, I wanted to look there, but everyone can modify it! sa_tongue.gif
Oer The Dragon - Thu Jun 23, 2005 9:46 am
Post subject:
DUDE im not a bloody script kiddie... i'm a logical barely 3 year younger than you person.
(dammit now im going to have to do it myself sa_tongue.gif )

ps: thanks maverick
Oer The Dragon - Thu Jun 23, 2005 10:07 am
Post subject:
I got visual studio 2005 beta... and i don't see any Win32 Dynamic-Link Library there
Bak - Thu Jun 23, 2005 10:09 am
Post subject:
just open the .sln file included with the tutorial off catid's site
Oer The Dragon - Thu Jun 23, 2005 10:15 am
Post subject:
Thanks, but your open the .snl and the tutorial instructions confused me
you're not 6 years old! sa_tongue.gif

Ps: why don't you explain more bak or purge+ how you made that plugin

Or better yet: why don't one of you give me your msn so I can nag you to death about plugin questions then you can feed me with a silver spoon?
Maverick - Thu Jun 23, 2005 10:50 am
Post subject:
get Visual Studio 6 / Visual C++
Bak - Thu Jun 23, 2005 11:10 am
Post subject:






















Oer The Dragon - Thu Jun 23, 2005 11:28 am
Post subject:
lmao!
thanks for showing me and thereby getting me the queer smiley with tongue out that I hate so much on my description or whatever it is lol
Purge - Thu Jun 23, 2005 11:47 am
Post subject:
That happens at 50 posts. Also, my MSN is on the MSN icon, so you may nag me to death.
Oer The Dragon - Thu Jun 23, 2005 11:56 am
Post subject:
ty... now where's that file: \mervbot\makeplugin\tutorial\sockets.h(13) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
Purge - Thu Jun 23, 2005 12:03 pm
Post subject:
Your path to the MERV's src is wrong. Make sure your project's folder is in the MERV src folder and that your non-dynamic includes are like this:
Code: Show/Hide
#include "..\sockets.h"

Cyan~Fire - Thu Jun 23, 2005 12:20 pm
Post subject:
You're wrong purge.

Do you have the Win32 SDK installed, Oer? You're missing one of the include files that it provides. Try searching for "winsock2.h" and make sure wherever it is is on your visual studio include path.
Oer The Dragon - Thu Jun 23, 2005 12:23 pm
Post subject:
i certainly have some kind of sdk installed tongue.gif (god i hate that smiley)
Purge - Thu Jun 23, 2005 12:25 pm
Post subject:
Cyan~Fire wrote:
You're wrong purge.


Am I? It says that the compiler is looking for "sockets.h", which is part of the MERVbot src code.
Oer The Dragon - Thu Jun 23, 2005 12:43 pm
Post subject:
could I get a link for that sdk cyan? and the link to visual c++ 6.0 while you're at it sa_tongue.gif
Muskrat - Thu Jun 23, 2005 1:39 pm
Post subject:
Purge+ wrote:
It says that the compiler is looking for "sockets.h", which is part of the MERVbot src code.

Is it looking for sockets.h?
Contempt+ - Thu Jun 23, 2005 2:10 pm
Post subject:
yeah, #include <sockets.h>

Do you have the merv src in the parent folder?
Purge - Thu Jun 23, 2005 2:12 pm
Post subject:
Oh. My reading error!
Purge - Thu Jun 23, 2005 2:13 pm
Post subject:
Contempt+ wrote:
yeah, #include <sockets.h>

Do you have the merv src in the parent folder?


For that, it should be "..\sockets.h" and not <sockets.h> (since it's in a different folder).
Bak - Thu Jun 23, 2005 2:15 pm
Post subject:
it found socket.h.... it couldn't find winsock2.h
Purge - Thu Jun 23, 2005 2:16 pm
Post subject:
Wow. I suck today. icon_sad.gif
Oer The Dragon - Thu Jun 23, 2005 2:27 pm
Post subject:
still doesn't work lol
then where the hell is it?!?!?!?!
gimme some win32 sdk link
and a winsocket thingy
Bak - Thu Jun 23, 2005 2:28 pm
Post subject:
Oer The Dragon wrote:
ty... now where's that file: \mervbot\makeplugin\tutorial\sockets.h(13) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory


It found sockets.h, it didn't find winsock2.h

I've attached winsock2.h, Oer, put it into the same directory as sockets.h and (in sockets.h) change

#include <winsock2.h>

to

#include "winsock2.h"

Let me know if there's any other files you're missing
Oer The Dragon - Thu Jun 23, 2005 2:39 pm
Post subject:
still doesn't work icon_cry.gif
Bak - Thu Jun 23, 2005 2:43 pm
Post subject:
same error?
Oer The Dragon - Thu Jun 23, 2005 2:45 pm
Post subject:
oops.. misunderstood you... now it's missing windows.h (from winsock2.h)
Oer The Dragon - Thu Jun 23, 2005 3:45 pm
Post subject:
i found all the files... but i gotta add em one by one new_let_it_all_out.gif

anyone know how to do it so you don't have to replace <windows.h> with "windows.h"?
Purge - Thu Jun 23, 2005 4:04 pm
Post subject:
Put them in the same directory as the plugin's src?
Oer The Dragon - Thu Jun 23, 2005 4:06 pm
Post subject:
no i still have to replace <> with ""

edited: holy crap visual studio is opening over 900 files
just opened another visual studio automatically
Cyan~Fire - Thu Jun 23, 2005 5:15 pm
Post subject:
OMG don't listen to these people, Oer.

Remove all of the files you've moved into the plugin's directory. Now, find out where the include directories are listed in VC2005 (it's in Tools->Options->Directories tab in VC6 if that helps), and make sure the directory that had all of those files is listed there. Then, change the ""s back to <>s.

What are you planning to do, Bak? Attach the whole SDK? Have him copy every file in the SDK into every plugin directory he tries to compile?
Oer The Dragon - Thu Jun 23, 2005 6:06 pm
Post subject:
there isn't one...
just give me a link to v 6 icon_confused.gif
Purge - Thu Jun 23, 2005 6:09 pm
Post subject:
MSVS is retail. Buy it.
Bak - Thu Jun 23, 2005 7:04 pm
Post subject:
Well I was hoping it was just one file that was missing. If you add it to the include path (like cyan~fire said) wherever you installed VS.NET you won't have to change the <> to ""
Oer The Dragon - Fri Jun 24, 2005 12:24 pm
Post subject:
for heavens sake... I had a suspision it was to buy
you could have just told me
i'll try
(btw I got the files from here:
http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en )[/url]
Muskrat - Fri Jun 24, 2005 6:00 pm
Post subject:
Why dont you buy it Purge. tongue.gif
Cyan~Fire - Fri Jun 24, 2005 6:04 pm
Post subject:
Oh. So when you say you "found all the files" that means you found them on the net? If you want to download everything the way it should be check here.

But if you're actually buying a copy of VS, then the CD should come with the SDK (software development kit) on it.
Purge - Fri Jun 24, 2005 6:10 pm
Post subject:
Muskrat wrote:
Why dont you buy it Purge. tongue.gif


I have no self-knowledge of this word "buy". sa_tongue.gif
50% Packetloss - Fri Jun 24, 2005 6:26 pm
Post subject:
Oer The Dragon wrote:
DUDE im not a bloody script kiddie

No one called you a script kiddie, I said that you should learn C++ first before persuing mervbot.

All socket files should be in the compiler's include directory. If it's not then you either stole the software (via kazaa, ect) or you have some crappy student version. They are probably in the SDK
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
Cyan~Fire - Sat Jun 25, 2005 12:32 am
Post subject:
That's only the same link I just posted...
Oer The Dragon - Sun Jun 26, 2005 12:09 pm
Post subject:
ok so it's like \I \include...
but can i put c:program files\sdk\include\ ?
didn't work (it's visual c++ 2005 expres edition beta btw)

ps: ok fine: ''i'm not a bloody script kiddie and I never will be!''
Cyan~Fire - Sun Jun 26, 2005 9:00 pm
Post subject:
Huh? It sounds like you're just putting it in your compiler options string. Put it in the Tools -> Options directories thing if you want to to work right. (That'll have a browse interface, too.)
Oer The Dragon - Tue Jun 28, 2005 9:02 am
Post subject:
no directorys option in tools--> options
(searching for a trial period of v 6)
Cyan~Fire - Tue Jun 28, 2005 11:34 am
Post subject:
It's like in the "Project Settings" tree node on the left, and then directories under that or something. At least that's what my dad (who uses VS.NET) says.
Oer The Dragon - Fri Jul 01, 2005 6:07 am
Post subject:
does vs.net cost $$$ too?
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group