Jump to content

4 Screenshots

Recommended Comments

lengka

Posted

You want each type of activity to be set in a different language

Kaucsenta

Posted

10 hours ago, lengka said:

You want each type of activity to be set in a different language

Same question(?) under Support, see for further answers.

Hawkhill

Posted (edited)

Hi!

I just bought this plugin.....
How can i change reward from Bronze egg to Blood instead?
Should have been an option to change that in the configfile.
I run a PvE server where i can trade in blood for XP

Edited by Hawkhill
DeutscherRitterPlatz

Posted

2 hours ago, Hawkhill said:

Hi!

I just bought this plugin.....
How can i change reward from Bronze egg to Blood instead?
Should have been an option to change that in the configfile.
I run a PvE server where i can trade in blood for XP

There is no direct setting in the config for it! You have to adjust it yourself in the plugin..
Search in the .cs for "_Current_Event_Reward_Type" and change the rewards there, should be from line 984.
Of

switch (_Current_Event_Reward_Type)
            {
                case 0:
                    reward = "Bronze Easter Egg";
                    break;
                case 1:
                    reward = "Small Halloween Bag";
                    break;
                case 2:
                    reward = "RP";
                    break;
                default:
                    reward = "ERROR";
                    break;
            }

To
 

switch (_Current_Event_Reward_Type)
            {
                case 0:
                    reward = "Blood";
                    break;
                case 1:
                    reward = "Small Halloween Bag";
                    break;
                case 2:
                    reward = "RP";
                    break;
                default:
                    reward = "ERROR";
                    break;
            }

 

Hawkhill

Posted

That didnt work.....
After event was over, it said i won 10 blood..... 
But when i typed /cch claim i got 10 bronze eggs

 

DeutscherRitterPlatz

Posted (edited)

1 hour ago, Hawkhill said:

That didnt work.....
After event was over, it said i won 10 blood..... 
But when i typed /cch claim i got 10 bronze eggs

 

Sorry, my mistake, you still have to change that.
Line: 938
from

player.inventory.GiveItem(ItemManager.CreateByItemID(844440409, PlayerRewards[player.userID][rewardtype]));
LogToFile($"Claim", $"[{DateTime.Now.ToString("hh:mm:ss")}] Reward claimed: {PlayerRewards[player.userID][rewardtype]} - Item: 844440409 {player.userID} {player.displayName}", this);

to

player.inventory.GiveItem(ItemManager.CreateByItemID(1776460938, PlayerRewards[player.userID][rewardtype]));
LogToFile($"Claim", $"[{DateTime.Now.ToString("hh:mm:ss")}] Reward claimed: {PlayerRewards[player.userID][rewardtype]} - Item: 1776460938 {player.userID} {player.displayName}", this);

 

Edited by MeinRust
  • Like 1
Hawkhill

Posted (edited)

Yeah... i figured it out that it uses item id and not shortname 😛
Thanks for the help 🙂

Edited by Hawkhill
Hawkhill

Posted

One of the players on my server reports that gather hemp challenge didnt work.... he tried both wild and from planterboxes.... havent tried myself tho

DeutscherRitterPlatz

Posted

Then the dev has to fix the plugin, then there are problems with "OnCollectiblePickup"
@Kaucsenta please fix OnCollectiblePickup

Hawkhill

Posted

Gather potato didnt work either....

Hawkhill

Posted

The dev isnt really active is he?  Sigh

Kaucsenta

Posted

 

On 10/15/2022 at 3:44 PM, Hawkhill said:

The dev isnt really active is he?  Sigh

Sorry, i didn't got any notification about this discussion tabs ... please open a support ticket on the support tab, and i will take a look as well paralell

  • Like 1
Ac3

Posted (edited)

Why isnt there a option to change the reward in config , I have to edit the .cs file to change reward type.

is it not possible to add it to the config please?

 

I changed to .cs file before update to  my liking but afther the update all is default again

Edited by Ac3NL
Kaucsenta

Posted

On 5/6/2023 at 7:14 PM, Ac3NL said:

Why isnt there a option to change the reward in config , I have to edit the .cs file to change reward type.

is it not possible to add it to the config please?

 

I changed to .cs file before update to  my liking but afther the update all is default again

There is an option to change the reward in the option:
"event_reward_type - 0 - (Bronze Easter Egg - item ID: 844440409) 1 - ( Small Halloween Bag item ID: 1319617282) 2 - RP from [ServerRewards plugin if installed, if not, it can not be choosen even if in the list](https://umod.org/plugins/server-rewards)"

Hawkhill

Posted (edited)

Hi!
I got some sugguestions for improvement of this plugin.

1. Add more challenges. Woodstumps,  stone/sulfur/metal rocks (not nodes, but the small rocks we pick up), fishing, kill deers (stag), and maybe destroy road signs?
2.  Move the position of UI abit further down or top left corner. Now it overlaps the christmas, Easter and Halloween events.
3. Add a easy way to change in config what rewards each position gets without using server rewards. I use bloodbags as rewards to trade in for XP in Skilltree. Now i need to edit in cs file each time plugin gets updated.
4.  Add a option to reward up to top 10 players.
5. Add a fix for foodbox challenge. It seems like only foodboxes in supermarkets / gasstations work. Foodboxes found along roads dont work.

Edited by Hawkhill
Hawkhill

Posted

Failed to call hook 'OnEntityKill' on plugin 'CustomChallenges v1.5.1' (NullReferenceException: Object reference not set to an instance of an object.)
  at Oxide.Plugins.CustomChallenges.OnEntityKill (BaseNetworkable Entity) [0x0000a] in <03a6ff48c5c34a5da52e62e1691f47f1>:0 
  at Oxide.Plugins.CustomChallenges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0034c] in <03a6ff48c5c34a5da52e62e1691f47f1>: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

This keeps spamming my console.....

Kaucsenta

Posted

On 10/18/2024 at 8:38 PM, Hawkhill said:

Failed to call hook 'OnEntityKill' on plugin 'CustomChallenges v1.5.1' (NullReferenceException: Object reference not set to an instance of an object.)
  at Oxide.Plugins.CustomChallenges.OnEntityKill (BaseNetworkable Entity) [0x0000a] in <03a6ff48c5c34a5da52e62e1691f47f1>:0 
  at Oxide.Plugins.CustomChallenges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0034c] in <03a6ff48c5c34a5da52e62e1691f47f1>: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

This keeps spamming my console.....

Please open a ticket, attach config and if you was able to identify any source as a kill trigger for this, please share it there.

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.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.4k

Files Sold

Total number of files sold.

2m

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.