|
Some of you may have already tried to Get Galkons client to connect to you PI server but only got as far as typing in your username and password but was thrown an error much similar to this:
This is caused by Sanity's shitty crash-frame aimed at stopping cheat clients and would-be server developers, but don't worry, I'm going to change that all for you.Code:Error: T1 - 123,0 - 36,36
Step 1 - In your server folder open up client.java and search for:
There you will see a method like this:Code:if (playerName.equalsIgnoreCase("Sanity")) {
*This sends the crash packet to the cheat client if a cheat client has been detected from PlayerAssistant class.Code:if (playerName.equalsIgnoreCase("Sanity")) { getPA().sendCrashFrame(); }
Step 2 - Remove that fully or just comment it out.
Step 3 - In your server folder open up PlayerAssistant.java and search for:
There you will see a method like this:Code:public void sendCrashFrame() {
*This checks to see if the client connecting to the server is an unrecognised client (cheat client)Code:public void sendCrashFrame() { // used for crashing cheat clients synchronized(c) { if(c.getOutStream() != null && c != null) { c.getOutStream().createFrame(123); c.flushOutStream(); } } }
Step 4 - Remove that fully or just comment it out.
Step 5 - In your server folder open up Player.java and search for:
*Since Galkons Refactored client doesn't read this byte, we will comment it out, if not then our players will become invisible because the client doesn't know what to do with it.Code:playerProps.writeByte(headIconPk);
Step 6 - Comment out that line
Step 7 - Do Galkons tutorial on loading head icons through the cache
Save/Compile
CREDITS
Sanity - For PI Server Base
Galkon - For Client Base
T1GER - For showing me how to complete step 5 to 6
Me - Figuring out the rest and making this tut
Missed you out? Gimmie a VM
Nice tut bro repped
Cheers man
When I can be fucked I'll explain what I did
Thanks man. Repped.
I wouldn't suggest just looking up the 'Sanity' part, but more as the crash frame. Some PI-derived servers send the crash frame based on other things.
Meh, I based this on the original PI server, some of the steps wont work if you are using a source that has modified head icons or diverted the crash packet in some other way.
Updated the tutorial as promised, now people shouldn't be telling people false facts about PI's crash frame.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |