Search found 8 matches

by franck
Thu Jul 09, 2020 6:45 pm
Forum: Pending
Topic: [0.18.34] RCON issues: out of order responses, multipart trick unavailable.
Replies: 3
Views: 1583

Re: [0.18.34] RCON issues: out of order responses, multipart trick unavailable.

Hey mark, noticed your library indeed! I read about the use of TCP however the outputs being in different order is still kind of messing with me, I need to check if it is coming from the python-valve lib or the game side. Maybe the python-valve lib does get confused by it using TCP. As for your own ...
by franck
Thu Jul 09, 2020 6:33 pm
Forum: Technical Help
Topic: [0.18.34] Creating a player/character from RCON
Replies: 5
Views: 2005

Re: [0.18.34] Creating a player/character from RCON

Hey, so I figured out what was wrong! Indeed character is exactly what I need but while testing I accidentally created two characters at same position on the surface. That seems to box the characters in, which means that if I tried to set the walking state, it would animate but not change position. ...
by franck
Wed Jul 08, 2020 10:18 pm
Forum: Technical Help
Topic: [0.18.34] Creating a player/character from RCON
Replies: 5
Views: 2005

Re: [0.18.34] Creating a player/character from LUA

Small update, I was looking at https://github.com/yournamehere/factorio-tas-playback/blob/master/control.lua#L33 and playing with it. It uses entity name "player" which does not seem to exist anymore (as per. https://wiki.factorio.com/Data.raw). "character" does exist though and ...
by franck
Tue Jul 07, 2020 6:24 pm
Forum: Wiki Talk
Topic: Map exchange string format in Wiki outdated (at least 0.17.79+)
Replies: 2
Views: 1669

Re: Map exchange string format in Wiki outdated (at least 0.17.79+)

That's pretty cool, did not see that! (just used --help). Do you think it would be possible to add a sub-command to factorio (like --create) which would do this without launching a new game to access the LUA console? This would be a lot more practical! edit: Other option, just allowing --create to t...
by franck
Sun Jul 05, 2020 6:55 pm
Forum: 1 / 0 magic
Topic: [0.18.34] GUI requires 3 to 5 clicks per button after 25% of game launches.
Replies: 2
Views: 1390

[0.18.34] GUI requires 3 to 5 clicks per button after 25% of game launches.

Hello, Using steam factorio on Mac, every so often, the game will require several clicks for any action to take effect in Game (even in launch menu). I would estimate this to happen every one in 4 launch. Since it can be seen in main menu already, I just relaunch the game. Often it happens a few tim...
by franck
Sun Jul 05, 2020 6:09 pm
Forum: Technical Help
Topic: [0.18.34] Creating a player/character from RCON
Replies: 5
Views: 2005

[0.18.34] Creating a player/character from RCON

Hello,

Is there a way to create a player/character from RCON using the LUA API? This would allow creating scripts that could behave like players, in order to simulate games (TAS)

Cheers,
by franck
Sun Jul 05, 2020 4:29 pm
Forum: Wiki Talk
Topic: Map exchange string format in Wiki outdated (at least 0.17.79+)
Replies: 2
Views: 1669

Map exchange string format in Wiki outdated (at least 0.17.79+)

Hello, Working on a TAS, I worked on a small command to start a fresh headless server from a map exchange string in a VM. I have this working now, but it took a while because it seems like the wiki entry for Map exchange string format is partially outdated. Is this page maintained in any way by the ...
by franck
Sun Jul 05, 2020 4:17 pm
Forum: Pending
Topic: [0.18.34] RCON issues: out of order responses, multipart trick unavailable.
Replies: 3
Views: 1583

[0.18.34] RCON issues: out of order responses, multipart trick unavailable.

Hello, I have started working on a potential TAS and was looking at using RCON to control the game. The original idea was to try to use python-valve to do that, however I have run into an handful of issues. In a document from valve describing the protocol , they describe the multipart behavior (whic...

Go to advanced search