Points are taken on lose now but if you won by numbers within "winparts" you get the error code: (Failed to call hook 'cmdPlaceBet' on plugin 'Lottery v1.1.1' (IndexOutOfRangeException: Array index is out of range.))
Lottery
Moved
Total Downloads: 1,456 - First Release: Sep 21, 2016 - Last Update: Jul 25, 2018
- 5/5, 12 likes
-
can you post your config pls
-
Here it isAttached Files:
-
-
-
-
Hello , i love the plugin , A big thanks for it !
i only have one problem left with it , it's the multiplier ,
i want it so that only x2 is possible , nothing else , is this possible ?
if so how do i do it .
And again thanks for this plugin , really do apreciate it !
[DOUBLEPOST=1488811136][/DOUBLEPOST]NVM , it's already fixed , my mistake !
thanks for the awesome plugin -
i have another problem , when somebody hits the jackpot , it doesn't work and it gives this error in the console :
''Failed to call hook 'cmdPlaceBet' on plugin 'Lottery v1.1.1' (InvalidCastException: Cannot cast from source type to destination type.)''
please help :l -
-
Thanks alot !!!
-
Hello Sami, I just installed your plugin today for first time. I'm using HumanNPC, and only have altered the jackpot in config and nothing else. I cannot get GUI from NPC , and I get this error after loading plugin.
Loaded plugin Lottery v1.1.2 by Sami37
(00:20:02) | Failed to call hook 'OnServerInitialized' on plugin 'Lottery v1.1.2' (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]]) -
can you put here your config file please, it seem you missput the npc id
[DOUBLEPOST=1488888437][/DOUBLEPOST]Code:"HumanNPC": { "Enabled": false, "npcID": [ "id_1", "id_2" ] },
-
-
can we get option in the config file to not auto close the UI after you place bet? maybe only close on esc or click.
spent a lot of cash testing so far and no wins lol. seems good though. set an npc in town. good stuff -
-
Hello , me again , could you please add , a feature that doesnt reset the cursor , for example , when you click +1000 , the cursor goes back to the middle , Is this possible ?
i also tried out the auto-close thing you added , i put it to false , but when i click place bet the gui still closes.
Thanks in advance ! -
another thing , when somebody wins a bet the following error comes in console : Failed to call hook 'cmdPlaceBet' on plugin 'Lottery v1.1.3' (NullReferenceException: Object reference not set to an instance of an object)
theres not problem , the player gets the money , but there is a console error.
UPDATE : if in config: ''Place Bet Auto-close": false'' the error happens.Last edited by a moderator: Mar 10, 2017 -
-
Sorry to bother you again ^^ , I just want to thank you soo much for this plugin ! it's awesome although there are some small sproblems left
Could you fix:
- with Economics there is no minimum-bet for jackpot feature, you can get jackpot with betting 1. can you add a line for this in the config file ?
Thanks in advance ! i think i might donate some money later this month for this plugin ! -
Just installed this morning and haven't changed any default setting and getting error "Failed to call hook 'cmdBet' on plugin 'Lottery v1.1.5' (NullReferenceException: Object reference not set to an instance of an object)" the main betting window closes and a different window opens on the right of the screen with no content showing if that helps. Here is the config unchanged.
Attached Files:
-
-
[DOUBLEPOST=1491566845][/DOUBLEPOST]