Hello, could anyone provide me any help with seeding commands?
We need it for developing of the bwapi - it will be library that can be used to make bw ai in c++.
(some basic info can be found here http://www.broodwarai.com/forums/index.php?showtopic=295)
We can already acces all unit information we want, but now we want to be able to order commands, we already searched (from web, and the incomplete nexiouz source that ordering commans is connected with these addresses:
const int BWFXN_CommandUnit = 0x4BFF80;
const int IssueCommand = 0x4858F0;
and the sendCommand function MIGHT be like this:
void (_stdcall*sendCommand)(int, int int, int) = (void(_stdcall*)(int, int, int, int))BW::BWFXN_CommandUnit;
So questions are
a) Are these offsets correct?
b) Are function parameters correct?
c) What are their meaning?
d) If the function orders selected unit, how can I issue order to select other unit(s)?
I found somehwere that it could be like this
sendCommand(commandCode, 0xe4, target.x, target.y);
but I tried all possible command codes and nothing happened (expect the replay couldn't be opened in bwchart (so something strange happened atleast)
Any hints/redirection are apprecieted.
I also found these memory locations:
IssueCommand 4858F0
CancelUnit 423480
PrintXY 4202A0
SetFont 41FB20
Small 6CE0DC
Normal 6CE0E0
Large 6CE0E4
Huge 6CE0E8
But how can I use them when I don't know their parameters?
(For example I guessed the PrintXY to be char*,int,int and it crashed bw)
Ok, seems like the problem really is, that all these addresses are 1.15.1, is there any source of 1.15.2 values?


LinkBack URL
About LinkBacks
Reply With Quote













