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

Members: 0
Guests: 56

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

Current balance: -300€
(last updated 11/2017)

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

Bitcoin address:
Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 71 users playing Freelancer on 33 servers.
November. 25, 2017

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



Ship classes
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1805
Offline
Attached is a plugin that provides additional values for ship_class. Copy shipclass.dll to your EXE directory and add it to [Libraries] in EXE\dacom.ini. The complete list:

Code:
        ship_class     resource         text
            0            923            Light Fighter
            1            924            Heavy Fighter
            2            925            Freighter
            3            926            Very Heavy Fighter
            4            r+0            Gunboat
            5            r+1            Cruiser
            6            r+2            Destroyer
            7            r+3            Battleship
            8            r+4            Capital
            9            r+5            Transport
           10            r+6            Large Transport
           11            r+7            Train
           12            r+8            Large Train
           13            r+9
           14            r+10
           15            r+11
           16            r+12
           17            r+13
           18            r+14
           19            r+15
"r+" indicates the resource is in shipclass.dll itself, automatically adjusted accordingly.

Attach file:


zip shipclass.zip Size: 3.58 KB; Hits: 161

Posted on: 2009/12/24 7:47
Top
Re: Ship classes
Just can't stay away
Joined:
2010/10/18 1:15
From Corellia
Group:
Registered Users
Senior Members
Posts: 232
Offline
-

Sorry to necro this thread but does this happen in-game where you can see these additional shipclass names of the ships on the ship's window list ?

Thank you.

-

Posted on: 10/31 2:07
Top
Re: Ship classes
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1805
Offline
Yes.

Posted on: 10/31 2:53
Top
Re: Ship classes
Just can't stay away
Joined:
2010/10/18 1:15
From Corellia
Group:
Registered Users
Senior Members
Posts: 232
Offline
-

It seems that the shipclass.dll and ShipFilter.dll does not work on my end maybe I'm missing something.

I included both on the dacom.ini and copied both files to exe dir.

I don't see the text of the ship's class on a ship when selected.

And also the ship filter - when I look at my contacts window or where all the identities are, you can't find the player's name at all and does not cycle or toggle between npc/player/all.

Anything that I might missed please kindly help for a solution.

Thank you.

-

Posted on: 10/31 5:35

Edited by wasabitoy on 2017/10/31 5:51:45
Top
Re: Ship classes
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1805
Offline
Quote:
I don't see the text of the ship's class on a ship when selected.

Did you actually change shiparch.ini? E.g. modifying Patriot (li_fighter): ship_class = 7 shows as Battleship.

Quote:
And also the ship filter - when I look at my contacts window or where all the identities are, you can't find the player's name at all and does not cycle or toggle between npc/player/all.

Click the "Ships" filter to select the ships - this defaults to NPCs; click it again and you should get the players; click it again and you should get both.

Attach file:



jpg  shipclass.jpg (11.93 KB)
949_59f81f1357a15.jpg 300X190 px

Posted on: 10/31 6:58
Top
Re: Ship classes
Just can't stay away
Joined:
2010/10/18 1:15
From Corellia
Group:
Registered Users
Senior Members
Posts: 232
Offline
-

Okay the first plugin I know now where it is being execute. lmao

But the second plugin is still a mystery for my end because I did what you said to click the Ships filter icon again, again and again, still it does not show the player's name and both at the same time.

-

Posted on: 10/31 7:58
Top
Re: Ship classes
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1805
Offline
I don't know what to tell you.

Attach file:



jpg  ShipFilter.jpg (15.14 KB)
949_59f8307f898b6.jpg 269X188 px

Posted on: 10/31 8:12
Top
Re: Ship classes
Just can't stay away
Joined:
2010/10/18 1:15
From Corellia
Group:
Registered Users
Senior Members
Posts: 232
Offline
-

Yeah the same ship icon I clicked...

When I click it again it does not show the P1 on top of my list.

-

Posted on: 10/31 8:24
Top
Re: Ship classes
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1805
Offline
The only thing I can suggest is check the spew to verify it is actually installed.

Posted on: 10/31 8:38
Top
Re: Ship classes
Just can't stay away
Joined:
2010/10/18 1:15
From Corellia
Group:
Registered Users
Senior Members
Posts: 232
Offline
-

I checked it and the shipfilter.dll is there.

FLSpew.txt

Code:
C:\work\builds\dalibs\dalibs-build\build\Src\DACOM\Dacom.cpp(618) : NOTICE:General:DACOM: AddLibrary: DLL 'H:\Games 2\Freelancer\Freelancer\EXE\ShipFilter.dll' [1.0.0]



-EDIT-

Does this work in SP ? lol

-

Posted on: 10/31 9:00
Top
Re: Ship classes
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1805
Offline
Of course not.

Posted on: 10/31 9:13
Top
Re: Ship classes
Just can't stay away
Joined:
2010/10/18 1:15
From Corellia
Group:
Registered Users
Senior Members
Posts: 232
Offline
-

I see... well it was not stated in the file and even in the website that it is for MP only so maybe include it now for labeling that it is for MP only... lmao...

Anyway thank you for your time for helping me. Appreciate it.

-

Posted on: 10/31 9:22
Top