STUCI Classic

STUCI auto chess program for yahoo

Re: STUCI

Postby matematiko » 04 Jun 2008 21:13

Well.....maybe Yahoo changed something then.... I will take a look into this personaly.

When YaY botijon edition started showing problems resolving the profile number, this problems presented themselves at different dates in different parts of the world. Hard to say if the same situation is repating.

Just for the record, if you don't mind, please state in what country you are in.

Do you guys have the same negative results with different IDs?
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: 1284
Joined: 17 Oct 2007 13:32
Location: Texas USA

Re: STUCI

Postby Prima » 05 Jun 2008 00:32

Matematiko,

Thanks for your quick reply and I know you have other important responsibilities to tend to. If it's not too detailed information, I live here in the United Ststes, in Houston, Texas.And, no, I've never had any problem logging in regarless of any ID I use.

One more thing to point out, though I personally don't know if this might be the cause, someone I played with by the name "lee"... something(he said he's not sunny but he's also a tester for YtoICS-reborn) stated the problem might be the STUCIs lacking the applet files. Well, I checked the latest STUCI releases: versions 080511 Lite, 080511, and stuci-pipe demos, and sure enough, there wasn't any applet files. The previous version 071024 had it.
Prima
Moderator
Moderator
 
Posts: 304
Joined: 19 Jan 2008 16:32
Location: U.S.A

Re: STUCI

Postby Prima » 05 Jun 2008 00:48

mocha_1961,

Can I ask you how I can update perl 5.8.8.822? I mean, I thougth once installed in your computer, that's it. I still had/have the perl 5.8.8.822 in my computer when this problem started.
Prima
Moderator
Moderator
 
Posts: 304
Joined: 19 Jan 2008 16:32
Location: U.S.A

Re: STUCI

Postby matematiko » 05 Jun 2008 02:22

primabolin wrote:Matematiko,

Thanks for your quick reply and I know you have other important responsibilities to tend to. If it's not too detailed information, I live here in the United Ststes, in Houston, Texas.And, no, I've never had any problem logging in regarless of any ID I use.

One more thing to point out, though I personally don't know if this might be the cause, someone I played with by the name "lee"... something(he said he's not sunny but he's also a tester for YtoICS-reborn) stated the problem might be the STUCIs lacking the applet files. Well, I checked the latest STUCI releases: versions 080511 Lite, 080511, and stuci-pipe demos, and sure enough, there wasn't any applet files. The previous version 071024 had it.


There is no applet because STUCI is not reaching that point due to the lack of CAPTCHA image. So far I figured that STUCI is downloading a 1pixel X 1pixel image 43 bytes in size instead of the usual 1kb-2kb image. I am sure zappa_engine will figure this out in 5 minutes, meanwhile I will try to find out the reason.

Cheers,
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: 1284
Joined: 17 Oct 2007 13:32
Location: Texas USA

Re: STUCI

Postby matematiko » 05 Jun 2008 03:36

OK..obviously zappa_engine knows perl way better than me.
My programming skills are in reality very limited, I basically use Google
and copy and paste from other scripts. What I am trying to say is that
the solution I found works, but is not the best solution. Instead of finding the
problem, I found a way to go around the problem.

Also, this is just a temporary solution and is only for those who know how to edit the script.
I can not and will not modify the script and tell you where to download it. You gonna have to modify the script by yourself until zappa_engine releases an official solution.

OK, the problem is that the script is downloading two files, the first one is the CAPTCHA image and the second one is something else. The last file(in this case the second one) its been assigned as the captcha image and like I said, is incorrect.

To temporarily fix this, do the next:

find the loadnewcaptcha subroutine:

Code: Select all
sub loadnewcaptcha {


and change this section:

Code: Select all
# Download captcha image
   foreach my $pic (sort keys %image) {
   my $captcha=$ua->get($pic,':content_file' => './captcha.jpg');
   }

   $TKcaptchaframe->pack(-before => $TKbuttonframe, -fill => 'both',
      -anchor => 's', -expand => 1);

   my $image = $TKmw->Photo(-file => "captcha.jpg");


to make it lok like this:

Code: Select all
# Download captcha image
   my $incremento=1;
   foreach my $pic (sort keys %image) {
   my $captcha=$ua->get($pic,':content_file' => "./$incremento.jpg");
   $incremento++;
   }

   $TKcaptchaframe->pack(-before => $TKbuttonframe, -fill => 'both',
      -anchor => 's', -expand => 1);

   my $image = $TKmw->Photo(-file => "1.jpg");


Pay close attention, some single quotes were changed to double quotes.
Also, if you mess up in your first captcha attempt, the script is not going to respond the way it should and you gonna have to close it and start over, remember, this is just a temporary solution.

I do not guarantee that this will work for you, it did for me and hope it works for you.
Note: I tried this several times and it work OK for me...but when I exit, windows gives me a perl interpreter error.

And finaly, it is not my intention to step on anybody toes, I just want to provide a temporary solution for our Forum members.

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: 1284
Joined: 17 Oct 2007 13:32
Location: Texas USA

Re: STUCI

Postby matematiko » 05 Jun 2008 03:46

primabolin wrote:mocha_1961,

Can I ask you how I can update perl 5.8.8.822? I mean, I thougth once installed in your computer, that's it. I still had/have the perl 5.8.8.822 in my computer when this problem started.


I read somewhere long time ago that if you install ActivePerl via the AS package instead of the MSI package, you can not uninstall ActivePerl.

Installing a new version over and old one can render unexpected results ( this happened to The_Sicilian), I mentioned the possibility of something wrong with ActivePerl when I didn't know that this was affecting everybody and I tougth this was an isolated incident that it was happening just to one person. So, do not mess with ActivePerl, just leave it alone because the problem is not with ActivePerl.

Cheers,
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: 1284
Joined: 17 Oct 2007 13:32
Location: Texas USA

Re: STUCI

Postby Prima » 05 Jun 2008 05:42

matematiko,

Sure. I haven't reinstalled a new perl 5.8.8.822. I still have the very same old 5.8.8.822.
And thanks for the advise and temporary solution. The STUCI script is so vast or numerous and tightly packed. I will keep searching for those command lines you posted.
Prima
Moderator
Moderator
 
Posts: 304
Joined: 19 Jan 2008 16:32
Location: U.S.A

Re: STUCI

Postby zappa_engine » 05 Jun 2008 07:51

I just got home from a relative's graduation tonight. Thanks for notifying me of this issue guys. I am going to be looking at it tonight and seeing if I can replicate and then fix the issue.
http://www.youtube.com/watch?v=gNASSON_JMU
Concerning STUCI and why it's never really done... here's a metaphor: Instead of being a construction worker, I'd rather be an architect.
Losing too many games because of a slow PC? No problem, nUCI it!
User avatar
zappa_engine
Moderator
Moderator
 
Posts: 117
Joined: 09 Oct 2007 23:28

Re: STUCI

Postby zappa_engine » 05 Jun 2008 12:23

Done guys, the CAPTCHA is now viewable again.


By the way, if I get enough response I will input these features in.

1. Auto-Mate Detection - When the internal chessboard detects a check mate, it will not issue the move to Yahoo immediately unless 30 seconds have passed in the game. This prevents a notice from Yahoo that the game was too brief to be counted for ratings.

2. Auto-Installation of SSL - The script will check if the SSL modules are already installed and if not, it will automatically issue the command to install them.

3. Detection of other programs - I'm not sure how this will be useful to the end user. The idea is, when it encounters a new player who sits down, it will echo something. That machine then can respond appropriately (invisibly to other users too) to indicate it is a program. This idea is already implemented in an alternative project when I forked STUCI into a boosting program that uses an authentication method so STUCI would not purposely lose games unless it encountered an authenticated user which was another STUCI boosting program. This idea can be extended to allow it to recognize other programs if their programmer choose to standardize a reply. In essence, you could fool-proof your program against playing any other humans because they couldn't provide the invisible reply (2-fold authentication, verbal and silent) another program could.
http://www.youtube.com/watch?v=gNASSON_JMU
Concerning STUCI and why it's never really done... here's a metaphor: Instead of being a construction worker, I'd rather be an architect.
Losing too many games because of a slow PC? No problem, nUCI it!
User avatar
zappa_engine
Moderator
Moderator
 
Posts: 117
Joined: 09 Oct 2007 23:28

Re: STUCI

Postby zappa_engine » 05 Jun 2008 12:29

matematiko wrote:And finaly, it is not my intention to step on anybody toes, I just want to provide a temporary solution for our Forum members.


Don't worry about it man. You're just as smart as I am and I am thankful you provided a solution for users while I was out. STUCI is open code and modifiable by anyone and of all people to make changes to it, I trust you. I'm not really sure there is an "official" version of STUCI anyhow. I mentioned this already but STUCI is open and improvements made to it by others is greatly encouraged. Hopefully, those improvements will stay open too. One day I may not be around to incorporate changes and improvements into STUCI, and someone else can carry on the tradition. Maybe YtoICS Reborn? Maybe YaY will open code again :)
http://www.youtube.com/watch?v=gNASSON_JMU
Concerning STUCI and why it's never really done... here's a metaphor: Instead of being a construction worker, I'd rather be an architect.
Losing too many games because of a slow PC? No problem, nUCI it!
User avatar
zappa_engine
Moderator
Moderator
 
Posts: 117
Joined: 09 Oct 2007 23:28

Re: STUCI

Postby matematiko » 05 Jun 2008 12:33

zappa_engine wrote:Done guys, the CAPTCHA is now viewable again.


By the way, if I get enough response I will input these features in.

1. Auto-Mate Detection - When the internal chessboard detects a check mate, it will not issue the move to Yahoo immediately unless 30 seconds have passed in the game. This prevents a notice from Yahoo that the game was too brief to be counted for ratings.

2. Auto-Installation of SSL - The script will check if the SSL modules are already installed and if not, it will automatically issue the command to install them.

3. Detection of other programs - I'm not sure how this will be useful to the end user. The idea is, when it encounters a new player who sits down, it will echo something. That machine then can respond appropriately (invisibly to other users too) to indicate it is a program. This idea is already implemented in an alternative project when I forked STUCI into a boosting program that uses an authentication method so STUCI would not purposely lose games unless it encountered an authenticated user which was another STUCI boosting program. This idea can be extended to allow it to recognize other programs if their programmer choose to standardize a reply. In essence, you could fool-proof your program against playing any other humans because they couldn't provide the invisible reply (2-fold authentication, verbal and silent) another program could.



All three are excellent ideas, and you can count on me for the 2-fold authentication.

Cheers,

P.S. And thanks for the compliment. Can you also explain your findings? Did Yahoo actually changed something?
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: 1284
Joined: 17 Oct 2007 13:32
Location: Texas USA

Re: STUCI

Postby aks21155 » 05 Jun 2008 12:42

zappa_engine wrote:
matematiko wrote:And finaly, it is not my intention to step on anybody toes, I just want to provide a temporary solution for our Forum members.


Don't worry about it man. You're just as smart as I am and I am thankful you provided a solution for users while I was out. STUCI is open code and modifiable by anyone and of all people to make changes to it, I trust you. I'm not really sure there is an "official" version of STUCI anyhow. I mentioned this already but STUCI is open and improvements made to it by others is greatly encouraged. Hopefully, those improvements will stay open too. One day I may not be around to incorporate changes and improvements into STUCI, and someone else can carry on the tradition. Maybe YtoICS Reborn? Maybe YaY will open code again :)


Very well said zapa.i was playing with primabolin under lee id.i wanted to give solution to primabolin yesterday but half way i stoped.now i feel matematiko is better person than me.
"ANY SUFFICIAENTLY ADVANCED TECHNOLOGY IS VIRTUALLY INDISTINGUISHABLE FROM MAGIC" C. CLARKE

"IF I HAVE SEEN FURTHER, IT IS BY STANDING ON THE SHOULDERS OF GIANTS" ISAAC NEWTON
aks21155
Banned User
Banned User
 
Posts: 84
Joined: 21 Feb 2008 07:18
Location: india

Re: STUCI

Postby dene » 05 Jun 2008 12:45

matematiko wrote:To temporarily fix this, do the next:

find the loadnewcaptcha subroutine:

Code: Select all
sub loadnewcaptcha {


and change this section:

Code: Select all
# Download captcha image
   foreach my $pic (sort keys %image) {
   my $captcha=$ua->get($pic,':content_file' => './captcha.jpg');
   }

   $TKcaptchaframe->pack(-before => $TKbuttonframe, -fill => 'both',
      -anchor => 's', -expand => 1);

   my $image = $TKmw->Photo(-file => "captcha.jpg");


to make it lok like this:

Code: Select all
# Download captcha image
   my $incremento=1;
   foreach my $pic (sort keys %image) {
   my $captcha=$ua->get($pic,':content_file' => "./$incremento.jpg");
   $incremento++;
   }

   $TKcaptchaframe->pack(-before => $TKbuttonframe, -fill => 'both',
      -anchor => 's', -expand => 1);

   my $image = $TKmw->Photo(-file => "1.jpg");


I do not guarantee that this will work for you, it did for me and hope it works for you.


I can confirm this work around fix works here too :ok
User avatar
dene
Co-Admin
Co-Admin
 
Posts: 385
Joined: 04 Oct 2007 07:46
Location: United Kingdom

Re: STUCI

Postby matematiko » 05 Jun 2008 12:53

aks21155,

Thanks again for the compliment, again, I am not better than nobody, I am just trying to make up for the mistakes I made during the past weeks with my bad attitude and stupid comments.

zappa_engine,

I don't know if you know this, but when you edit an old post, it does not show as a new post to others and if is real old it will be "buried" some pages back and hard for others to see. People will see that you found a solution but they will not know that you edited the post with the downloadable links........ just an observation.

Cheers,
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: 1284
Joined: 17 Oct 2007 13:32
Location: Texas USA

Re: STUCI

Postby zappa_engine » 05 Jun 2008 13:54

Yes I realize that editing a post does not bump a post to the top, which is why when I feel I've released an improvement worth a bump I will also respond to this thread so people know there is a new message. In the future though, I could note that the updates are always edited into the very first post of this thread.

http://www.youtube.com/watch?v=gNASSON_JMU
Concerning STUCI and why it's never really done... here's a metaphor: Instead of being a construction worker, I'd rather be an architect.
Losing too many games because of a slow PC? No problem, nUCI it!
User avatar
zappa_engine
Moderator
Moderator
 
Posts: 117
Joined: 09 Oct 2007 23:28

PreviousNext

Return to STUCI

Who is online

Users browsing this forum: No registered users and 0 guests