Jump to content
  • 0

rAthena Walk Path


c e d i e

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   0
  • Joined:  08/22/13
  • Last Seen:  

Good day!

 

I hope somebody can help me with this. This is the main error I do encounter. I played RO's for 7 years and I can figure what's wrong. I really do wonder why I have a hard time to walk. I don't know if it's fix already official in rAthena but I hope someone can help me change this.

 

Whenver I walk, it's so hard to walk specially when there is an obstacle. I already changed the following...

 

conf/battle/client.conf

 

 

Area_Size: 30
 
max_walk_path: 30
 

 

*Note: Event tried to change the value to different numbers such as 100, 25, 20, 15, 10. But nothing change. I mean, yea there's a change but my problem is still there.

 

src/map/path.h

 

 

#define MAX_WALKPATH 25

 

*Note: Event tried to change the value to different numbers such as 100, 25, 20, 15, 10. But nothing change. I mean, yea there's a change but my problem is still there.

 

src/config/core.h

Tried Enable and Disable this, but nothing happen

 


#define OFFICIAL_WALKPATH


and

//#define OFFICIAL_WALKPATH

The current setting is on, I disabled it. And still didn't fix my problem

 

If this is client side, please somebody teach me. I want to feel the old RO path walk like even if there's an obstacle, you can easily move. It's like the whole gat of all maps in ragnarok are broken lol? I really want to fix this because, many players got mad whenever the WOE is active. They can't play well.

 

 

THANKS IN ADVANCE! SO MUCH >_<

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   0
  • Joined:  08/22/13
  • Last Seen:  

src/map/unit.c

	path_search(&wpd, bl->m, bl->x, bl->y, x, y, flag&1, CELL_CHKNOPASS); // Count walk path cells
#ifdef OFFICIAL_WALKPATH
	if( !path_search_long(NULL, bl->m, bl->x, bl->y, x, y, CELL_CHKNOPASS) // Check if there is an obstacle between
		&& wpd.path_len > 14 ) // Official number of walkable cells is 14 if and only if there is an obstacle between. [malufett]
		return 0;
#endif
	if( (battle_config.max_walk_path < wpd.path_len) && (bl->type != BL_NPC) )
		return 0;

	if (flag&4 && DIFF_TICK(ud->canmove_tick, gettick()) > 0 &&
		DIFF_TICK(ud->canmove_tick, gettick()) < 2000)
	{	// Delay walking command. [Skotlex]
		add_timer(ud->canmove_tick+1, unit_delay_walktoxy_timer, bl->id, (x<<16)|(y&0xFFFF));
		return 1;
	}

	if(!(flag&2) && (!(status_get_mode(bl)&MD_CANMOVE) || !unit_can_move(bl)))
		return 0;

 

Is there something wrong with my unit.c also?

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