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

Members: 0
Guests: 107

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 59 users playing Freelancer on 44 servers.
May. 29, 2023

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



Help with the base plugin
Just popping in
Joined:
2015/8/20 15:47
Group:
Registered Users
Posts: 9
Offline
I want to make the Base plugin work on another mod, as if I rewrote everything, the base appears, but the base is empty. I use Flhook2.1 (it still works on windows 7). I think that the SolarInfo struct is responsible for this, but what variable or what should I change? What is responsible for the middle of the database in the plugin?
Video: https://youtu.be/tqz8GFHwwjw

Posted on: 5/23 17:34
Top
Re: Help with the base plugin
Just popping in
Joined:
2015/8/20 15:47
Group:
Registered Users
Posts: 9
Offline
Answer. In the Discovery mode, each system has a specially prepared base ((system)_proxy_base) that serves as a middle ground in the base you created. I didn't notice this in the code...
I'll think about how to fix it.

Posted on: 5/25 21:33
Top
Re: Help with the base plugin
Just popping in
Joined:
2015/8/20 15:47
Group:
Registered Users
Posts: 9
Offline
I faced another problem. What could be that the function HkChangeIDSString(client, 500000, L "text" ) does not send a message for replacement? The DSAce.dll library is connected. For example, replacing base information works fine.
I see that flhook4 has abandoned DSAce.dll altogether, and there is no "base" plugin there.

Posted on: 5/27 9:07
Top
Re: Help with the base plugin

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 47
Offline
You require the directplay8.dll from a discovery install. that's the real dsace client hook, the other one is meant to mislead. FLHook 4 has abandoned those plugins due to a number of reasons, including that they are poorly written and require dependencies that are not part of FLHook - they should have never been included to begin with as they are disco specific.

Posted on: 5/27 11:05
Way too ambitious for his own good.
Top
Re: Help with the base plugin
Just popping in
Joined:
2015/8/20 15:47
Group:
Registered Users
Posts: 9
Offline
Thank you for your response. I took the directplay8.dll library from the distribution kit and connected it to dacom.ini (dsace was disconnected, and connected) - nothing changed. I still get a blank window. For some reason, this code does not work for me (and does not give any errors):
Quote:

HkChangeIDSString(client, 500000, L"Base Help" ) ;//500000 500001
HkChangeIDSString(client, 500001, help);

FmtStr caption(0, 0);
caption.begin_mad_lib(500000 ) ;
caption.end_mad_lib();

FmtStr message(0, 0);
message.begin_mad_lib(500001 ) ;
message.end_mad_lib();


pub : : Player : : PopUpDialog(client, caption, message,
POPUPDIALOG_BUTTONS_CENTER_OK ) ;//an empty window is displayed

Two libraries, directplay8 and DSAce, are included in the release... But they seem to do the same job.

Attach file:



jpg  help.jpg (72.94 KB)
45921_6471f19788ae8.jpg 640X480 px

Posted on: 5/27 12:59
Top
Re: Help with the base plugin

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 47
Offline
As I recall you also need dsacesrv.dll (the server side component) for this to work correctly.

Posted on: 5/27 13:08
Way too ambitious for his own good.
Top
Re: Help with the base plugin
Just popping in
Joined:
2015/8/20 15:47
Group:
Registered Users
Posts: 9
Offline
I noticed this when I opened the dacomsrv.ini file in the distribution, and DSAce.dll and directplay8.dll are indeed connected there. I did the same, but nothing changed. The text in the resource libraries is not replaced. The server does not even send it...

Posted on: 5/27 14:04
Top
Re: Help with the base plugin
Just popping in
Joined:
2015/8/20 15:47
Group:
Registered Users
Posts: 9
Offline
I found out why it doesn't work. I'm missing the dsacesrv.dll plugin. But where can I get it. This plugin is not in the repository, and they do not fit from another assembly. I use this assembly:https://github.com/TheStarport/FLHook/releases/tag/2022-05-09-16-29
Can anyone help me with this file?

Posted on: Yesterday 12:06
Top