| View previous topic :: View next topic |
| Author |
Message |
JaMaHa Voice
Joined: 19 May 2006 Posts: 2
|
Posted: Sat May 20, 2006 5:19 pm Post subject: Marky's color uno |
|
|
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.
Any help is appreciated. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat May 20, 2006 7:14 pm Post subject: |
|
|
Try contacting the author of that script or the bot owner running the (apparently modified) script in that other channel. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Wed May 24, 2006 2:04 am Post subject: |
|
|
Presumably changing this section of code:
| Code: |
# 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.
Good luck. |
|
| Back to top |
|
 |
JaMaHa Voice
Joined: 19 May 2006 Posts: 2
|
Posted: Thu May 25, 2006 4:09 pm Post subject: |
|
|
| I tried that but it only caused the game to never start. It just waited instead of starting. |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sat Jun 10, 2006 3:59 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sat Jun 10, 2006 5:51 pm Post subject: |
|
|
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.. |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Mon Jun 26, 2006 6:13 am Post subject: |
|
|
Bot will play UNO with that one player but you have to set the bots nick in the uno.cfg file
| Code: | | BotName=YourBotsName |
|
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Mon Jun 26, 2006 3:39 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Mon Jun 26, 2006 6:29 pm Post subject: |
|
|
| 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 |
uno.tcl
| Code: | | set UnoRobot "Lexi" |
uno.cfg
Verson: 0.96.74.3 - same as in TCL archive.
cache |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Mon Jun 26, 2006 7:45 pm Post subject: |
|
|
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  |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Mon Jun 26, 2006 8:38 pm Post subject: |
|
|
Nevermind, I read his post on no sleep.  |
|
| Back to top |
|
 |
mG81 Voice
Joined: 26 Sep 2006 Posts: 3
|
Posted: Tue Sep 26, 2006 10:09 am Post subject: |
|
|
Hi their,
Their seem to be a problem when i loaded uno script & added the room name somehow in dcc chat i get a error when typing in room: .unostart
It shows: | Code: | | Tcl error [UnoInit]: bad format string "%s" |
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. |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Tue Sep 26, 2006 12:21 pm Post subject: |
|
|
| .set errorInfo |
|
| Back to top |
|
 |
mG81 Voice
Joined: 26 Sep 2006 Posts: 3
|
Posted: Tue Sep 26, 2006 1:13 pm Post subject: |
|
|
| DragnLord wrote: | | .set errorInfo |
when i typed that it showed this | Code: | | What? You need '.help' |
Do i need have script for that? |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Tue Sep 26, 2006 6:36 pm Post subject: |
|
|
| mG81 wrote: | | DragnLord wrote: | | .set errorInfo |
when i typed that it showed this | Code: | | What? You need '.help' |
Do i need have script for that? |
No! You need your eggdrop setup correctly.
Unbind the following and then restart your bot:
| Code: | | #unbind dcc n set *dcc:set |
_________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
|