Adding MODS to FiveM Dedicated Server + Cannot connect to own Localhost

GTA V version? CURRENT

Up to date? YES

Legit or Pirate copy? LEGIT

Steam/CD/Social Club? Steam

Windows version? 10 (Current)

Did you try to delete caches.xml and try again? YES

Error screenshot (if any)

System specifications
Windows 10 X64, 16GB RAM, i5 4.0ghz, GTX1080, Samsung EVO 500GB SSD.

What did you do to get this issue? Googled for hours but all data and info is way out of date.

What server did you get this issue on? My own local server

CitizenFX.log file

[ 0] Initializing Mono
[ 0] Initializing Mono completed
[ 15] Hello!
[ 62] Failed to get instance for guid a7242855-0350-4cb5-a0fe-61021e7eafaa and iid 567634c6-3bdd-4d0e-af39-7472aed479b7: System.InvalidOperationException: Sequence contains no matching element

[ 62] at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) [0x00011] in <48501e5f32e8491e924f8b8beae3e4f6>:0

[ 62] at CitizenFX.Core.RuntimeManager.CreateObjectInstance (System.Guid guid, System.Guid iid) [0x00014] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\RuntimeManager.cs:39
[ 234] Found new resource fivem in C:/XLRP/resources//fivem
[ 234] Found new resource fivem-awesome1501 in C:/XLRP/resources//fivem-awesome1501
[ 250] Found new resource fivem-map-hipster in C:/XLRP/resources//fivem-map-hipster
[ 250] Found new resource fivem-map-skater in C:/XLRP/resources//fivem-map-skater
[ 250] Found new resource race in C:/XLRP/resources//[gamemodes]/race
[ 265] Found new resource race-test in C:/XLRP/resources//[gamemodes]/race-test
[ 265] Found new resource channelfeed in C:/XLRP/resources//[gameplay]/channelfeed
[ 265] Found new resource irc in C:/XLRP/resources//[gameplay]/irc
[ 265] Found new resource obituary in C:/XLRP/resources//[gameplay]/obituary
[ 281] Found new resource obituary-deaths in C:/XLRP/resources//[gameplay]/obituary-deaths
[ 281] Found new resource mapmanager in C:/XLRP/resources//[managers]/mapmanager
[ 281] Found new resource baseevents in C:/XLRP/resources//[system]/baseevents
[ 297] Found new resource chat in C:/XLRP/resources//[system]/chat
[ 297] Found new resource hardcap in C:/XLRP/resources//[system]/hardcap
[ 297] Found new resource rconlog in C:/XLRP/resources//[system]/rconlog
[ 312] Found new resource scoreboard in C:/XLRP/resources//[system]/scoreboard
[ 312] Found new resource sessionmanager in C:/XLRP/resources//[system]/sessionmanager
[ 312] Found new resource spawnmanager in C:/XLRP/resources//[system]/spawnmanager
[ 328] Found new resource betaguns in C:/XLRP/resources//[test]/betaguns
[ 328] Found new resource gameInit in C:/XLRP/resources//[test]/gameInit
[ 328] Found new resource keks in C:/XLRP/resources//[test]/keks
[ 344] Started resource sessionmanager
[ 437] Resolved live-internal.fivem.net:30110 to 151.80.44.223:30110
[ 437] Sending heartbeat to live-internal.fivem.net:30110

.dmp files/report IDs

If an issue with starting:
GTA V folder screenshot
GTA V/update/x64/dlcpacks screenshot
Filepath to FiveM folder
FiveM client folder screenshot
Did you try to disable/uninstall your Anti-virus?

Also add what you already tried so far.

I’ve tried re-installing clean and I still cannot connect to my server. I honestly just need a current UP-TO-DATE guide in text or video on how to make the server from step 1 as well as how to add mods. I want to make a private server for me and my friends.

as i read the server is on ur own lan so did you port forward ?

1 Like

@XDRONE

Thank you for the response.
I am currently testing it on my own machine (1 pc). I connected earlier and was playing around on it to see if it worked. I then went to add mods to it… found out I could not.

Tried to connect again and it would not connect. No I have not port-forwarded yet as I don’t need to. (or do I).

yes sir you will have to port forward unless you wanna play by yourself 30120 is what you have to free up

port forwarding is very simple by google your router and get er done :slight_smile:

Thank you. I’m aware of that. I’ve made multiple servers in the past, RUST, Minecraft, 7DTD, Chivalry Medieval Warfare, Reign of Kings, Exile, Arma 3, Epoch, etc.

I know all about port-forwarding but simply am not up to that point as I will keep it solo until I have added mods, tweaked the server to my liking.

makes sense now i know u mentioned cfx but are you by any chance running fx?

1 Like

I’m running FX through a bat file, I’ve also tried:

CMD.
E.g CD C:
cd XLRP
run.cmd +Start Server.cfg.

Server boots and I get the following message in the log.

[ 0] Initializing Mono
[ 62] Initializing Mono completed
[ 78] Hello!
[ 172] Failed to get instance for guid a7242855-0350-4cb5-a0fe-61021e7eafaa and iid 567634c6-3bdd-4d0e-af39-7472aed479b7: System.InvalidOperationException: Sequence contains no matching element

[ 172] at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) [0x00011] in <48501e5f32e8491e924f8b8beae3e4f6>:0

[ 343] at CitizenFX.Core.RuntimeManager.CreateObjectInstance (System.Guid guid, System.Guid iid) [0x00014] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\RuntimeManager.cs:39

make sure when you run to cmd you are in the proper folder [wherever you placed it] sort of like in windows would be i made a file as it goes but thats my folder

@echo off
echo -
echo Server
echo -
pause
start C:\FXServer\run.cmd +exec server.cfg
exit

1 Like

Thank you very much. I’ll try this right now and get back to you! :smiley:

make sure when you run to cmd you are in the proper folder [wherever you placed it] sort of like in windows would be i made a file as it goes but thats my folder

@echo off
echo -
echo Server
echo -
pause
start C:\FXServer\run.cmd +exec server.cfg
exit

Thanks for your help, it still did not work. I switched back to the default run.bat and the server launched with cmd properly…but I’m still getting that annoying error at the start of the log… >.<

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.