Jump to content
  • 0
Sign in to follow this  
San

Stack cells

Question

Hello everyone. I would like to allow people to stack in the same cell in my server. Have already tried changing some lines on src but didn't work. May someone help me?

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Sorry, my bad. The file was:

conf/map/battle/misc.conf

 

Revert those changes in battle.conf.

And the src modification is not necessary unless you use the "custom" one.

Share this post


Link to post
Share on other sites
  • 0

conf/map/battle.conf:

 

// Determines max number of characters that can stack within a single cell.
// Official - Only affects the walking routines of characters, including monsters.
// If a unit stops walking and is on a cell with more than stack limit
// characters on it, it will walk to the closest free cell.
// Custom - This variation will make every full cell to be considered a wall.
// NOTE: For this setting to take effect you have to use a server compiled
// with Cell Stack Limit support (see src/map/map.h)
official_cell_stack_limit: 1
custom_cell_stack_limit: 1

Share this post


Link to post
Share on other sites
  • 0

 

conf/map/battle.conf:

 

// Determines max number of characters that can stack within a single cell.
// Official - Only affects the walking routines of characters, including monsters.
// If a unit stops walking and is on a cell with more than stack limit
// characters on it, it will walk to the closest free cell.
// Custom - This variation will make every full cell to be considered a wall.
// NOTE: For this setting to take effect you have to use a server compiled
// with Cell Stack Limit support (see src/map/map.h)
official_cell_stack_limit: 1
custom_cell_stack_limit: 1

Ok, I had to add those lines because it didn't exist in my battle.conf. Also i put 3 instead of 1 in "custom_cell_stack_limit" ( does that mean only 3 people can be in one cell? )

 

It didn't work, maybe because is something wrong in src? 

 

I did uncomment src/confic/core.h

 

/// Uncomment to enable the Cell Stack Limit mod.
/// It's only config is the battle_config custom_cell_stack_limit.
/// Only chars affected are those defined in BL_CHAR
#define CELL_NOSTACK
 

Is there anything else i need to do? 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.