Search found 209 matches

by WIZ4
Wed Jan 24, 2018 5:47 pm
Forum: Resolved Problems and Bugs
Topic: [16.18] Russian symbol in the title cause bad conversion
Replies: 3
Views: 2417

[16.18] Russian symbol in the title cause bad conversion

If I open the tab "scenario" in which there is a scenario with a russian name. I get an error "Bad conversion". Then the game closes
Screenshot_1.png
Screenshot_1.png (57.73 KiB) Viewed 2417 times
by WIZ4
Wed Jan 24, 2018 5:27 pm
Forum: Resolved Problems and Bugs
Topic: [Rseding91] [16.18] Enable_research not remove research panel
Replies: 1
Views: 1935

[Rseding91] [16.18] Enable_research not remove research panel

Я использовал эту команду

Code: Select all

/c game.forces.player.disable_research();
Research panel deletes only after clicking on the map
Animation.gif
Animation.gif (32.33 MiB) Viewed 1935 times
by WIZ4
Wed Jan 24, 2018 11:35 am
Forum: Resolved Problems and Bugs
Topic: [0.16.18] Disable_all_prototypes leads to the crash
Replies: 2
Views: 2428

[0.16.18] Disable_all_prototypes leads to the crash

I used this command

Code: Select all

/c game.forces.player.disable_all_prototypes()
Then he opened research window and clicked on an empty cell
Screenshot_1.png
Screenshot_1.png (922.9 KiB) Viewed 2428 times
And can help me enable prototypes back?
This not work

Code: Select all

/c game.forces.player.enable_all_prototypes()
Screenshot_2.png
Screenshot_2.png (193.46 KiB) Viewed 2426 times
factorio-current.log
(3.78 KiB) Downloaded 153 times
by WIZ4
Tue Jan 23, 2018 9:03 pm
Forum: Resolved Problems and Bugs
Topic: [16.18] Mining speed progress bar goes down of the screen
Replies: 10
Views: 6157

Re: [16.18] Mining speed progress bar goes down of the screen

Above all, the game shouldn't allow mining speed modifier less than -1, since that would mean negative mining speed, which makes no sense. (The modifier is added to the current speed, so -0.5 means half as fast.) Fixed in 0.16.19. Is this also fixed for running_speed_modifier and crafting_speed_mod...
by WIZ4
Tue Jan 23, 2018 1:05 pm
Forum: Modding help
Topic: Why can not I get a random spawner
Replies: 6
Views: 1331

Re: Why can not I get a random spawner

orzelek wrote:It's because local variable is short lived - it's reinitialized every run of method.
You'd need to store it in global table to have it stored between runs and saved in save file.
Thanks, it worked!
by WIZ4
Tue Jan 23, 2018 12:41 pm
Forum: Resolved Problems and Bugs
Topic: [16.18] Mining speed progress bar goes down of the screen
Replies: 10
Views: 6157

Re: [16.18] Mining speed progress bar goes down of the screen

Negative mining speed -> mining progress bar goes backwards. Seems logical to me. I am reminded of this old joke: A man goes to the doctor and says, "Hey doc, it hurts when I do this-" Then, he bends over in his chair and puts his foot behind his neck. The doctor replies, "Well, don'...
by WIZ4
Tue Jan 23, 2018 12:25 pm
Forum: Resolved Problems and Bugs
Topic: [16.18] Mining speed progress bar goes down of the screen
Replies: 10
Views: 6157

[16.18] Mining speed progress bar goes down of the screen

I use this command:

Code: Select all

/c game.player.character.character_mining_speed_modifier = -3
down.gif
down.gif (24.21 MiB) Viewed 6157 times
by WIZ4
Mon Jan 22, 2018 6:20 pm
Forum: Ideas and Suggestions
Topic: Train wagons carrying one item button
Replies: 74
Views: 19878

Re: Click & Drag Cargo Wagon Filters

+1
It would save a lot of time
by WIZ4
Mon Jan 22, 2018 2:58 pm
Forum: Modding help
Topic: Why can not I get a random spawner
Replies: 6
Views: 1331

Re: Why can not I get a random spawner

I tried to make sure that each time the function is executed, to him "local count" was added 50 script.on_event(defines.events.on_tick, function(event) local interval = 1 * 1 * 60 if game.tick >= 1*1*60 then if (game.tick % interval) == 0 then local X = math.random(-200,200) local Y = math...
by WIZ4
Mon Jan 22, 2018 1:02 pm
Forum: Modding help
Topic: Why can not I get a random spawner
Replies: 6
Views: 1331

Re: Why can not I get a random spawner

This solves the problem, thanks
by WIZ4
Sun Jan 21, 2018 11:12 pm
Forum: Won't fix.
Topic: [0.16][gfx] Pickaxe flips in player animation
Replies: 2
Views: 1417

Re: [0.16][gfx] Pickaxe flips in player animation

And the position of the weapon is also changing. It is either above or below
Screenshot_1.png
Screenshot_1.png (43.15 KiB) Viewed 1320 times
Screenshot_2.png
Screenshot_2.png (46.87 KiB) Viewed 1320 times
by WIZ4
Sun Jan 21, 2018 8:41 pm
Forum: Modding help
Topic: Why can not I get a random spawner
Replies: 6
Views: 1331

Why can not I get a random spawner

I wrote a script that should generate random spawner: script.on_event(defines.events.on_tick, function(event) local interval = 1 * 1 * 60 if game.tick >= 1*1*60 then if (game.tick % interval) == 0 then local X = math.random(-200,200) local Y = math.random(100,200) for y=-15,15 do for x=-15,15 do loc...
by WIZ4
Thu Jan 18, 2018 10:33 pm
Forum: News
Topic: Friday Facts #225 - Bots versus belts (part 2)
Replies: 1016
Views: 376600

Re: Friday Facts #225 - Bots versus belts (part 2)

Kira_ wrote:I really like the idea of filters on splitters :D but also maybe a ratio setting on them could also be really useful so I don't end up with 4 splitters in a row to get an eighth of the input :/
It would be one of the best buffs belts!
by WIZ4
Wed Jan 17, 2018 11:22 pm
Forum: Modding help
Topic: How to playing the script again if the condition is not done
Replies: 3
Views: 915

Re: How to playing the script again if the condition is not done

Move this code to the function. function try_place (pos1, radius) if game.surfaces.nauvis.can_place_entity{name = "spitter-spawner", position = pos1} == true then game.surfaces.nauvis.create_entity({ name="spitter-spawner", position=pos1}); game.forces.player.chart(game.surfaces...
by WIZ4
Wed Jan 17, 2018 9:20 pm
Forum: Modding help
Topic: How to playing the script again if the condition is not done
Replies: 3
Views: 915

How to playing the script again if the condition is not done

I wrote a script, which generates several spitter spawner after a time interval. script.on_event(defines.events.on_tick, function(event) local interval = 10 * 60 * 1 if game.tick >= interval then if (game.tick % interval) == 0 then local X = math.random(-1000,1000) local Y = math.random(100,1000) lo...
by WIZ4
Tue Jan 16, 2018 11:35 pm
Forum: Not a bug
Topic: player coverage displaced
Replies: 1
Views: 675

player coverage displaced

Version 0.16.16
Look at this:
Screenshot_1.png
Screenshot_1.png (61.12 KiB) Viewed 675 times
by WIZ4
Mon Jan 15, 2018 9:23 pm
Forum: Gameplay Help
Topic: How create biters is not closer to a certain area?
Replies: 1
Views: 847

How create biters is not closer to a certain area?

I want to make a script that in time creates in random place spitter spawners But they should not appear be created to a certain area(red zone) How can I do it? All my attempts were failed I hope this picture explains: Безымянный-1.jpg script.on_event(defines.events.on_tick, function(event) local in...
by WIZ4
Fri Jan 12, 2018 10:34 pm
Forum: News
Topic: Friday Facts #225 - Bots versus belts (part 2)
Replies: 1016
Views: 376600

Re: Friday Facts #225 - Bots versus belts (part 2)

We hope, we are waiting. Stack-belt
Stack-belt.gif
Stack-belt.gif (23.21 MiB) Viewed 6873 times
by WIZ4
Fri Jan 05, 2018 9:45 pm
Forum: News
Topic: Friday Facts #224 - Bots versus belts
Replies: 905
Views: 348380

Re: Friday Facts #224 - Bots versus belts

Version 0.16.16

Minor Features
Removing logistics bots from the game
by WIZ4
Fri Dec 29, 2017 8:05 pm
Forum: 1 / 0 magic
Topic: [0.16.7] Crash on auto-save
Replies: 7
Views: 4005

Re: [0.16.7] Crash on auto-save

0.16.8 I also got a crash when autosave
factorio-current.log
(18.02 KiB) Downloaded 145 times

Go to advanced search