| Mirage Source http://www.miragesource.net/forums/ |
|
| Lag when walking left or right http://www.miragesource.net/forums/viewtopic.php?f=201&t=328 |
Page 1 of 2 |
| Author: | Matt [ Thu Jul 27, 2006 5:18 am ] |
| Post subject: | Lag when walking left or right |
I have added misunderstood's seamless tut. It works perfect when walking up or down, but when I try to walk left or right, no matter where I am standing, it takes about 2 minutes to move one tile. Does anyone have any idea what could be causing this? |
|
| Author: | James [ Thu Jul 27, 2006 5:51 am ] |
| Post subject: | |
Perhaps the sprites don't want to move left or right? They are going on strike because you don't pay them enough? Nope, no clue. |
|
| Author: | Matt [ Thu Jul 27, 2006 1:18 pm ] |
| Post subject: | |
Lol, I wish it was as simple as that. Even Mis has no idea what it could be. Grr. |
|
| Author: | Misunderstood [ Thu Jul 27, 2006 2:26 pm ] |
| Post subject: | |
I never had that problem for myself :\ I didn't even notice it when I was testing some other things in your game before... |
|
| Author: | Liz [ Thu Jul 27, 2006 4:13 pm ] |
| Post subject: | |
Heh, that's kind of odd. Normally when walking is affected it's in up/right, left/down pairs. Side to side though, run through the code from the second you press the left arrow button, put breakpoints at every line, and make sure variables are correct, and so on. |
|
| Author: | Lea [ Thu Jul 27, 2006 4:22 pm ] |
| Post subject: | |
Look for differences between the directions, and see fi there are any differences that arent supposed to be differences |
|
| Author: | Matt [ Thu Jul 27, 2006 5:54 pm ] |
| Post subject: | |
Where do I look for all of this? |
|
| Author: | Dr. Spoon [ Thu Jul 27, 2006 6:21 pm ] |
| Post subject: | |
you follow the code path from the press of each direction.. where as it is from left and right the lag happens I would compare it to the up and down code to see what the differances are this would help you to find the possible problem |
|
| Author: | Matt [ Thu Jul 27, 2006 6:46 pm ] |
| Post subject: | |
Okay, I did a few tests, put myself directly in the middle of the map, as long as I am moving from the middle of the map, I can walk in any direction, but if I move to the left one from the middle, I lag walking up or down, and the same with any other direction. Anyone have any idea? |
|
| Author: | Lea [ Thu Jul 27, 2006 7:04 pm ] |
| Post subject: | |
So, if the edge of your map is visible, then you lag. It's probably a communication lag, where you're trying to keep 2 or 4 maps updated real time, and your server, client, or both, cant keep up. |
|
| Author: | Matt [ Thu Jul 27, 2006 7:15 pm ] |
| Post subject: | |
No, if I move to the left or right one tile, then try to move up or down, it lags. If you want, I can send you a client and you can see for yourself. It does this for each direction. [EDIT] Here is an example of sorts..
|
|
| Author: | Forgotten [ Thu Jul 27, 2006 8:34 pm ] |
| Post subject: | |
This is why you should always make backups before adding a new piece of code. That way you could always compare your new code with the old code to find problems easier, and if you can't find the problem then you could still always restore your backup and try again. I personally do not know how to fix your situation without seeing any of the code myself, so sorry if I am of no help. Maybe if I saw this tut? I tried looking for it in these forums and cannot find it, could somebody point me in the right direction? Thanks. |
|
| Author: | Matt [ Thu Jul 27, 2006 8:37 pm ] |
| Post subject: | |
The seamless tut is on the old forums. I didn't have this problem at first, I don't know what caused this. |
|
| Author: | Forgotten [ Thu Jul 27, 2006 8:42 pm ] |
| Post subject: | |
Could I get a link to the old forums? It's been a very long time since I have been to this site and do not remember things like this. If I overlooked it then I apologize. If you are not able to post it through here maybe send a PM? Thanks in advance. |
|
| Author: | Van [ Thu Jul 27, 2006 8:44 pm ] |
| Post subject: | |
http://ms.shannaracorp.com/backup-forums/forum_topics.asp?FID=35 Here you go. |
|
| Author: | Forgotten [ Thu Jul 27, 2006 9:17 pm ] |
| Post subject: | |
Thank you Van. One thing though, I cannot access the site as a registered member. I try to register and I just get this error: Code: Server Error in Forum Application
An error has occured while writing to the database. Please contact the forum administrator. Support Error Code:- err_SQLServer_register_USR File Name:- register.asp Error details:- Microsoft OLE DB Provider for SQL Server Cannot insert the value NULL into column 'Login_attempt', table 'Shannar_shannaracorp.dbo.tblAuthor'; column does not allow nulls. INSERT fails. Is there anything to do to access this page? |
|
| Author: | Van [ Thu Jul 27, 2006 9:33 pm ] |
| Post subject: | |
You'll have to find an account from someone to access, if you can't find any then PM me and I'll let you use my account. |
|
| Author: | Misunderstood [ Thu Jul 27, 2006 10:24 pm ] |
| Post subject: | |
thats actually the wrong forum vans http://ms.shannaracorp.com/backup-forum ... sp?TID=119 though still if you dont have an account it doesnt help much |
|
| Author: | Matt [ Sat Jul 29, 2006 12:38 pm ] |
| Post subject: | |
I found the problem. It was my weather system, seems it was stuck in a loop of sorts, or something. |
|
| Page 1 of 2 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|