FL-Hook AIR/Flash Playerinterface
-
That would be incredible useful. If you have the time/will power to do it, go for it!
-
I think if you want to use a webtechnology, you can better use a technology like ASP.NET, since javascript/ajax/php have a very crappy dll support. I tried once to import a c++ dll into a php file and tried to call a function on that. It’s possible with some tools, alltough i have doubts if it’s stable. I am almost sure that it isn’t possible with javascript and ajax. If you know a manner to import with php, javascript/ajax on an easy way dll’s, give me a notice
I think, if you want the easiest path to make it webbased, you have to use ASP.NET in combination with C#/VB. With C# you can make wrapper classes to put around the FLHook C++ classes. Now to be fair, i don’t know the complete structure of FLHook. I know only that it is written in C++ and that it make use of functions. But i’ve made once wrapper classes around c++ classes and call the functions from a c++ dll and it’s do able. Below is an easy example of an c++ messagebox, which i give a call in a C# app:
class testMessageBoxDll
{
public static void Main(string[] a)
{
MessageBox(new IntPtr(), “Message”, “Bar Text Above”, 0);
}[DllImport(“user32.dll”, CharSet = CharSet.Auto)]
public static extern uint MessageBox(IntPtr hWnd, String text, String caption, uint type);
}Alltough what i should advice if you want to make a user interface of it, make a c++ winform application from it
-
First of all I would use flash and connect to FLHook through a socket connection(maybe an additional perl server or something, whitch checks if the requests are fine and there was nothing modified or abused)
AIR is a runtime just like the Flashplayer or Apps like that,
but thanks anyway Stupido
-
an interface is always good but i dont know why an interface is needed
i mean once you did the settings in flhook everything will run automatically or am I wrong there? Dunno what the web interface is doing or what it is used for. I simply never used/needed it.
So what would be the advantage having such an interface? -
A webinterface like the one HCC has would indeed be a very useful feature.
But I think the they connected it to the FLCharAdmin tool by niwo.
Why I think so? Well its the only tool i know that can edit reps between factions on the fly.
Lets say clan A decides to set clan B hostile than u would need to edit all the reps of clan A and B to make them hostile to eachother, the charadmin tool can do this not sure if Hook can.How ever if U have the power for it please go for it TAI i will surely use it and support u with FL knownledge if needed but since I’m not a programmer i cant help u on the work.
-
Maybe look into Biocross? I know we haven’t heard from the guy in a while, but his project seemed like it had quite a bit of potential and I’d say it’d be wasting time trying to make two redundant softwares…
-
I think he wants to use it like the web interface HC has it.
So you can edit clan reps, transfere cash, look at your chars online, change lights etc.Am i right on this one?
You got it!
It should be an interface for PLAYERS not for the Admins(maybe also for them)
-
-
Maybe look into Biocross? I know we haven’t heard from the guy in a while, but his project seemed like it had quite a bit of potential and I’d say it’d be wasting time trying to make two redundant softwares…
Ya, he’s still around. He posted more about his development on our forums here: http://www.freeworlds-mod.net/forum/viewtopic.php?f=44&t=237
-
Sorry usually spend a lot more time over at Freeworlds and what not - the beta version of Biocross will only include what IFSO had in it already, basically so we can test the stuff that you had before and it works - then move onto the additional things later on…
Obviously there are new features in the Beta like the tabbed player editor and the advanced search feature as well as the new XML format for gamedata etc.
For those looking on an update on development - 2 more things need to be complete before it is released and that is the options page (simple control binding to the xml setting)
and the banners page (which is a considerable amount of work for the time I have) hope your all cleared up
I don’t want to steal your thunder as to your application there, but I have already got the DLL ready to go (unfortunately you can’t use it because it’s .NET ) however for those who don’t want .NET on their machine this would be a nice UI alternative
I got to include my FLHook GUI because of all the work already got into it, otherwise I would’ve had no trouble bundling your Flash file in with Biocross and running it as a plugin
good luck!
(btw some nice GUI work)
-
thanks Hazard, but this will be an Interface for PLAYERS where they can transfer Money, Weapons …
So I don’t need any DLL or so, I just need to code a socket connection to FLHook(which will be required)Maybe I even include an Admin console or something like that, lets see
The GUI is not mine, found that on the Internet
-
try opening them up anyways, its always worth trying, even if your sure it wont effect it just eliminates another solution XD