So, I have Marky's color uno script installed and it's working well. There's one thing I'd like to know though.
The bot joins the game only if there are no other players. I'd like it to join every game, whether there is only one player or not. I've seen it do that on another channel.
# bot joins if one player
if {[llength $RoundRobin] == 1} {
incr UnoPlayers
to have {[llength $RoundRobin] == [expr $UnoMaxPlayers + 1]} or just whatever number you want, would work... Can't say I've tried it.
I've sent the author a number of bug reports (such as needing to automatically remove players if they leave or quit the channel, before and after the game starts, and accounting for player NICK changes... The game doesn't account for nickchanges.. And there is a problem with the UnoFast score) with no response.
rosc2112 wrote:
I've sent the author a number of bug reports (such as needing to automatically remove players if they leave or quit the channel, before and after the game starts, and accounting for player NICK changes... The game doesn't account for nickchanges.. And there is a problem with the UnoFast score) with no response.
I made some fixes to this script, to make it handle when a player parts/quits, and to handle nickchanges. I sent a note to the author, but I suspect earthlink's "spam" filters are overly aggressive and my mails are not getting through. Hopefully he'll come here perhaps and see these notes. I posted my changes here: http://members.dandy.net/~fbn/uno_fix.tcl.txt
Yes, its an ugly hack, but it seems to work, I tested it quite a bit. Of course, any advise/fixes would be appreciated.
oops, forgot to test for the game's wait-state too, fixed
And found a bug in 'proc UnoJoin' where players can keep joining even after game started...Silly..
There's no such variable "BotName" anywhere in the script. Could you clarify what you mean? Are you saying the bot will join games with more than 1 player just by adding "BotName=whatever" ? Which version of the script are you referring to? I've been using v0.98
rosc2112 wrote:There's no such variable "BotName" anywhere in the script. Could you clarify what you mean? Are you saying the bot will join games with more than 1 player just by adding "BotName=whatever" ? Which version of the script are you referring to? I've been using v0.98
Still confused..What does setting the UnoBot var do for joining the game if there's more than 1 player? The script will have the bot join for 1 player versus the bot, but not if more than 1 player joined. Thought ya meant it would join if more than 1 player (which is what the original poster was asking about
I used run uno script back in past but now i thought i could loaded & run it but every since i been getting this error i could get no where with it Please help thanks..
Here Rest of it in script only thing was changed was Room Name & opname nick as said needed be changed.
The script can be found here. Too much copy/paste.