Cannot host a game "string index out of range"

Tournaments announces and results.

Moderators: FtXCommando, Stups

Cannot host a game "string index out of range"

Postby Zeegoo » 30 Nov 2013, 18:43

Hello dear fellow faffers:P

I hope someone can help me with the following problem:

I cannot host a game, once I try to create a custom game I get an error message in faf.
Everything else works fine, I can join games without issues.

Further information and what I tried so far:
- My pc is a 3770K with GTX660 and 16GB ram, windows 7 pro
- My pc's receives a fixed ip from my router and I set my IP as DMZ
- FA version 1.5.3603
- Tried disabling all mods (mod support fa, blackops icon support mod, ras notity, hotstats, advanced strategic icons, sorian ai pack, total mayhem, various extra maps)
- Turned off virus scanner and firewall
- In the end did a complete clean reinstall of my whole pc, after windows and the drivers I installed FA, FAF and all mods and still the same

The following message is generated in a pop-up screen in FAF (before FA even starts):

**FAF Username:** Zeegoo
**FAF Version:** 0.10.94
**FAF Directory:** C:\ProgramData\FAForever
**FA Path:** D:\FAF\Supreme Commander - Forged Alliance
**Home Directory:** C:\Users\Pieter\Documents
**Stacktrace:**
{{{
Traceback (most recent call last):
File "games\_gameswidget.pyc", line 377, in hostGameClicked
File "games\hostgamewidget.pyc", line 119, in __init__
File "modvault\utils.pyc", line 213, in getActiveMods
File "vault\luaparser.pyc", line 304, in parse
File "vault\luaparser.pyc", line 273, in __parseLua
File "vault\luaparser.pyc", line 185, in __processLine
File "vault\luaparser.pyc", line 185, in __processLine
File "vault\luaparser.pyc", line 185, in __processLine
File "vault\luaparser.pyc", line 185, in __processLine
File "vault\luaparser.pyc", line 185, in __processLine
IndexError: string index out of range
}}}

Forever.log is attached.
Game.log is not even generated as the error occurs prior to FA starting.

You help is much appreciated!
If more information is required please ask.

ps. I found 1 more post with a similar issue but it never got a reply it seems:
viewtopic.php?p=54648
Attachments
forever.log
(214.51 KiB) Downloaded 65 times
Zeegoo
 
Posts: 2
Joined: 30 Nov 2013, 16:40
Has liked: 0 time
Been liked: 0 time
FAF User Name: Zeegoo

Re: Cannot host a game "string index out of range"

Postby Ze_PilOt » 01 Dec 2013, 00:47

Remove your mods. One of them break the lobby.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Cannot host a game "string index out of range"

Postby Color_n_Book » 01 Dec 2013, 04:54

I have sort of the same problem, I cannot host a game, but instead of an error message I just get a black screen and my cursor is all that is visible. I can join games just fine. I deleted all my mods and I still can't host.
Victory, At Any Cost. -Lieutenant Victus, 9th Platoon, Turian Military
User avatar
Color_n_Book
 
Posts: 1
Joined: 01 Dec 2013, 02:34
Has liked: 0 time
Been liked: 0 time
FAF User Name: Color_n_Book

Re: Cannot host a game "string index out of range"

Postby Ze_PilOt » 01 Dec 2013, 12:32

Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Cannot host a game "string index out of range"  Topic is solved

Postby Zeegoo » 01 Dec 2013, 18:50

I have found the cause of the problem.

First i tried to remove all mods manually, this unfortunately did not help.
Then i removed FAF and FA completely including all user settings and re-installed it without any mods etc.
I created a new account in FA and logged into FAF with my existing Zeegoo account and I could host games again:P

Now here comes the problem and the easy fix:

I copied my existing game.prefs file back which contains my build template (still without any mods installed) and suddenly I could not longer host a game.
After re-installing the backupped original game.prefs file it worked again, however I must re-do all my build templates again :(
After that I re-installed all my mods and can still host a game, so my problem is solved.

To anyone who experiences a similar issue: try removing your game.prefs file and create a new account in FA.
It's usually located under C:\Users\USERNAME\AppData\Local\Gas Powered Games\Supreme Commander Forged Alliance\Game.prefs

Regards,
Zeegoo
Zeegoo
 
Posts: 2
Joined: 30 Nov 2013, 16:40
Has liked: 0 time
Been liked: 0 time
FAF User Name: Zeegoo

Re: Cannot host a game "string index out of range"

Postby Ze_PilOt » 02 Dec 2013, 21:03

Color_n_Book wrote:I have sort of the same problem, I cannot host a game, but instead of an error message I just get a black screen and my cursor is all that is visible. I can join games just fine. I deleted all my mods and I still can't host.


And by the way, you need to open a new thread. If you can't, read the red text on top. You will also understand what is missing so I can help you.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt


Return to Tournaments

Who is online

Users browsing this forum: Google [Bot] and 1 guest