u need to add it in bot.cs
then add it under this line:
PHP Code:
Mob M = GetClosestMonster(C);
if (M == null)
{
so it should look like this
PHP Code:
Mob M = GetClosestMonster(C);
if (M == null)
{
RandomJump(C);
}
the only problem is it jumps so fast and dcs
btw, anyone managed to get looting working?
Hmm... It works for me but your source has some major bugs .. i mean at jumping maybe you need to change the Clijump and the oters ..
The problem is like at the speedhack .
2-3 jumps to fast = dc
I was tryed to decrease the speed
/speed jump 600
It works nicely but has problem with update , sp
/speed update 150
Works better but after few kills w/out FS gone jump crazy random but wont hit moobs )=))
Hmm... It works for me but your source has some major bugs .. i mean at jumping maybe you need to change the Clijump and the oters ..
The problem is like at the speedhack .
2-3 jumps to fast = dc
I was tryed to decrease the speed
/speed jump 600
It works nicely but has problem with update , sp
/speed update 150
Works better but after few kills w/out FS gone jump crazy random but wont hit moobs )=))
You have skype ? maybe i can send you some files
I haven't tested my code for ninja yet. But I can't tell you this. I see 2 CliJump in a jump routine. Even though bot is using queue to dispatch the commands, I am not sure what kind of affect this can cause on client (TQ GUI). I think that could be your problem. I have client update (CliJump) for every second to refresh if current location needs to be refreshed.
not funny warlax not all of us learned C++ or other coding things like you..
I cant learn by reading books or other .. i learn by using / modifying / sharing and editing things .. I added Rand jump but when i use it w/out FS i get dc after few mobs
not funny warlax not all of us learned C++ or other coding things like you..
I cant learn by reading books or other .. i learn by using / modifying / sharing and editing things .. I added Rand jump but when i use it w/out FS i get dc after few mobs
sry i was afk , i don't have skype only yahoo: youssef9449
*Edit: something wrong with me code, it don't stop hunting it keeps saying Hunting = false, but it keep hunting
It doesn't matter where methods go... you can call them from anywhere in the source as long as they are public (if not they can only be called from the same class which is... not something really done in this source).
As for that random jump method...
I strongly recommend against the use of thread sleeps when possible (they freeze the entire thread meaning NOTHING can occur on that thread until it elapses).
You'd be better off checking last jump time as always and then simply picking a random coord (what's in there would work fine) and then pass that to the jump handler. Personally I also used far coords cause if not a random jump like that tends to pick short range coords (so you might only jump 2-3 spaces... and without a proper speedhack you have to take a significant break between jumps so it really adds up. Yet another reason I do like shifting)
Quote:
Originally Posted by demon17
not funny warlax not all of us learned C++ or other coding things like you..
I cant learn by reading books or other .. i learn by using / modifying / sharing and editing things .. I added Rand jump but when i use it w/out FS i get dc after few mobs
Again.. 700 ms is where tq cuts off jumps without cyc/superman and disconnects you (IE nothing occurs in between the jump, you just jump back and forth every 700 ms). I generally used 750-800 ms jumps for non xp hunting in my old version.
If you are using cyclone or superman you can jump MUCH faster without dcing (tq disabled the speedchecks for xp skill users cause ppl got pissed off about getting dc'd when hunting in xp mode basically lol). Again... shifting is a MUCH faster system for getting around the game.
Keeping in mind it has a default directory using the D: drive iirc. You'll wanna go in and change it to w/e folder you want the logs to go to.
i wanted to sniff a packet of using an item, but i found alot of packets recorded and i don't know which one is the right packet the packet log looked like this
Item usage is 1009. What you have to do from that log is find a structure to the packets. I'd suggest looking at the thread linked from my proxy sticky. It contains all sorts of information about structuring packets.
basically you can have a few different 'chunk' sizes in packets which hold specific things such as... Item UID, Character UID, location information, timestamp information... etc.
byte = 1 byte
ushor t= 2 bytes (you reverse them so 0f 00 is actually 16 (F = 16))
uint = 4 bytes (again reversed... ff 00 00 00 is 255)
ulong = 8 bytes (reversed as always ff 00 00 00 00 00 00 00 is 255)
you can also have non fixed byte sizes which generally have a byte preceding them such as in a string indicating how many bytes the string takes up.
So yes... just off the top of my head.
Packet size = 50 00 or 80 in dec
Packet type = 0x3f1 or 1009
Item UID: 0x21CD39 or 2215225
Usage type: 4
Timestamp: 0x1D1FDE4 or 30539236
That's all there is to this packet. The excessive blank areas are because 1009 is a rather multi function packet and those offsets are not used in simply right clicking an item.
Hope that helps you understand packets a bit better... Keep in mind I will not be just structuring every packet ppl post, this is for reference purposes only.
For stop hunting you need to type /hunt
=true ( hunt is on , will attack monsters)
=false(hunt is off , wont attack monsters)
Not much.
Hunting.
* with looting all and dropping normal items.
* runs within calculated path.
* tried to simulate the movement more realistic. Instead of 18 space jump, I do random jump between 1 to 9.
* Priortized looting.
* autopoting.
* auto pot looting when runs out of pots.
To do.
Mining. - this should be easy.
bluemouse. - I need to help on what method to use when you talk to npc.
GUI - I want to add GUI to control properties as well as map.
Hunting.
* with looting all and dropping normal items.
* runs within calculated path.
* tried to simulate the movement more realistic. Instead of 18 space jump, I do random jump between 1 to 9.
* Priortized looting.
* autopoting.
* auto pot looting when runs out of pots.
To do.
Mining. - this should be easy.
bluemouse. - I need to help on what method to use when you talk to npc.
GUI - I want to add GUI to control properties as well as map.
do you mind releasing ur source? cause iam tired of endless errors
do you mind releasing ur source? cause iam tired of endless errors
My source is hunting nice , no random jumps , but stable at hunting .. i made today 2 ninjas from 1-120/15-110
so
2SDG
2DB
I found while i was LVLing 1 DB
I made more than 60 meteorscrolls ( with my bro's help .)
but all these with manualy looting
:
=- I was needed to stop hunt when i heard 1 met .. but in end my bro comes and loots the items and i was concentrated to lvl up
I need only a looter functionality for loot rare items [ DiligenceBooks . Mets. DBs. Refinery packs]
[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: