Search found 7 matches

by Chanz
Sun Jun 11, 2017 10:39 pm
Forum: Resolved Problems and Bugs
Topic: [0.15.19] Desync using game.write_file as an admin client
Replies: 4
Views: 2860

Re: [0.15.19] Desync using game.write_file as an admin client

Rseding91 wrote:Please upload the desync report.
Sorry, I added the report now. Thanks for your work! :-)
by Chanz
Sun Jun 11, 2017 11:36 am
Forum: Resolved Problems and Bugs
Topic: [0.15.19] Desync using game.write_file as an admin client
Replies: 4
Views: 2860

[0.15.19] Desync using game.write_file as an admin client

What did you do? I used the following code on my factorio client while I was connected to my factorio server. My client has admin permissions. The client and server has no mods installed. /c count = 0 for k,v in pairs(game.players) do if (v.connected) then count = count + 1 end end game.write_file(...
by Chanz
Thu Aug 04, 2016 6:44 pm
Forum: Modding help
Topic: [HELP] Edit the data of only one entity
Replies: 6
Views: 4734

Re: [HELP] Edit the data of only one entity

Thank you guys very much. I know that the replace method would be the worst way to solve this. Now I found out, that the speed of a train can be overwritten. The mod for speed limit rail signs uses this to limit the speed. Also the mod uses a custom function to calculate the acceleration and deceler...
by Chanz
Thu Aug 04, 2016 8:42 am
Forum: Modding help
Topic: [HELP] Edit the data of only one entity
Replies: 6
Views: 4734

Re: [HELP] Edit the data of only one entity

ShinyAfro thank you very much for the detailed explanation! Yes the data.json is a typo, it was pretty late over here when I wrote that post. Bit it's very thoughtful and nice to clear that up. After reading your post, everything makes a little more sense. But I still don't get why its not possible ...
by Chanz
Thu Aug 04, 2016 1:47 am
Forum: Modding help
Topic: [HELP] Edit the data of only one entity
Replies: 6
Views: 4734

[HELP] Edit the data of only one entity

Hi, I'm new to modding Factorio and I've got a question about data (data.json) and control (control.lua). As far I understand how it works its like this: The data.json defines the class of an entity or changes (extends) an existing entity class. The control.lua is the script that works on runtime. N...
by Chanz
Tue Jul 19, 2016 12:00 am
Forum: News
Topic: Friday Facts #147 - Multiplayer rewrite
Replies: 68
Views: 36388

Re: Friday Facts #147 - Multiplayer rewrite

This might be interesting: https://developer.valvesoftware.com/wiki/Source_Multiplayer_Networking#Input_prediction https://developer.valvesoftware.com/wiki/Interpolation UDP will always be the holy grail in real time communications. Its used in Voip, Streams, First-person-shooter, etc. and should be...

Go to advanced search