[0.7.5]game.speed bug

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

[0.7.5]game.speed bug

Post by Dysoch »

After using game.speed=1000 and you either die or go to menu, the entire game is 1000x faster. Even in map editor, when you move the camera, it goes super fast (easily 1000 coords per key pressed)(does this with all speeds)

I think it should be auto returned to normal after going back to screen or after you die.
And i think the console should be accessable in the map-editor.
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6

ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: [0.7.5]game.speed bug

Post by ficolas »

I dont think you are suposed to run the game so fast if you dont have a nasa computer...
Even in 5x my game haves some problems (fps)

User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Re: [0.7.5]game.speed bug

Post by Dysoch »

ficolas wrote:I dont think you are suposed to run the game so fast if you dont have a nasa computer...
Even in 5x my game haves some problems (fps)
Got an pretty good machine, can run 1000 gamespeed without lag, i use it for testing the events.
But only it stays on, even after you go to main menu or die. Then it should be auto-reverted to 1.
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6

ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: [0.7.5]game.speed bug

Post by ficolas »

You can allways set it by yourself in the lua code.

For example:

Code: Select all

if initiation==nil then
    game.speed=1
    initiation=true
end
And do you know that 1000x is 16'6 minutes per second? Or 60000 game ticks per second! Thats sooo much.

Also if you are doing it in a world with some pollution creepers will attack and u will die. (that may be the cause of deaths)

User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Re: [0.7.5]game.speed bug

Post by Dysoch »

I know its 16 minutes per second. I am used that for testing the breakdown events. It caused alot of death (but it was a test after all)
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6

ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: [0.7.5]game.speed bug

Post by ficolas »

Just wondering... what are your pc specs?

kovarex
Factorio Staff
Factorio Staff
Posts: 8079
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.7.5]game.speed bug

Post by kovarex »

It heavily depends on the script and map, I believe, that on small map with just few entities with simple script, the 1000 speed can be possible.

User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Re: [0.7.5]game.speed bug

Post by Dysoch »

ficolas wrote:Just wondering... what are your pc specs?
Amd fx 8-core processor,
32 gb 2300 hz ram,
3 gb geforce nvidia dd5

I know, its a beast ;)
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6

kovarex
Factorio Staff
Factorio Staff
Posts: 8079
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.7.5]game.speed bug

Post by kovarex »

The timer is now reset to default when you exit the game, so the speed of the map editor will not be affected by the speed of game played for the last time, so I move this to fixed for the next release.

Post Reply

Return to “Resolved Problems and Bugs”