P4N, how can i know if the player actually shifted to my location i gave it? Because i let it update the c.lastserverx,y and now it isnt really accurate.
Can you please help me with this? Somehow when i filter 1022, and i check if the UID is the same, it doesnt work.
WaterElf works using my ninja though o.0? I`m sure I got job numbers or name wrong because it`s the correct skill number and I looked in the ini but I am exhausted so I might be putting something wrong
Dictionary<uint, string> Filter = new Dictionary<uint, string>();
Dictionary<uint, Items.GroundItem> Return = new Dictionary<uint, Items.GroundItem>();
if (C.Looting)
{
Filter = Program.RareItem;
}
else if (C.LootMoney)
{
Filter.Add(1090020, "Money");
Filter.Add(1091000, "Money");
Filter.Add(1091010, "Money");
Filter.Add(1091020, "Money");
}
else if (C.LootAll)
{
Filter = null;
}
if (Filter != null)
{
foreach (Items.GroundItem Item in WholeObject.Values)
{
if (!(Program.Dontloot.ContainsKey(Item.ID)))
{
if (Filter.ContainsKey(Item.ID))
{
Return.Add(Item.ID, Item);
}
}
}
}
else Return = WholeObject;
{
return [COLOR="Red"]Return[/COLOR];
}
the word in red says "Cannot implicitly convert type 'System.Collections.Generic.Dictionary<uint,Alchem yProxy.Items.GroundItem>' to 'bool' "
my filter work on Client.GroundItem
this is my GetclosestItem methods
public static Items.GroundItem GetClosestItem(Client C)
{
Items.GroundItem I = null;
int Dist = 22,Gh;
foreach (Items.GroundItem Item in ItemsFilter(C, C.GroundItems).Values)
{
if ((Gh = Calculations.Distance(C.X, C.Y, Item.X, Item.Y)) < Dist)
{
I = Item;
Dist = Gh;
}
}
return I;
}
i don t undestood why my filter must give a bool ?! the filter work on Grounditems of Client and filter it to only items that i want to take at ground ... so give back a group of items filtered ^^
Specify which type of potion to use by name
Use potion when needed
Loot items
Specify which preset lists of items to loot (rare,book,gold,the pot your using)
Add custom items to list
Hunting with both warrior and ninja
Following the recorded path when no items to loot, or monsters around
After disconnecting a lot with ninjas when trying to do the looting and pathing I noticed that the server doesn't put your character on top of the monster when attacking in fatal strike, but actually 1-2 squares back in the direction you just came from. So if you then try and shift 7 units in the same direction to pick something up, or follow a path the proxy will think its only 7 when the server says it's 8-9.
Goodies so far:
0 characters botjailed
0 DB's
tons of mets
tons of gems
(mainly just killing hawks)
I was wondering how to generate my own smap files for the adventure zone (Basilisks), and a few other places.
I noticed a post about the maps a while back, but search couldn't find it
Without them, checking for valid coordinates when trying to shift target or move back to the path becomes a problem.
Also, can anyone else get the bot to attack the monster in th Frozen Grotto?
And I noticed that after I leave my bot running for a long time, if I try and talk to an npc, or use a potion/scroll manually, it takes a long time for the server to respond and can sometimes disconnect me. Almost like theres back up of packets of a certain type going through the proxy.
The issue with smaps is because tq duplicates many of their maps... you need the dynamic map id in order to perform actions (read from jump packets or w/e) and the static map (read from teleport/login stuff) to check dmaps.
I had it working in groto at one point using two variables. One for static map and one for dynamic map. It wasn't perfect but it worked.
Alternatively you could make a list of known maps and what their static id is and use that for your dmap checks.
@ The fatal strike thing: Yah I'm aware the server doesn't place you directly ontop of mobs. I THINK you can read some of that from the 157 gendat or the attack packet which the server returns... problem is syncing that up with your movement so it doesn't sorta... 'reset' your position.
[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: