Need a permission to use this mod.
Its not displayed anywhere on the front page and I don't want to dig it out of the .cs file.
Can you please put it on the front page so everyone can see it.
Lottery
Moved
Total Downloads: 1,456 - First Release: Sep 21, 2016 - Last Update: Jul 25, 2018
- 5/5, 12 likes
-
Permission is "Lottery.canuse" -
roll {0} ? -
-
-
/lot
Code:[Oxide] 15:13 [Error] Failed to call hook 'cmdLotery' on plugin 'Lottery v1.0.4' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 15:13 [Debug] at Oxide.Plugins.Lottery.ShowLotery (.BasePlayer player, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Lottery.cmdLotery (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Lottery.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
Code:[Oxide] 15:14 [Info] Unloaded plugin Lottery v1.0.4 by Sami37 [Oxide] 15:14 [Info] Loaded plugin Lottery v1.0.4 by Sami37 [Oxide] 15:14 [Info] [Lottery] Messages loaded...
-
-
hi, we don't need economics)
-
I dont use Economics at all
just ServerRewards,
can the plugin be used just for ServerRewards?
In other way... Samy can I request you a feature?
Can be this used in a NPC only, without commands, ppl needs to go to "casino" for open the Bet UI -
I'll make an update to allow only ServerRewards and support NPC
-
If you are planning improve the gui with images and colours, I can help
we can do this more realistic, like a Roulette in casino, at least similar to a roulette on this CSGO bet webpages -
-
How can I remove buttons from the gui ?
-
Great new Version!!!
I can set now a Casino on the Shop
can you explain me this?
"WinPoint": {
"Match1Number": 1,
"Match2Number": 2,
"Match3Number": 3,
"Match4Number": 4
I understand the economics part... im not using ecomonics
but the ServerRewards I can not understand how works -
Example :
Your match list is like :
Code:"111x", "222x", "333x", "444x", "555x", "666x", "777x", "888x", "999x", "99x9", "9x99", "x999", "99xx", "9xxx"
Now how work the rewards
You have your rewards like
Code:"Match1Number": 1, "Match2Number": 2, "Match3Number": 3, "Match4Number": 4
If you bet 12 point with multiplier 3 result is :
12 * 4 * 3 = 144 points
-
Can you make it so we don't need Economics to work please, if you don't have Economics you get a error when loading GUI
-
-
-
-
Failed to call hook 'OnUseNPC' on plugin 'Lottery v1.0.6' (NullReferenceException: Object reference not set to an instance of an object)
Failed to call hook 'OnServerInitialized' on plugin 'Lottery v1.0.6' (InvalidCastException: Value is not a convertible object: System.Int32 to System.Collections.Generic.List`1[[System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])