EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
AP - L3M01 Sector cue and FPS drop
Post new topic Reply to topic
View previous topic :: View next topic
Author Message
kurush



MEDALMEDALMEDAL

Joined: 07 Nov 2005
Posts: 3853 on topic

Thank you for registering your game
PostPosted: Wed, 1. Aug 12, 01:10    Post subject: AP - L3M01 Sector cue and FPS drop Reply with quote Print

I noticed that my game got a significant lag recently, especially when I run it on an old laptop I use for travel. After a quick investigation I found that the MD queue named "L3M01 Sector" appears to be the culprit: for whatever reason I had 43 instances of it in my game. Once I cycled its state 3 times in the mission director debug menu, the FPS drop disappeared.
Any ideas what might be going on and whether I can cancel all instances of this queue from an MD script?
EDIT: here is the script that got it fixed for me. I wonder if I messed up something in process?
Code:


  <cues>
    <cue name="bounce" game="all" comment="send message" delay="5s">
      <condition>
         <check_value value="{player.name}" exact="bounce"/>
      </condition>
      <action>
        <do_all>
         <reset_cue cue="L3M01"/>
              <play_subtitles text="Cue reset"/>
      </do_all>
      </action>
                          <cues>
                            <cue name="restart_bounce">
                              <timing>
                                <time exact="20s" comment="20 sec delay"/>
                              </timing>
                              <action>
                                <do_all>
                       <reset_cue cue="bounce"/>
                                </do_all>
                              </action>
                            </cue>
                          </cues>
    </cue>
  </cues>


EDIT2: It looks like some leftovers from purchase asteroid data missions are getting accumulated. Each of 43 instances had L2M144 in its subcues.


_________________

Overtuning assistance in Albion Prelude
Want to run any script or mod without ***modified***? Click here
Back to top
View user's profile Send private message
qwizzie



MEDAL

Joined: 01 Jun 2006



PostPosted: Thu, 2. Aug 12, 20:34    Post subject: Reply with quote Print

best to contact Ketraar .. he has more knowledge about MD


_________________
Mod : X3 TC/AP/XRM Visual Revamp Mod 1.7 --> http://forum.egosoft.com/viewtopic.php?t=308635
Mod : X3 AP Ring Gate Mod --> http://forum.egosoft.com/viewtopic.php?t=330306
Script : X3 TC/AP/XRM/XTC : Universe Colored Map Version 3.0 --> http://forum.egosoft.com/viewtopic.php?t=302247
Script : X3 AP Race Relations Setup 1.1 --> http://forum.egosoft.com/viewtopic.php?t=313846

somewhere between point A and point B i got lost and became an edit control freak ):
Back to top
View user's profile Send private message Send e-mail
kurush



MEDALMEDALMEDAL

Joined: 07 Nov 2005
Posts: 3853 on topic

Thank you for registering your game
PostPosted: Thu, 2. Aug 12, 21:02    Post subject: Reply with quote Print

qwizzie wrote:
best to contact Ketraar .. he has more knowledge about MD

I was hoping he checks this thread Smile In any case, I got my FPS restored without any visible issues by running that MD code after jumping 5 times from one Xenon sector to another to avoid any old missions that should be preserved (it messes up missions in the current sector and, likely, in several sectors you visitied last). It was getting into 30-es before and now it is 60 in a quiet sector. 60 seems to be the max, at least this is what I get on a new game.
It seems that there is a bug in some generic missions that prevents them from ending.


_________________

Overtuning assistance in Albion Prelude
Want to run any script or mod without ***modified***? Click here
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Sat, 18. May 13, 07:48

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.18218 seconds, sql queries = 26