mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-04 22:40:05 +00:00
5e0948ea93
* implemented saving BatteryN and BatteryW * implemented saving mentor * moved int64->blob parsing to a separate function * moved parsing blob->int64 to a separate function * added functions for parsing int32->blob and vice versa * added functions for parsing int16->blob and vice versa * WIP saving quest items and active tasks * Quest items are stored in inventory table instead of blob * added sanity check for missionId * saving active missions works * removed unneccesary include * implemented saving warplocationflag, skywaylocationflag and currentmissionid in database * INFO DB message now shows how many accounts and player characters are in the database * fixed dbsaveinterval being in [login] instead of [shard] * fixed mission quit: - fixed wrong json name, causing qitems not deleting properly - quitting mission now resets npc kill count * adjusted saving active missions * removed blob parsing functions that ended up being unused * removed accidentaly added include * removed sending PCStyle2 on Player Enter * added a sanity check in itemMoveHandler * removed MapNum from PCLoad, as client doesn't even read it * set BuddyWarpCooldown to 60s on PCLoad * fixed a bug causing EXIT DUPLICATE not working * added creation and last login timestamps to accounts and players * added a sanity check for P_CL2LS_REQ_PC_EXIT_DUPLICATE * implemented web api support, toggled by new setting (off by default) * add usewebapi to config Co-authored-by: Gent <gentsemaj@live.com>
46 lines
1.1 KiB
INI
46 lines
1.1 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
|
|
# use the web API
|
|
usewebapi=false
|
|
|
|
# Shard Server configuration
|
|
[shard]
|
|
port=8002
|
|
ip=127.0.0.1
|
|
# distance at which other players and NPCs become visible
|
|
playerdistance=20000
|
|
npcdistance=16000
|
|
# time, in milliseconds, to wait before kicking a non-responsive client
|
|
# default is 1 minute
|
|
timeout=60000
|
|
# 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
|
|
# is everyone a GM?
|
|
gm=true
|
|
|
|
# spawn coordinates (Z is height)
|
|
# the supplied defaults are at Sector V (future)
|
|
spawnx=632032
|
|
spawny=187177
|
|
spawnz=-5500
|