Search found 15 matches

by Rikitav
Tue Jun 24, 2025 11:49 pm
Forum: Technical Help
Topic: Mod-Portal API : searching by mod title
Replies: 4
Views: 311

Re: Mod-Portal API : searching by mod title


Unfortunately the API does not do any sort of search. You can request specific mod(s) or all mods and nothing in between yet. Search functionality that matches the official mod portal and in-game mod browser search functions would be a good request to make!


I did not want to resort to this ...
by Rikitav
Tue Jun 24, 2025 10:46 pm
Forum: Technical Help
Topic: Mod-Portal API : searching by mod title
Replies: 4
Views: 311

Re: Mod-Portal API : searching by mod title

Loewchen wrote: Tue Jun 24, 2025 10:32 pm There is no mod with that name I'd assume. https://mods.factorio.com/api/mods?hide ... Krastorio2 works.
So you need to specify the full ID of mod? It's somehow stupid. So i should request the entire database through page_size=max to filter them humanly?
by Rikitav
Tue Jun 24, 2025 10:15 pm
Forum: Technical Help
Topic: Mod-Portal API : searching by mod title
Replies: 4
Views: 311

Mod-Portal API : searching by mod title

Hello again, this is me with my browser of mods. Using API : https://wiki.factorio.com/Mod_portal_API#Releases
I can’t understand how to filter mods by name. I mean, I saw that there is an namelist parameter there, but how it works explained shitty. Neither the acceptable format, nor how it should ...
by Rikitav
Sun Jun 08, 2025 7:19 pm
Forum: Modding help
Topic: Downloading mod thumbnail using C# HttpClient
Replies: 13
Views: 1101

Re: Downloading mod thumbnail using C# HttpClient

danbopes wrote: Sun Jun 08, 2025 7:03 pm You have a DNS issue, either in your router, or your ISP. I suggest using hardcoded public IP's for DNS resolution, like using google's DNS resolvers @ 8.8.8.8 and 8.8.4.4.

Could also be a VPN issue if you're using a VPN to access stuff.
alternate DNS resolver worked like a charm! TYSM!
by Rikitav
Sun Jun 08, 2025 4:06 pm
Forum: Modding help
Topic: Downloading mod thumbnail using C# HttpClient
Replies: 13
Views: 1101

Re: Downloading mod thumbnail using C# HttpClient


However, on your project - there's no issue with what you're doing in general - but do be careful to not hand out your authentication token for people to use as that's against the TOS (bypassing the need to own the game) and will likely end with your account being permanently disabled.


May they ...
by Rikitav
Sun Jun 08, 2025 4:02 pm
Forum: Modding help
Topic: Downloading mod thumbnail using C# HttpClient
Replies: 13
Views: 1101

Re: Downloading mod thumbnail using C# HttpClient

eugenekay wrote: Sat Jun 07, 2025 11:33 pm What is the Actual C# error message

Code: Select all

System.Net.Http.HttpRequestException: "This host is unknown. (assets-mod.factorio.com:443)"
Just this
by Rikitav
Sun Jun 08, 2025 4:00 pm
Forum: Modding help
Topic: Downloading mod thumbnail using C# HttpClient
Replies: 13
Views: 1101

Re: Downloading mod thumbnail using C# HttpClient


I just wrote this dirt simple script to show that downloading assets works perfectly fine:


In fact, at some point the code began to work and the pictures were downloading, even a long amount of time and after many application restarts. This morning when I checked, the method stopped working ...
by Rikitav
Sun Jun 08, 2025 3:57 pm
Forum: Modding help
Topic: Downloading mod thumbnail using C# HttpClient
Replies: 13
Views: 1101

Re: Downloading mod thumbnail using C# HttpClient


Can you share some of the code (Like a minimal snippet), and I can try to help further.



// "BitmapSource" is WPF's class
// "ModPageShortInfo" is class i use for deserialize mods 'short' info request

private const string AssetsUrl = "https://assets-mod.factorio.com";

public async Task ...
by Rikitav
Sun Jun 08, 2025 3:52 pm
Forum: Modding help
Topic: Downloading mod thumbnail using C# HttpClient
Replies: 13
Views: 1101

Re: Downloading mod thumbnail using C# HttpClient

eugenekay wrote: Sat Jun 07, 2025 11:33 pm Do you actually have “Assets-mod.Factorio.com” capitalized in your Code? All DNS labels should be normalized to lowercase before doing a Lookup;
About this... my english is very bad, so i used translator to write this message, its his fault, my request address is in lowercase.
by Rikitav
Sat Jun 07, 2025 9:08 pm
Forum: Modding help
Topic: Downloading mod thumbnail using C# HttpClient
Replies: 13
Views: 1101

Re: Downloading mod thumbnail using C# HttpClient


"Host is unknown" indicates a DNS resolution failure. Ensure the link is correct (And no whitespace characters) and wherever the code is running ensure has proper Internet access.


I checked everything, the link is correct, there is Internet access, I even managed to download thumbnail ONCE, but ...
by Rikitav
Sat Jun 07, 2025 4:19 pm
Forum: Modding help
Topic: Downloading mod thumbnail using C# HttpClient
Replies: 13
Views: 1101

Downloading mod thumbnail using C# HttpClient

I programming a small browser on C# to view and download mods using the internal Mod Portal API. Everything works gorgeous and the lists of mods are loaded, but when it comes to the assets, problems began. I use the most ordinary HttpClient for requests and when I try to request Thumbnail (let it be ...
by Rikitav
Sat Jun 07, 2025 8:41 am
Forum: Mod portal Discussion
Topic: Downloading mod thumbnail through HttpClient
Replies: 0
Views: 512

Downloading mod thumbnail through HttpClient

I programming a small browser on C# to view and download mods using the internal Mod Portal API. Everything works gorgeous and the lists of mods are loaded, but when it comes to the assets, problems began. I use the most ordinary HttpClient for requests and when I try to request Thumbnail (let it be ...
by Rikitav
Thu Jul 04, 2024 6:57 pm
Forum: Gameplay Help
Topic: Drone spawner
Replies: 5
Views: 1111

Re: Drone spawner

¯\_(ツ)_/¯
by Rikitav
Thu Jul 04, 2024 6:01 pm
Forum: Gameplay Help
Topic: Drone spawner
Replies: 5
Views: 1111

Re: Drone spawner

Because I don’t want to accidentally overwhelm the system with drones and they won’t have a place to rest after work. I would like to have a little control over their number on the network.
by Rikitav
Thu Jul 04, 2024 4:55 pm
Forum: Gameplay Help
Topic: Drone spawner
Replies: 5
Views: 1111

Drone spawner

I'm looking for a mod that will spawn a drone that I put in it (using a manipulator for example), I would really like it to be controlled using circuits

Go to advanced search