mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[6906] Revert "Reduced number of cells (doubled max visibility distance)."
This reverts a part of commit eb60f74c8f9a508fecaa66aa5b8a2fbf026e6479 that caused some performance issues.
This commit is contained in:
parent
d97a8d33b9
commit
6f8f621626
3 changed files with 9 additions and 9 deletions
|
|
@ -41,10 +41,10 @@ class Player;
|
|||
#define MIN_GRID_DELAY MINUTE*1000
|
||||
#define MIN_MAP_UPDATE_DELAY 50
|
||||
|
||||
#define MAX_NUMBER_OF_CELLS 4
|
||||
#define MAX_NUMBER_OF_CELLS 8
|
||||
#define SIZE_OF_GRID_CELL (SIZE_OF_GRIDS/MAX_NUMBER_OF_CELLS)
|
||||
|
||||
#define CENTER_GRID_CELL_ID 128
|
||||
#define CENTER_GRID_CELL_ID 256
|
||||
#define CENTER_GRID_CELL_OFFSET (SIZE_OF_GRID_CELL/2)
|
||||
|
||||
#define TOTAL_NUMBER_OF_CELLS_PER_MAP (MAX_NUMBER_OF_GRIDS*MAX_NUMBER_OF_CELLS)
|
||||
|
|
|
|||
|
|
@ -863,9 +863,9 @@ GM.StartLevel = 1
|
|||
# Visibility.Distance.Creature
|
||||
# Visibility.Distance.Player
|
||||
# Visibility distance for different in game object
|
||||
# Max limited by active player zone: ~ 333
|
||||
# Max limited by active player zone: ~ 166
|
||||
# Min limit dependent from objects
|
||||
# Default: 132 (cell size)
|
||||
# Default: 66 (cell size)
|
||||
# Min limit is max aggro radius (45) * Rate.Creature.Aggro
|
||||
#
|
||||
# Visibility.Distance.Object
|
||||
|
|
@ -891,10 +891,10 @@ GM.StartLevel = 1
|
|||
###################################################################################################################
|
||||
|
||||
Visibility.GroupMode = 0
|
||||
Visibility.Distance.Creature = 132
|
||||
Visibility.Distance.Player = 132
|
||||
Visibility.Distance.Object = 132
|
||||
Visibility.Distance.InFlight = 132
|
||||
Visibility.Distance.Creature = 66
|
||||
Visibility.Distance.Player = 66
|
||||
Visibility.Distance.Object = 66
|
||||
Visibility.Distance.InFlight = 66
|
||||
Visibility.Distance.Grey.Unit = 1
|
||||
Visibility.Distance.Grey.Object = 10
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "6905"
|
||||
#define REVISION_NR "6906"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue