mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-16 19:20:05 +00:00
dongresource
c9f9b093f4
* Add newly created chunks to nearby players and NPCs. This fixes the slider/static path mob pop-in problem. * Update a player's chunks when resurrecting. This fixes a mob desync problem. * Use a private instance for the Time Lab * Spawn a slider for every stop * Fix mobs in private lairs using the template chunk mobs's current health for their max health * Don't call into the JSON lib in the loop in aggroCheck(). This is an optimization found after using gprof. * Don't print NPC deletions to console. This stops the spam when a private instance is deleted. * Changed default view distance to half the length of a map tile, so chunks are aligned to map tiles * Update tdata reference
68 lines
1.8 KiB
INI
68 lines
1.8 KiB
INI
# verbosity level
|
|
# 0 = mostly silence
|
|
# 1 = debug prints and unknown packets
|
|
# 2 = print all packets except LIVE_CHECK and movement
|
|
# 3 = print all packets
|
|
verbosity=1
|
|
|
|
# Login Server configuration
|
|
[login]
|
|
# must be kept in sync with loginInfo.php
|
|
port=8001
|
|
# will all custom names be approved instantly?
|
|
acceptallcustomnames=true
|
|
# how often should everything be flushed to the database?
|
|
# the default is 4 minutes
|
|
dbsaveinterval=240
|
|
|
|
# Shard Server configuration
|
|
[shard]
|
|
port=8002
|
|
ip=127.0.0.1
|
|
# distance at which other players and NPCs become visible.
|
|
# this value is used for calculating chunk size
|
|
viewdistance=25600
|
|
# time, in milliseconds, to wait before kicking a non-responsive client
|
|
# default is 1 minute
|
|
timeout=60000
|
|
# should mobs move around and fight back?
|
|
# can be disabled for easier mob placement
|
|
simulatemobs=true
|
|
# little message players see when they enter the game
|
|
motd=Welcome to OpenFusion!
|
|
# NPC json data
|
|
npcdata=tdata/NPCs.json
|
|
# xdt json data
|
|
xdtdata=tdata/xdt.json
|
|
# mob json
|
|
mobdata=tdata/mobs.json
|
|
# path json
|
|
pathdata=tdata/paths.json
|
|
# drop json
|
|
dropdata=tdata/drops.json
|
|
# gruntwork output (this is what you submit)
|
|
gruntwork=tdata/gruntwork.json
|
|
|
|
# account permission level that will be set upon character creation
|
|
# 1 = default, will allow *all* commands
|
|
# 30 = allow some more "abusable" commands such as /summon
|
|
# 50 = only allow cheat commands, like /itemN and /speed
|
|
# 99 = standard user account, no cheats allowed
|
|
# any number higher than 50 will disable commands
|
|
accountlevel=1
|
|
|
|
# should mobs drop event crates?
|
|
# 0 = no event
|
|
# 1 = Knishmas
|
|
# 2 = Halloween
|
|
# 3 = Easter
|
|
eventmode=0
|
|
# percent chance of an event crate dropping each kill
|
|
eventcratechance=10
|
|
|
|
# spawn coordinates (Z is height)
|
|
# the supplied defaults are at Sector V (future)
|
|
spawnx=632032
|
|
spawny=187177
|
|
spawnz=-5500
|