If it was 100 %, it would be implemented in the 317 protocol. But it's not. There will be problems, i guarantee it.
|
Difficulty: 1
Base used: Renamed client.
About: This will allow you to make the player invisible and visible the CORRECT way jagex does it.
_____________________________________________
Client Side:
Step One
Open up Player.java and find,
Step TwoCode:visible = true;
Replace that with,
Server Side:Code:/* * Gnarly: Reading what the server said to make the player, * visible, or not visible, if integer is 1 player is visible * if integer is 0 player is not visible. */ int visibleInt = stream.readUnsignedWord(); if (visibleInt == 1) { visible = true; } else { visible = false; }
Step one
Open up Player.java and declare this,
Step twoCode:public int playerIsVisible = 1; // Gnarly: Player is visible, 1 = true, 0 = false.
Now find this,
Step threeCode:str.writeByteC(playerProps.currentOffset);
ABOVE that add this,
UsageCode:playerProps.writeWord(playerIsVisible);
To use this, do the following.
PictureCode:playerIsVisible = 0; // Gnarly: Since it's making it ZERO it would make the player be unvisible, if it's at 1, it will make the player visible again. updateRequired = true;
Credits
- Gnarly/Me
If you use this, please give me credit for it. ^_^
If it was 100 %, it would be implemented in the 317 protocol. But it's not. There will be problems, i guarantee it.
ur doin it wrong
you can just not update the players appearance.
I don't understand what this is really doing, making them invisible..? One quick question for you though, on Webber's client, the loginbox is set for only one kind, and I want it to be normal rs one. Could you post your loginbox method or something?
Look at the usage part of the tutorial.
Like in fightpits for viewing orbs, most people make the person a invisible npc, but that's not the correct way, they can still talk and their Dot on the minimap still shows up, doing it this way, completely disables chatting, minimap dot, character rendering. This is the way Jagex does it, well maybe it's different now in the 530, but when Runescape was 377 this is how it was done. ( Yes 377 not 317, because 317 it was not finished, it was finished in 377, but since we only have 317 sources, i finished it on the 317. )
lol? Your dot is still on the minimap...Its under the fountain logo thing lawl.
Oh, alright then nice.
Oh thanks.
Nice job like always
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
Tags for this Thread |