Commit Graph

58 Commits

Author SHA1 Message Date
Ceikry 0af42c77c8 Demoted logging of long pathfinding attempts to "fine"
Actually abort pathfinding excessively long paths
2023-04-24 16:20:38 +00:00
Oven Bread 323c653275 Implemented a generic book interface
Converted all books to new book interface
Converted stats command to use the new book interface
2023-04-24 14:32:52 +00:00
Ceikry 4b20cdd001 Refactored components of the ScriptAPI to more efficiently utilize pathfinding
Implemented a global limit on pathfinding distance (server.max_pathfind_dist)
Pathfinding limit is enforced at the packet level as well as elsewhere (ContentAPI, etc)
2023-04-24 14:16:59 +00:00
xmomoz 5aded2b349 Can no longer sell to full general store 2023-04-23 08:51:44 +00:00
Ceikry 99425f0991 Reworked skill-based random event logic 2023-04-22 13:37:59 +00:00
Ceikry 9619f5b3a7 Improved pathfinding to stationary targets to not unnecessarily recalculate the path
Fixed an issue where end-of-movement was not being considered properly
Added admin command for drawing chunk boundaries ::drawchunks
Added admin command for drawing region boundaries ::drawregions
Added admin command for drawing the current route ::drawroute
Fixed impling IndexOutOfBoundsException
2023-04-21 16:19:23 +00:00
Ceikry f6096e3020 Rewrote impling system
Fixed static impling spawns
Fixed impling spawn ratio
Reworked Puro-Puro, much more authentic
Imp defenders now work properly
Crop circles now appear
Added admin command ::implings to list active implings (excludes implings from Puro-Puro)
Fixed bug where you could add to a finished compost bin
2023-04-20 12:16:21 +00:00
Ceikry cb92ad0577 Unified dragonfire protection logic
Fixed KBD's attack range resulting in only certain spots allowing him to melee
2023-04-18 08:44:03 +00:00
RiL 957540c362 Implemented all Fist of Guthix glove effects
Fixed inaccurate salve amulets boost, bonus for enchanted version now implemented
Fixed inaccurate black/slayer mask + slayer cape interaction, now always gives the highest bonus when wearing mask + cape
2023-04-17 00:59:54 +00:00
Dan Ginovker 034cc75a61 Started implementing Castle Wars (not ready to enable yet) 2023-04-10 07:13:54 +00:00
RiL fc28c97400 Added ge_announcement_limit configuration for setting minimum high alchemy value required for bot GE items to be announced 2023-04-02 08:41:43 +00:00
Ceikry c0ffe59d47 Fixed live console spam caused by ResetInterface not being listed as a valid outgoing packet 2023-04-01 05:16:06 +00:00
bushtail af99895168 Refactored some fishing code
Converted some fishing code to kotlin
Implemented crayfish fishing
2023-04-01 04:57:58 +00:00
Ceikry 2273550fea Rewrote and unified potion decanting, fixes decanting bugs
Replaced Zahur's and Bob Barter's methods of decanting
2023-04-01 02:33:38 +00:00
Ceikry d431fec1ed Fixed bug relating to tracking current slayer task 2023-03-31 00:04:59 +00:00
Ceikry b1ed4461af Fixed incorrect teleporting to house portal on logout
House now kicks guests when owner leaves
More aggressively unload old house regions (experiment)
Added DEBUG log type (currently unused, but shows up in cyan when used and the world is in development mode)
2023-03-30 22:39:42 +00:00
Avi Weinstock b9050c0e3c Implemented A* pathfinding for SmartPathfinder 2023-03-26 03:59:07 +00:00
RiL ffb7486a01 Implemented a loot message for the reward from Fishing trawler
Optimised junk item removal from Fishing trawler loot
2023-03-26 03:52:13 +00:00
Manapart 3c2b852473 Added admin command to change appearance 2023-03-26 03:25:33 +00:00
Zerken 27661f711f Fixed standard spell book sounds
Fixed spell hit and miss sounds not working
Changed several existing spell sounds to use constlib
Corrected confuse cast sound and added hit sound
Corrected weaken cast sound and added hit sound
Corrected curse cast sound and added hit sound
Corrected vulnerability cast sound and added hit sound
Corrected enfeeble cast sound and added hit sound
Corrected stun cast sound and added hit sound
Corrected crumble undead hit sound
Added bind hit sound
Corrected snare cast sound and added hit sound
Corrected entangle cast sound and added hit sound
Added sound for enchanting crossbow bolts
Added saradomin strike hit and miss sounds
Added claws of guthix hit and miss sounds
Added flames of zamorak hit and miss sounds
Fixed teleother sound
Added ibans blast cast and hit sound
Corrected superheat ore sound
2023-03-25 15:12:14 +00:00
Ceikry 7ec901297b Fixed some error spam about a nullref in animateWoodcutting
Fixed a general script processing oversight that could cause error-throwing scripts to continue executing
Scripts being processed now automatically cancel if the interaction-target-node is no longer active (fixes object could not be replaced spam)
Fixed the stopExecuting() spam
Fixed a CME in the disconnection queue (only affected server shutdown)
Future-proofed the ground spawn parser to work with the format Zaros now outputs
Added in proper SKILLING global clock for use with the script system - addresses some quirks and brings us closer to authenticity
2023-03-21 03:50:27 +00:00
Ceikry 8b62e42323 Fixed a bug that prevented progression in tutorial island
Fixed a bug that caused woodcutting to take slightly longer
Fixed a bug that caused the woodcutting axe message to print more often than it should
Fixed a bug that caused fishing to not print its fishing attempt message
Fixed a bug that caused fishing to take slightly longer
Fixed a bug that would cause nechryaels to lose interest in the player when their minions attacked
Made sure the grand exchange tests always clean up the GEDB
2023-03-16 03:27:30 +00:00
Zerken 55c619bf87 Significant Stronghold of Security immersion improvements
Added the command ::jingle to play music jingles by id
2023-03-08 03:28:10 +00:00
Ceikry ff18f69dd0 Fixed a bug that was causing players to get stuck logged in
Fixed a bug that would cause players to get stuck in a client crash loop when logging out inside of a POH
Fixed a bug that let players reach objects that shouldn't be reachable
General disconnection reliability improvements
Adjusted the color of global chat for HD mode, the new color is #f1b04c
2023-03-05 11:00:06 +00:00
Sam e03187920b Fixed random variation on tablet teleport to house
Corrected drop table for hero
Rewrote tablet teleports in kotlin as listener
Added new ::runekit admin command, which gives 1k of each Rune type to make testing easier
2023-03-03 02:32:46 +00:00
Avi Weinstock eeedafe637 Improved accuracy of player wealth calculation 2023-03-03 02:15:52 +00:00
Ceikry b6fa73d94c Disconnecting while dying no longer results in improper death handling in safe zones (e.g. fight caves) 2023-03-03 01:13:38 +00:00
Ceikry 97f4fa91ca Added support to fire off a discord alert to a webhook (set in server config as server.openrsc_integration_webhook) when Wormbrain's map piece is collected so that rsc plate pures are possible 2023-03-02 12:53:12 +00:00
Ceikry 214ba50ecc Implemented support for overriding daily account limits via new config file Server/data/configs/account_limit_exceptions.conf (this file is hot reloaded automatically upon modification) 2023-03-02 12:14:28 +00:00
Ceikry 88a2f354b4 Added support for varying log levels configurable in the server config (see log_level in default.conf)
Error logs now properly print to stderr when possible
Colour-coded logs
Addressed a scenario in which outgoing packet writes could get hung up
Fixed interface incorrect definition message on server startup
2023-03-01 08:01:14 +00:00
Avi Weinstock e1faa64af7 God spells now properly drain stats
Charge spell no longer null-dereferences when attempting to refresh it
Manually casting spells no longer changes attack style
2023-03-01 07:48:31 +00:00
Ceikry 9a4b933976 Implemented ContentInterface-based NPC Scripting
Obsoleted AbstractNPC
Implemented desert bandits
Rewrote a handful of existing NPCs into NPCBehaviors (e.g. rock slugs, nechryaels, water fiend and more)
2023-03-01 06:42:25 +00:00
Zerken f0d7b82bf9 Added the HAM robe set and monk's robes to the allowed items for Entrana 2023-03-01 03:37:20 +00:00
Ceikry a5f94d736a Fixed incorrect xp calculation that would occur in some circumstances when training magic 2023-03-01 03:24:17 +00:00
Skal Fate 09f553d998 Varrock Museum Curator Haig Hele no longer gets stuck in endless "please waiting"
Achievement diary no longer gets completed on every repeated interaction with the Varrock Museum Curator
Grammar fixes for shield of arrav quest
2023-03-01 00:42:17 +00:00
Ceikry 3445b792c8 Implemented Global Chat
Added global chat feature, so players can still maintain global communication while being in their own clan chat
An individual player can opt out of global chat by using the ::muteglobal command
Implemented automatic message splitting for clan and global chat
Implemented colour selection for global chat (prefix your message with hex colour code, e.g. //%690420 before the message)
2023-03-01 00:02:12 +00:00
Ceikry 124eeab893 Implement Authentic Interaction Subsystem
Implemented authentic script/interaction queues
This does now mean we have a total of 3 interaction systems, but this additional system is necessary to fix certain categories of bug and implement some authentic features
Converted mining to new system
Converted fishing to new system
Converted woodcutting to new system
Provided an example of soft-queued scripts with GrandTreePodListener
Implemented tick-eating (it is now possible to eat a shark, drink a potion, and eat a karambwan all on the same tick)
Can now eat and drop items while stunned
2023-02-28 23:41:14 +00:00
Ceikry 5206c99151 Improved handling of chat message packets
More improvements and fixes relating to dynamic regions and constructions
2023-02-28 23:04:52 +00:00
bushtail dcaa980822 Rewrote PrayerEffect into kotlin
Corrected calculation used for prayer restoring effects
2023-02-22 08:25:16 +00:00
Skal Fate 06632a6918 Elvarg improvements
Elvarg fight is now authentic
Max hit up to 60 w/o shield, with anti-dragonfire shield up to 12, and max combat damage based on defense level
Separated potion and shield effects to not stack
Fixed quest log typo
Fixed dragon-fire message to show correct text based on the player's protection
2023-02-22 07:59:27 +00:00
Sam 73cbc9f11e Removed inauthentic vial smash after completing bar crawl miniquest (this is an osrs-only feature) 2023-02-21 06:49:02 +00:00
Ceikry 675d576c58 Updated kotlin to 1.8.0
Updated kotlin target to java 11
Fixed build errors when targeting 1.8.0
2023-02-18 09:18:24 +00:00
bushtail 7a42de63dc Players can now cut down jungle bushes while wielding a machete
Added inEquipmentOrInventory function to content API
2023-02-18 02:36:12 +00:00
Ceikry cecd6f1947 Fixed many non-critical exceptions
Fixed an issue that could result in server hang
Added a new command ::npcsearch for searching for NPC IDs
2023-02-18 01:37:30 +00:00
Ceikry 17db0f27ef Simultaneous logins now possible on servers using in-memory account storage 2023-02-17 04:51:14 +00:00
bushtail 7f6752ba8a Mr. Bones' Wild Ride admin command now accepts a player name argument 2023-02-17 00:12:56 +00:00
Swizey 34f8db2557 Implemented authentic dragon axe special attack and enabled it by default, osrs style is toggle via worldprop world config dragon_axe_use_osrs_spec = true 2023-02-16 22:47:18 +00:00
Swizey 79696dfdde Overhauled the Lumbridge jobs system to be more authentic
Added new class of job - bone burying
Made the Task List item functional
Overhauled the dialogues of all of the applicable employers to be more authentic to 2009
Players must now return to the employer who gave them the job to turn it in
Added development command ::clearjob to clear the player's current job
2023-02-14 05:30:03 +00:00
Ceikry 39251fc75f Implemented blast furnace ore shop 2023-02-12 01:08:34 +00:00
Ceikry e5336f4438 Removed old degrading system for crystal bows 2023-02-09 23:30:33 +00:00