Serverside CSharp FAQ: Difference between revisions
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
{{FAQContainer| | {{FAQContainer| | ||
Server events not getting triggered | | Server events not getting triggered | | ||
This may be due to either one of | This may be due to mismatched version of either one of the following files used, "'''server.exe'''", "'''bridge.dll'''", "server-files/bridge/runtime/'''bootstrapper.dll'''" or compiled code reference of "'''bootstrapper.dll/nuget gtanetwork api'''"}} | ||
Revision as of 03:38, 24 December 2018
Server events not getting triggered
This may be due to mismatched version of either one of the following files used, "server.exe", "bridge.dll", "server-files/bridge/runtime/bootstrapper.dll" or compiled code reference of "bootstrapper.dll/nuget gtanetwork api"
Latest version of bootstrapper.dll/GTAN API
The latest version of bootstrapper.dll can be found inside your RAGEMP directory, located at %RAGEMP Directory%\server-files\bridge\runtime\Bootstrapper.dll
ParameterCountMismatchException
This is due to a mismatch between either one of your bridge.dll, runtime/bootstrapper.dll or bootstrapper.dll/nuget gtanetwork api. To resolve this, ensure you are using the latest version of each, and make sure your code is being compiled with the same bootstrapper.dll as in your server runtime files.
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. System.TypeLoadException: Could not load type 'x' from assembly 'x', Version-4.2.x.x
This occurs when you compile your gamemode using a version of .NET Core that differs from the binaries in your runtime folder. To fix this issue, update your binaries in "\server-files\bridge\runtime\" to the version of .NET Core used to compile your dll