all proplems

An ICS Emulator for YAHOO Chess

Re: all proplems

Postby neo_the_1 » 06 Mar 2008 06:26

thanks eliasgino2007 for ur help,I already edited the perl file and got what I wanted.Ur help is appreciated.
User avatar
neo_the_1
Senior Member
Senior Member
 
Posts: 41
Joined: 29 Feb 2008 18:49

Re: all proplems

Postby j38312 » 10 Mar 2008 05:06

hey all. anyways, my problem is that whenever a match starts, 10 seconds later winboard pops up the message "illegal move made" and then the auto playing just stops. the timer keeps on going, but nothing moves, making it a free win for the opponent :( . the moves that were made always seemed to be legal when i looked at the board on fritz. is there any way to bypass the "illegal move made" so the playing continues and just ignores the statement?

thanks in advance :)
User avatar
j38312
New Member
New Member
 
Posts: 2
Joined: 09 Mar 2008 09:31

Re: all proplems

Postby matematiko » 11 Mar 2008 02:33

Winboard has the option to check or not to check moves legality, but that is not the point.....I dont understand why you get that error message all the time.

Maybe unisntall and re-install Winboard.....Also, if you are using winboadr64, be aware that the 64 bits version is not an official version and migth be buggy....the 32 bits version works just fine under a 64bit enviroment(That's what I use)

Good luck,
Using engines to cheat:
- It is not ethical,
- It is useless, nothing is gained (how can one be proud of a score earn with dishonesty?)
- You will be baned, sooner or later,
- It gives us (the true chess engine players) a bad reputation.
User avatar
matematiko
Co-Admin
Co-Admin
 
Posts: 1266
Joined: 17 Oct 2007 13:32
Location: Texas USA

Re: all proplems

Postby j38312 » 11 Mar 2008 05:12

i carefully watched the fritz board and the winboard board right before the error. i noticed that a piece on the fritz board moved but on the winboard board it did not register. so when the opponent moved and the engine naturally responded, winboard called an illegal move. basically, let's say a pawn on h3 moved to h4 on the fritz board, but winboard doesn't register that move. it's the engine's turn to move once more and so the pawn goes from h4 to h5 -- winboard immediately calls illegal move. perhaps there's some kind of lack of synchronization in which the engine moves way too fast for winboard? dunno what to do about this or even if that's the case. please post your thoughts.

thanks
User avatar
j38312
New Member
New Member
 
Posts: 2
Joined: 09 Mar 2008 09:31

Re: all proplems

Postby dene » 11 Mar 2008 08:28

Ive never heard of this kind of problem happening on every game. Sounds like either a winboard problem, or your losing conection or link between fritz/winboard somewhere somehow, in which case if WinBoard isnt the problem it could be related to your operating system or something I guess.

I would start by uninstalling winBoard and reinstalling the latest version of WinBoard as matematiko advised!

Goodluck
User avatar
dene
Co-Admin
Co-Admin
 
Posts: 382
Joined: 04 Oct 2007 07:46
Location: United Kingdom

Posible explanation of iligal move in winboard

Postby elcriollito » 12 Mar 2008 01:32

This problem u will see if u are in a table where 2 guys are playing and some one made a mistake and ask for undo his move and the opposite player agree his undo,this kind of move winboard does no fix it at all ,and eventually if that piece is move again winboard is gonna pop up error,or illigal move,
so be aware of that when watching game in another table that is no ur
"The winner of the game is the player who makes the next-to-last mistake."
- Tartakover -
http://chess2u.googlepages.com/
User avatar
elcriollito
Moderator
Moderator
 
Posts: 416
Joined: 09 Oct 2007 19:14
Location: Cuba

Re: Posible explanation of iligal move in winboard

Postby matematiko » 12 Mar 2008 03:41

elcriollito wrote:This problem u will see if u are in a table where 2 guys are playing and some one made a mistake and ask for undo his move and the opposite player agree his undo,this kind of move winboard does no fix it at all ,and eventually if that piece is move again winboard is gonna pop up error,or illigal move,
so be aware of that when watching game in another table that is no ur


This is an old well known problem...there are a couple of solutions(er...workarounds);

1.- Create your table, sit and don't go to other people tables to observe games...

2.- I have a modification for YaY that will ignore all moves(including the undos and with the exemption of the movehistory received from the server when the script joins a table with a running game)....again, this is not at fix but is better than nothing.

This is the code for those interested:

go to subroutine top_move
Code: Select all
sub top_move {   # 6d
and after the first line of this subroutine
Code: Select all
my $table=shift;
insert the next code:

Code: Select all
if ($table->[3] != $pme and $table->[4] != $pme) {
   return;
}


Now the first part of this subrutine should look like this:
Code: Select all
sub top_move {   # 6d
   my $table=shift;
   if ($table->[3] != $pme and $table->[4] != $pme) {
      return;
   }
   my($color,@move)=unpack('C5',shift);


What this modifications does, the script will ignore all moves made if you are not seated. This modification is useless even if you are seated and you accept an "undo" request....but you guys don't know how to do that from the script...do you? :D


Good luck,
Using engines to cheat:
- It is not ethical,
- It is useless, nothing is gained (how can one be proud of a score earn with dishonesty?)
- You will be baned, sooner or later,
- It gives us (the true chess engine players) a bad reputation.
User avatar
matematiko
Co-Admin
Co-Admin
 
Posts: 1266
Joined: 17 Oct 2007 13:32
Location: Texas USA

Re: all proplems

Postby dene » 12 Mar 2008 08:35

Thanks for that code bud :ok
User avatar
dene
Co-Admin
Co-Admin
 
Posts: 382
Joined: 04 Oct 2007 07:46
Location: United Kingdom

Re: Posible explanation of iligal move in winboard

Postby eliasgino2007 » 12 Mar 2008 12:21

matematiko wrote:Now the first part of this subrutine should look like this:
Code: Select all
sub top_move {   # 6d
   my $table=shift;
   if ($table->[3] != $pme and $table->[4] != $pme) {
      return;
   }
   my($color,@move)=unpack('C5',shift);


What this modifications does, the script will ignore all moves made if you are not seated. This modification is useless even if you are seated and you accept an "undo" request....but you guys don't know how to do that from the script...do you? :D


Good luck,


Hi matematiko, 8)

Thanks matematiko, for this information very useful!


Bye eliasgino2007! :ok
User avatar
eliasgino2007
Co-Admin
Co-Admin
 
Posts: 634
Joined: 01 Nov 2007 14:36
Location: Brasil

Re: all proplems

Postby elcriollito » 13 Mar 2008 22:30

good to know this
I need to read more perl to improve something new here
"The winner of the game is the player who makes the next-to-last mistake."
- Tartakover -
http://chess2u.googlepages.com/
User avatar
elcriollito
Moderator
Moderator
 
Posts: 416
Joined: 09 Oct 2007 19:14
Location: Cuba

Re: all proplems

Postby dene » 14 Mar 2008 10:28

OK, as from aprox 8am GMT time today YaY is not able to connect

server says..

Your request to log in to Yahoo! Games was denied
because we were unable to authenticate your user id.


Using YtoICS with a seperate get applet pl this error gets displayed also..

use of uninitialized value in concatenation <.> or a string at getapplet.pl line 126

Anyone still able to make a fresh connection with YaY?

NOTE: Stuci still appears to be able to make a connection on yahoo, you can download it here...

viewtopic.php?f=14&t=42&start=0

..If you havnt already.
User avatar
dene
Co-Admin
Co-Admin
 
Posts: 382
Joined: 04 Oct 2007 07:46
Location: United Kingdom

Re: all proplems

Postby dene » 14 Mar 2008 12:07

UPDATE:

It appears some people from certain countries can still log in with YaY.

My friend in France can still log in at the moment.... :?
User avatar
dene
Co-Admin
Co-Admin
 
Posts: 382
Joined: 04 Oct 2007 07:46
Location: United Kingdom

Re: all proplems

Postby matematiko » 14 Mar 2008 14:33

Dene:

My YaY still works with the getapplet.pl built in.

This evening I will try to find what is going on.....it could be (like you said) related to the country where you are trying to log in from.....it can be the ActivePerl version...it can be many things.... together will figure it out.....PM me with the user IDs you are using at Yahoo and also e-mail me the getapplet.pl you are using....Add me to your messengers...bye now
Using engines to cheat:
- It is not ethical,
- It is useless, nothing is gained (how can one be proud of a score earn with dishonesty?)
- You will be baned, sooner or later,
- It gives us (the true chess engine players) a bad reputation.
User avatar
matematiko
Co-Admin
Co-Admin
 
Posts: 1266
Joined: 17 Oct 2007 13:32
Location: Texas USA

Re: all proplems

Postby dene » 14 Mar 2008 14:55

matematiko wrote:Dene:

My YaY still works with the getapplet.pl built in.

This evening I will try to find what is going on.....it could be (like you said) related to the country where you are trying to log in from.....it can be the ActivePerl version...it can be many things.... together will figure it out.....PM me with the user IDs you are using at Yahoo and also e-mail me the getapplet.pl you are using....Add me to your messengers...bye now


Hi,

Yes I think it could be either country related or ISP even? I dont think its ID related at this stage, as I tried an ID of a friend which works for him still from France but wont log in from the UK today :? Either way it seems im not the only person with this problem today.

I'll add you to my msn bud... :ok
User avatar
dene
Co-Admin
Co-Admin
 
Posts: 382
Joined: 04 Oct 2007 07:46
Location: United Kingdom

Re: all proplems

Postby Moheevi_chess » 21 Mar 2008 20:18

:crasha When i try running yay.pl i got this error msg

Can't locate loadable object for module Tk::Event in
l/site/lib C:/Perl/lib .) at C:/Perl/site/lib/Tk.pm
Compilation failed in require at C:/Perl/site/lib/Tk
BEGIN failed--compilation aborted at C:/Perl/site/li
Compilation failed in require at yay.pl line 33.
BEGIN failed--compilation aborted at yay.pl line 33.

so i reinstalled the newest version of activeperl and then tried and now i get this

Can't locate Tk.pm in @INC (@INC contains: C:/Perl/si
y.pl line 33.
BEGIN failed--compilation aborted at yay.pl line 33.

need help :crasha please

<<<click>>> http://www.MoheeviChess.webs.com <<<click>>>
User avatar
Moheevi_chess
Advanced Member
Advanced Member
 
Posts: 69
Joined: 20 Mar 2008 18:58
Location: Missouri, USA

PreviousNext

Return to YaY

Who is online

Users browsing this forum: No registered users and 0 guests