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 (20 user(s) are browsing Forum)

Members: 0
Guests: 56

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

Current balance: -60€
(last updated 10/2020)

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

Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 59 users playing Freelancer on 43 servers.
December. 6, 2020

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



@Adoxa, ammolimit

Joined:
2009/7/21 20:08
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Posts: 33
Offline
Hey there,

Recently I've merged your ammolimit code into disco's client hook with the intention of allowing variable ammo limits depending on launcher count.

I've actually worked on the server aspect of it first and it's working as expected. Serverside I can use HkEnumCargo to get a list of the player's equipment at any time but as expected that feature does not exist clientside.

While clientside there is CShip* cship = GetCShip(); and then I can traverse the equip manager... well that only works if the player is in space.

I'm looking for a way to access the player's equipment/cargo while docked, any idea?

Thanks!

Posted on: 2015/12/29 20:32
Alley, DiscoveryGC Developer
Top
Re: @Adoxa, ammolimit
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1958
Offline
It looks like you can access a copy of the EquipDescList at 672960 (the actual list, not a pointer).

Posted on: 2015/12/30 6:32
Top