So I need to make a dictionary where the bot will save temporary ( meaning till i close client or re-record the path ) all the jump-arriving possitions .. where the bot will return the character when no monster in area .
if (C.Recording == true)
C.Path.Add(new MakeCoord(C.X, C.Y));
In your path finding code do something like...
if(Distance to C.Path[C.PathIndex] < 7)
//path found, move to next one
if(C.PathIndex + 1< C.Path.Count)
C.PathIndex++;
else
{
C.Path = C.Path.Reverse();
C.PathIndex = 1;
}
Coord To = Calculations.PullClosest(MakeCoord(C.X, C.Y), C.Path[C.PathIndex]);
Jump or shift to the pulled coord
or something like that...
That's the ABSOLUTE simplest way to code it. Keep in mind pull closest will be a method pulling all possible coords near you that are valid and then checking their distance vs target and returning the closest one. Assuming no large obstacles it will return the most efficient coord to move to each time.
TEACHING MOMENT:
Keep in mind when working with enumerated elements in a list or an array, the .count will ALWAYS be greater then your current index value as they start at 0, not 1!
Pulling element 1 means you are actually pulling the second element in a list/array.
So I need to make a dictionary where the bot will save temporary ( meaning till i close client or re-record the path ) all the jump-arriving possitions .. where the bot will return the character when no monster in area .
This is my /Record Path , how i asign a dictionary to it?
lol who u steal that code off then. can tell u aint written it else u would spot the list that is already in place. plus u dont want a dictionary, else u wouldnt know the order, well, lol not unless u set all the keys to ints, but lol, then surely u would just simply use an array/list.
interestingly that code looks like its been designed to record multiple paths tho, not just simply one . . .
lol who u steal that code off then. can tell u aint written it else u would spot the list that is already in place. plus u dont want a dictionary, else u wouldnt know the order, well, lol not unless u set all the keys to ints, but lol, then surely u would just simply use an array/list.
interestingly that code looks like its been designed to record multiple paths tho, not just simply one . . .
Only few words for you :
Go away and get a new life .. Thats not helpfull what you do here
lol who u steal that code off then. can tell u aint written it else u would spot the list that is already in place. plus u dont want a dictionary, else u wouldnt know the order, well, lol not unless u set all the keys to ints, but lol, then surely u would just simply use an array/list.
interestingly that code looks like its been designed to record multiple paths tho, not just simply one . . .
It's actually based off how I originally had my paths (I did a dict<int, point> which was pointless and had a server list of paths that they could select from)
Chances are they saw the methods I left in the source and build off that.
The new one I posted using lists would be FAR better.
lol who u steal that code off then. can tell u aint written it else u would spot the list that is already in place. plus u dont want a dictionary, else u wouldnt know the order, well, lol not unless u set all the keys to ints, but lol, then surely u would just simply use an array/list.
interestingly that code looks like its been designed to record multiple paths tho, not just simply one . . .
look at me iam warlax
i will be trolling until someone break my curse
actually it was stopped yesterday but thanks to warlax he started the flame war again
Can't you just stop then? Fock off c mon.. This thread got spammed by ****** flame wars the last few days, you guys didn't even notice my proxy is public do you?
[RELEASE(SOURCE CODE)]-- KabBOT2 v1 Full Source(vb6) 10/07/2011 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 106 Replies I've been meaning to post this for awhile but I pretty much forgot about it. I've been getting quite a few requests for it so I decided to finally get around to posting it.
#1. So here you go, Just have or Download Visual Basic 6, you need to update it to VbRuntime 6 Service Pack 6.
#2. Run the file name KabBOT.vbp.
#3. Enjoy.
100% Virus Free VirusTotal.com report.
VirusTotal - Free Online Virus, Malware and URL Scanner
[RELEASE] [OPEN SOURCE] CE 5.5 Pointer to AutoIt Source-Code 02/13/2011 - AutoIt - 6 Replies Habe heute erst gemerkt, dass es hier eine AutoIt Sektion gibt xD also poste ich mal mein Programm mit rein.
Funktionsweise:
1. in CE Rechtsklick auf den Pointer und auf "Copy" klicken
2. in meinem Programm auf "Code generieren" klicken
3. In euer Scite gehen und einfügen
Hier ist der Source Code vom Programm: