Notice: fwrite(): Write of 44 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96
Lag Problems
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Lag Problems

Started by The Shadow, May 08, 2009, 04:57:44 PM

0 Members and 1 Guest are viewing this topic.

The Shadow

Basicly, Im having trouble with constant Lag in my game. I have no idea why it lags, and I can't seem to find a solution to it.

I've tried two types of Anti-Lag Scripts. The one by Near Fantastica, and the one made by Amaranth, but none of them helps against the lag.

Also, it can't be my computer, since I have a pretty good computer.

I don't know what's making the lag, and I need some help. Does anyone knows how to fix it?

Grafikal

How large are your tilesets? the larger they get the slower the game can get. It's usually best to limit tilesets to the specific tiles you'll actually use instead of a gi-gan-ti-nor-mas-sive one. Also, if you have a lot of Common Events running on parallel, that'll do it too. Uhm. I'm just trying to think of other things that'll do it that anti-lag scripts won't fix.

The Shadow

Well, Im not using events that's running on parallel, but I have events. Also, it could be the tilesets, since I use pretty big ones.

Grafikal

Hm, just for a test, you could try copying the project then remove the tilesets and replace them with the RTP and run it then.
I wouldn't think it would be a map event, anti lag scripts generally affect just those.

The Shadow

The tileset for the first the map that lagged wasn't big. I've used that tileset before, and never encountered lag on it.
However, I think I solved the lag on that map. It basicly started to lag when the Ongrian event touched another event that turns inactive when the player touches it for the first time. So I removed that event, and the lag stopped. I haven't tested on other maps that lagged for me.

Im going to go through the game and see if I spot any other lag problems.

modern algebra

Zeriab's Anti-Lag script is probably the best I've seen. You could try that one. I think it's in the database

Falcon

I recommend Zeriab's script, the script allows you to make events that are just for show not update (events that are used for a 4th layer), which helps cut down lag.