![]() |
Black areas with custom movement
Part of my custom movement system involves moving around without using keys. When doing this though, i often reach black areas of the map. For example, the leaping part uses
PHP Code:
|
try a sleep() before altering the x and y (0.05 for example)
I've seen this problem in an other thread, let me see if I find it.. |
Quote:
It doesn't go black if you are holding down a movement key but since it itself can be custom scripted, do you just need to have one of the 4 directional keys down for it to load the map? |
Quote:
but try put freezeplayer(0.1); before altering the x and y thread: http://forums.graalonline.com/forums...ad.php?t=65190 |
freezeplayer() didn't work. I tried the disabledefmovement and it worked for a bit then the map updates when you enter new map area and it buggers up again. I tried doing playerenters() tests and such with no luck.
|
I've only seen this happen on GMaps. I don't know how to fix it but it happens when you move between levels without triggering the level link.
edit: At a guess i'd say that calling setlevel2(player.level,player.x,player.y) after the move would fix it. |
Quote:
That's serverside :[ |
Quote:
|
Any suggestions, Master Skyld?
|
Run to store and buy a copy of Windows Accelerat0r and run back to your computer, then jump up and down for a while then install the software. Now run your script! Everythings fixed! No more script! Graal won't start anymore! :D Problem solved!
|
disabledefmovement always solved this problem for me before...
|
Quote:
|
Quote:
|
Quote:
Custom health system and a custom movement system. We have been deceived, they are not really classic! REBEL! REBEL! REEEEBBBEEEELLLLLLL!!!!! |
Quote:
|
disabledefmovement(); is what Niromia had to use. We have to keep it in a timeout oddly enough or else the disabledef doesnt work for long. :/
|
| All times are GMT +2. The time now is 03:09 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.