Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
I was programming my bot and I decided to add a stalker to it. The stalker is supposed to follow the username written in a text box if the check box is checked.
Here's what I wrote:
case "m":
try
{
string mover = Players[m.GetInt(0)];
if (mover == playerStalked.Text)
{
if (checkStalking.Checked)
{
conn.Send("m", m.GetDouble(1), m.GetDouble(2), m.GetDouble(3), m.GetDouble(4), m.GetInt(5), m.GetInt(6), m.GetInt(7), m.GetInt(8));
}
}
}
catch { }
break;
playerStalked is the text box, checkStalking is the text box and Players is the Dictionary<int, string> I use to get player usernames from their id's.
Offline
Now where and what is your error?
[EDIT]
I think the m event also takes a boolean 'pressSpace' at the end.
Can't check right now.
Offline
Now where and what is your error?
[EDIT]
I think the m event also takes a boolean 'pressSpace' at the end.
Can't check right now.
My error is that the bot is too lazy to move his ess when i run the code.
Offline
It does have a spaceDown.
It's either 10 or 11.
Offline
this is how it is,
<String> "m"
<Double> PlayerPosX
<Double> PlayerPosY
<Double> SpeedX
<Double> SpeedY
<Integer> ModifierX
<Integer> ModifierY
<Integer> Horizontal
<Integer> Vertical
<Double> GravityMultiplier
<Boolean> SpaceDown
Offline
this is how it is,
<String> "m"
<Double> PlayerPosX
<Double> PlayerPosY
<Double> SpeedX
<Double> SpeedY
<Integer> ModifierX
<Integer> ModifierY
<Integer> Horizontal
<Integer> Vertical
<Double> GravityMultiplier
<Boolean> SpaceDown
if it doesn't have these 11 things, it wont move?
Offline
conn.Send("m", x, y, 0, 0, 0, 0, 0, 0, 0, false);//false=no space; true=space
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
capasha wrote:this is how it is,
<String> "m"
<Double> PlayerPosX
<Double> PlayerPosY
<Double> SpeedX
<Double> SpeedY
<Integer> ModifierX
<Integer> ModifierY
<Integer> Horizontal
<Integer> Vertical
<Double> GravityMultiplier
<Boolean> SpaceDownif it doesn't have these 11 things, it wont move?
I think so, just like how it won't forcefully get the crown if you don't specify the coordinates.
Offline
You have to satisfy all of the args to make it move.
Offline
Pages: 1
[ Started around 1732484312.1338 - Generated in 0.052 seconds, 12 queries executed - Memory usage: 1.48 MiB (Peak: 1.63 MiB) ]