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
53 user(s) are online (30 user(s) are browsing Forum)

Members: 0
Guests: 53

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 34 users playing Freelancer on 36 servers.
May. 10, 2021

Browsing this Thread:   2 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



Unlocking "admin" ships and IDs
Just popping in
Joined:
4/4 2:25
Group:
Registered Users
Posts: 5
Offline
Greetings,

I'm running my own instance of Freelancer Discovery on a local server, and I want to force assign an ID typically reserved to a faction (i.e. Wild) and assign the gunboat that is unavailable for sale.

Is there an FLhook command that allows me, the admin, to give a game character permission to assign themselves to restricted IDs in game? They keep getting the "access denied" error whenever attempting to fetch the Wild ID to assign to themselves? The character already has super admin privileges as well.

EDIT: I've added some screenshots to show the problem I'm trying to get around, using FLhook's admin console.

Attach file:



jpg  sshot-1.jpg (323.92 KB)
48070_606919502cac4.jpg 1840X774 px

jpg  sshot-2.jpg (53.17 KB)
48070_6069195c5c99d.jpg 902X185 px

Posted on: 4/4 2:31
Top
Re: Unlocking "admin" ships and IDs
Starport Staff
Joined:
2008/10/7 19:56
From England
Group:
Registered Users
Starport Staff
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 638
Offline
You could use DSAccountManager to modify the character to have the ID, or use the FLHook addcargo command to add the ID to the character (you'll then have to mount it).

Posted on: 4/4 2:42
Top
Re: Unlocking "admin" ships and IDs
Just popping in
Joined:
4/4 2:25
Group:
Registered Users
Posts: 5
Offline
That sounds perfect to me. Where do I get a list of the raw codes that corresponds to things like IDs?

I tried the DSAM tool, but it appears to only show a subset of valid objects, and the IDs were not included in the list.

Posted on: 4/4 2:43
Top
Re: Unlocking "admin" ships and IDs
Just popping in
Joined:
4/4 2:25
Group:
Registered Users
Posts: 5
Offline
Just for further context, here is what DSAM shows me in my cargo. I bet *one* of these unknown items is bound to be my ID, but it has a long string of numbers. That's the part I'm not sure about, if there's a lookup table that can help me pull in the correct code that corresponds with "The Wild ID"

Attach file:



jpg  sshot-1.jpg (34.43 KB)
48070_60691c01309a5.jpg 510X259 px

Posted on: 4/4 2:53
Top
Re: Unlocking "admin" ships and IDs
Starport Staff
Joined:
2008/10/7 19:56
From England
Group:
Registered Users
Starport Staff
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 638
Offline
Look for the dsy_license Tractors in DATA/EQUIPMENT/misc_equip.ini.

Not sure off the top of my head why DSAM wouldn't be able to handle the hashes, assuming you have DSAM configured for the correct FL install directory.

Posted on: 4/4 2:59
Top
Re: Unlocking "admin" ships and IDs
Just popping in
Joined:
4/4 2:25
Group:
Registered Users
Posts: 5
Offline
Interesting. I'll give this a shot.

Posted on: 4/4 3:25
Top
Re: Unlocking "admin" ships and IDs
Just popping in
Joined:
4/4 2:25
Group:
Registered Users
Posts: 5
Offline
So as an update, it appears my configuration in DSAM was pointing to the wrong directories. I fixed that and all the IDs came over correctly. I was using the vanilla Freelancer install directory instead of the Discovery one.

In other news, I did manage to force my ship to be a Scorpion Gunboat with a Wild ID, but every time I attempt to undock from base, the server crashes. I might have uncovered some kind of race condition, but it's not clear what it is, precisely.

Posted on: 4/4 5:07
Top
Re: Unlocking "admin" ships and IDs
Starport Staff
Joined:
2008/10/7 19:56
From England
Group:
Registered Users
Starport Staff
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 638
Offline
Did you try to swap a character's ship out in DSAM without changing equipment? That'll break some stuff I bet.

Posted on: 4/4 16:47
Top