Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player position. #10

Closed
Anon1984 opened this issue Feb 6, 2018 · 14 comments
Closed

Player position. #10

Anon1984 opened this issue Feb 6, 2018 · 14 comments

Comments

@Anon1984
Copy link

Anon1984 commented Feb 6, 2018

Hi,

The program looks good but for some reason. my position is always fixed to the starting point.
Is see everybody moving except me. (green Dot)

@Anon1984 Anon1984 changed the title Player posistion. Player position. Feb 6, 2018
@burakerenel
Copy link

how?

@Psycho7
Copy link

Psycho7 commented Feb 6, 2018

This repo only check outgoing 44-byte packet (86-byte in total) for self position. Maybe you can modify this part to check incoming packet with 186 bytes, which also contains your own position in the last 12 bytes.

@AiYinZiLeGong
Copy link
Owner

Wow, I didn’t know if there is other way to get self coords. What is the incoming 186 bytes used for?

@Psycho7
Copy link

Psycho7 commented Feb 6, 2018

@AiYinZiLeGong I don't know neither... I just found out the last 12 bytes are also corresponding to your own position. They are RTP packets.

@AiYinZiLeGong
Copy link
Owner

@Anon1984 Somtimes the RTP packets wont't be sent. Also RTP packets won't be sent when you use the mic...

@Psycho7
Copy link

Psycho7 commented Feb 6, 2018

@AiYinZiLeGong I just can't figure out why BlueHole is using RTP to transfer self position and voice... Are they stupid or something? Actually, networking without encryption is stupid enough XD

@AiYinZiLeGong
Copy link
Owner

maybe try to reuse some old code.

@Anon1984
Copy link
Author

Anon1984 commented Feb 7, 2018

Tried it on my game computer. here it's working.
But on a laptop with port mirror not. Then i only see the other players and own char stuck in the corner

What could it be...

@burakerenel
Copy link

@Anon1984 so my laptop has this error.

in the game working, but jump the fly and drop earth not working.

@lane686
Copy link

lane686 commented Feb 8, 2018

I got same issue, I'm running the code on a linux with bridge connection but my player coor is not right.

@OprekerSejati
Copy link

OprekerSejati commented Feb 10, 2018

My player position stuck at where I landed after jump, I run it on same computer as the game play

@JayJTD
Copy link

JayJTD commented Feb 18, 2018

Ubuntu 16.04.3 running on another PC on the same LAN. Same issue on both this and PubgKnown's fork.

Same issue, player icon is just permanently stuck at the starting area.

@M0rtale
Copy link

M0rtale commented Feb 18, 2018

Same problem here, despite changing the packet size checker to 56 raw bytes, the player position still remain dormant.

But what I found is that instead of localplayer being the green dot, it becomes en enemy dot...

@AiYinZiLeGong
Copy link
Owner

commit cea997f should fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants