bump
|
I'm requesting the method in client that handles which entities will be visible and which wont be. (ex. if 2 players are on the same square, which entity will be shown, and how to change that).
Will rep++ and thank.
bump
Why do you need to locate the method in client? Why does everyone hard-code stuff through client when so much can be done through simply edits in the cache or source (The correct way..)?
Locate the class in the source which updates the NPC flags (In my source, it's called LocalNPCUpdate). You can block certain NPCs from appearing through that very class. It's very useful for things like quests and whatever else..
For the love of god, stop hard-coding stuff through client. Client is mainly for just decoding incoming data, not containing tons of if-clauses and data..
My client is quite refactored, a simple search took me to this method:
Try to compare the code to see if you can find a similar method in your client but under a different name.
Seems like it. All you have to do is basically prioritize the player of which you're interacting with.
Also, interesting thing I found:
The flag indicates if "you" should be drawn.
As you can see in the picture below, first it draws you and then npcs, and then finally other players.
Made a snippet for this, click here.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |