Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
18 user(s) are online (9 user(s) are browsing Forum)

Members: 0
Guests: 18

more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +0€

Current balance: 55€
(last updated 04/2021)

Please make a donation if you want to help keeping The-Starport online:

Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 46 users playing Freelancer on 42 servers.
September. 21, 2023

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



gls_workaround.txt file keeps erasing
Home away from home
Joined:
2008/5/21 19:32
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 967
Offline
Every time I restart FL the contents of the gls_workaround.txt file are erased leaving a blank text file. I have to manually copy the info into the file each time or the available servers won't show up in the server list.

Any ideas as to why that happens?

Posted on: 2020/3/20 20:55
Gun control is like fighting drunk driving by making it harder for sober people to buy a car...
Top
Re: gls_workaround.txt file keeps erasing
Quite a regular
Joined:
2017/3/20 14:31
From South Yorkshire, UK
Group:
Registered Users
Posts: 103
Offline
What patch are you using? Just use the DLL and add an entry into dacom.ini in the EXE folder

Code:

[Libraries]
;;;dosfile.dll
ReadFile.dll ;optimized read-only version of dosfile.dll
x86math.dll
EngBase.dll
system.dll
RP8.dll
SoundStreamer.dll
SoundManager.dll
MP3codec.dll
Deformable2.dll
Thorn.dll
Shading.dll
RendComp.dll
alchemy.dll
ximage.dll
flmaterials.dll
gls_workaround.dll <---- here

Attach file:


zip gls_workaround.zip Size: 28.72 KB; Hits: 198

Posted on: 2020/3/21 17:53
Top
Re: gls_workaround.txt file keeps erasing
Starport Staff
Joined:
2008/10/25 17:58
From On my way back
Group:
Registered Users
Starport Staff
FLServer Admins
Posts: 365
Offline
Getting the same problem, none of the gls_workaround servers are listed in LAN mode. gls_workaround.txt & gls_workaround_temp.txt are blank. ListServerHostname=gun.fllistserver.com
ServerListURL=http://www.freelancerserver.de/serverips.txt are pointing correctly and accessible. gls_workaround.dll is correctly listed in dacom.ini

Was working, stopped working about (maybe more than) 6 weeks ago, dont know for sure - wasnt paying attention as I dont use it.

Posted on: 2020/3/22 17:39
~Insert Cool Text Description Here~
Top
Re: gls_workaround.txt file keeps erasing
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 2042
Offline
It would seem the server is returning 403 Forbidden, but I don't know why; curl from the command line works fine. Might have to let W0dk4 sort that out; in the meantime, make gls_workaround.txt read-only to prevent the empty temp file overwriting it.

Posted on: 2020/3/23 2:43
Top
Re: gls_workaround.txt file keeps erasing
Starport Staff
Joined:
2008/10/25 17:58
From On my way back
Group:
Registered Users
Starport Staff
FLServer Admins
Posts: 365
Offline
Quote:

adoxa wrote:
... make gls_workaround.txt read-only to prevent the empty temp file overwriting it.


good tip

Posted on: 2020/3/23 11:48
~Insert Cool Text Description Here~
Top
Re: gls_workaround.txt file keeps erasing
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 2042
Offline
Looks like the server doesn't like a missing user-agent. Here's a libcurl.dll which supplies one (agent/1).

Attach file:


zip gls-libcurl.zip Size: 111.62 KB; Hits: 295

Posted on: 2020/3/23 13:53
Top
Re: gls_workaround.txt file keeps erasing
Quite a regular
Joined:
2017/3/20 14:31
From South Yorkshire, UK
Group:
Registered Users
Posts: 103
Offline
Adoxa,

Any issues with me including that in an all in-one patch?

Posted on: 2020/3/23 17:59
Top
Re: gls_workaround.txt file keeps erasing
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 246
Offline
Just to clearify the confusion:

The FLListServer (DNS entry in fl.ini) works as the original one:
It will list all registered servers (which also use the modified DNS entry) in the internet view.

The GLS workaround fills the mentioned text file with servers listed on the FLListServer + some which have been added manually... or at least should fill it.

These two things work independently from each other.

Posted on: 2020/3/23 22:08
Top
Re: gls_workaround.txt file keeps erasing
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 2042
Offline
Bolte,

No, but it would probably be better for w0dk4 to add the user-agent to gls_workaround.dll.

Posted on: 2020/3/24 0:08
Top
Re: gls_workaround.txt file keeps erasing
Starport Admin
Joined:
2008/2/26 20:36
From Germany
Group:
Webmasters
Registered Users
Posts: 1791
Offline
Really sorry guys, I fixed this on the server-side. Should now work again and no change to existing dlls is required.

And yeah, the gls workaround also patches FL to use Crazy's GLS as a backup.

Thanks adoxa for finding out what was the reason!!

Posted on: 2020/3/24 0:43
aka chaosgrid
http://www.freelancerserver.de
https://www.moddb.com/mods/fwtow
Top