Jump to content

1 Screenshot

  • 41.1k
  • 616
  • 20.31 kB
This area is intended for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments



Mabel

Posted

Nice plugin , works great 👍.
One small thing, the message when using server rewards doesn't show correctly, it only shows as RewardsAwarded.

 I've changed this 

Quote

SendReply(player, GetLang("RewardsAwarded", player.UserIDString, rewardsAmount, cardtype));

to this 

Quote

SendReply(player, GetLang("PointsAwarded", player.UserIDString, rewardsAmount, cardtype));

to match lang key and its showing correct now 

  • Like 1
Rustonauts

Posted

51 minutes ago, Mabel said:

Nice plugin , works great 👍.
One small thing, the message when using server rewards doesn't show correctly, it only shows as RewardsAwarded.

 I've changed this 

to this 

to match lang key and its showing correct now 

omg.. thanks.  I'll update that asap.

  • Like 1
damnpixel

Posted

Nice Plugin.

works but only with default monuments. Maps with its own card reader, an error message appears.

 

(08:27:40) | Failed to call hook 'OnCardSwipe' on plugin 'PuzzlePoints v1.2.2' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PuzzlePoints.OnCardSwipe (CardReader cardReader, Keycard card, BasePlayer player) [0x00036] in <b0daae3791c5446bb890f2a67a610c1c>:0 
  at Oxide.Plugins.PuzzlePoints.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000d1] in <b0daae3791c5446bb890f2a67a610c1c>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <b6af59acae274e5a94fb209dfc179b8f>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

 

Rustonauts

Posted

6 hours ago, damnpixel said:

Nice Plugin.

works but only with default monuments. Maps with its own card reader, an error message appears.

 

(08:27:40) | Failed to call hook 'OnCardSwipe' on plugin 'PuzzlePoints v1.2.2' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PuzzlePoints.OnCardSwipe (CardReader cardReader, Keycard card, BasePlayer player) [0x00036] in <b0daae3791c5446bb890f2a67a610c1c>:0 
  at Oxide.Plugins.PuzzlePoints.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000d1] in <b0daae3791c5446bb890f2a67a610c1c>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <b6af59acae274e5a94fb209dfc179b8f>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

 

thank you.  Are you willing to test this with me?  I'd love to install the monument on my server.

damnpixel

Posted

3 hours ago, Rustonauts said:

thank you.  Are you willing to test this with me?  I'd love to install the monument on my server.

Yes, in any case

  • Like 1
Rustonauts

Posted

3 hours ago, damnpixel said:

Yes, in any case

sweet.  If you can, hit me up on unohuim#7744 and I can install your monument

  • Like 1
KingSizeKevin

Posted

Can you fix the monument names so they are formatted nicely instead of the underlying game code?  Like satellite dish is showing as radtown_small_3, etc.  They should be the names matching on the map.  Thanks!

  • Like 1
Katsu

Posted

would it be possible to add cooldowns so players can't just wait for the door to close and re-swipe? some doors close really fast, especially green and blue like sewer branch and water treatment

  • Like 1
Rustonauts

Posted

On 3/7/2023 at 7:12 AM, Katsu said:

would it be possible to add cooldowns so players can't just wait for the door to close and re-swipe? some doors close really fast, especially green and blue like sewer branch and water treatment

love this idea.  I'll try to work on this tomorrow.

Rustonauts

Posted

On 11/3/2022 at 10:58 PM, KingSizeKevin said:

Can you fix the monument names so they are formatted nicely instead of the underlying game code?  Like satellite dish is showing as radtown_small_3, etc.  They should be the names matching on the map.  Thanks!

I think this is done?

Rustonauts

Posted

On 3/7/2023 at 4:12 AM, Katsu said:

would it be possible to add cooldowns so players can't just wait for the door to close and re-swipe? some doors close really fast, especially green and blue like sewer branch and water treatment

Hello.. I have released a beta version of this on our Rustonauts discord - https://discord.gg/BUGk2RJH.   If you're able to do there and test it, that would be great.  Cooldown is set for 10 min (600 secs), and you should delete your old config file first.

 

I've attached 1.3.1 here too.

 

PuzzlePoints.cs

KingSizeKevin

Posted (edited)

Getting this error on some of the card swipes, it seems random

(17:26:29) | Failed to call hook 'OnCardSwipe' on plugin 'PuzzlePoints v1.4.0' (InvalidOperationException: Collection was modified; enumeration operation may not execute.)

at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <fb001e01371b4adca20013e0ac763896>:0

at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <fb001e01371b4adca20013e0ac763896>:0

at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <fb001e01371b4adca20013e0ac763896>:0

at Oxide.Plugins.PuzzlePoints.OnCardSwipe (CardReader cardReader, Keycard card, BasePlayer player) [0x00066] in <1b267d69e90f4ca997863cbffe993d15>:0

at Oxide.Plugins.PuzzlePoints.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001a1] in <1b267d69e90f4ca997863cbffe993d15>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d4a0be71194349e98f7b43231b9cea3b>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b974d7a025404888bcdd55b51f29c440>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b974d7a025404888bcdd55b51f29c440>:0

 

Edited by KingSizeKevin
KingSizeKevin

Posted

Still get that error on card swipes on the latest version

Bad Cop

Posted

Looks like recent fp update broke this again

Flint Monkey

Posted

On 8/2/2024 at 10:10 PM, Bad Cop said:

Looks like recent fp update broke this again

Seeing the same...

Quote

Failed to call hook 'OnCardSwipe' on plugin 'PuzzlePoints v1.4.6' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.PuzzlePoints.OnCardSwipe (CardReader cardReader, Keycard card, BasePlayer player) [0x000d2] in <465f073fe75e431d8482fdcd096cb050>:0 at Oxide.Plugins.PuzzlePoints.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001a9] in <465f073fe75e431d8482fdcd096cb050>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

 

  • Confused 1
Rustonauts

Posted

can you get the latest v of Puzzle Points and Monument Names API to be sure?

 

ShadoW6

Posted (edited)

(12:35:31) | [Puzzle Points] giving scrap: 25

(12:35:31) | [Puzzle Points] --using rewards

(12:35:31) | [Puzzle Points] shadow swiped a green card at Airfield (W21)!

And when Blue card swipe get this no reward. Monument names are in oxide\plugin folder

(12:37:51) | Failed to call hook 'OnCardSwipe' on plugin 'PuzzlePoints v1.5.6' (InvalidOperationException: Collection was modified; enumeration operation may not execute.)

at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0

at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0

at Oxide.Plugins.PuzzlePoints.OnCardSwipe (CardReader cardReader, Keycard card, BasePlayer player) [0x00076] in <0143962f21594fb7bfaa2d0330ccda49>:0

at Oxide.Plugins.PuzzlePoints.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0015e] in <0143962f21594fb7bfaa2d0330ccda49>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <206a0f2c6ee141f38e2ad549cde44d70>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0

Edited by ShadoW6
Rustonauts

Posted

thanks.  I'm happy to troubleshoot this with you.  

How long have you been using PuzzlePoints, and have you had this error before?

ShadoW6

Posted (edited)

i just put the Puzzle Point two days ago on the server. and on the start all was ok the problem appear if i go to the same monument even after an 1h latter.

Also i did not change any thing in the .cs file or even in the config .json 

Edited by ShadoW6
  • Like 1
hid333

Posted (edited)

A compilation error has started occurring since today's RUST update.

Error while compiling PuzzlePoints: 'PhoneController' does not contain a definition for 'PositionToGridCoord' | Line: 595, Pos: 77

Edited by hid333
Rustonauts

Posted

1 hour ago, hid333 said:

A compilation error has started occurring since today's RUST update.

Error while compiling PuzzlePoints: 'PhoneController' does not contain a definition for 'PositionToGridCoord' | Line: 595, Pos: 77

sounds like facepunch has determined what my Thursday night is going to be like. lol.. 
thanks - I'll work on this tonight.

hid333

Posted

It seems to work fine with the following fix. But I'll wait for the developer to update.
PhoneController.PositionToGridCoord
 ↓
MapHelper.PositionToString

Rustonauts

Posted

6 hours ago, hid333 said:

A compilation error has started occurring since today's RUST update.

Error while compiling PuzzlePoints: 'PhoneController' does not contain a definition for 'PositionToGridCoord' | Line: 595, Pos: 77

wait.. are you not able to get it to compile like this?
image.png.22be0ad0bba1c0b6719b2682b0c0c47a.png

ShadoW6

Posted (edited)

here is the same ver. 1.61 
maybe problem is with custom map

Error while compiling PuzzlePoints: 'PhoneController' does not contain a definition for 'PositionToGridCoord' | Line: 595, Pos: 77

but some other plugins was have same issue ''PhoneController'

Edited by ShadoW6
Rustonauts

Posted

no, it's the phone controller.  I didn't restart my server, that was the issue.  
line 595 needs to have MapHelper.PositionToString after the => as per @hid333.  I'll update soon

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

User Feedback

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.