Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Bot_Framework.cpp : Defines the entry point for the console application.
- //
- #include "stdafx.h"
- #include "bot.h"
- #include "lobby.h"
- bot test_bot;
- lobby test_lobby;
- int maxn = 30;
- int main(int argc, char* argv[])
- {
- SetConsoleTitle( "Bot Framework" );
- printf("Toribash Bot Framework\n..Juntalis\n..V. 0.1\n\nFor the purpose of this example, we're going to use:\n\n");
- sprintf(test_bot.user.username, "THIS IS YOUR USERNAME");
- sprintf(test_bot.user.password, "THIS IS A MD5 OF A PASSWORD");
- printf("User: %s\nPass: %s\n\n", test_bot.user.username, test_bot.user.password);
- int e = test_bot.sock_connect("66.230.224.162", 20254);
- if(!e) goto done;
- test_bot.process();
- test_bot.disconnect();
- done:
- printf("Have a good day!\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement