Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

!Dealer script missing from library

Have a few macros in my game that are using the !Dealer script, but hadn't used it in the last few months.  When I was just testing something new, none of the !Deal commands were working, and upon checking the Mod Output Console, I saw the below error: Failed to load Dealer No such file or directory @ rb_sysopen - /code/apiscripts/Dealer/2.0/Dealer.js Was this script removed (it's no longer visible in the mod library), or is this just an error?  If so, is the code accessible so I can add it as a new local script? Thanks!
1714921757

Edited 1714921921
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Jeff! Something went wrong with the last merge, the files were all correct so far as I can see, but did not fully transfer. I'm investigating now, but until then, you can load the latest stable version here , and install manually.
Awesome -- glad it's still alive!  Thanks for the link and the quick response!
1715300846
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Dealer should be updated with the next Merge. With a few new features: Marstead  submitted a bug fix on the --take command which prevented it from.... taking cards. I incorporated that change, plus a few changes the Aaron posted in another old thread ,that enables it to parse inline rolls. You can also specify a player_id by including:  --ids[player_id] at the end of a command. You can get a list of player ids in the game by typing: !deal --players and full help available by typing !deal --help If you want to test it, you can get the code  here . I'm not submitting a PR yet.
Oh, amazing -- I'll be on the lookout!  The ability to specify a player to whom the card(s) should be dealt will be handy!
1718753412
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I missed updating this. Dealer in One Click is up to date.