egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Marky's color uno
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
JaMaHa
Voice


Joined: 19 May 2006
Posts: 2

PostPosted: Sat May 20, 2006 5:19 pm    Post subject: Marky's color uno Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat May 20, 2006 7:14 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Wed May 24, 2006 2:04 am    Post subject: Reply with quote

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
View user's profile Send private message
JaMaHa
Voice


Joined: 19 May 2006
Posts: 2

PostPosted: Thu May 25, 2006 4:09 pm    Post subject: Reply with quote

I tried that but it only caused the game to never start. It just waited instead of starting.
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sat Jun 10, 2006 3:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sat Jun 10, 2006 5:51 pm    Post subject: Reply with quote

oops, forgot to test for the game's wait-state too, fixed Smile
And found a bug in 'proc UnoJoin' where players can keep joining even after game started...Silly..
Back to top
View user's profile Send private message
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Mon Jun 26, 2006 6:13 am    Post subject: Reply with quote

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
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon Jun 26, 2006 3:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Mon Jun 26, 2006 6:29 pm    Post subject: Reply with quote

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
Code:
BotName=Lexi


Verson: 0.96.74.3 - same as in TCL archive.

cache
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon Jun 26, 2006 7:45 pm    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Mon Jun 26, 2006 8:38 pm    Post subject: Reply with quote

Nevermind, I read his post on no sleep. Evil or Very Mad
Back to top
View user's profile Send private message
mG81
Voice


Joined: 26 Sep 2006
Posts: 3

PostPosted: Tue Sep 26, 2006 10:09 am    Post subject: Reply with quote

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.. Sad

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
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Tue Sep 26, 2006 12:21 pm    Post subject: Reply with quote

.set errorInfo
Back to top
View user's profile Send private message
mG81
Voice


Joined: 26 Sep 2006
Posts: 3

PostPosted: Tue Sep 26, 2006 1:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Tue Sep 26, 2006 6:36 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber