Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +30€

Current balance: -190€
(last updated 04/2017)

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

Bitcoin address:
Thanks!
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

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

Members: 0
Guests: 25

more...
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 59 users playing Freelancer on 42 servers.
April. 26, 2017

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



Ships per account - Patching up the bugs

Joined:
2009/7/21 20:08
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Posts: 31
Offline
So Discovery finally started to experiment with this and so far results have been great, there's been little problems. I do believe being able to solve these problems would benefit the entire fl community as the 5 ships per account restriction has been a pain for many players.

There is one that's been found and makes the account unable to be logged. I've spent a few hours on it and I've been able to pinpoint it.

The issue seems to be related to "cargo =" entries and a very specific amount of them.

I've based my replication around one vessel, but it will work with removing the cargo entry from any of them.

Complete guide on how to replicate the issue using the latest version of discovery (+ launcher patches installed):

- Create an empty account with a local server
- Copy the account files from yodq.zip to that new account
- Attempt to create a new character, you will be logged out of the account and unable to log again.
- Open 06-3abd1e5a.fl
- Remove one "cargo =" entry
- You are now able to log, create new ships if you want, up to 10.
- Log on XZ-450, the character associated with 06-3abd1e5a.fl
- Go to the commodities dealer, buy Drill Bits as you shouldn't have that item in your cargo already.
- F1, select new character, you will be disconnected.
- Edit the character file again, remove one cargo entry. Log on XZ-450.
- Purchase two or more commodities that you don't have already in your cargo. Drill Bits and Basic Alloy should work.
- F1, select new character. You are not disconnected and all ships can be logged.
- Log again, sell one of the two items you previously bought.
- F1, select new character. you are disconnected.


Same way avoiding the issue:

- Create an empty account with a local server
- Copy the account files from yodq.zip to that new account
- Log on XZ-450.
- Sell a bunch of cargo items to the dealer. I tried with 5.
- Log off the character, create new characters. No problem happens.

Attach file:


zip yodq.zip Size: 175.01 KB; Hits: 106

Posted on: 2015/5/29 14:31

Edited by kmiller on 2015/5/29 14:40:42
Edited by kmiller on 2015/5/29 14:46:00
Edited by kmiller on 2015/5/29 14:50:46
Alley, DiscoveryGC Developer
Top
Re: Ships per account - Patching up the bugs
Quite a regular
Joined:
2012/8/10 14:03
Group:
Registered Users
Posts: 110
Offline
not entirely correct

There is an account wide item limit which leads to problems. You have experience this with 5 chars already and you might also have luck with 20 chars.
The problem is the number of items the chars (not just the cargo stuff).

The 5 char limit of course minimizes this issue.

Posted on: 2015/5/29 15:38
Top
Re: Ships per account - Patching up the bugs

Joined:
2009/7/21 20:08
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Posts: 31
Offline
Hello,

I am aware of this limit and this is what surprises me. As you can see in the steps, adding more items do not cause the problem to happen, but one very specific amount will.

The exception thrown when this very specific amount of items is reached is the following: 0xC0000005: Access violation writing location 0x00000000.

Once I create the new vessel, the total count of items combined across all charfiles is:

177 cargo items
194 equipment items
which is a total of 371 items.

370 will work, 372+ will work. exactly 371 items will cause the account to be unloggable until someone removes one item.

I have attempted this on another account and you can hold 371 items, but with yoda's account files, it won't work.

Posted on: 2015/5/29 16:33

Edited by kmiller on 2015/5/29 16:42:33
Edited by kmiller on 2015/5/29 16:46:09
Edited by kmiller on 2015/5/29 17:18:00
Alley, DiscoveryGC Developer
Top