Jump to content

» «

Tips for Lag, Hang and Crash While Making Mission

5 replies to this topic
  • nandack

    When you are in The Dark, you can see The Light.

  • Members
  • Joined: 13 Jul 2014
  • Indonesia


Posted 21 July 2014 - 03:58 AM

Hello again, I'm Nandack. This is my second tutorial. This tutorial only talk about in-Editing Mode (in DYOM not when playing mission). So, have you (designer with normal pc or even low-spec pc) ever get lag, hang or crash when on DYOM editor? Well, I have. At the first time, I really don't know why it is lagging all the way when I have more than 20 actors or have more than 30 objectives including cutscene. The lag is gone (for awhile) when I change the place to make another objective but that's not help me if I really want to make big amount of cutscene or objective at the same place.

Then, How I fix it? Simple actually. Let me write some informations before finishing this tutorial because, believe me, it is simple actually. So, when you make an actor, the memory of the PC will be taken, just a little amount of memory (bytes maybe). But, when you make an objective, the icon of that objective will be showed on the Radar (It's the circle at the bottom left of the screen with the map). Actually that's the annoying part when you make a mission. Because everytime you add actor or objective then the radar will be refreshed to show up the icons. Well, if you make like 25 objectives or more then when you make another objective your radar will be refreshed again and sometimes the icon on the world will disapear for awhile and will apear again shortly. Now, if you want to make your DYOM editor more faster when making mission then go to the option and Display Settings, and change Radar / map from Blips to become off. That solve the lag problem and even solve the crash when in-editing mode.

Now, how about hanging when in-editing mode? Actually that's just same with above. But, there are some factors that make your editing mode get hanged. For example if you add too many actors. As everybody said that the limit on DYOM is 100 for each of functions. So you can only make 100 Actors, 100 objectives, 100 Objects and also the actor's max routepoints is 100. Because when your routepoints is more than 100 then your gta will not responding.
If you ask me why there should be only 100 each max then I will answer it with simple sentence "I'm not the author of DYOM" but I don't think that this is the bug, I think it's the limitation for Memory Handling of GTA San Andreas as every engine is not perfect and has their own capability. Just the same as when your friendly actor didn't shoot enemy sometimes because it is GTA SA limitation for their AI (read: Artificial Intelligence).

So, when you want to make mission, just remember don't be gready with memory, make some space before spawning a huge number of actors and objects, make some timeout objective for mission handling and don't forget to design your mission properly.

Sorry for my English, I am Indonesian. But thanks for read my tutorial and let's make some missions!
Twitter: @NandackCahyo
  • kk. likes this

  • Revolver1

    DYOM reviewer

  • Members
  • Joined: 21 Jun 2013
  • Vietnam


Posted 21 July 2014 - 05:35 AM

I have a question. So let just say that spawning 20 actors at once make the game crash, how about we spawn 10 first, then make a 3 seconds timeout, then spawn 10 more, will that make the game crash? 

  • kk.

    So long, and thanks for all the fish

  • Members
  • Joined: 02 Aug 2013
  • Lithuania


Posted 21 July 2014 - 07:01 AM Edited by Syndrome, 21 July 2014 - 08:40 AM.

Your english is better than most of us here, don't worry. And my game lags sometimes when I make missions, so I will use your advice and see if it helped.

Juice the Joos
  • Juice the Joos


  • Members
  • Joined: 23 Apr 2014
  • Italy


Posted 21 July 2014 - 08:24 AM

Great, once again!

That's one of the problems that bothered me the most, thanks a lot!

  • Casualmind

    Sunshine mixed with a little hurricane.

  • Members
  • Joined: 19 Jul 2013
  • Indonesia


Posted 21 July 2014 - 08:57 AM

Yes, it's like what happening to me because you know, when I'm making a mission, I made a lot of actors, objectives and objects. It's like 80 objectives, 70 Actors, and 30 until 40 objects everytime. So yea, my game lags so hard and I don't know how to fix it.


Anyway, Thanks a lot for your tutorial!

  • nandack

    When you are in The Dark, you can see The Light.

  • Members
  • Joined: 13 Jul 2014
  • Indonesia


Posted 21 July 2014 - 10:25 AM

Something error with my page, I can not quoting your comment so I will use @ symbol.

@revolver1 that is what I do lately, because if you make first 10 actors we can debuging it by using waves method (programming phrase). So the first 10 is the first wave, 2 seconds cooldown, spawn 10 again and call it second waves. By using this you will get less chance of crash. Just remember that max of all is 100, so never make the eleventh wave if each wave is 10 actors.
@Syndrome, glad to hear that, thanks.

@Juice the Joos, Thanks, although I am late (really) to make tutorials.
@Blues2030, you looks like pro designer by using so many of the functions. Great, young spirit.

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users