New server config option to preload the world map on boot, removes lag caused by lazy loading (server.preload_map = true)

Cached region clipping flags for faster lookups
Minor optimizations to setAttribute codepath which avoids unnecessary checks
Fixed a bug that would allow entities to attack through walls
Fixed two separate bugs that would cause odd behavior attacking large entities from certain angles
Removed unnecessary schema from global.sql
Ensured that all but the `members` and `worlds` tables could be safely dropped out of the DB
Better automatic handling for creating the default server account and creating the default server clan
Fixed bugs related to interfaces flagged as uncloseable that would cause stack overflows
Fixed premature home teleport while in tutorial
Fixed getting stuck by going back up ladder in tutorial
Fixed bug that prevented bots from taking damage
Fixed a bug where players would not be in the default clan after completion of the tutorial
Green Dragon bots reintroduced, no longer buy any items (these bots sell loot from green dragons in the wilderness on the GE)
This commit is contained in:
Ceikry
2022-06-24 14:40:26 +00:00
committed by Ryan
parent 67e54d5429
commit ebf2ed4ab4
32 changed files with 495 additions and 616 deletions
+11
View File
@@ -4,6 +4,9 @@
secret_key = "2009scape_development"
write_logs = true
msip = "127.0.0.1"
#preload the map (Increases memory usage by 2GB but makes game ticks smoother)
preload_map = false
[database]
database_name = "global"
@@ -15,6 +18,8 @@ database_port = "3306"
[world]
name = "2009scape"
#name used for announcements of bots selling items on the GE
name_ge = "2009scape"
debug = true
dev = true
start_gui = false
@@ -49,6 +54,12 @@ wild_pvp_enabled = false
jad_practice_enabled = true
personalized_shops = true
bots_influence_ge_price = true
#verbose cutscene logging (for cutscenes in the new system)
verbose_cutscene = false
#show the rules the first time a player logs in
show_rules = true
#the number of revenants active at a time
revenant_population = 30
[paths]
#path to the data folder, which contains the cache subfolder and such