integral Posted February 16, 2012 Posted February 16, 2012 (edited) Requesting packet_db.txt that is working for 2011-11-22 client. Or Any packets that is working with the body relocation problem. Thank you. Edited February 17, 2012 by integral Quote
sizenine Posted February 18, 2012 Posted February 18, 2012 im in such a dilemma on which client to use, they all seem to have some sort of issue. and yet again, i see some people using december 2011 clients... how is that possible? Quote
Variant Posted February 18, 2012 Posted February 18, 2012 (edited) Sure, no problem, if only there's a way to make it look in the direction where it is relocating. You can use: int dir = map_calc_dir(src, x, y ); unit_setdir(src,dir); I'm pretty sure that's how they're used, 99% sure, based on how backstab is coded. Edited February 18, 2012 by Variant 1 Quote
sizenine Posted February 18, 2012 Posted February 18, 2012 thank you Variant, that did the job. Quote
integral Posted February 18, 2012 Author Posted February 18, 2012 (edited) uh, am I doing this right? case MO_BODYRELOCATION: if (unit_movepos(src, x, y, 1, 1)) { // clif_skill_poseffect(src,skillid,skilllv,src->x,src->y,tick); clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client... clif_skill_nodamage(src,src,skillid,skilllv,1); int dir = map_calc_dir(src, x, y ); unit_setdir(src,dir); if (sd) skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000); } 'cause whenever I compile it, I get this error. 1>..srcmapskill.c(8360): error C2143: syntax error : missing ';' before 'type' 1>..srcmapskill.c(8361): error C2065: 'dir' : undeclared identifier Thank you. Edited February 18, 2012 by integral Quote
sizenine Posted February 18, 2012 Posted February 18, 2012 try switching the slide() and nodamage(). Quote
integral Posted February 18, 2012 Author Posted February 18, 2012 try switching the slide() and nodamage(). You mean like this? case MO_BODYRELOCATION: if (unit_movepos(src, x, y, 1, 1)) { // clif_skill_poseffect(src,skillid,skilllv,src->x,src->y,tick); clif_skill_nodamage(src,src,skillid,skilllv,1); clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client... int dir = map_calc_dir(src, x, y ); unit_setdir(src,dir); if (sd) skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000); } Still the same. Quote
sizenine Posted February 18, 2012 Posted February 18, 2012 yeah thats what i have.. unless my char is not moving correctly without me noticing.. Quote
integral Posted February 28, 2012 Author Posted February 28, 2012 (edited) Still looking for a way to make the character look in the direction where it uses the skill. Thank you. Sorry, my bad. fixed it. Edited February 28, 2012 by integral Quote
Mystery Posted February 28, 2012 Posted February 28, 2012 Is this packet available only for2011 clients or v28 is for 2012 clients? Quote
sizenine Posted February 28, 2012 Posted February 28, 2012 Read the file, it shows what date it goes up to... Quote
Venomenon Posted April 11, 2012 Posted April 11, 2012 Hi, sorry for reviving this topic, but when i tried the code: case MO_BODYRELOCATION: if (unit_movepos(src, x, y, 1, 1)) { // clif_skill_poseffect(src,skillid,skilllv,src->x,src->y,tick); clif_skill_nodamage(src,src,skillid,skilllv,1); clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client... int dir = map_calc_dir(src, x, y ); unit_setdir(src,dir); if (sd) skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000); } I get an error too like this: 1>..srcmapskill.c(8360): error C2143: syntax error : missing ';' before 'type' 1>..srcmapskill.c(8361): error C2065: 'dir' : undeclared identifier Anybody knows how can this be fixed? Thanks.. Quote
Question
integral
Requesting packet_db.txt that is working for 2011-11-22 client.
Or
Any packets that is working with the body relocation problem.
Thank you.
Edited by integral37 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.