integral Posted February 16, 2012 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 167 Reputation: 4 Joined: 02/01/12 Last Seen: August 20, 2017 Share 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 Link to comment Share on other sites More sharing options...
sizenine Posted February 18, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 149 Reputation: 13 Joined: 02/17/12 Last Seen: January 25, 2018 Share 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 Link to comment Share on other sites More sharing options...
Variant Posted February 18, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 52 Reputation: 6 Joined: 01/06/12 Last Seen: December 12, 2017 Share 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 Link to comment Share on other sites More sharing options...
sizenine Posted February 18, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 149 Reputation: 13 Joined: 02/17/12 Last Seen: January 25, 2018 Share Posted February 18, 2012 thank you Variant, that did the job. Quote Link to comment Share on other sites More sharing options...
Judas Posted February 18, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 2244 Reputation: 182 Joined: 11/19/11 Last Seen: September 15, 2024 Share Posted February 18, 2012 Nice Quote Link to comment Share on other sites More sharing options...
integral Posted February 18, 2012 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 167 Reputation: 4 Joined: 02/01/12 Last Seen: August 20, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
sizenine Posted February 18, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 149 Reputation: 13 Joined: 02/17/12 Last Seen: January 25, 2018 Share Posted February 18, 2012 try switching the slide() and nodamage(). Quote Link to comment Share on other sites More sharing options...
integral Posted February 18, 2012 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 167 Reputation: 4 Joined: 02/01/12 Last Seen: August 20, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
sizenine Posted February 18, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 149 Reputation: 13 Joined: 02/17/12 Last Seen: January 25, 2018 Share Posted February 18, 2012 yeah thats what i have.. unless my char is not moving correctly without me noticing.. Quote Link to comment Share on other sites More sharing options...
integral Posted February 28, 2012 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 167 Reputation: 4 Joined: 02/01/12 Last Seen: August 20, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Mystery Posted February 28, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted February 28, 2012 Is this packet available only for2011 clients or v28 is for 2012 clients? Quote Link to comment Share on other sites More sharing options...
sizenine Posted February 28, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 149 Reputation: 13 Joined: 02/17/12 Last Seen: January 25, 2018 Share Posted February 28, 2012 Read the file, it shows what date it goes up to... Quote Link to comment Share on other sites More sharing options...
Venomenon Posted April 11, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 51 Reputation: 0 Joined: 11/21/11 Last Seen: July 6, 2024 Share 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 Link to comment Share on other sites More sharing options...
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 integralLink to comment
Share on other sites
37 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.