BBot - The best bot of the world

Full Version: About a macro
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey, i wanted to know if someone could help me making a macro, i need a macro that trow 1 orange or 1 of food i choose with a dealay time for example 1 orange in my foot ever 5 minutes is this possible? Can anyone help me?

Thanks from now Big Grin
Well, in my opinion you just need a simple throwing macro and you make it run every 300000 milliseconds, which is 5 minutes.
(05-25-2013, 03:21 PM)Coizado Wrote: [ -> ]Well, in my opinion you just need a simple throwing macro and you make it run every 300000 milliseconds, which is 5 minutes.

Hmm well look i got this one for another topic searching and searching:

0 {Drop Food in Ground} ID:=3582 COUNT:=1 X:=Self.X() Y:=Self.Y() Z:=Self.Z() Map.Thrown(!ID!, !COUNT!, !X!, !Y!, !Z!)

i changed ID for orange ID, and it throws 1 orange behid me its awesome but when i put it to auto execute every 137000 Meliseconds ( 2 Minutes 17 seconds)

I throw every 2 minutes 35 seconds, !!IDK WHY!!

Can u explain me the reason? i used a macro recorder to throw food and 137 seconds (137000) was the exact time i have to throw food but, in bbot idk why is diferent :S
2 min = 2 * 60 * 1000
17 seconds = 17 * 1000
Result = 137000 - 18 * 1000

Try:
[macro]119000 {Drop Food in Ground} ID:=3582 COUNT:=1 X:=Self.X() Y:=Self.Y() Z:=Self.Z() Map.Thrown(!ID!, !COUNT!, !X!, !Y!, !Z!)[/macro]
(05-25-2013, 04:51 PM)Kimoszin Wrote: [ -> ]2 min = 2 * 60 * 1000
17 seconds = 17 * 1000
Result = 137000 - 18 * 1000

Try:
[macro]119000 {Drop Food in Ground} ID:=3582 COUNT:=1 X:=Self.X() Y:=Self.Y() Z:=Self.Z() Map.Thrown(!ID!, !COUNT!, !X!, !Y!, !Z!)[/macro]

Thanks for answering buddy, i tryed it but, idk why now throw the orange every 2 minutes with 119000, maybe is a bug of the bot? or is bbot fuctions with rare ms xd

Thank u a lot
Not is bug, is a time of each function to execute, maybe.
(05-25-2013, 07:12 PM)Kimoszin Wrote: [ -> ]Not is bug, is a time of each function to execute, maybe.

So, what can i do?

This is what i have atm

120000 {Drop Food in Ground} ID:=3586 COUNT:=1 X:=Self.X() Y:=Self.Y() Z:=Self.Z() Map.Thrown(!ID!, !COUNT!, !X!, !Y!, !Z!)
(05-25-2013, 07:19 PM)lolo111011 Wrote: [ -> ]
(05-25-2013, 07:12 PM)Kimoszin Wrote: [ -> ]Not is bug, is a time of each function to execute, maybe.

So, what can i do?

This is what i have atm

120000 {Drop Food in Ground} ID:=3586 COUNT:=1 X:=Self.X() Y:=Self.Y() Z:=Self.Z() Map.Thrown(!ID!, !COUNT!, !X!, !Y!, !Z!)

In order to avoid been detected by CipSoft's Bot filter, all Bbot's functions are random, even the ones you can set an exact time like a Macro.

It will take the time you set, and use a random number generator, to increase or decrease 0 to 15% the number you set. In a fast macro, like 1000 (1 second) or less, you barely notice the diference, but in a long macro, you do.

The only way, in my opinion is make a faster running macro and count the time in a variable inside the macro.

Code:
500 {Drop Food by C} ID:=3586 COUNT:=1 X:=Self.X() Y:=Self.Y() Z:=Self.Z() !Time!>=68 [if] Map.Thrown(!ID!, !COUNT!, !X!, !Y!, !Z!) Time:=0 {if} VarAdd(Time, 1)
(05-25-2013, 07:37 PM)Coizado Wrote: [ -> ]
(05-25-2013, 07:19 PM)lolo111011 Wrote: [ -> ]
(05-25-2013, 07:12 PM)Kimoszin Wrote: [ -> ]Not is bug, is a time of each function to execute, maybe.

So, what can i do?

This is what i have atm

120000 {Drop Food in Ground} ID:=3586 COUNT:=1 X:=Self.X() Y:=Self.Y() Z:=Self.Z() Map.Thrown(!ID!, !COUNT!, !X!, !Y!, !Z!)

In order to avoid been detected by CipSoft's Bot filter, all Bbot's functions are random, even the ones you can set an exact time like a Macro.

It will take the time you set, and use a random number generator, to increase or decrease 0 to 15% the number you set. In a fast macro, like 1000 (1 second) or less, you barely notice the diference, but in a long macro, you do.

The only way, in my opinion is make a faster running macro and count the time in a variable inside the macro.

Code:
500 {Drop Food by C} ID:=3586 COUNT:=1 X:=Self.X() Y:=Self.Y() Z:=Self.Z() !Time!>=68 [if] Map.Thrown(!ID!, !COUNT!, !X!, !Y!, !Z!) Time:=0 {if} VarAdd(Time, 1)

ExclamationExclamationExclamation Damn thanks for answering and hell yeah thank you for that info, so Hmm maybe u can explain me better what u mean with:
"The only way, in my opinion is make a faster running macro and count the time in a variable inside the macro."

So i can search a solution, im kinda New in this things
The macro a made for you does that.

It runs twice every second, and every time it runs, it adds 1 to the variable "Time", when Time reaches 68, wich if you divide by half is 34 seconds, it will throw the food and reset "Time" back to zero and start incresing it every half second.

If you need like 1 minute, edit !Time!>=68 to 120.
(05-26-2013, 03:08 AM)Coizado Wrote: [ -> ]The macro a made for you does that.

It runs twice every second, and every time it runs, it adds 1 to the variable "Time", when Time reaches 68, wich if you divide by half is 34 seconds, it will throw the food and reset "Time" back to zero and start incresing it every half second.

If you need like 1 minute, edit !Time!>=68 to 120.

Thanks for answering, Hmm to be honest i didnt understand :S