Trying to make an EE Bot - help with data?
-
- Senior Member
- Posts: 233
- Joined: Fri Jul 23, 2010 2:49 am
- Lobby Username: Oldspice Guy
Trying to make an EE Bot - help with data?
Hi Guys, so since I've been away from ee for so long, i've decided I want to make a bot for it, mainly so I can vs it, and it could be a little fun project, however I'm having trouble disecting the game. I've figured some information on unit positions and their hp, but I can't figure out how this memory is stored since it seems to be different each time the game is run. Also units are not always stored in order, so i don't quite get that either. Could someone help pls?
-
- Senior Member
- Posts: 233
- Joined: Fri Jul 23, 2010 2:49 am
- Lobby Username: Oldspice Guy
Re: Trying to make an EE Bot - help with data?
UPDATE: Ok, So I've been l33tly hacking the game, and now the "bot (Who I will be calling ErikBot)" has a list of every unit and resource. The next part was trying to figure out how to actually send commands to the game. Now reading in data is one thing, but I can't actually get ErikBot to send commands to the game, only key strokes, button presses and mouse clicks. The bot as no idea what's on the screen, or where things are, but I do however have the coords for the camera, and the units, so my plan is to have the mouse locked to the center of the screen at all times, and the bot simple moves the camera over what he wants to click/attack. my only fear is hills, but I will see if that is solvable. Sometimes when you scroll over hills, you are way too zoomed in, since it treats level 0 as the ground still, but if you click and hold on the minimap, the camera is at the correct height.
As soon as the bot actually plays the game I will post a video. It will be nauseating im sure.
As soon as the bot actually plays the game I will post a video. It will be nauseating im sure.
-
- Senior Member
- Posts: 201
- Joined: Tue Feb 16, 2010 11:41 am
- Lobby Username: Die Gurke
Re: Trying to make an EE Bot - help with data?
keep up the good work! sounds great!
[22:23:06] [-Ts-] Tricky: i dont even know what my name is anymore
-
- Epic Multiplayer Scenario Team Member
- Posts: 813
- Joined: Mon Aug 02, 2010 12:19 pm
- Xfire: p51p51
- Lobby Username: «•FRMB•»P-51
- Location: Connecticut
- Contact:
Re: Trying to make an EE Bot - help with data?
Yeah that sounds pretty cool. Update when you see progress p10x.
-
- Senior Member
- Posts: 233
- Joined: Fri Jul 23, 2010 2:49 am
- Lobby Username: Oldspice Guy
-
- Epic Multiplayer Scenario Team Member
- Posts: 813
- Joined: Mon Aug 02, 2010 12:19 pm
- Xfire: p51p51
- Lobby Username: «•FRMB•»P-51
- Location: Connecticut
- Contact:
Re: Trying to make an EE Bot - help with data?
Does it make its own civ or you tell it what to click on before? I'm just wondering why you wouldn't have it load a premade civ.
- lightnessking.
- Nemesis
- Posts: 2050
- Joined: Fri Nov 27, 2009 9:27 pm
Re: Trying to make an EE Bot - help with data?
Because anyone using this bot might not have this custom civ in the proper location.P-51 wrote:Does it make its own civ or you tell it what to click on before? I'm just wondering why you wouldn't have it load a premade civ.
You cannot make another post so soon after your last.
- Arntzen
- Administrator
- Posts: 1983
- Joined: Sun Jan 17, 2010 4:13 am
- Lobby Username: _[eC]_Arntzen_
- Location: Norway
Re: Trying to make an EE Bot - help with data?
I suggest making the bot pause for civ then
Who is online
Users browsing this forum: No registered users and 10 guests