Player control plugin
-
Cannon, we try to use the plugin with no MOD, we try to use on Windows 2003 and we have the same error . Maybe it’s because the game is in french or this his not important ?
As for your problem, I know it’s a dumb guess, but what about finding a zone with a size of the type "size = ", that is with no parameter? It’s what the error’s saying after all.
i don’t understand ^^
With this plugins, Player drop only Equipement and good ?
I want player don’t drop ammo .
EDIT : error resolved with SDK
-
Oo your plugin have maybe big bug.
Player A loot in space his ammo, and player B can pick up . But player A avec still his ammo in cargo . So the ammo is multiplied by 2 .I need some help to configure a loot mod please
we have blocked on this probleme since 1 month, Cannon please help us it’s important.
our server has for objectiv to revive the french cpmmunity on the games and why not more projects .
And we have player some times like 24 players .
Well it’s important, we are noob in coding and Flhook, please take the time to help the admins of server, if you want FL community revive .
it’s possible of course, but we need work with you .we have a big potential !
Can we separe goods , ammo and weapons in cargo ?
I want players drop only goods and weapons, but no ammo.
Or if it’s not possible to resolve the big that ammo are multiplied by 2.
http://www.servimg.com/image_preview.php?i=541&u=11530330][/url
CargoDropFactor = 1.0
thanks for help ^^
-
-
Greetings mates
I’m a member of the FFS team, Gordon’s server.
Before, thanks to Cannon for this PlayerControl Plugin. This is the beginning of an answer that we seek. There are no bugs in there, please excuse Gordon.But as Gordon has said, we need to know if there is a plugin for :
- a player also loses his ammunition, nanobots and shield batteries when he dies.
- or to separate the drop percentage between each element of the cargo : unmounted weapons, goods, ammunition, batteries and nanobots and shield batteries
If nothing exists, we try to find a way to code this by ourselves.
Anyway, thank you for what you do and for your valuable responses.
-
Well… I try to do it myself but I failed. I’m a beginner in C++.
If I remember, on Discovery server, when a player dies, he loses all his cargo, including ammo, nano and shields batteries.
I know I ask much… but Is it possible to have the code wich is doing that, and explain to me the place where I have to add it ?Thanks a lot for help
I know I have very little to offer you in return. But I find two things recently :
- make a mod wich isn’t readable with FLexplorer, FLcompanion, FLdatastorm and Flstats
- make a mod where commercial viability is the same for all goods around Sirius, whatever the distance. I made it with FLcompanion commod by commod. So, on our server, there is trading activity everywhere.
If anyone is interested, write me a pm.
-
=Alex= wrote:
There’s lines in FLHook.ini that control what cargo is lost (I think).And hiding stuff from FLCompanion? Don’t do it.
Why’s that? I like to think people would never use that, but since this is utopic, I’d settle for making it as hard as possible.
-
Yes, I agree with you FriendlyFire. Without the help of these programs for players, we really can hide clan bases, wrecks, best trade routes… And we can put some NPC on bases with hints in rumors to find them. More fun.
What I do to do this is simple : I changed the name of freelancer.ini and I changed this name with an hexa editor in Freelancer.exe
So, when FLexplorer, FLcompanion, FLstats and FLDatastorm are looking for Freelancer.ini, they crash.
I can explain that better with screenshots if you need this.Anyway… there’s no line for cargo loot in FLhook.ini (I use FLhook plugin).
-
To Cannon :
Greetings and happy new year !
Just a message to see if you had read what I said recently in this topic because you were absent for a while.
We tried to modify the source code of player control plugin, but we are unable to compile it. Is it something to do to configure Microsoft VC + + 2008 to do this?
Is it possible to know how you do on Discovery for players who die lose all their cargo, ammunition, shield batteries and nanobots included?
Is it possible to obtain this code or help us do this with player control plugin?Sorry to insist, but we currently have no other options. Thanks for your answer.
-
The plugin requires that freelancer.ini exists so that it can find information from the ini files. If you have renamed ‘freelancer.ini’ then you need to make a copy of it named ‘freelancer.ini’ so that the plugin can find it.
@Syd: What problem are you having and can you provide the full text of the error message?
-
@Syd : You need to install Freelancer SDK before using FLPlayerControl. (Can be found HERE )
Cannon, we really don’t want to be boring, but there’s still something we need to know :
The compilation has been passed with success using Microsoft Visual C++ Express (in it’s latest version). InGame, the plugin seems to be working quite well (commands like /stuck, /dice, or /pos are working perfectly). But for unknown reasons, human players don’t loot nothing…
When we just replace our half-working DLL with the one in the ZIP archive, all is working.
So here are my guesses :
- We are using VC++ with bad compilation options (or bad version ?)
- We need to add something in the linker or somewhere else (like FlakCommon.lib ? even if we already tried), or some headers or .cpp files
- There might be a problem with the .cpp files given in the archive.
Could you help us ?
Thanks in advance,
Kid -
Cannon wrote:
The plugin requires that freelancer.ini exists so that it can find information from the ini files. If you have renamed ‘freelancer.ini’ then you need to make a copy of it named ‘freelancer.ini’ so that the plugin can find it.No, that’s not our problem. Because we rename ‘freelancer.ini’ only in the client version of the mod, but not in the server version
Renaming ‘freelancer.ini’ works perfectly : players can’t use Flexplorer, companion, data storm… And we started making RP quests with hiding depots or wrecks in the mod. The only way to find these objects… visit NPC with rumors. As I say, more funFor our problem with player control plugin, always the same thing : a dead player doesn’t lose nanobots, shield batteries and ammo in his cargo after death.
Edit : It seems that you used Visual studio 7 (or Visual studio .NET 2002) to code ‘player control plugin’, right ?