Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
My point still stands, however. As Vas mentioned, there are a lot of scripts you don't want to loop that often, and with only three pre-set options it makes for a lot of script-based lag that's just not needed. Again, if you don't want to continue the mod, at least open it up so someone else can continue to update. So far, it still works for me, but there's no telling when Keen will break something.
let someone else take over.
lol :) even obsolete mod need to be fixed"
Keen added self Triggered PB's so this is no longer needed.. Hence Obsolete.
Fixed, again xD hopefully there are no more surprises.
at Digi.LoopComputers.LoopPB.<Init>b__8_0()
at Sandbox.MySandboxGame.ProcessInvoke()
at Sandbox.MySandboxGame.Update()
at Sandbox.Engine.Platform.Game.UpdateInternal()
at Sandbox.Engine.Platform.Game.RunSingleFrame()
at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass1.<Run>b__0()
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at SpaceEngineers.MyProgram.Main(String[] args)
This was with your mod uninstalled, so maybe there's something else going on in my game just now. Maybe another mod is wrecking things. I'll reboot Windows/Steam and try a few other things. Sorry if this was a false alarm.
Where would I find the crash log?
Updated and fixed.
@Digi... Actually, it doesn't seem possible to use it. The slider has disappeared. I agree with the script authors setting it up best. We already had a few examples of self-managed scripts before these changes (e.g. DAS which had variable timing (which is broken now)). I think it's a good thing. Just a bummer while we wait for updates, I suppose.
You can still use this if you want, I'm only gonna remove it if it reaches 0 subs :}
Thanks, Digi !
This mod however, does not touch the timer blocks, it just allows you to set the repeat interval on the programming block itself, also in much more granularity than the buggy timerblock, allowing you to choose to run 1 block every 0.5 seconds, and another one every 10 seconds, without causing lag.
I've been trying to find a blunt answer to this question online for a while and im guessing the reason i can't is because its obvious to every1 but me lol. but i'm wondering if 1 timer can run multiple PBs on a loop? So if 2 scripts required the same setup conditions on timer of (run PB, then Trigger Now itself, then Start itself) if i could use 1 timer to do that,.. that is, do it w/out negative consequences?
If not tho, then looks like your mod is the solution, thank you.
I strongly suggest you use the scripter rank and give it to only people who understand the load they add to the server with PB scripts; but not just the repeating part, there are plenty of exploits that go past the limits. The slider is only accessible by scripter roles if they're enabled.
Could you make a version that is basically the exact same, except can't go faster than once every 0.3s or ~40 ticks?
pb.TryRun(pb.TerminalRunArgument);
That's what I do to run it, if it doesn't work I'll need more details to replicate it.
And I'm not sure what you mean by "placed to manually run", if you mean timer blocks, they're irrelevant here.
You should request these on the forum or in discord or something, someone might be interested in doing them.
If you worry so much about PB scripts you should use the scripter rank and give it only to people you can trust... or simply disable the PB ability altogether, as people who want to loop their scripts rapidly will find ways to do it anyway :P
Also, on nr. 2, I meant that the PB script itself can have a function to turn itself off after X repeats which is something the player needs to add, not the DS admin, that was before I understood that you wanted to enforce the limit.
Thanks you.
Part 1.
1) Yes, your mod dose not replace anything, but could you add same mod to your workshop but that adds "new PB with self looping" in G menu. So there will be 2 types of PB and it will grant more flexible settings for SESE Block Enforcement Settings - Blocks per player.
2) Ok this is good news, but it is quite hard to work with code for people who dose not have programming education. I searched for that string that is written in description but i didnt found it. I got now clues what do i have to change.
How do i see it:
Scrollbar
Name of scrollbar = Number of repeats
Variable = 1, 2, 3... 100
3) I suggest to make a line that allows players to set how ofter 1 loop will repeat.
How do i see it:
Scrollbar
Constant/Name of scrollbar = 1 repeat
Variable = 10, 13, 15 seconds and etc, but not less then 10 seconds
4) I mean prevent the vanilla timers from running "new PB with self looping".
Part 2
Your current mod is quite nice for single game, but if i will use it on Dedicated server it will kill servers SimSpeed. ( 25+ players using LoopingPB with 0.17 sec repeat time guaranteeing bad end ). I offer to make same working mod but that will allow players to use scripts on DS only when they really need them, other way for example debris that usually appears in game can contain Loop Computer that will keep making endless number script of repeats. With my suggestions loops will automatically turn off after X repeats, players wont be able to restart them with vanila Timers (The way i see players able to restart loop run is Button push or Cockpit panel push) and wont overload server with fast repeating loops that are usualy set for ~ 1 second.
2) The PB script can turn off the loop after X repeats, see description for the code to adjust the slider.
3) Not sure I understand this, but 1 repeat for each 10 seconds sounds like a 10 second loop to me which is already a thing.
4) You mean prevent the vanilla timers using 'trigger now' on themselves to trigger every tick ? Or just prevent timers from running PBs ? Either way, I'm not sure if they're possible to do, but that's more of a game issue that should be solved somehow and the purpose of this mod is to show how to solve it: by giving people the option to repeat at the exact frequency they need.
Thanks you.
Request and suggestion.
1) Could you make a mod with separate Loop Program Blockinstead of replacement version.
2) Could you make the finite number of repeats (example: Block can self repeat only 5 times or 20 times; the player can choose an amount of repeats, by analogy with the timeline)
3) Could you limit time intervals: 1 repeat for each 10+ seconds (but not less than 10 seconds)
4) Some how to forbid Timer blocks communicate with Loop Program Blocks (with other words: to forbid players use Loop PB via Timer)