Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

F4 Console: required Parameter name: assemblyPath missing

Featured Replies

ERROR: Could not load plugin from "C: Plugins PluginTest.dll". Assembly PluginTest.dll (PluginTest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null) does not have the required Parameter name: assemblyPath
Spoiler

I have made a plugin : PluginTest.dll
It is just a test.
Loading my testplugin with the console-cmd LoadPlugin, casts an error in console:

ERROR: Could not load plugin from "C: Plugins PluginTest.dll". Assembly PluginTest.dll (PluginTest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null) does not have the required Parameter name: assemblyPath

Does anyone know that error, and how to get rid of it? I wonder if it is the actual folder where the plugin.dll is expected that is wrong

I have placed PluginTest.dll

in the same folder where i have LSPD First Response.dll in the folder
.\Epic Games\GTAV\plugins

Is that the wrong folder?


But RPH does know the plugin. If i in console write : LoadPlugin Plu
Console will on its own suggest ginTest, and i can press TAB and console will append ginTest and build the complete Console-cmd:

LoadPlugin pluginTest

I interpreting that, as RPH is finding the plugin, but then what is the assemblyPath issue console throw when i press Enter?
 

 

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

  • Author
32 minutes ago, Cyan said:

Can you post the full RPH log? Did you target .NET 4.7.2?

No i targeted 4.8. I have been told that RPHook is 4.8, and that is is best to use the same .NET as in RPH for plugins -Is that wrong?
I will add my log

 

RagePluginHook.log

Edited by GTAbear
Inserted log

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

  • Management Team
2 hours ago, GTAbear said:

No i targeted 4.8. I have been told that RPHook is 4.8, and that is is best to use the same .NET as in RPH for plugins -Is that wrong?
I will add my log

 

RagePluginHook.log 55.56 kB · 0 downloads

Nevermind, I thought you were running into an issue targetting .NET 5 or 6.

 

The answer is:

Assembly PluginTest.dll (PluginTest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null) does not have the required Plugin attribute.

 

You need to add this attribute. See an example plugin: https://github.com/unofficial-rph-devs/gtav-rph-examples/blob/master/NorthYankton/NorthYankton.cs

  • Author

Thanks! I can see that the example handles a lot of GTA 'stuff'. All That about sound and weather -That is really not necessary in a pluging i hope..
When i have managed to actually make a working plugin, i will post my code. Is there a preferred forum for that, or should it just be here? -Or maybe gitHub

 

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

  • Management Team
On 9/4/2022 at 9:26 PM, GTAbear said:

Thanks! I can see that the example handles a lot of GTA 'stuff'. All That about sound and weather -That is really not necessary in a pluging i hope..
When i have managed to actually make a working plugin, i will post my code. Is there a preferred forum for that, or should it just be here? -Or maybe gitHub

 

The only thing you were missing is this line:

[assembly: Plugin("NorthYanktonExample", Description = "North Yankton example", Author = "Pursuit")]

potentially also the entrypoint. The rest is not needed. I only pointed you to this as a complete example.

  • Author
6 hours ago, Cyan said:

The only thing you were missing is this line:

[assembly: Plugin("NorthYanktonExample", Description = "North Yankton example", Author = "Pursuit")]

potentially also the entrypoint. The rest is not needed. I only pointed you to this as a complete example.

Thanks for explaining! Appreciated.

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.