Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Tut - 508] Loading friends and ignore lists

Junior Spellweaver
Joined
May 17, 2007
Messages
131
Reaction score
2
Description: To make the Friends list and ignore list connect.

Difficulty: 1/10

Assumed Knowledge: Know how to find a file.

Tested Server: 508 server

Files/Classes Modified: Frames.java, Login.java

Procedure
Step 1: First open up frames.java in rs2.io.packets and add this.



Code:
/** * Connects to the friend and ignore servers * @param p The player which the frame should be created for. */ public void connecttofserver(Player p){ if(p == null || p.stream == null || p.disconnected[0]){ return; } p.stream.createFrame(115); p.stream.writeByte(2); }
Step 2: Save frames.java. Open up Login.java (rs2.io) and under...


Code:
p.frames.setConfig(p, 1085, 249852);
Add...


Code:
p.frames.connecttofserver(p);

Step 3: Save, compile, run, and login!


Credits: Lumby from rune-server
 
Last edited by a moderator:
◝(⁰▿⁰)◜Smile◝ (⁰▿⁰)◜
Developer
Joined
May 29, 2007
Messages
2,167
Reaction score
897
Looks Cool, But my Friends dont display Online!
 
Back
Top