* Refactoring follow player/NPC variables
* Magic number refactoring
* Added more NPC refactoring
* More NPC refactoring
* More refactoring and removed GWD NPCs
GWD was added in 2007, not 2006, so there's absolutely no reason why this code should exist in the server.
* Removed more GWD NPCs
* Refactored remaining NPC IDs
Pazaz sent me the cache with the updated HQ logo for the login screen so it no longer has artifacts/a pink pixel, I'm creating a new branch with this even though I don't know if this is the right location for the cache, oh well. I think this also contains missing models/midis.
* Added cycle logging
* Use properties for cycle logging
We may not want it since it can be kinda spammy, so we can toggle this feature. We probably want it though.
* Improved cycle logging
* Added kill counts with message display
* Fixed barrows chest count
* Preserve insertion order of NPC IDs for Constants
* Added KC command and interfaces
* Added more robustness to KC command
* Added alias and documentation to new commands
* Added more aliases for new commands
* Merged slayer KC interface names
* Preserve slayerkc nameToKills insertion order and formatting fix
* Updated comment
* Added missing boss NPC id
* Moved giant mole up in set
* Emptied out quest interface properly for kc
* Fixed whitespace
* Fixed formatting
* Hide boss KC messages by default
* Added more client settings for winter and hide roofs
* Removed unnecessary local var and added Javadoc comment
* Fixed dark wizards casting magic in melee range
* Added AttackType enum
* Removed extra asterisk
* Removed attackType magic numbers
* Enabled snow toggles by default
* Combined snow month into one variable
* Added option for fixes without custom settings
Added option for fixes (and QoL tab) without overriding specific features.
* Added more main args
* Fixed typo
* Added player sound saving
We have it for music, so why not for sounds too?
* Fixed typos
* Added closed client exception to ignores
* Fixed NPC definitions not loading
* Replaced NPC definitions XML with JSON
* Replaced NPCDefinition Array with HashMap
* Use err for early exit output
* Fixed KQ death causing client crash
It had the wrong anims.
* Added zoom level to debug info
* Added zoom level messages option
* Added fire breath attack type enum
* Replaced remaining fire breath attack types
* Fixed client lag
This should technically not be necessary, but it's more of a workaround due to server inefficiencies (if you kill a bunch of cows, your client will start to lag and you will even stack hits, I suspect it's due to the ground items) until we fix the server inefficiencies. There's not really any downsides in changing this from 5 to 100, so it's a good change for now.
* Make definitions private
* Fixed dark wizards not attacking back
* Improved comments
* Removed extra giant mole spawns
* Added mole lair rope action
* Only send yes chat head when talking to NPC
* Fixed removing item does not reset autocast
* Fixed picking up stackable items with full inv
* Fixed lvl 7 dark wizard anims
* Added confirm param to xprate command and fixed players command
* Removed usages of Misc.println
This hides which file the println is actually called from, so it's actually better to remove this helper.
* Don't move player when clicking on barrows check
This is both unauthentic and unnecessary.
* Removed unnecessary commented out code
We don't even need it commented out tbh.
* Fixed incorrect barrows NPC attack anims
* Improved slayer points message
* Fixed slayer task message cut off
* Might as well make this naming consistent
* Fixed typo
* Fixed stronghold slayer dungeon getting stuck in wall
* Require control key for zooming
It's too easy to accidentally zoom in/out with the scroll wheel, so let's make it so you need the control key held to scroll wheel zoom in/out.
* Added option for control key zooming
This way, it's off by default so it works the way it always did by default.
* Added alias for control key zoom
* Fixed quest interface not emptying out completely
* Updated slayer point dialogue to be more accurate
* Fixed compile error
* Fixed formatting
* More formatting fixes
* Added 5th click object handling (fixes pick-lock crash)
* Fixed lower level NPCs always hitting 0
* Fixed NPCs having incorrect max hit
Chickens were hitting 3's, ouch...
* Fixed NPCs still hitting 0s
This is much better now. Combat feels good.
* Fixed boss max hits
* Fixed al-kharid gate talking option
* Copied over max hits from spawns.json to npcDefinitions.json
This fixes a lot of NPCs. Many NPCs already seem to be correct.
* Added workaround preventing players stuck in level 28 wildy
* Changed comment to TODO
* Added control key zoom toggle
* Extracted config option to ClientSettings
* added message for control key zooming
* Fix Weight Calculation For Add/Remove Item In ItemAssistant
* Re-Add Simple Stuck Command That Logs To Discord To Prevent Abuse
* Update Discord Log Chanel Var
* Fix int/interface Command
* Add World ID Check To DiscordBot Link Command
* Fix Java Warnings in DiscordBot Link Command
* Fix Some NPC's That Shouldn't Turn When Clicked
* Fix Some NPC's That Shouldn't Turn When Clicked
* Make immobileNpcs private
* Npc.java IntelliJ Code Format
* Clean Old Log Files
* Various Changes
* Moved minutes.log to log folder
* Made SERVER_LOG_DIR constant
* Moved FILE_SYSTEM_DIR to GameConstants & Deleted org.apollo.jagcached.Constants
* Removed unused minutes.log from data/data
* Removed Duplicate RSAKeyGen
* Moved RSAKeyGen from com.rs2.net.rsa to com.rs2.util.rsa
* Removed data/net.xml & Created Moved NetworkConstants.java
* Add HTTP & Jaggrab Port's to ConfigLoader
* IntelliJ Reformat ConfigLoader.java
* Fix Mistake
* Attempt #2
* Woops, wrong port
* Use single method for level for XP
These methods are functionally identical. This was done via test from 0->13034431 and they always returned the same value.
* redundant access
* New xp and level methods
* Removed test command
* Object definition cleanup
* Update ShopAssistant.java
* stackables
* notables
* unused files
* more junk
* almost done
* working
* moving old methods to deprecated
* update
* fixed pickpocket typos
* Update Pickpocket.java
* Remove redundant method. Fix stall stealing
* Documentation for deprecated methods
* WIP commit partial removal. Has test and dump classes
* Final cleanup
* Move definitions from data folder to cfg
* Temporarily moving definition loaders to GameEngine
This is until loading can be done asynchronously.
* Correct indentation.
* Updated and Added various drops
Added global drops to Al-Kharid and Lumbridge
* Added Uglug and Roachey
* Update npc.json
* Update shops.json
* Update Shops.java
* Firemaking: Fix some text (#548)
* Network cleanup (#552)
* Replaced packetType/Size with packet
* Replace Instream with Packet
Read data directly from packet to ease future network upgrade
* Update Packet.java
Removed unused methods to ease netty migration and network rewrite.
* Moved packet sizes.
* Removed unused stream methods
* Added readhex method for buttons
* preparing to replace mina
* Packet->GamePacket for refactoring
* Netty 3.6.6
* formatting
* formatting
* Apollo core
* Update net.xml
Added variables for 2006scape
* Netty 4 migration. Jagcached replaced with Apollo Core
* Porting network into apollo
* WIP Packet Changes
Do not merge. This is broken.
* Packet read methods converted to netty buffer
* Replacing game network and login with apollo
* Netty 4
* Cleanup
* Same port for update and game server.
* Cleanup login for integration with apollo
* Login works. fixing packets
* Running on apollo netcode.
* Server runs
* Update apollo-core.jar
* Disable encoder. write outstream directly to channel.
* Update RS2ProtocolDecoder.java
Added apollo decoder
* Add constant
* Synchronization not needed
* Update apollo-core.jar
* Better performance.
* Commit pre PR
* Update apollo-core.jar
* Fixup Port Binding Based On World
* Apollo files
* Additional Commit
---------
Co-authored-by: Dark98 <darkaidz98@gmail.com>
* Redo StaticNpcList constants (#553)
* Redo StaticNpcList constants
* Added items and objects
* Update NpcAggressive.java
* Bump netty-all from 4.0.34.Final to 4.1.42.Final in /2006Scape Server (#555)
Bumps [netty-all](https://github.com/netty/netty) from 4.0.34.Final to 4.1.42.Final.
- [Release notes](https://github.com/netty/netty/releases)
- [Commits](https://github.com/netty/netty/compare/netty-4.0.34.Final...netty-4.1.42.Final)
---
updated-dependencies:
- dependency-name: io.netty:netty-all
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Converted FarmingTask to CycleEvent
* Removed redundant tick system.
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Josh Shippam <darkaidz98@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>