Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #006351

  • 0 - None Assigned

  • Fixed

Issue Confirmations

  • Yes (2)No (3)
Photo

Body Relocation

Posted by Hercules Bot on 28 July 2012 - 09:39 AM

Originally posted by MuzTank
SVN : 16519
Client : 2012-04-10aRagexeRE_J
Packet Version in packet_db.txt : 30
Tested with : Shura

How to Reproduce :
1. Use Dangerous Soul Collect
2. Use Body Relocation, point to any cell around you
3. It should moves the character's image into the cell pointed but the character's image doesn't moves.
4. Then, click your cursor to any cell again, your character will be moved from cell pointed by Body Relocation.

My assumption :
- After use Body Relocation, it updates character's position in Database, but the character's position doesn't moves in client.

Originally posted by Brynner
there are no fix for this.

temporary solution is to remove the // from your skill.c

// clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client...

save it and recompile

Originally posted by onizame
make[1]: *** [obj_sql/skill.o] Error 1
make[1]: Leaving directory `/home/onizame2823/rAthena/src/map'
make: *** [map_sql] Error 2

if i remove the //.. cant even ./start lol

Originally posted by Brynner
opps sorry. what i mean is just remove the // on this line

// clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client...

so it would be just like this.
clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client...

Originally posted by EvilPuncker
there is a real fix for this, Earthlingz knows it, but he still didn't share it with us, and it was already reported!

Originally posted by Brynner

there is a real fix for this, Earthlingz knows it, but he still didn't share it with us, and it was already reported!


but at this time no one knows how to fix it. that why i gave him a temporary fix for that.since the fix is not shared to the others.

Originally posted by GM Takumirai
as Judas said

NOTE1: If body relocation fails to update when you do the skill, you may have to tweak the src in
src/map/skill.h
Find Bodyrelocation and replace with the following:

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...
if (sd) skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000);
}
break;

Originally posted by Brynner

as Judas saidNOTE1: If body relocation fails to update when you do the skill, you may have to tweak the src insrc/map/skill.hFind Bodyrelocation and replace with the following: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...if (sd) skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000);}break;


correction you will see it on skill.c not on skill.h
and on your post you just remove the // in the

// in the front of clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client...

Edited by Brynner, 29 July 2012 - 09:08 PM.


Originally posted by emong
This issue has been fixed @ http://rathena.org/b...ents-upto-2012/ or r16541

moved issue from Skills