+ Reply to Thread
Results 1 to 7 of 7

Thread: [EVE Online] EON - Free Eve Online Mining Bot

  1. #1

    [EVE Online] EON - Free Eve Online Mining Bot

    EON Mining Bot

    After finding out most EVE mining bots were commercial, except for Discovery which was kinda sucky, i decided to make my own. I'm not sure how many people here even play EVE, so I'll keep this short.

    Features:

    - Undetectable
    - Passive, you can browse the web while it's running and it will bring the EVE window into the foreground when it's needed (I'm running it while i type this up ), this behavior is not perfect yet either, so don't trust it to work properly. If you leave your computer alone, it will run perfectly.
    - Easy to set up
    - Open Source

    It still needs work, i did it in two hours i had free yesterday, but it's a start. I left it running last night, and racked up 2 Million ISK worth of ore so enjoy!

    I realize this is my first post here, so you don't have much reason to trust that my program is real, and not a trojan. So here's most of the source. NOTE: This won't compile, the rest is in the "source" folder of the bot.

    Code:
    /***************************************************************************************
    EON V0.1 by W1ng
    
    Distrubuting
    
    You're allowed to redistrubute this program and any modified version you have made of it, as long as you 
    aren't doing so commericaly (AKA SELLING MY BOT, IS NOT ALLOWED) and as long as you give credit to me.(W1ng)
    
    You can take parts of the code and use it in your own program, just give credit! Credit makes the open source community go round.
    
    If you don't give credit you're a total ******
    ****************************************************************************************/
    
    int main(int argc, char *argv[])
    {
    	ConfigFile config("config.ini");
    
    	int dockingTime = config.read<int>("DockingTime");
    	int mapOpen = config.read<int>("MapOpenTime");
    	int miningTime = config.read<int>("MiningTime");
    	int warpingTime = config.read<int>("WarpingTime");
    
    	std::string eveWindowName = config.read<std::string>("EveWindowName");
    
    	srand(time(NULL));
    	POINT ptMouse;
    
    	RECT windowPosition;
    
        eveWindow = FindWindow(NULL,"EVE");
    
    	if(eveWindow == NULL)
    	{
    		cout <<"Could not find EVE window, closing. Make sure EVE is open before running!" << endl;
    		system("pause");
    		return 0;
    	}
    
    	SetForegroundWindow(eveWindow);
    
    	Sleep(2000);
    
    	GetWindowRect(eveWindow,&windowPosition);
    
    	GetCursorPos(&ptMouse);
    
    	cout <<"Everything checks out. Beginning endless mining loop!" << endl << endl << "--------------------------------------------"<< endl <<endl;
    
    
    	bool running = true;
    	while(running)
    	{
    		
    		//Undock
    		MoveMouse(19,739,1);
    
    		//Wait for undock to finish
    		Sleep(dockingTime);
    
    		//Go into Map View
    		cout << "Undocked - going into map view" << endl;
    		PressKey(VK_F10);
    
    		//Wait for map view to load
    		Sleep(mapOpen);
    
    		//Warp to belt
    		cout << "Warping to belt" << endl;
    		MoveMouse(44,23,2);
    		Sleep(500);
    		MoveMouse(124,67,0);
    		MoveMouse(124,160,0);
    		MoveMouse(356,160,1);
    
    		Sleep(500);
    
    		//Get back out of map view
    		PressKey(VK_F10);
    
    		//Wait to get to belt
    		Sleep(warpingTime);
    
    		//Select Nearest roid
    		MoveMouse(834,158,1);
    		//Target It
    		MoveMouse(876,74,1);
    
    		Sleep(5000);
    
    		//ATTTACK!!!
    		PressKey(VK_F1);
    		PressKey(VK_F2);
    		PressKey(VK_F3);
    		PressKey(VK_F4);
          
    		Sleep(miningTime + rand() % 100);
    
    		MoveMouse(rand() % 400, rand() % 400, 0);
    
    		Sleep(500);
    
    		//Back to station
    		cout << "Going back to station"<< endl;
    
    		//Warp to belt
    		cout << "Warping to station" << endl;
    		MoveMouse(44,23,2);
    		MoveMouse(124,67,0);
    		MoveMouse(124,145,0);
    		MoveMouse(356,145,1);
    
    
    		Sleep(warpingTime);
    
    		
    		SetForegroundWindow(eveWindow);
    		Sleep(800);
    
    		cout << "Docking"<< endl;
    
    		//Wait for map view to load
    
    		//Dock with station
    		MoveMouse(44,23,2);
    		Sleep(500);
    		MoveMouse(124,67,0);
    		MoveMouse(124,145,0);
    		MoveMouse(356,145,0);
    		MoveMouse(356,170,1);
    
    		Sleep(dockingTime);
    
    		SetForegroundWindow(eveWindow);
    		Sleep(800);
    
    		//We're in
    		MoveMouse(17,646,1);
    		MoveMouse(49,652,2);
    		MoveMouse(68,659,1);
    
    		MoveMouse(85,690,0);
    
    		Sleep(500 + rand() % 200);
    
    		INPUT *mouseClick;
    		mouseClick = new INPUT;
    		mouseClick->type = INPUT_MOUSE;
    		mouseClick->mi.dwFlags = MOUSEEVENTF_LEFTDOWN;
    
    		SendInput(1,mouseClick,sizeof(INPUT));
    		SendInput(1,mouseClick,sizeof(INPUT));
    
    		MoveMouse(85,512,0);
    
    		mouseClick->mi.dwFlags = MOUSEEVENTF_LEFTUP;
    
    		SendInput(1,mouseClick,sizeof(INPUT));
    
    		//Done, wait a random ammount of time
    
    		cout << "Done, waiting a random amount of time"<< endl;
    		Sleep(rand() % 30000); 
    
    
    	}
    
    
    
    
    	system("pause");
    
    }
    Attached Files
    Last edited by W1ng; 2nd January 2009 at 13:49.

  2. #2

    Post

    Hello there...

    i am verry much interested in your little eon script...

    if u could, would you email the .rar file 2 my email ? (B_O_T_369@hotmail.com)
    Im currently using macro's for it...but, your way seem allot more stable.
    Im a noob in programming although i thought about this concept.
    (i still lack the skill)


    i ensure u it is for my personal use only!!!

    also, wat do i need 2 run this script ???

    Thanks anywhays,

    a dude seeking for guidance.
    Last edited by B_O_T; 13th January 2009 at 13:00.

  3. #3
    This isn't a bot, it's just a plain old macro. Most EVE bots aren't commercial, there are 3 or 4 free ones. See.

  4. #4
    Undetectable
    ^ Lies. All EVE Online bots are detectable no matter their technology. CCP don't rely on clever software to detect mining bots, they only use reporters. If you mine 23/7 you WILL get banned. No question about it.

    That said, I don't think this guy knows what he's talking about. RoidRipper is free, open source and infinitely better than this crappy EON macro. I think this is it on that guys site -- RoidRipper

  5. #5
    I'll say this much instead of jumping on your throat. Thanks for effort.

  6. #6
    why is it that NO ONE WILL JUST DETECT THE WINDOW SIZE!?!?!? lol.. well thank you for the source atleast ill take it from here lol

    props

  7. #7

    it didn' work

    Hi i liked the idea of a simple passive mining bot, and installed and followed all instructions.
    But the problem is when undocked it opens the map and the mouse moves to the upper-left corner and then moves to some other location but must miss its first target because nothin happens?
    U have any clue what might be wrong?

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts