Give DogTags

Can you change the plugin with simple means so that you get the following:

Green card = Silver dogTag

Blue card = Blue dogTag

Red card = Red DogTag

are these dog tag prefabs already in existence or do you want them also created?  And do they completely replace the cards?

Yes, they are the normal DogTags that you know from Rust.

There are the color silver, blue and red.

Is this possible with simple means?

please try v1.4 - just updated.  Let me know how that works for you.

I'm going on vacation tonight, let me know when I'm back <3

It works to some extent.

There are minor issues, but it's not that bad.

You receive the appropriate DogTags based on the cards, but for example, if you open the blue room first on Oil and then the second door, the red room, you only get a blue dogtag. This happens even when the spam counter is set to 0 or 1. If possible, it would be nice if the counter took the color into account so that you could also get all the dogtags by looting all the rooms.

But this is complaining at a high level. I am very satisfied. Thank you for your effort!

thanks for the feedback, and I'm stoked that you're like 7/10 happy.  lol.  I'll take a peak at what I can do for the suggestion.  Thanks again!

Can you still tell me why my console is full of this error?

 

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 :0 at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in :0 at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in :0 at Oxide.Plugins.PuzzlePoints.OnCardSwipe (CardReader cardReader, Keycard card, BasePlayer player) [0x00066] in :0 at Oxide.Plugins.PuzzlePoints.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001a1] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

 



Merged post

more fails can u fix it?

[Puzzle Points] -- saving data..
[Puzzle Points] -- data saved!
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 <02288c62097346cc922a91635a4370ec>:0

at Oxide.Plugins.PuzzlePoints.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001a1] in <02288c62097346cc922a91635a4370ec>: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

how is this working for you now?

btw, there's a new way to include dog tags in the config.. but by default I include them

Rustonaut

how is this working for you now?

btw, there's a new way to include dog tags in the config.. but by default I include them

No DogTags more in rust

they are if you want to add them in puzzlepoints.  dealer's choice.