Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lag when walking left or right
#1
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?
Reply
#2
Lol, I wish it was as simple as that. Even Mis has no idea what it could be.

Grr.
Reply
#3
I never had that problem for myself :\

I didn't even notice it when I was testing some other things in your game before...
Reply
#4
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.
Reply
#5
Where do I look for all of this?
Reply
#6
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
Reply
#7
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?
Reply
#8
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..

[Image: examplehb9.png]
Reply
#9
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.
Reply
#10
The seamless tut is on the old forums. I didn't have this problem at first, I don't know what caused this.
Reply
#11
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.
Reply
#12
http://ms.shannaracorp.com/backup-forums...asp?FID=35
Here you go.
Reply
#13
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?
Reply
#14
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.
Reply
#15
thats actually the wrong forum vans Smile. Its in submitted tutorials.

http://ms.shannaracorp.com/backup-forum ... sp?TID=119

though still if you dont have an account it doesnt help much Tongue
Reply
#16
I found the problem. It was my weather system, seems it was stuck in a loop of sorts, or something.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)