sometimes i don t understood clearly wht mates ur write ^.^ i used a dictionary of items dorped by mine and items that i can t take from ground becouse are items locked (other player kills them and drop it) all this dictionary are don t loot item and i cleaning from my item grounds ( if u loook my Filter ground items function)
Sorry about not being clear
Did you anything about detecting end of XP cycle? Somehow, Client.InXp is always true and not gets reset. i should put some debugging point to see if there is any change in server packet.
I don't use random jump. I refined a spiral hunting path from current location and jump one point to another. It is so basic at the moment. After I implement all the functionality, I am planning to improve it. Anyway, I can give you pseudo code for random jump.
void randomJump(Client C)
{
Coord next = randomJumpCoord(C.X, C.Y);
if (next is valid location) // I left this as challenge. where is while loop?....
{
jump to next;
update Client position
}
}
Coord randomJumpCoord(ushort currentX, ushort currentY)
{
Random ran = new Random();
Coord newCoord = new Coord();
newCoord.X = ran.Next(currentX-18, currentX+18);
newCoord.Y = ran.Next(currentY-18, currentY+18);
return newCoord;
}
Of course, you need to check this Coord is valid before you make a jump.
P4N,
I am trying to find char's max HP. Char info in Handler only gives current HP. Do you know which packet gives that information?
BTW, I think I am done with looting and dropping normal items. Thanks to P4N and gorgone I am trying to implement autopot function. If anyone is in this process, let's share basic ideas. I am trying to maintain at least 50% of max HP. If it goes below, use pot. If you run out of pot, start picking up pots (maybe upto 5 in inventory). Let's see how it goes.
Did you anything about detecting end of XP cycle? Somehow, Client.InXp is always true and not gets reset. i should put some debugging point to see if there is any change in server packet.
is a particualar send pack in cyrcle handler.cs in packet folder
is event XPSkill is avable cast spell on it (must pay attention to moddy this section if u suspt without idea to do go immidiatly in botjail for ur sake is better that u test with a noob
Hy I wana ask some things like :
1) How can i add the Monk XP skill to auto activate?
-Where exactly
-what is the skill ID
-How I implement it
2) How can i add the Loot Costum item ( Mean /loot " " )<("Metoer" < with id)
-Where
-How
Cuz i start to be lazzy to stop every time when 1 met is dropped
[I know no one wana help each others ( i mean no one wana send me a code wich i can place in bot.cs or no one help me to make it work) , for this i will be glad when someone post some pseudo codes ..]
Hy I wana ask some things like :
1) How can i add the Monk XP skill to auto activate?
-Where exactly
-what is the skill ID
-How I implement it
2) How can i add the Loot Costum item ( Mean /loot " " )<("Metoer" < with id)
-Where
-How
Cuz i start to be lazzy to stop every time when 1 met is dropped
[I know no one wana help each others ( i mean no one wana send me a code wich i can place in bot.cs or no one help me to make it work) , for this i will be glad when someone post some pseudo codes ..]
1.
u need to find in handler.cs the section inside where P4N cheak if ur job char is Warrior or is trojan or is an archer .. then need to create a is a Monk job is around 60 < _ < 70 then y must sniff packet and understood the id of XP skill monk ( OBLIVION ID IS 10390)
i m work on Client.Skills <-- inside here there are all the Skill that ur char can cast or use
pay attention all mods in Packet folder are so delicate and put u in jail !
2. rare items like dagronball and items in general are crypted in itemtype.dat, some pages ago in this post i published a itemtype.dat.txt.. u can donwload frome there
Did you anything about detecting end of XP cycle? Somehow, Client.InXp is always true and not gets reset. i should put some debugging point to see if there is any change in server packet.
There is a status update subtype that the server sends controling how much xp time you have left. I thought I had it handled in proxy already but it's possible it changed. Basically you wanna do if it's < something Xp mode = false. As for fatal strike just do if fatal activated is greater than say 58 seconds you turn off fatal strike cause it will stop soon on its own.
Quote:
Originally Posted by argon69
P4N,
I am trying to find char's max HP. Char info in Handler only gives current HP. Do you know which packet gives that information?
BTW, I think I am done with looting and dropping normal items. Thanks to P4N and gorgone I am trying to implement autopot function. If anyone is in this process, let's share basic ideas. I am trying to maintain at least 50% of max HP. If it goes below, use pot. If you run out of pot, start picking up pots (maybe upto 5 in inventory). Let's see how it goes.
for max hp you have to calculate it using your equipped items and your character's stats (job, str, vit, spi, dex and equipped items using an itemtype.dat and the + bonuses file)
It's actually not all that easy to do...
Quote:
Originally Posted by argon69
As PxN said, NEW ground id is generated by server when item is dropped even with same item. You can't see real UID until the item is in your inventory. I tried to avoid using current method that uses time. I optimized handler routine to check around char to make reasonable guess that the item dropped is yours.
BTW, thanks P4N to confirming this
Also, I found something strange about ID and I don't know how it is happening. In my inventory, ID was 136003 and when it was dropped it became 136005. So, LastDroppedID == I.ID checking logic was failing. So, it went into picking up/dropping loop again..... Any explaination? I might change the code to check that item is being dropped by char and that item is around char.
That could be tq and their not allowing itemtype.dat hacks to detect item quality. Is it a non weapon based item? If so it's probably defaulting to the "normal" version of the item where
5 = norm
6 = ref
7 = unique
8 = elite
9 = super
Cause tq doesn't allow you to detect quality on the ground
The problem with that is there are multiple normal versions of most item in which their stats differ slightly... so you have a xxxx3 version of item, drop it and it becomes a xxxx5 version of an item... so when dropping you should be setting the lastdroppedid last digit to 5 or w/e if it's a gear based item (non wep, not generic item)
[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: