aufm int nicht
aufm pserver kp ich glaub auch nich
aufm pserver funzt bei mir nichmal mehr SendDetour(0x11,"s","xyztestblala"); dann kommt ne meldung das ein hack detected ist.
if (pick == 1) { if (packet[2] == 0x36) { DWORD itemid,x,y,itemX,itemY,move1,move2,itemdrop; memcpy((void*)&itemid,(void*)((DWORD)packet+5),4); memcpy((void*)&x,(void*)((DWORD)packet+5+4),4); memcpy((void*)&y,(void*)((DWORD)packet+5+4+4),4); itemX=x; itemY=y; itemdrop=+0; while (itemdrop < 1) { int difx=itemX-Player[0].X; int dify=itemY-Player[0].Y; float range=(difx*difx+dify*dify)*1.0; printf("sqrt_Range: %d\n",range); printf("Item dropped [%d] [%d , %d]\n",itemid,itemX,itemY); //move1=difx-255; //move2=dify-255; if (sqrt(range) < 50.0) { SendDetour(0x20,"ddd",itemid,itemX/32,itemY/32); printf("Item picked...\n"); itemdrop++; } else if (sqrt(range) > 50.0) { unsigned char tempx=(double(difx)/sqrt(range))*30; unsigned char tempy=(double(dify)/sqrt(range))*30; printf("Item too far away...walk to item...\n"); //SendDetour(0x15,"bbb",tempitemx,tempitemy,0); SendDetour(0x15,"bbb",tempx,tempy,0); printf("Walk: X %d Y %d\n",difx,dify); SendDetour(0x20,"ddd",itemid,itemX/32,itemY/32); itemdrop++; } } } }
so ich bin langsam echt am verzweifeln
er läuft....er läuft sogar sehr gut
aber:
1.sqrt_range ist bei mir immer eine 6-stellige zahl selbst wenn ich neben meinem char ein item droppe.
2.er läuft zwar als erstes in meine richtung, läuft aber bei jedem gedroppten item einfach weiter und weiter, sprich an mir vorbei.
3.wie löse ich das jetzt? ich mein ich hab mir kalhack11 angeguckt, ich hab mir von chibis den code angeguckt. und die haben es nicht wirklich anders.
warum geht das nicht bei mir?
bitte bitte liebe epvpers hilt mir
danke an dieser stelle nochmal an meak1, der mir bis jetzt ganz gut geholfen hat ^^
der maximale x/y/z wert, der pro 0x14/0x15 packet gesendet werden kann is 255
ihr müsst das also auf mehrere packets aufteilen....geht net alles in einem packet^^
ich weiß nich wie ich das auf mehrere packete aufteile...und selbst wenn er rennt ja einfach weiter....falls er in meine richtung rennt manchmal auch woanders hin.
dann mach halt if(itempicked = true) soll er wieder neu anfangen so läuft er dann nicht immer zum nächsten item sondern ers wenn das erste gepickt wurde.. hoffe du hast verstanden kann nicht ausführlich schreiben
Freundin grade auf klo nicht viel zeit XD
alles klar danke ich werde es morgen testen...naja erstmal mit ner freundin stadt und so....und versicherung und und und
**** keine zeit für reallife
nein aber danke :P
so off jetzt
haunse rein
hm zum item läuft er ohne probleme und lootet es jez mit den mobs klappts nich so richtig da range ausrechnen und den nähesten nehmen bla ;S und bei mob appear is manchmal der gleiche mob ;<
hm zum item läuft er ohne probleme und lootet es jez mit den mobs klappts nich so richtig da range ausrechnen und den nähesten nehmen bla ;S und bei mob appear is manchmal der gleiche mob ;<
wenn es dir nichts ausmacht würde ich gerne einmal deinen code sehen um zu sehen was ich falsch mache kannst ja ne pm schicken...
hm das doof das der gleiche mob öfters appeared, bzw. das da so steht, weil er speichert das dann in int i und wenn der mob moved wird auch 5x - 10 auf der X achse abgezoggen
also so oft wie der mob appeared ist, dass is ****
Edit: ok habs wusste nich genau wie man das kontrolliert ob die zahl schon vorkam jez habe ich es ;>
der rahmen soll ein map von kal sein wie gehe ich nun nach links an den rand via packet? normalerweise ya -(minus)x aber (minus)coordinaten gibs ja beim walk packet net ....
wenn du jez - 30 reingehen willst nach links musst du 256 - 30 rechnen sind 226 dann 226 senden und er geht - 30 nach links ;>?
EDIT:
PHP Code:
if ((packet[2] == 0x24) || (packet[2] == 0x25)) { //mob move.. DWORD id; memcpy((void*)&id,(void*)((DWORD)packet+3),4); int i; for (i=0;i<500;i++) { //check if x =0 if (Mob[i].MID == id) { signed char x,y/*,z*/=0; memcpy((void*)&(x),(void*)((DWORD)packet+3+4),1); memcpy((void*)&(y),(void*)((DWORD)packet+3+4+1),1) ; //memcpy((void*)&(z),(void*)((DWORD)packet+3+4+1+1), 1); Mob[i].X+=x; Mob[i].Y+=y; //Player[i].Z+=z; break; } } }
ich habe mal mit printf geguckt, da kommen zuviele packets, also is wie bei mobs, dass 1 mob zu oft kommt, das habe ich jez geregelt bekommen aber das hier kriege ich nich hin, da kommt zb. wenn sich der mob bewegt 5x sein move packet, dann schreibt er 5x X bei dem mob dazu <,< dann hätte ich endlich alles, das ich endlich anfangen kann den bot richtig zu schreiben ;E, hm glaube es geht so wie ich es bei mob appeared gemacht habe aber wahrscheinlich bewegen sich soviele mobs das er das nich bei allen so schnell löschen kann wenn er zuviel X addiert ;<
okay schon mal gut danke - aber dennoch verstehe ich es nicht ...wenn ich 255 also das maximale nach links gehen möchte - 256-255= 1 sende ich 1 geht er in die andere richtung (nach rechts)
sende ich -1 geht er 255 nach links habe ich das gefühl ...
255 entpricht doch aber nicht 255 skalaeinheiten auf der x achse oder? .....
[TuT]Walk with packets. 08/02/2009 - Kal Hacks, Bots, Cheats & Exploits - 19 Replies Hey guys,
yes i make a tut.
i'm not the best in making Tutorials....of course not for Packets.
but i try to do it so "noobs" can read it and don't have to ask.
So here we go:
Walk in Kalonline is, i think, "simple".
A walk packet looks like this:
PACKET TYPE: 0x15 FORMAT: bbb
b: 1
[Question] walk, attack 07/16/2009 - Kal Online - 9 Replies hello everyone!
i got a question:
i am sick of it...
its not moving directly to where i need!
its always missing
here is my currect code for the moving to dropped item: and plzzzzzzzzzzzzzz help me
if (buf2 == 0x36)
{
DWORD itemid,x,y;
[Hilfe] Packets Mob Walk 06/03/2009 - Kal Online - 32 Replies Hello all,
after arround 4-5 Hours of hard learning, my bot works very simple.
Now i try to fix, that my Bot beheads all died mobs arround me...
There should be something like a range arround 50.
For Pick, it works. difference between x,y and some math ^^.
After a Mobs spawn / apear, i get x,y coords. But they walk arround. And thats the Problem. I recive 1 Packet (for exampe: Mob move: x=2 y=4) 3-4 times. How can i fix that problem?
My Try:
if(lastMoveId!=id || lastMoveX != x ||...
Walk Packets 05/18/2009 - Kal Online - 15 Replies So ich hab mir heute in der Schule (ist eh nix los nurnoch zumsitzen nächste Woche Prüfungen) mir das Walk system von kal durch den kopf gehen lassen....mir fiel auf das ich vieles nicht verstanden habe....
#########
#########
####X####
#########
#########
X steht jetzt für Null
jedes "#" steht für die coordinate eins alles was rechts oben neben dem x ist ist postitiv, alles rechts unten negativ genauso wie links unten und links oben.
packets tut (question^^) 04/14/2009 - Kal Online - 21 Replies hey guy im "hacking" realy long kalonline. But Just with Uce and i learned all from tuts from this forum. But since i started "hacking" everybody said that u can hack much better with packets. But i dont know how xD. I searched long in this forum for tuts but didnt find one that explained everything. Would be nice if someone make one.
greez Nightmare