All-Star capabilities.

An ICS Emulator for YAHOO Chess

All-Star capabilities.

Postby matematiko » 20 Oct 2007 00:52

For those interested on implementing All-Star capabilities in your scripts, like creating tables with a description,
these are the instructions:

1.- In the section of the script where global variables are declared, add a new variable called $yourastar
or whatever you want to name it. I am talking about the section that begings with:
use vars qw($VERSION $server $port ...............................

2.- In the section where the applet parameters are being evaluated insert this code:
defined($yourastar) or $yourastar=$params{'yourastar'};

3.- Optional. Rigth below where it says: iprint "\nDone. ICS command emulation active.\n";
prompt;
Insert this code: if ($yourastar==1) {
iprint "You are a Yahoo all-star user.\n";
}

WARNING: If you are not an all-star and attempt to create a table with description, or to
change to an avatar reserved for all-stars, Yahoo! will disconnect you. So be careful when writing
your code.
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-Star capabilities.

Postby matematiko » 20 Oct 2007 02:41

I failed to mention that the code mention above does not add all-star capabilities at all, it only let your script know if the
user you logged in is or is not an all-star user.
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-Star capabilities.

Postby elcriollito » 12 Mar 2008 01:47

I wonder if there is any script to add to yay that make that ID to play in star league,just for that
I have a id that can play,but i wish i could play with my others id like this one

any news on this,
about what u just said maternatiko,,,let me ask u,can i use ,and once i added to yay,can i play in league,i dont want to open table eithr open room,just to play
"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-Star capabilities.

Postby matematiko » 12 Mar 2008 03:50

No can do.

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


Return to YaY

Who is online

Users browsing this forum: No registered users and 0 guests