News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SMFChess

Started by feeble, February 29, 2008, 11:51:29 PM

Previous topic - Next topic

brianjw

Where do I control what the PM messages say in them on request challenge, your turn to make a move, etc.

Godsongz

#361
Quote from: brianjw on November 18, 2008, 04:21:44 PM
Where do I control what the PM messages say in them on request challenge, your turn to make a move, etc.

This array is set up in the ChessXml.english.php:

$txt['SMFChess_pm'] = array(
   'move_sub' => 'Your move',
   'move_msg' => 'I have made my move.',
   'admin_move_sub' => 'I have moved in your game',
   'admin_move_msg' => 'As an admin, I have forced a move in your game.',
   'undo_sub' => 'Request Undo',
   'undo_msg' => 'I would like to Undo my last move.',
   'draw_sub' => 'Request Draw',
   'draw_msg' => 'I would like to request a Draw.',
   'resign_sub' => 'Resigned from Chess Match',
   'resign_msg' => 'I have Resigned from our Chess Match.',
   'followlink' => '



and this array is in Chess.english.php

$txt['SMFChess_pm'] = array(
   'challenge_sub' => 'Would you like a game of Chess?',
   'QuickmatchJoined_sub' => 'Challenged by Quickmatch',
   'remind_sub' => 'Chess Reminder!',
   'remind_msg' => 'I just wanted to remind you that we have a game to finish.',
   'followlink' => '



brianjw

Thanks Godsongz, but what I really want to do is change the form of the BBC Urls in the PM's to an [iurl ] (no space) instead of what it currently is a [url ] which opens new browser windows when clicked.

Sabre™

Can use [THIS] if you'd like that for all internal links etc...

wdm did an update on this somewhere, but it still works fine for me. :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


HistoryHunter

This mod is so good I can hardly believe it. A forum running chess... brilliant. I use it on 1.1.7 with TP and custom theme, and all the defaults are perfect.

I think I will now find a java chess game (for playing against the engine) and make a page or board for chess, giving members more opportunities to enjoy the game/subject.

marciano

traduccion spanish made by my:


Chess.spanish.php
<?php

//SMFChess Language File
//Chess.spanish.php

//Global
$txt['SMFChess_g'] = array(
'seconds' => 'segundos',
'minutes' => 'minutos',
'hours' => 'horas',
'day' => 'dia',
'days' => 'dias',
's' => 's',
'm' => 'm',
'h' => 'h',
'd' => 'd',
'loading' => 'cargando...',
);

//Labels
$txt['SMFChess_labels'] = array(
'board' => 'tablero',
'challenge' => 'desafio',
'mypage' => 'mi pagina',
'current' => 'actual',
'finished' => 'terminado',
'leaderboard' => 'tabla de posiciones',
'settings' => 'configuración',
'game' => 'partido',
'status' => 'estado',
'move' => 'movimiento',
'moves' => 'movimientos',
'turn' => 'turno',
'created' => 'creado',
'updated' => 'actualizado',
'winner' => 'ganador',
'finished' => 'terminado',
'setdefault' => '[seleccionar default]',
'preview' => 'previsualizar',
'rank' => 'Ranking#',
'name' => 'nombre',
'elo' => 'elo (grositud)',
'wins' => 'ganados',
'draws' => 'empatados',
'losses' => 'perdidos',
'opponent' => 'oponente',
'moveclock' => 'tiempo',
'result' => 'resultado',
'wdl' => 'G/E/P',
'w' => 'G',
'd' => 'E',
'l' => 'P',
'delete' => 'eliminar partido',
'won' => 'ganó',
'vs' => 'Vs',
'credits' => 'creditos',
'yours' => 'te toca!',
'cUser' => '[C]',
'findingusers' => 'buscando usuarios ...',
'forumdefault' => 'default',
'remind' => 'recordar',
'accept' => 'aceptar',
'reject' => 'rechazar',
'none' => 'ninguno',
'variation' => 'Variante'
);

$txt['SMFChess_javascript'] = array(
'delete' => 'estas seguro de querer eliminar?',
'yousure' => 'estas seguro?',
'reenable' => 'volver a habilitar',
'timeout_board' => 'partido terminado por inactividad.',
'timeout_chat' => 'chat del ajedrez terminado por inactividad.',
'promotion' => 'seleccionar promocion',
'wouldcastle' => 'te gustaria castillo?',
'yes' => 'si',
'no' => 'no',
'addmove' => 'eg:c2-c3, h7-h5',
);

$txt['SMFChess_Settings'] = array(
'settingstitle' => 'configuración personal',
'quickplay' => 'habilitar "partido rápido"',
'quickplay_i' => 'los movimientos son enviados rapidamente cuando sueltas la pieza',
'receivepm' => 'recibir avisos del Ajedrez por MPs',
'receivepm_i' => 'permitir que el Ajedrez te avise por MPs de los movimientos y desafios nuevos',
'boardcolours' => 'seleccionar color de fondo',
'boardcolours_i' => 'seleccionar colores de fondo',
'useforumdefaults' => 'usar default',
'lightsquare' => 'cuadros claros',
'darksquare' => 'cuadros oscuros',
'border' => 'borde',
'text' => 'borde texto',
'highlight' => 'destacar',
'chesspiece' => 'seleccionar pieza',
'chesspiece_i' => 'seleccionar piezas con las que te gustaria jugar',
'size' => 'seleccionar medidas del tablero',
'size_i' => 'seleccionar medidas del tablero.<br/>para personas con problemas visuales',
'effect' => 'elejir efecto',
'effect_i' => 'el efecto se usa cuando se mueve una pieza.',
);

$txt['SMFChess_sizes'] = array(
'10' => 'Large',
'20' => 'X-Large',
'30' => 'XX-Large',
'40' => 'XXX-Large',
);

$txt['SMFChess_effects'] = array(
'0' => 'ninguno',
'1' => 'destacado',
'2' => 'agitado',
'3' => 'pulso',
);

$txt['SMFChess_errors'] = array(
'noranked' => 'nadie en el ranking',
'is_not_guest' => 'solamente para usuarios registrados de foringa',
'nofinished' => 'partidos no finalizados',
'nocurrent' => 'sin partidos',
'reminder' => 'recordatorio enviado',
'challengecancel' => 'desafio cancelado',
'challengesuccess' => 'desafio enviado',
'challengeself' => 'no podes desafiarte a vos mismo',
'challengenouser' => 'usuario no encontrado .... buscar otro',
'quickmatchnotfound' => 'problema al intentar un "partido rápido", fijarse si existe',
'joinoneperday' => 'solamente %s por dia',
'quickmatchcreated' => 'partido rápido creado. se te avisará cuando aparezca un oponente',
'createoneperday' => 'solamente se puede crear %s pordia',
'nomatch' => 'no se encuentra',
);

$txt['SMFChess_control'] = array(
'moveexpired' => 'tu oponente aun no movió.',
'undo1' => '%s te pregunta si puede deshacer su último movimiento',
'undo2' => '%s petición de deshacer aun no respondida',
'notstarted1' => 'por favor, mover para empezar el partido',
'notstarted2' => 'el partido aun no ha empezado',
'draw1' => '%s quiere dar por empatado este partido',
'draw2' => '%s petición de empate aun no respondida',
'resign1' => '%s quiere dar por perdido este partido',
'resign2' => '%s petición de dar por perdido aun no respondida',
'unk' => 'desconocido',
'accept' => 'aceptar',
'reject' => 'rechazar',
'or' => 'o',
'click' => 'click',
'here' => 'aqui',
'acceptwin' => 'aceptar ser ganador',
);

$txt['SMFChess_status'] = array(
=> 'no empezado',
=> 'en progreso',
=> 'comprobar',
=> 'jaque mate',
=> 'estancado',
=> 'jaque mate*',
'UNK' => 'desconocido',
);

$txt['SMFChess_pm'] = array(
'challenge_sub' => 'querés jugar un partido de ajedrez?',
'QuickmatchJoined_sub' => 'desafio por un "partido rápido"',
'remind_sub' => 'recodatorio del Ajedrez!',
'remind_msg' => 'te recuerdo que tenemos un partido de Ajedrez que terminar.',
'followlink' => '

para mas info, seguir el siguiente link ...
'
,
);

$txt['SMFChess_MyPage'] = array(
'mystats' => 'mis estadisticas',
'myresults' => 'mis resultados',
'noresults' => 'no hay resultados',
'mymatches' => 'mis partidos',
'nocurrent' => 'no hay partidos',
'listall' => 'listar todo',
'news' => 'novedades',
'topplayers' => 'Jugadores Top',
);

$txt['SMFChess_Board'] = array(
'details' => 'detalles',
'flipboard' => 'girar tablero',
'infomove' => 'mover',
'infodragdrop' => 'arrastrar y soltar para mover pieza',
'buttonsend' => 'enviar',
'whitetitle' => 'blanca',
'blacktitle' => 'negra',
'castlequeen' => 'reina',
'castleking' => 'rey',
'cancastle' => 'castillo?',
'export' => 'exportar',
'gamestatus' => 'estado del partido',
'history' => 'historial',
'lastmove' => 'último movimiento',
'controlpanel' => 'panel de control',
'undo' => 'deshacer último movimiento',
'draw' => 'pedir empate',
'resign' => 'abandonar',
'adminpanel' => 'Admin Panel',
'addmove' => 'agregar movimiento',
'deletegame' => 'eliminar partido',
'clearchat' => 'limpiar chat',
'declarewin' => 'declarar ganador',
'request' => 'solicitar',
'chatbutton' => 'chat',
'chat_show' => 'mostrar chat',
'chat_all' => 'todo',
'chat_both' => 'ambos',
'chat_log' => 'chat log',
'chat_notepad' => 'bloc de notas',
'chat_save' => 'guardar',
'chat_send' => 'enviando...',
'captured' => 'capturado',
);

$txt['SMFChess_Challenge'] = array(
'request' => 'pedir un desafio',
'part1' => 'Parte 1',
'part2' => 'Parte 2',
'searchlabel' => 'escribe el nick del usuario a quien querés pedir un desafio',
'createquickmatch' => 'crear un "partido rápido" ',
'createquickmatch_i' => 'crear un "partido rápido"<br/>o elejir alguno',
'goback' => 'atras',
'tochallenge' => 'a',
'c_msg' => 'mensaje del desafio',
'c_msg_i' => 'enviar un mensaje junto con el desafio',
'c_msg_limit' => 'Max 100; caracteres restantes',
'moreinfo' => '[mas info]',
'c_moveclock_i' => 'jugar con limite de tiempo<br />si es menos de 1 hora, los 2 jugadores deben estar en linea para comenzar',
'joinquickmatch' => 'unirse al "partido rápido" ',
'clickjoin' => 'click para unirse',
'c_variation' => 'usar variantes',
'c_variation_i' => 'jugar al ajedrez con diferentes reglas',
'variant' => 'variante',
'cancel' => 'cancelar desafio',
);

$txt['SMFChess_moveclock'] = array(
'0' => 'sin temporizador',
'60' => '1 minuto',
'300' => '5 minutos',
'86400' => '1 dia',
'259200' => '3 dias',
);

$txt['SMFChess_variation'] = array(
'0' => 'clasico',
'1' => 'dark chess',
'2' => 'extinction',
'3' => 'chess960',
);

$txt['SMFChess_variation_i'] = array(
'0' => '',
'1' => 'Dark Chess is a devious and interesting variant of chess, in which the battlefield is covered by fog of war.<br />All of your opponent\'s pieces are invisible unless when threatened by one of your own.<br />The goal in Dark Chess is simply to capture the enemy king.<br /><br />There is no check or checkmate, so be sure to keep your king safe since he can be captured at any time.<br /><br /><a href=\"http://en.wikipedia.org/wiki/Dark_Chess\" target=\"_blank\">[Wikipedia]</a>',
'2' => 'In Extinction, players have to capture all of their opponent\'s pieces of one particular type.<br />Losing your King, Queen, both Rooks, Both Bishops, Both Knights or all eight pawns will result in defeat.<br />Check and checkmate do not apply.<br />The King can be captured at any time.<br /><br /><a href=\"http://en.wikipedia.org/wiki/Extinction_chess\" target=\"_blank\">[Wikipedia]</a>',
'3' => 'Chess960, or Fischer Random Chess is a chess variant where their are 960 different initial chess positions avaliable.<br /><br /><a href=\"http://en.wikipedia.org/wiki/Chess960\" target=\"blank\">[Wikipedia]</a>',
);

$txt['SMFChess_variation_w'] = array(
'0' => '',
'1' => 'Due to variant "Dark Chess"; Export, Move History and Chat log have partially disabled till end of game',
'2' => '',
'3' => '',
);
?>





ChessXml.spanish.php

<?php

//SMFChessXml Language File
//ChessXml.spanish.php

$txt['SMFChessXml'] = array(
'turnheader_w' => 'ganadorr',
'turnheader_t' => 'turno',
'boarddeleted' => 'tablero borrado',
'chatcleared' => 'chat limpiado',
'vs' => 'Vs',
'coloursuggest' => 'click para sugerencia',
'yours' => 'Yours',
'elo' => 'elo (grositud)',
'close' => '[cerrado]',
'notfound' => 'no existe',
);

$txt['SMFChess_status'] = array(
=> 'sin empezar',
=> 'en progreso',
=> 'comprobar',
=> 'jaque mate',
=> 'pausado',
=> 'jaque mate*',
'UNK' => 'desconocido',
);

$txt['SMFChess_control'] = array(
'moveexpired' => 'error en el movimiento de tu oponente.',
'undo1' => '%s te pregunta si puede deshacer su último movimiento',
'undo2' => '%s no ha respondido a la solicitud de deshacer',
'notstarted1' => 'por favor, hacé tu movimiento para que el partido comience',
'notstarted2' => 'el partido no ha comenzado aun',
'draw1' => '%s quiere dar por empatado este partido',
'draw2' => '%s no ha respondido al pedido de empate',
'resign1' => '%s quiere abandonar este partido',
'resign2' => '%s no ha respondido al pedido de abandono',
'unk' => 'desconocido',
'accept' => 'aceptar',
'reject' => 'rechazar',
'or' => 'o',
'yousure' => 'estás seguro?',
'click' => 'click',
'here' => 'aqui',
'acceptwin' => 'para aceptar ganar',
);

$txt['SMFChess_pm'] = array(
'move_sub' => 'te toca jugar!',
'move_msg' => 'ya hice mi movimiento del ajedrez.',
'admin_move_sub' => 'ya moví en nuestro partido de ajedrez',
'admin_move_msg' => 'como admin, me obligaron a participar en tu partido.',
'undo_sub' => 'solicitud de deshacer',
'undo_msg' => 'quiero deshacer mi último movimiento.',
'draw_sub' => 'solicitud de empate',
'draw_msg' => 'pido un empate.',
'resign_sub' => 'renuncio a nuestro partido de ajedrez',
'resign_msg' => 'acabo de renunciar a nuestro pasrtido.',
'followlink' => '

para mas info, seguir el siguiente link ..
'
,
);

$txt['SMFChessXml_errors'] = array(
'nousers' => 'usuarios no encontrados',
'notfound' => 'no encontrado',
'illegalmove' => ' movimiento no permitido',
'notyourmove' => 'no es tu movimiento',
'noaccess' => 'no tenés acceso a algunos comandos',
'failed' => 'error',
'bothplayers' => 'no se puede comenzar hasta que tu oponente esté en linea y viendo el tablero',
);

$txt['SMFChessXml_log'] = array(
'stalemate' => 'partido finalizado por estancamiento',
'checkmate' => 'partido finalizado por jaque mate : %s es el ganador',
'moved' => '%s ha movido : %s',
'undo_r' => 'deshacer pedido de %s',
'undo_a' => 'deshacer aceptado! : turno de %s ',
'undo_f' => 'no deshacer!, es tu turno',
'draw_r' => 'pedido de empate por %s',
'resign' => 'partido finalizado por abandono : %s es el ganador',
'timeout' => 'partido finalizado por Timeout : %s es el ganador',
'a_moveadd' => 'Admin %s : Move added : %s',
'a_checkmate' => 'Admin %s : partido finalizado por jaque mate : %s es el ganador',
'a_stalemate' => 'Admin %s : partido finalizado por estancamiento',
);

$txt['SMFChessChat'] = array(
'disabled' => 'chat de ajedrez deshabilitado.',
'reenable' => 'habilitar',
'nothingsaid' => 'sin mensajes',
);

?>

psynx

hello,

this is really such a great mod! but i have some suggestions.

i have smf shop mod and this chess mod in my forum, could you make it possible that if someone win a challenge, he/she gains credits too? or a players can put a bet on their game using his/her credits?



quiz_modder

I have the beta of this installed on SMF 2b4. The leaderboard doesn't seem to be working and when I tried to force it to recreate I ended up with a blank leaderboard. Any updates to the beta yet?

Thanks

psynx

hello,

i hope someone can help me. just a few suggestion.

is there a way we can stop the "Your Move" Private Message sent to a player when he/she is online? because i have active players in my forum complaining if they can get rid of this Private Message? i mean the 'your move' private msg be only sent to players who are not online.

pucola001

please help me i have a problem!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

when i wanth to play chess on my forum
http://euroblic.info/forumi/index.php?action=chess;id=308 [nofollow]

i have a problem with entering in the game i see this
Method Not Implemented

GET to /forum/index.php not supported.


and i dontknow what is that meen
http://euroblic.info [nofollow]
http://amknitro.com [nofollow]
http://vip-host.org [nofollow]
http://upoznajme.net [nofollow]
http:IIvipcro.net

pucola001

please help me i have a problem
http://euroblic.info [nofollow]
http://amknitro.com [nofollow]
http://vip-host.org [nofollow]
http://upoznajme.net [nofollow]
http:IIvipcro.net

Sabre™

Hi pucola001,
There is no need to enlarge your text like in your previous post, as noone here is blind. :)
Some may take it the wrong way, and think that you think your problem is more needing than the other few hundred that post here everyday.
Someone that knows how to assist you, may do so if they choose.
Until then, it would help if you read [THIS], and follow its simple instructions.

Good luck :)


Quote from: psynx on November 24, 2008, 03:40:01 AMi have smf shop mod and this chess mod in my forum, could you make it possible that if someone win a challenge, he/she gains credits too? or a players can put a bet on their game using his/her credits?

I like that idea too psynx.
When feeble has time to offer once again, then be sure to bring it back up :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


BipSmith

I LOVE THE NEW CHESS FOR BETA 4! Thank you!

quiz_modder

Quote from: BipSmith on December 27, 2008, 06:02:37 PM
I LOVE THE NEW CHESS FOR BETA 4! Thank you!

Does the leaderboard work on yours? Mine doesn't work.

thekid65

#374
Quote from: m4tthall on November 25, 2008, 06:42:47 PM
I have the beta of this installed on SMF 2b4. The leaderboard doesn't seem to be working and when I tried to force it to recreate I ended up with a blank leaderboard. Any updates to the beta yet?

Thanks




Same problem here, as far as I know, no new updates. Edit: Actually, my leaderboard works OK for some members, but not all. I cant pinpoint why.

Quote from: psynx on November 26, 2008, 04:01:55 AM
hello,

i hope someone can help me. just a few suggestion.

is there a way we can stop the "Your Move" Private Message sent to a player when he/she is online? because i have active players in my forum complaining if they can get rid of this Private Message? i mean the 'your move' private msg be only sent to players who are not online.

Ticking the box in chess preferences to not send pm's didnt work for me either (I assume you've tried that) so what I did was to make a "rule" in my pm preferences to automatically delete messages with "your move" in the subject line. Problem solved. It got quite annoying when I had 4-5 games going on at once, and couldnt stop those pm's.

hofdiggity

Hats off to Feeble on such a great addition to a web community.  We, hxxp:ss-hof.com [nonactive], are also running the demo on beta 4.  It is a big hit in our community.  Though you will not see many matches played, it is because we recently upgraded from scratch to 2.0 beta 4.

Though not a big deal, our leaderboard is not working as well.

Awesome job on a fine product!

BipSmith

Quote from: m4tthall on December 27, 2008, 06:57:14 PM
Quote from: BipSmith on December 27, 2008, 06:02:37 PM
I LOVE THE NEW CHESS FOR BETA 4! Thank you!

Does the leaderboard work on yours? Mine doesn't work.

Mine works. I upgraded my forum, installed the new chess, and it worked with my old database.

HellBent

Hi,

I installed this on our forum many months ago and it works absolutely fine. However, one day, the challenge feature just stopped working.

I have since installed the new package on two freshly installed forums and have the same problem.

The challenge feature doesn't work on those forums either.

Has anyone found a fix for this particular problem?

ctl_dog

Quote from: Godsongz on October 09, 2008, 06:35:10 PM
Quote from: thekid65 on October 09, 2008, 06:18:22 PMDoes the version for 2.0 exist yet?

It's a few pages back in this thread...  here, check this post...
http://www.simplemachines.org/community/index.php?topic=225742.msg1728146#msg1728146

Thanks!!!! I hadn't found it, this was a real time saver. Install had one "test failed" line in subs.php, I just added it manually and it seems to be working.

edi67

everything work ok in my smf 2 beta 4 but GAME when i try to make my move remain always LOADING.

Some solution ?
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Advertisement: