Mirage Source http://www.miragesource.net/forums/ |
|
Ugh, player keeps sticking http://www.miragesource.net/forums/viewtopic.php?f=201&t=704 |
Page 1 of 1 |
Author: | Obsidian [ Mon Oct 30, 2006 7:43 am ] |
Post subject: | Ugh, player keeps sticking |
Just converted my packets to byte arrays, and they work for the most part, but for whatever reason when you try to move, the game registers you as moving... but your player doesn't go anywhere. It doesn't disconnect you though you can still chat. i've been debug.printing (yeah that's a verb now), for the past two hours and i can't figure out where there is any actual problem. Anyone had anything like this happen or have any general suggestions to fix it? |
Author: | Liz [ Mon Oct 30, 2006 3:10 pm ] |
Post subject: | |
So, what does, 'the game registers yuo as moving' mean? Moving = True? Or whatever value it is? Or does the x and y values of the players location actually change? The first, and most likely one, would be caused by a packet not sending or recieving correctly. Where as the second one doesn't make as much sense, but would have directx stop moving. Make sure all of the movement related byte array packets match up. |
Author: | Lea [ Mon Oct 30, 2006 4:05 pm ] |
Post subject: | |
Pain in the ass, isnt it... /me begins to cry... |
Author: | Obsidian [ Mon Oct 30, 2006 5:24 pm ] |
Post subject: | |
Yeah it really is, Dave. Moving = 1 X/Y Change "playermove" (Call SendDataToMapBut()) is sent. client is the only thing that doesn't update. also, if you're facing left, and you move right, the player will face right, but not actually go anywhere. but then if you press a new direction... like up for instance, the player won't move in that direction, and the game won't even register you as trying to move up. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |