Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ConcurrentDictionary can't be used in RageMP #87

Closed
TheOfficialDroid opened this issue Aug 13, 2022 · 3 comments
Closed

ConcurrentDictionary can't be used in RageMP #87

TheOfficialDroid opened this issue Aug 13, 2022 · 3 comments
Labels
priority: p1 high A bug that might cause crashes or a highly needed feature status: completed The feature has been completed of the bug has been patched type: bug This is a bug

Comments

@TheOfficialDroid
Copy link

TheOfficialDroid commented Aug 13, 2022

Haven't had a chance to test implementation since I suggest this be added; However, I've had a few minutes spare recently... Tried looking into it with no luck... Currently unable to get anything to draw or compile client-side with the following.


CS0122: 'ConcurrentDictionary<TKey, TValue>' is inaccessible due to its protection level
       -> cs_packages/c_script_dev/thirdparty/LemonUI/LemonUI.cs:589

CS1069: The type name 'CancelEventHandler' could not be found in the namespace 'System.ComponentModel'. This type has been forwarded to assembly 'System.ComponentModel.TypeConverter, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Consider adding a reference to that assembly.
       -> cs_packages/c_script_dev/thirdparty/LemonUI/LemonUI.cs:3477

CS1069: The type name 'CancelEventHandler' could not be found in the namespace 'System.ComponentModel'. This type has been forwarded to assembly 'System.ComponentModel.TypeConverter, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Consider adding a reference to that assembly.
       -> cs_packages/c_script_dev/thirdparty/LemonUI/LemonUI.cs:3485

CS0122: 'ConcurrentDictionary<TKey, TValue>' is inaccessible due to its protection level
       -> cs_packages/c_script_dev/thirdparty/LemonUI/LemonUI.cs:589

CS0122: 'ConcurrentDictionary<TKey, TValue>.Values' is inaccessible due to its protection level
       -> cs_packages/c_script_dev/thirdparty/LemonUI/LemonUI.cs:603

CS1069: The type name 'CancelEventArgs' could not be found in the namespace 'System.ComponentModel'. This type has been forwarded to assembly 'System.ComponentModel, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Consider adding a reference to that assembly.
       -> cs_packages/c_script_dev/thirdparty/LemonUI/LemonUI.cs:3078

CS1069: The type name 'CancelEventArgs' could not be found in the namespace 'System.ComponentModel'. This type has been forwarded to assembly 'System.ComponentModel, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Consider adding a reference to that assembly.
       -> cs_packages/c_script_dev/thirdparty/LemonUI/LemonUI.cs:3078

CS1069: The type name 'CancelEventArgs' could not be found in the namespace 'System.ComponentModel'. This type has been forwarded to assembly 'System.ComponentModel, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Consider adding a reference to that assembly.
       -> cs_packages/c_script_dev/thirdparty/LemonUI/LemonUI.cs:3100

CS1069: The type name 'CancelEventArgs' could not be found in the namespace 'System.ComponentModel'. This type has been forwarded to assembly 'System.ComponentModel, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Consider adding a reference to that assembly.
       -> cs_packages/c_script_dev/thirdparty/LemonUI/LemonUI.cs:3100

CS0122: 'ConcurrentDictionary<TKey, TValue>.ContainsKey(TKey)' is inaccessible due to its protection level
       -> cs_packages/c_script_dev/thirdparty/LemonUI/LemonUI.cs:706

CS0122: 'ConcurrentDictionary<TKey, TValue>.TryRemove(TKey, out TValue)' is inaccessible due to its protection level
       -> cs_packages/c_script_dev/thirdparty/LemonUI/LemonUI.cs:718

CS0122: 'ConcurrentDictionary<TKey, TValue>.Values' is inaccessible due to its protection level
       -> cs_packages/c_script_dev/thirdparty/LemonUI/LemonUI.cs:727

CS0122: 'ConcurrentDictionary<TKey, TValue>.Values' is inaccessible due to its protection level
       -> cs_packages/c_script_dev/thirdparty/LemonUI/LemonUI.cs:741

CS0122: 'ConcurrentDictionary<TKey, TValue>.Values' is inaccessible due to its protection level
       -> cs_packages/c_script_dev/thirdparty/LemonUI/LemonUI.cs:754

CS0122: 'ConcurrentDictionary<TKey, TValue>.Values' is inaccessible due to its protection level
       -> cs_packages/c_script_dev/thirdparty/LemonUI/LemonUI.cs:769


C#: No scripts compiled or no RAGE.Events.Script classes found
@justalemon
Copy link
Member

Looks like #65 can't be used in RageMP.

@justalemon justalemon added status: confirmed The bug has been tested and confirmed priority: p1 high A bug that might cause crashes or a highly needed feature type: bug This is a bug labels Aug 13, 2022
@TheOfficialDroid
Copy link
Author

TheOfficialDroid commented Aug 13, 2022

Looks like #65 can't be used in RageMP.

I believe System.Collections.Concurrent is available on the server side; However client side its null-pointed like a lot of the assemblies. that aren't mandatory for it to operate; Or in this case, seems to be entirely overridden with an internal variant.

@justalemon
Copy link
Member

Yup.

@justalemon justalemon changed the title RageMP Impl ConcurrentDictionary can't be used in RageMP Oct 3, 2022
@justalemon justalemon added status: completed The feature has been completed of the bug has been patched and removed status: confirmed The bug has been tested and confirmed labels Jun 20, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
priority: p1 high A bug that might cause crashes or a highly needed feature status: completed The feature has been completed of the bug has been patched type: bug This is a bug
Projects
None yet
Development

No branches or pull requests

2 participants