WopsS / RED4ext.NativeDB

A website that contains the scripting RTTI for REDengine 4.
https://nativedb.red4ext.com
MIT License
6 stars 3 forks source link

Personally for WopsS | PawnPlus-Winform #1

Closed kolya112 closed 3 years ago

kolya112 commented 3 years ago

Hello! I know, so much time has passed ... but I personally did not find the answer to this question. There will be a big request for you to help with the error in PawnPlus-Winforms when compiling any SAMP game mod.

Details:

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.NullReferenceException: Object reference not set to an instance of an object. at PawnPlus.Main.compilerWorker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e) at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

PawnPlus Assembly Version: 0.5.2.0 Win32 Version: 0.5.2.0 CodeBase: file:///D:/PawnPlus/PawnPlus.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Assembly Version: 4.0.0.0 Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

PawnPlus.Language Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///D:/PawnPlus/PawnPlus.Language.DLL

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

PawnPlus.Core Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///D:/PawnPlus/PawnPlus.Core.DLL

SharpCompress Assembly Version: 0.10.3.0 Win32 Version: 0.10.3.0 CodeBase: file:///D:/PawnPlus/SharpCompress.DLL

Newtonsoft.Json Assembly Version: 7.0.0.0 Win32 Version: 7.0.1.18622 CodeBase: file:///D:/PawnPlus/Newtonsoft.Json.DLL

System.resources Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.resources.dll

mscorlib.resources Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/mscorlib.resources.dll

WeifenLuo.WinFormsUI.Docking Assembly Version: 2.9.0.0 Win32 Version: 2.9.0.0 CodeBase: file:///D:/PawnPlus/WeifenLuo.WinFormsUI.Docking.DLL

PawnPlus.CodeEditor Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///D:/PawnPlus/PawnPlus.CodeEditor.DLL

ThemeVS2012Light Assembly Version: 2.9.0.0 Win32 Version: 2.9.0.0 CodeBase: file:///D:/PawnPlus/ThemeVS2012Light.DLL

WindowsFormsIntegration Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll

ICSharpCode.AvalonEdit Assembly Version: 5.0.1.0 Win32 Version: 5.0.1.0 CodeBase: file:///D:/PawnPlus/ICSharpCode.AvalonEdit.DLL

PresentationFramework Assembly Version: 4.0.0.0 Win32 Version: 4.8.4360.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll

WindowsBase Assembly Version: 4.0.0.0 Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll

PresentationCore Assembly Version: 4.0.0.0 Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll

System.Xaml Assembly Version: 4.0.0.0 Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll

PresentationFramework.Aero2 Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero2/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero2.dll

UIAutomationTypes Assembly Version: 4.0.0.0 Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll

UIAutomationProvider Assembly Version: 4.0.0.0 Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll

** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

image

WopsS commented 3 years ago

Hello, I remember there were some temporary files written in the application directory, could you try to run it as administrator and see if it works?

kolya112 commented 3 years ago

I started the program as administrator, but everything works the same way. Here is a screenshot of the program folder, if needed. image

WopsS commented 3 years ago

Can you try to create a directory named Pawn where the application is installed and extract the Pawn compiler in it?

kolya112 commented 3 years ago

Again, exactly the same(

image

WopsS commented 3 years ago

Then try to put it in %appdata%/PawnPlus/Pawn.

kolya112 commented 3 years ago

It helped, thank you very much!

WopsS commented 3 years ago

No problem :)