mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-09 17:58:20 +00:00
24dbd3944d
* Add friends list migration * Change friends to use charID Update friends table to use charID and not LWOOBJID variant. * Fix remove friend Fix remove friend and make the query more readable at a glance. * Add and remove friends in the container Properly add and remove friends in the player container * add enums * Add best friends and basic GM support V1 * Add more features * not online / doesnt exist implementation Implements the not online and invalid character response codes * Address players not being removed Fix an issue where players would not be marked as offline in the friends list due to the message not being sent in all circumstances. Tested changes on 3 clients, switching characters, logging out from character select, switching characters, world transfer and my friends list looked as it was supposed to. * Implement proper friends system Remove debug logs Track count of best friends Add best friends list cap of 5 Add config option and best friend update Add a config option and implement the last missing best friend serialization Added comments and fixed remove best friend bug Added some comments and addressed an issue where removing best friends would not remove them from your internal count of friends. properties and logs fixes whoops, had an issue send reply if already BFFs Send the correct objectID I really need to rename these Fix white space goon * Replace queries with unique ptrs * remove user from player container on deletion Remove the user from the player container when they delete their character.
66 lines
2.2 KiB
INI
66 lines
2.2 KiB
INI
# MySQL connection info:
|
|
mysql_host=
|
|
mysql_database=
|
|
mysql_username=
|
|
mysql_password=
|
|
|
|
# URL to the code repository for the hosted server
|
|
# If you fork this repository and/or make changes to the code, reflect that here to comply with AGPLv3
|
|
source=https://github.com/DarkflameUniverse/DarkflameServer
|
|
|
|
# Port to the chat server, same as in chatconfig.ini
|
|
chat_server_port=2005
|
|
|
|
# Where to put crashlogs
|
|
dump_folder=
|
|
|
|
# How many clients can be connected to the server at once
|
|
max_clients=999
|
|
|
|
# 0 or 1, should log to console
|
|
log_to_console=1
|
|
|
|
# 0 or 1, should log debug (developer only) statements to console for debugging, not needed for normal operation
|
|
log_debug_statements=0
|
|
|
|
# 0 or 1, should not compile chat hash map to file
|
|
dont_generate_dcf=0
|
|
|
|
# 0 or 1, should disable chat
|
|
disable_chat=0
|
|
|
|
# Spatial partitioning settings
|
|
# 205/12 is 1-1 with LU's terrain. Make sure to keep this ratio correct!
|
|
# so 102/24 would be half the size, which nets better phys times.
|
|
# 154/18 is a good middle road
|
|
phys_spatial_partitioning=1
|
|
phys_sp_tilesize=102
|
|
phys_sp_tilecount=24
|
|
|
|
# Gameplay settings
|
|
|
|
# Extra feature for DLU, gives a character 2 extra backpack spaces when leveling up
|
|
disable_extra_backpack=0
|
|
|
|
# Extra feature for DLU, shows vanity in the world like extra NPCs and plaques commemorating the project and its creators
|
|
disable_vanity=0
|
|
|
|
# Extra feature for DLU, enables you to race solo
|
|
solo_racing=0
|
|
|
|
# Disables the anti-speedhack system. If you get kicked randomly you might want to disable this, as it might just be lag
|
|
disable_anti_speedhack=0
|
|
|
|
# 0 or 1, check server fdb (res/CDServer.fdb) against clients
|
|
check_fdb=0
|
|
|
|
# 0 or 1, DLU leaderboards will rate Avant Gardens Survival based on score by default.
|
|
# This option should be set to 1 if you would like it to reflect the game when it was live (scoring based on time).
|
|
classic_survival_scoring=0
|
|
|
|
# If this value is 1, pets will consume imagination as they did in live. if 0 they will not consume imagination at all.
|
|
pets_take_imagination=1
|
|
|
|
# If you would like to increase the maximum number of best friends a player can have on the server
|
|
# Change the value below to what you would like this to be (5 is live accurate)
|
|
max_number_of_best_friends=5 |