Solved Jint Plugin Issues - Cannot get plugins to work

BigglezUK

New Member
Member
Aug 30, 2014
4
0
1
Firstly, let me thank you guys for supporting a game which I think has a LOT of potential!
I'm really impressed with the work that you have achieved with Fougerite from what I have seen on other servers. So, i decided to stop my Oxide server and try to build a Fougerite one.
However, i'm having an issue when I try to use any plugins.
I have done my best to configure the server the way that I think it is meant to be done... Ie modified assemblies, copied Jint.dll, uncommented Jint and commented Magma, Changed "Ignored" from Jint to Magma and placed my plugins in individual folders with matching names. My server is in the root of the drive C:/ and still I cannot get it working.
Take FPSBoost for instance.
Whenever I join my server with this plugin installed, i get the following message:

[JintPlugin] Error invoking function On_PlayerConnected in FPSBoost plugin.
JavaScriptException: Object has no method 'IniExists'.


Now, i know very little about programming, so please be very slow with me.
I hope I have provided enough information for you to help me.
I'm sorry if this has been fixed already, but I've spent 3 days trying to get this to work now and looked all over your site to see if I could find a fix.

Bigglez
 
Still no Joy..... I've lost count of the number of hours I've spent trying to get this to work now.
Could somebody please contact me with a Skype username and talk me through the install?

It would be greatly appreciated.
 
What version are you running?

I don't know if there's a discrepancy in versions here, but I had the same problems with the INI functions. Instead of trying to install the latest and greatest version through GameServer's POS ticketing system, I opted to just get rid of the INIs and port in any settings and variables right into the JS.

This is not a good option, or the right way to handle this, so let's try and figure out what's going on here.
 
jint doesn't support INI functions
 
Well.... this was all my fault!
I assumed that Fougerite used JInt as it's new format.... so I was placing all my plugins into the JsPlugins folder.
WRONG!
I now have a working MC3 server running at BuFUGaming.ddns.net:28015
Thanks SO much to Viprox, balu92, Mike and DreTaX for all the help :)
Have a great evening :)
 
We don't yet categorize plugins according to which module or language they support. But DreTax is working on that.

The plugins posted so far are Magma plugins with little or no modification from what's posted at Gomagma.

JintPlugin doesn't make IniParser available to scripts, but since it's in the global namespace, I suppose scripts could call it like anything else in global.

Jint lets its plugins use JSON instead of ini files for settings and any other purpose. Instead of IniParser, Jint scripts can use ToJsonFile() and FromJsonFile() to save/load a JSON string from disk, or POSTJson() and Web.GET() to save/load JSON from a web server.
 
  • Informative
Reactions: .phase
We don't yet categorize plugins according to which module or language they support. But DreTax is working on that.

The plugins posted so far are Magma plugins with little or no modification from what's posted at Gomagma.

JintPlugin doesn't make IniParser available to scripts, but since it's in the global namespace, I suppose scripts could call it like anything else in global.

Jint lets its plugins use JSON instead of ini files for settings and any other purpose. Instead of IniParser, Jint scripts can use ToJsonFile() and FromJsonFile() to save/load a JSON string from disk, or POSTJson() and Web.GET() to save/load JSON from a web server.
Currently i just made a information which you have to add at posting but u can also edit ur resources. If you want i can make sections for it also

Sent from my Samsung Galaxy S4