Jump to content
  • 0

request, Latest packet_db.txt


integral

Question


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   4
  • Joined:  02/01/12
  • Last Seen:  

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 integral
Link to comment
Share on other sites

Recommended Posts


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   12
  • Joined:  02/17/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   6
  • Joined:  01/06/12
  • Last Seen:  

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 by Variant
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   12
  • Joined:  02/17/12
  • Last Seen:  

thank you Variant, that did the job.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

Nice

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   4
  • Joined:  02/01/12
  • Last Seen:  

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 by integral
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   12
  • Joined:  02/17/12
  • Last Seen:  

try switching the slide() and nodamage().

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   4
  • Joined:  02/01/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   12
  • Joined:  02/17/12
  • Last Seen:  

yeah thats what i have.. unless my char is not moving correctly without me noticing..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   4
  • Joined:  02/01/12
  • Last Seen:  

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 by integral
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Is this packet available only for2011 clients or v28 is for 2012 clients?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   12
  • Joined:  02/17/12
  • Last Seen:  

Read the file, it shows what date it goes up to...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   0
  • Joined:  11/21/11
  • Last Seen:  

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..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...