Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • Tutorials »
  • Ugh! LAG!
« previous next »
  • Print
Pages: [1]

Author Topic: Ugh! LAG!  (Read 10152 times)

Offline Sir Kills A Lot

  • Initiate
  • *
  • Posts: 8
Ugh! LAG!
« on: November 28, 2009, 01:43:27 PM »
I have an issue that seems so stupid. My computer can load fallout 3 quick. But it can't load a 500x500 map in rmxp quickly. It takes forever. I was wondering if any one had a script or something that would speed up load time some how, or just a method of speeding it up.
Logged

Offline fruckert

  • Star-Star-Star-Star
  • Sage
  • *
  • Posts: 8,148
  • Not intended for public consumption
Re: Ugh! LAG!
« Reply #1 on: November 28, 2009, 01:47:48 PM »
Only thing that I can think of is that you've LOADED the map with events.
I'm not a RPGM expert though, so Idunno.
Logged
Quote
Ellie: I had a slice of ham in my hand. I was going to drop it, so I slapped it hard. It attached itself to the wall

Offline SaiKar

  • KOFFING!
  • Staff
  • Royal
  • *
  • Posts: 4,082
Re: Ugh! LAG!
« Reply #2 on: November 28, 2009, 03:53:52 PM »
I've never had a problem loading RMXP maps. Granted, my computer is pretty gewd, but so should yours.

Are you SURE you don't have unusual and weird scripts running that are slowing you down? They could be lagging you most of the time, with it being more noticeable during screen transitions.
Logged

Offline Sir Kills A Lot

  • Initiate
  • *
  • Posts: 8
Re: Ugh! LAG!
« Reply #3 on: November 29, 2009, 01:53:16 AM »
It's only on big maps. Like stuff over 100. I'm using a script that slows stuff down. (BLizzard's ABS script) But it shouldn't be so slow. It's 2d graphics.
Logged

Offline SaiKar

  • KOFFING!
  • Staff
  • Royal
  • *
  • Posts: 4,082
Re: Ugh! LAG!
« Reply #4 on: November 29, 2009, 01:55:32 AM »
The quality of the stuff you're loading may not have to do with the actual lag you experience. If the scripts are badly created, they could be doing a lot of needless looping very quickly: the faster your computer, the faster it loops, so you get lag either way. I'm not saying that's the cause of your problem but I've accidentally created similarly poorly-designed events in my own game and been blown away by how badly it destroys the framerate and loading speeds.
Logged

Offline Emerates

  • A. Hermit Esquire
  • Exemplar
  • *
  • Posts: 1,027
    • Emerates' Freewebs Site
Re: Ugh! LAG!
« Reply #5 on: November 29, 2009, 03:25:31 AM »
Would it help to use only a few parallel processes at once, instead of one for each thing you want to accomplish?  I've been having this problem myself with a CMS I'm working on.
Logged

Offline fruckert

  • Star-Star-Star-Star
  • Sage
  • *
  • Posts: 8,148
  • Not intended for public consumption
Re: Ugh! LAG!
« Reply #6 on: November 29, 2009, 03:29:09 AM »
Quote from: SaiKar on November 29, 2009, 01:55:32 AM
The quality of the stuff you're loading may not have to do with the actual lag you experience. If the scripts are badly created, they could be doing a lot of needless looping very quickly: the faster your computer, the faster it loops, so you get lag either way. I'm not saying that's the cause of your problem but I've accidentally created similarly poorly-designed events in my own game and been blown away by how badly it destroys the framerate and loading speeds.
Listen to the sage.
I'd show us some of the scripts, one of us may catch a weird loop that you have.
Logged
Quote
Ellie: I had a slice of ham in my hand. I was going to drop it, so I slapped it hard. It attached itself to the wall

Offline Sir Kills A Lot

  • Initiate
  • *
  • Posts: 8
Re: Ugh! LAG!
« Reply #7 on: November 29, 2009, 04:30:39 PM »
You can find the script here. I think he'd get mad if I posted it. The script is right on the page. You don't have to download it.
Logged

Offline MissingName

  • Here you go. Juicy Fruit. Happy?
  • Exemplar
  • *
  • Posts: 1,919
  • The scotch is well hidden. So scram.
Re: Ugh! LAG!
« Reply #8 on: November 29, 2009, 07:21:33 PM »
Ah, I once accidentally had two opposite events active.  FPS went down to around 3 or 4.
Logged
<sig></sig>

Offline SaiKar

  • KOFFING!
  • Staff
  • Royal
  • *
  • Posts: 4,082
Re: Ugh! LAG!
« Reply #9 on: November 30, 2009, 10:20:47 AM »
Well, I'm not going to go through other people's scripts to solve your problems for you. You probably know more about Ruby than I do anyway. I'm just trying to give you a place to start since we can't see anything here that could be wrong.
Logged

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
Re: Ugh! LAG!
« Reply #10 on: November 30, 2009, 08:29:20 PM »
you need an anti event lag, google "RMXP SCRIPT ARCHIVE" Ill bet you eventually find hundreds.
Logged

Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
Re: Ugh! LAG!
« Reply #11 on: December 11, 2009, 03:13:30 AM »
I'm guessing its a bad script. A lot of badly programmed scripts are set up so that every tile is tested against every tile, in a 500 x 500 map, that means that in every frame 500 ^ 500 tests are made. It has nothing to do with graphics, just way too many comparisons to make every frame. Use smaller maps or find a better script.
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

Offline Darkfox

  • These spectacles do nothing
  • Staff
  • Over 9000!
  • *
  • Posts: 10,215
    • Chaos Realm - Home of the God Beasts
Re: Ugh! LAG!
« Reply #12 on: December 11, 2009, 03:21:27 AM »
True. Added that Ruby isn't meant to process all that without some sacrifice. Takes down the speed. You have to be very sparing and free of unnecessary code or else it'll slow things down. So either that script is inefficient, or has holes in it. Added that it is spread over 500x500. I've actually experienced a similar problem in Charas Doom with weather effect scripts.
Logged



Offline fruckert

  • Star-Star-Star-Star
  • Sage
  • *
  • Posts: 8,148
  • Not intended for public consumption
Re: Ugh! LAG!
« Reply #13 on: December 11, 2009, 05:17:34 AM »
*points out the fact that this was over a week ago*
Logged
Quote
Ellie: I had a slice of ham in my hand. I was going to drop it, so I slapped it hard. It attached itself to the wall

Offline Darkfox

  • These spectacles do nothing
  • Staff
  • Over 9000!
  • *
  • Posts: 10,215
    • Chaos Realm - Home of the God Beasts
Re: Ugh! LAG!
« Reply #14 on: December 11, 2009, 05:22:35 AM »
And I just now noticed that. But got to put out my two cents anyways. XD We shut up now. o_o
Logged



  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • Tutorials »
  • Ugh! LAG!
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum