frederik850 0 Posted May 16, 2014 After I implented Killozapit's Pathfinding script I playtested the game and a few moments later there appeared a syntax error. I know it's because I used the comment wrong. Right now, I already deleted the script and I won't be using it anymore. But the problem my game has a ton of lag ever since. I've tried some anti-lag scripts but they don't seem to work. Anyone know how I can solve this issue? Share this post Link to post Share on other sites
TheoAllen 830 Posted May 17, 2014 Your question is lack of clues. Lag may causes by many things. It could be caused by the badly design of HUD scripts, or too many events. Have you tried in a blank map? Share this post Link to post Share on other sites
frederik850 0 Posted May 17, 2014 I haven't, but before I used the script comment in a certain event there was no lag at all. And after the syntax error all of a sudden a ton of lag. And I just tried it on a blank map and it has still the same issue. Share this post Link to post Share on other sites
TheoAllen 830 Posted May 17, 2014 Weird. have you tried to disable all scripts you have? And re-enable it one by one? Share this post Link to post Share on other sites
frederik850 0 Posted May 17, 2014 How do you disable scripts? Just delete and re-implent them? And I only have two at the moment aswell. Share this post Link to post Share on other sites
TheoAllen 830 Posted May 17, 2014 Just put them below main. Or cut the main and paste it above all custom scripts Share this post Link to post Share on other sites
frederik850 0 Posted May 17, 2014 Still got the same issue. Share this post Link to post Share on other sites
TheoAllen 830 Posted May 17, 2014 What amount of FPS did you get? How about new project? Share this post Link to post Share on other sites
frederik850 0 Posted May 17, 2014 A new project doesn't help either. And where can you see the amount of FPS? Share this post Link to post Share on other sites
Tarq 745 Posted May 17, 2014 I'd recommend you upload a few screenshots, of both your scripts and the event in question. From my experience I'd say (if you are using a small map sparsely populated by events) you have two clashing directives. Something like a parallel process constantly turning on some BGM and another turning it off, and for some reason both on a loop. I'm sure you get the idea. Re-check everything. Share this post Link to post Share on other sites
TheoAllen 830 Posted May 17, 2014 Press F2 when you playtest. It should display the FPS. I guess, the factor itself is outside RM. Share this post Link to post Share on other sites
frederik850 0 Posted May 17, 2014 I basically have 60 fps all the time. And I am pretty sure the problem is within RM cause before the syntax error everything was just fine. And after that all of a sudden a ton of lag? And I am happy to upload some screenshots, but I don't have a single parallel event. Share this post Link to post Share on other sites
TheoAllen 830 Posted May 17, 2014 60 FPS is normal. Which part do you mean by lag? Share this post Link to post Share on other sites
frederik850 0 Posted May 17, 2014 I know 60 FPS is normal. And by lag I mean that 'the screen moving' isn't fluent. Share this post Link to post Share on other sites
+ TBWCS 951 Posted May 17, 2014 (edited) Does it happen to most of your applications as well? Also, try to see if you're setting up a normal resolution for your PC. Edited May 17, 2014 by SoulPour777 Share this post Link to post Share on other sites
frederik850 0 Posted May 17, 2014 (edited) I don't use many applications where lag could happen. And I haven't changed my resolution either so that should be good. Could re-install RM work? Edited May 17, 2014 by Tsarmina Share this post Link to post Share on other sites
frederik850 0 Posted May 17, 2014 Didn't work either. Any ideas left? Share this post Link to post Share on other sites
TheoAllen 830 Posted May 17, 2014 No hope. Try to ask on rpgmakerweb instead. Perhaps, they could answer you better Share this post Link to post Share on other sites
frederik850 0 Posted May 17, 2014 (edited) Maybe I can sent someone my project so he can take a look at it? And thanks for the help everyone. Edited May 17, 2014 by frederik850 Share this post Link to post Share on other sites
Tsarmina 2,611 Posted May 17, 2014 ​Hi frederik! Please don't forget to tag your topic, thanks ^-^ Also don't double post needlessly, I hid and merged yours. Share this post Link to post Share on other sites
TheoAllen 830 Posted May 17, 2014 Wait a minute. Did you check the "reduce screen flickering"? Share this post Link to post Share on other sites
frederik850 0 Posted May 18, 2014 What's that and were can I check it? Share this post Link to post Share on other sites
TheoAllen 830 Posted May 18, 2014 Playtest, and press F1 Share this post Link to post Share on other sites
frederik850 0 Posted May 18, 2014 Doesn't work either. It think it makes it even worse? Maybe you can take a look at my game and see if you got lag as well? Here is the link: https://www.dropbox.com/s/zjm0mmz1q21qm4z/Project2.rar Share this post Link to post Share on other sites