Stack cells

San

New member
Messages
25
Points
0
Age
32
Emulator
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?

 
conf/map/battle.conf:

Code:
// 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
 
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? 

 
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.


 
Back
Top