Commit graph

1509 commits

Author SHA1 Message Date
Ceikry
185496e561 Add maven 2022-05-31 02:51:22 +00:00
Coaltong
0b0fc5271d Added missing sound effects and animations for lunar spells
Stat restore spell now includes a wider range of potions
2022-05-30 11:26:06 +00:00
vk
b3f17b249d DFH drop rate from chewed bones corrected to 1/250 instead of 1/500 2022-05-29 04:24:54 +00:00
Coaltong
0a1316bb53 Ogres (NPC ID 115) now count towards orge slayer task 2022-05-27 11:50:01 +00:00
Coaltong
e46151afb1 Giant Frog Legs now consumable and heal 6 HP 2022-05-27 11:37:23 +00:00
Ceikry
a40dbfbc1c Improved server shutdown order
Improved GE threading, introduced locks fixing server lags and GE offers not executing
Moved player login hooks to the major update worker (from management server thread)
Fixed random events in rare circumstances causing noted item loss
2022-05-24 11:02:05 +00:00
Coaltong
87313ce1d5 Added scimitar animations and sounds to Lucky Cutlass 2022-05-21 17:03:08 +00:00
Ryan
40d227d430 Reverted alchemy changes, turns out the item value data in the game cache is so unreliable it's essentially unusable 2022-05-21 17:01:27 +00:00
Ceikry
bba7c51bb2 Rollback uid changes, back to using username hash for uid. Fixes GE offers going missing after update 2022-05-21 14:04:15 +00:00
Coaltong
01428aacd7 Added the authentic Bronze Pickaxe spawn to the top of Lumbridge gate 2022-05-21 05:45:35 +00:00
PlateGlassArmour
420ee6e9c9 Added animations to blurite crossbow
Marked mith crossbow as tradable, added weight and description
2022-05-21 05:22:24 +00:00
Ryan
09ce411a0c Removed all alchemy values from config (inauthentic values, seem to have been copied from RS3) - we will probably need to add new overrides as they are discovered, none known at time of writing
Defined low alchemy value as item value * 0.4 unless override exists in config (authentic)
Defined high alchemy value as item value * 0.6 unless override exists in config (authentic)
2022-05-20 12:02:03 +00:00
Ceikry
334bc77d06 Improved the GE database access to use a basic reference counter for the connection that automatically closes the connection when no one is using it anymore
Grand Exchange now uses the GE sqlite database's price index table to track price changes
Removed the old price index (confusingly called GrandExchangeDatabase.java)
Grand Exchange prices are now dynamic and influenced by trades (weighted stepping average price)
Fixed GE interfaces not loading on login
2022-05-20 11:23:30 +00:00
Ryan
01a4292123 simplified ring of the star sprite teleport dialogue, now tells you if star has been mined 2022-05-19 23:11:47 +00:00
Ceikry
907838bb5f Addendum to login/auth improvements to make sure communication info gets parsed
Only update db fields if they have changed
2022-05-18 13:59:51 +00:00
ceikry
7faa0a2c7c Make sure we don't call exitProcess() if the system is already terminating 2022-05-16 12:41:58 +00:00
Ceikry
77320289b5 No longer running ticks in a coroutine, should address apparent lag after server has been running a while 2022-05-16 12:27:45 +00:00
Ceikry
07065c7e79 Random Events should now spawn correctly
Fixed an issue that was causing tick event hooks to not fire
2022-05-16 12:22:29 +00:00
Ceikry
8835799230 Refactored equipment.add, fixes bug #420 (blaze it) 2022-05-16 11:54:23 +00:00
Ceikry
9ab9885eef Introduced modular components for authentication, including the storage backend
Servers in dev mode now have a no-auth equivalent that allows any user/pass combo without registration
Added a ban command
Added a mute command
Hooked up the mute functionality of the report screen (for pmods+)
Cleaned up all the now-unused classes for player SQL stuff
Player SQL stuff now uses entirely prepared statements
No longer storing PC name, MAC address, serial number as these are inauthentic components of the protocol Packet to be corrected in the future to allow closer compatibility with authentic clients
Used less threading for the SQL queries/updates as these were causing issues both with the old system and the new
Updated ::resetpassword and ::setpasswordother commands to use the new server authentication pipeline (to ensure things are always correctly set)
Refactored the login read event, now handles more exceptions and edge cases
2022-05-16 11:51:42 +00:00
Gavin Alvesteffer
dd1eed7e39 man (ID 3224) is now pickpocket-able 2022-05-16 06:27:58 +00:00
Ceikry
966a5e1c55 Fixed the load order of configs with plugins - many configs are now loaded after plugins so that npc/item/object handlers in the old plugin system are set properly 2022-05-15 23:22:30 +00:00
Ceikry
24cea604fc Class scanning now distinguishes side effectful plugins from our pure content interfaces
Server store is now loaded and parsed ***before*** side effectful plugins
2022-05-15 11:20:27 +00:00
Ryan
ebc540c7c7 selling items for tokkul now returns the correct amount of tokkul (10x less) 2022-05-14 13:23:27 +00:00
Ryan
efbe754654 fixed Family Crest bug where Dimintheis would not replace gauntlets if you lost them (fixes #312)
fixed Family Crest bug where Dimintheis would give you infinite gauntlets (fixes #257)
fixed Family Crest bug where Dimintheis didn't check equipped gloves or second bank
fixed Family Crest bug where Dimintheis didn't remember which gauntlets you had
changing gauntlet enchantment now authentically costs 25k GP (and free the first time)
added content API function for checking if a player possesses any particular items anywhere
added content API functions for starting and finishing quests
2022-05-14 10:48:35 +00:00
Ryan
d5bb44230c implemented seaweed nets at fishing colony, but also locked it behind the appropriate quest (which isn't implemented yet, so no real change for players yet)
fixed NPE in quest getStage code when getting stage of quests that haven't been implemented yet
2022-05-14 10:42:00 +00:00
Ceikry
90060fde21 Item sets now appear and can be unpacked at the GE
Added a proper mock session that gets used for mock players in unit tests. Allows verifying that certain packets made it to the IoSession (the stage right before sending it to the client)
2022-05-14 10:24:47 +00:00
PlateGlassArmour
6f092d17d8 moved the decimal place on the "nothing" drop for Rockslugs from 5600 to 5.6, thus correcting rates for the whole drop table 2022-05-14 06:46:09 +00:00
Ceikry
7478f68d40 fixed a bug that allowed purchasing 0-stock items (you would only lose gold without getting an item) 2022-05-14 06:24:47 +00:00
Ryan
2f09f2b940 fixed malformed shop stock 2022-05-14 06:23:43 +00:00
Ryan
1615517c60 adjusted shop stock quantities for shops previously containing infinite items
vials are now purchasable from Jatix
fishing trawler is now playable with supplies from Port Khazard General Store
removed unauthentic bucket of slime from Trader Stan's shop
deleted inaccessible and obsolete "donator store" from pre-2009scape era
2022-05-14 06:18:01 +00:00
bushtail
fee3b02e3d Improved handling of buying Dragon Scimitars from Daga in dialogue and declining the Fremennik Trials quest from Brundt 2022-05-14 06:14:07 +00:00
bushtail
13088762d1 Implemented turning kebabs into super kebabs with red hot sauce 2022-05-14 06:07:23 +00:00
downthecrop
a5a0e9c9b4 Beer item ID Council Workman interaction changed from normal beer to the beer from Fremennik longhall
Koschei boss fight sessions are now World Pulses instead of player pulses
Refactor TFTInteractionListener to use ContentAPI
Allow Neitiznot items to be equiped after Frem trials
2022-05-14 05:31:26 +00:00
Ryan
d91396d0ea adjusted price calculation formula used when selling items to shops 2022-05-06 22:54:32 +00:00
ryannathans
2b0c35a420 fixed bug preventing awards for Witch's House and Roving Elves quests 2022-05-05 01:52:55 +00:00
Ceikry
a5f9c64dbb New dynamic region abstraction, consumed in construction 2022-05-03 23:18:11 +00:00
Ceikry
8438ecdbd7 Fixed an exception thrown when buying from player stock
Fix issue where malformed stock could shift following shop items
2022-05-02 10:22:36 +00:00
enosich
a5f3f93048 Make ::setvarbit take the first and second args instead of first and third 2022-05-02 04:00:00 +00:00
Ceikry
b06c69136f Better unit test output 2022-05-02 03:59:24 +00:00
Steffen Christensen
fc633160ee Fixed woman in Lumbridge house spawning inside of chair (Moved her spawn location a tile so she spawns freely)
Fixed #389 by adding missing items to Horvik's armour store in Falador
2022-04-29 08:52:05 +00:00
ryannathans
441c6a0052 adjusted shop prices in tzhaar city 2022-04-27 18:20:38 +10:00
Ceikry
b5a78fe18a Add more unit tests for shops and quest related architecture
Fixed bug where quests could be repeatedly finished
Fixed bug where ironman status wasn't checked when buying overstocked items
Fixed bug where selling multiple items at a time that weren't listed in a shop would not succeed
Fixed bug where shop restocking would sometimes interrupt if a shop stock item was in a null slot
2022-04-26 03:48:20 +00:00
Ceikry
96abfe6ab1 Add symlink for unit test cache access 2022-04-25 12:41:59 +00:00
Ceikry
fb98015536 Added unit tests for the GE
GE should now favor the buy offer if it's newer than the paired sell offer (buyer gets GP back)
GE should now favor the sell offer if it's newer than the paired buy offer (buyer does NOT get gp back)
GE should now always award bot offers to the highest bidder
2022-04-25 12:35:51 +00:00
Ceikry
933dc72a48 Added unit tests for regions (now requires cache at Server/src/resources/cache)
Reverted some really old changes (2019) to house loading code (Might fix construction? Probably not.)
2022-04-25 12:15:56 +00:00
Ceikry
eab32ccef8 Add unit tests for slayer
Kill server networking as soon as shutdown process starts
2022-04-24 15:08:08 +00:00
ceikry
75f1e092d5 Added packet for sending credit updates 2022-04-23 21:02:03 +00:00
Ceikry
4979c8438a Show standard offer text when reopening already-made offers
Fixed grand exchange offers disappearing on login
Don't show withdraw items with amount 0
2022-04-23 14:11:48 +00:00
downthecrop
0812cfa0c7 Fixes for 'perfect gold' smelting, mining and a prospecting bug for depleted rocks 2022-04-23 12:55:33 +00:00