-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Jak edited this page Aug 27, 2016
·
12 revisions
Welcome to the osrs-refactor-revision-1 wiki!
Here are a few steps to follow when starting off with a fresh deob to get it connected to your private server. It is suggested to follow these steps in the following order.
- Disable RSA
- Disable ISAAC
- Change the cache loading directory
- Identify ALL client-to-server packet sizes (takes a bit)
- Locate server-to-client packet size array (takes seconds compared to #4)
Investigate the Login protocol (TODO)
After you have completed the login protocol, when you login it will look this the below picture. You cannot move, and will disconnect within a couple of seconds. To stop the disconnection, you need to send the player update packet from the server to the client.
Free's cache library - based on Bubbletan's RSCEL library
- File server / Update protocol rune-server
- Player update -> appearance mask -> size (byte) then packed data is written in reverse
- 317 Npc updating -> the amount of bits used to write the 'npc type' value changes from 12-14 in some servers.
- Clients will always disconnect if client packet sizes are not 100% correct.
- When disabling RSA, disable it properly (only the scrambling) and don't disable the actual method. The method writes a byte of data to indicate the size (in bytes) for the block of RSA data.
- The remaining data written during login included and after the players Username uses XTEA to scramble data further.