krazyito65 / CrossGambling

This is a gambling addon that requires users to roll the amount of gold they wish to bet. The winnings and losses are calculated from the difference between the highest and lowest numbers rolled.
1 stars 9 forks source link

Not enough players #6

Closed slokeydemos closed 6 years ago

slokeydemos commented 6 years ago

Describe the bug Not enough players, even though 2+ are entering in chat.

To Reproduce Steps to reproduce the behavior: New Game -> Have 2 players enter -> Last Call enabled -> Roll! does not work. Expected behavior The addon should call for the players to roll.

Screenshots https://gyazo.com/441700391a3e2f2f2975d1ea306958f4

What version is shown on the addon 8.0.1-6

Additional context Update version 6 did not fix this bug for me, I've tried reinstalling addon several times and deleting the WTF files for it already. Edit: Addon doesn't detect Raid Leader's entry using the raid channel, but if you switch raid leader, it works.

krazyito65 commented 6 years ago

Sigh, once i fix one thing, another one comes up!

I swear it worked for me when I tried last time. I'll take another look.

Do you mind testing in a custom channel and in guild chat?

krazyito65 commented 6 years ago

Could you also test this? https://github.com/krazyito65/CrossGambling/blob/master/CrossGambling/CrossGambling.lua

Just replace your lua file with this one here. I made a small change to maybe fix some stray issues that might be causing this.

slokeydemos commented 6 years ago

The new .lua file didn't work for me, raid leader entry still goes undetected. Guild is working. Don't know how to set a custom channel? I type /cg channel Party, not sure if that's how it works or not.

krazyito65 commented 6 years ago

custom channels are ones that you make with

/join gambling or what ever name you need.

Then you do /cg channel gambling

slokeydemos commented 6 years ago

Yes, custom channel works.

krazyito65 commented 6 years ago

Can you please try again now with that lua file? For some reason I derped and removed the raid leader event.

krazyito65 commented 6 years ago

Actually it should work now, I was able to test it. Please try version 7 :)