#include "lrs.h"
#include "parm.h"
Action()
{
char * buf10;
char * buf11;
char * buf135;
char test[500]="";
int n=0;
/***************************************开始游戏********************************************************/
lr_start_transaction("游戏准备");
lr_think_time(3);
lrs_create_socket("socket11", "TCP", "RemoteHost=服务器地址", LrsLastArg);//黑方
lr_think_time(3);
lrs_create_socket("socket12", "TCP", "RemoteHost=服务器地址", LrsLastArg);//白方
lr_think_time(3);
sprintf(test,"{\"session_id\":\"%s\",\"match_id\":\"%s\",\"play_w"
"ith_user_id\":\"%s\",\"user_id\":\"%s\",\"shape\""
":\"3\",\"is_black\":\"1\",\"think_time\":\"40\",\"type\":\"in\",\"quiteTim"
"e\":\"200\",\"mode\":\"0\"}",lr_eval_string("<session_id>"),lr_eval_string("<match_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"));
lr_output_message("%s",test);
n = strlen(test);
lr_save_int(n,"N6");
lrs_send("socket11", "buf6", LrsLastArg);//发起人进入准备阶段
lr_think_time(3);
sprintf(test,"{\"body\":{\"type\":\"wait\",\"play_with_user_id\":\"%s\",\"user_id\""
":\"%s\",\"is_black\":\"1\"},\"match_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_output_message("%s",test);
lr_save_int(n,"N7");
lrs_send("socket11", "buf7", LrsLastArg);
lr_think_time(3);
sprintf(test,"{\"session_id\":\"%s\",\"match_id\":\"%s\",\"play_w"
"ith_user_id\":\"%s\",\"user_id\":\"%s\",\"shape\""
":\"3\",\"is_black\":\"0\",\"think_time\":\"40\",\"type\":\"in\",\"quiteTim"
"e\":\"200\",\"mode\":\"0\"}",lr_eval_string("<session_id>"),lr_eval_string("<match_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"));
n = strlen(test);
lr_output_message("%s",test);
lr_save_int(n,"N8");
lrs_send("socket12", "buf8", LrsLastArg);//邀请方接受
lr_think_time(3);
lrs_receive("socket12", "buf135", LrsLastArg);//
buf135=lrs_get_received_buffer("socket12",0, -1, NULL);//获取抓到buf10
lrs_save_searched_string("socket12", LRS_LAST_RECEIVED, "in", "LB/BIN=type\":\"", "RB/BIN=\",\"", 1,0, -1);
result5=strcmp(lr_eval_string("<in>"),"in");//判断ready
lr_output_message("%d",result5);
lr_output_message("%s",lr_eval_string("<in>"));
if(result5 !=0 )
{
lr_error_message("抓到的type信息是:%s",lr_eval_string("<in>"));
lr_error_message("buf135的错误信息是:%s",buf135);
//lr_output_message("%s",buf135);
}
lrs_set_socket_options("socket12",LRS_NO_DELAY,"TRUE");
sprintf(test,"{\"body\":{\"type\":\"wait\",\"play_with_user_id\":\"%s\",\"user_id\""
":\"%s\",\"is_black\":\"0\"},\"match_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N9");
lrs_send("socket12", "buf9", LrsLastArg);//邀请方接受
lr_think_time(3);
lrs_receive("socket12", "buf10", LrsLastArg);//返回信息
buf10=lrs_get_received_buffer("socket12",0, -1, NULL);//获取抓到buf10
lrs_save_searched_string("socket12", LRS_LAST_RECEIVED, "ready", "LB/BIN=type\":\"", "RB/BIN=\",\"", 1,0, -1);
result3=strcmp(lr_eval_string("<ready>"),"ready");//判断ready
//lr_output_message("%d",result3);
if(result3 != 0)
{
lr_error_message("抓到的ready信息是:%s",lr_eval_string("<ready>"));
lr_error_message("buf10的错误信息是:%s",buf10);
//lr_abort();
//lr_output_message("%s",buf10);
}
/*while(result3!=0)
{
lrs_receive("socket12", "buf10", LrsLastArg);//返回信息
lrs_save_searched_string("socket12", LRS_LAST_RECEIVED, "ready", "LB/BIN=type\":\"", "RB/BIN=\",\"", 1,0, -1);
lr_error_message("收不到ready的match_id是:%s",lr_eval_string("<>"));
fwrite(lr_eval_string("<>"),strlen(lr_eval_string("<>")),1,filedes);
fwrite("\r\n",2,1,filedes);
}
*/
lrs_receive("socket11", "buf11", LrsLastArg);
buf11=lrs_get_received_buffer("socket11",0, -1, NULL);//获取抓到buf10
lrs_save_searched_string("socket11", LRS_LAST_RECEIVED, "ready", "LB/BIN=type\":\"", "RB/BIN=\",\"", 1,0, -1);
result4=strcmp(lr_eval_string("<ready>"),"ready");//判断ready
if(result4 != 0)
{
lr_error_message("buf11的错误信息是:%s",buf11);
lr_output_message("%s",buf11);
}
lr_end_transaction("游戏准备", LR_AUTO);
/************************************双方都进入ready状态******************************************************/
lr_start_transaction("开始下棋");
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"1\",\"y\":\"2\",\"x\":\"3\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N12");
lrs_send("socket11", "buf12", LrsLastArg);// 邀请方开始下棋
lr_think_time(3);
lrs_receive("socket12", "buf13", LrsLastArg);//被邀请方更新棋盘
lr_think_time(3);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"1\",\"y\":\"2\",\"x\":\"4\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N14");
lrs_send("socket12", "buf14", LrsLastArg);//被邀请方下棋
lr_think_time(3);
lrs_receive("socket11", "buf15", LrsLastArg);//邀请方更新棋盘
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"2\",\"y\":\"2\",\"x\":\"5\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N16");
lrs_send("socket11", "buf16", LrsLastArg);//邀请方下棋
lr_think_time(3);
lrs_receive("socket12", "buf17", LrsLastArg); //被邀请方收到棋盘信息
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"2\",\"y\":\"1\",\"x\":\"4\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N18");
lrs_send("socket12", "buf18", LrsLastArg);//被邀请方下棋
lr_think_time(3);
lrs_receive("socket11", "buf19", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"3\",\"y\":\"1\",\"x\":\"5\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N20");
lrs_send("socket11", "buf20", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf21", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"3\",\"y\":\"3\",\"x\":\"2\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N22");
lrs_send("socket12", "buf22", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf23", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"4\",\"y\":\"1\",\"x\":\"3\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N24");
lrs_send("socket11", "buf24", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf25", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"4\",\"y\":\"0\",\"x\":\"4\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N26");
lrs_send("socket12", "buf26", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf27", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"5\",\"y\":\"4\",\"x\":\"5\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N28");
lrs_send("socket11", "buf28", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf29", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"5\",\"y\":\"3\",\"x\":\"5\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n= strlen(test);
lr_save_int(n,"N30");
lrs_send("socket12", "buf30", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf31", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"6\",\"y\":\"2\",\"x\":\"2\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N32");
lrs_send("socket11", "buf32", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf33", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"6\",\"y\":\"1\",\"x\":\"2\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N34");
lrs_send("socket12", "buf34", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf35", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"7\",\"y\":\"0\",\"x\":\"3\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N36");
lrs_send("socket11", "buf36", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf37", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"7\",\"y\":\"1\",\"x\":\"6\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N38");
lrs_send("socket12", "buf38", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf39", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"8\",\"y\":\"0\",\"x\":\"5\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N40");
lrs_send("socket11", "buf40", LrsLastArg);
lr_think_time(3);
/******************************************************************************************************************************************/
lrs_receive("socket12", "buf41", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"8\",\"y\":\"3\",\"x\":\"6\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N42");
lrs_send("socket12", "buf42", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf43", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"9\",\"y\":\"3\",\"x\":\"7\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N44");
lrs_send("socket11", "buf44", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf45", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"9\",\"y\":\"5\",\"x\":\"4\"},\"client_id\":\"An"
"droid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"mat"
"ch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N46");
lrs_send("socket12", "buf46", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf47", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"10\",\"y\":\"6\",\"x\":\"4\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N48");
lrs_send("socket11", "buf48", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf49", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"10\",\"y\":\"4\",\"x\":\"6\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N50");
lrs_send("socket12", "buf50", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf51", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"11\",\"y\":\"5\",\"x\":\"5\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N52");
lrs_send("socket11", "buf52", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf53", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"11\",\"y\":\"4\",\"x\":\"7\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N54");
lrs_send("socket12", "buf54", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf55", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"12\",\"y\":\"3\",\"x\":\"1\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N56");
lrs_send("socket11", "buf56", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf57", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"12\",\"y\":\"6\",\"x\":\"5\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N58");
lrs_send("socket12", "buf58", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf59", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"13\",\"y\":\"7\",\"x\":\"5\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N60");
lrs_send("socket11", "buf60", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf61", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"13\",\"y\":\"7\",\"x\":\"4\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N62");
lrs_send("socket12", "buf62", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf63", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"14\",\"y\":\"5\",\"x\":\"3\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N64");
lrs_send("socket11", "buf64", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf65", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"14\",\"y\":\"2\",\"x\":\"6\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N66");
lrs_send("socket12", "buf66", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf67", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"15\",\"y\":\"2\",\"x\":\"7\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N68");
lrs_send("socket11", "buf68", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf69", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"15\",\"y\":\"0\",\"x\":\"6\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N70");
lrs_send("socket12", "buf70", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf71", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"16\",\"y\":\"0\",\"x\":\"2\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N72");
lrs_send("socket11", "buf72", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf73", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"16\",\"y\":\"1\",\"x\":\"1\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N74");
lrs_send("socket12", "buf74", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf75", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"17\",\"y\":\"7\",\"x\":\"3\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N76");
lrs_send("socket11", "buf76", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf77", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"17\",\"y\":\"4\",\"x\":\"2\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N78");
lrs_send("socket12", "buf78", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf79", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"18\",\"y\":\"5\",\"x\":\"2\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N80");
lrs_send("socket11", "buf80", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf81", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"18\",\"y\":\"4\",\"x\":\"1\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N82");
lrs_send("socket12", "buf82", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf83", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"19\",\"y\":\"5\",\"x\":\"6\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N84");
lrs_send("socket11", "buf84", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf85", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"19\",\"y\":\"4\",\"x\":\"0\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n= strlen(test);
lr_save_int(n,"N86");
lrs_send("socket12", "buf86", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf87", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"20\",\"y\":\"2\",\"x\":\"1\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N88");
lrs_send("socket11", "buf88", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf89", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"20\",\"y\":\"6\",\"x\":\"3\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N90");
lrs_send("socket12", "buf90", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf91", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"21\",\"y\":\"5\",\"x\":\"1\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N92");
lrs_send("socket11", "buf92", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf93", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"21\",\"y\":\"6\",\"x\":\"6\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N94");
lrs_send("socket12", "buf94", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf95", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"22\",\"y\":\"5\",\"x\":\"7\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N96");
lrs_send("socket11", "buf96", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf97", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"22\",\"y\":\"6\",\"x\":\"7\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N98");
lrs_send("socket12", "buf98", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf99", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"23\",\"y\":\"7\",\"x\":\"7\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N100");
lrs_send("socket11", "buf100", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf101", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"23\",\"y\":\"7\",\"x\":\"6\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N102");
lrs_send("socket12", "buf102", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf103", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"24\",\"y\":\"1\",\"x\":\"7\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N104");
lrs_send("socket11", "buf104", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf105", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"24\",\"y\":\"5\",\"x\":\"0\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N106");
lrs_send("socket12", "buf106", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf107", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"25\",\"y\":\"6\",\"x\":\"2\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N108");
lrs_send("socket11", "buf108", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf109", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"25\",\"y\":\"7\",\"x\":\"2\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N110");
lrs_send("socket12", "buf110", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf111", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"26\",\"y\":\"6\",\"x\":\"1\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N112");
lrs_send("socket11", "buf112", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf113", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"26\",\"y\":\"6\",\"x\":\"0\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N114");
lrs_send("socket12", "buf114", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf115", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"27\",\"y\":\"7\",\"x\":\"1\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n= strlen(test);
lr_save_int(n,"N116");
lrs_send("socket11", "buf116", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf117", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"27\",\"y\":\"3\",\"x\":\"0\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N118");
lrs_send("socket12", "buf118", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf119", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"28\",\"y\":\"2\",\"x\":\"0\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n= strlen(test);
lr_save_int(n,"N120");
lrs_send("socket11", "buf120", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf121", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"28\",\"y\":\"1\",\"x\":\"0\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N122");
lrs_send("socket12", "buf122", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf123", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"29\",\"y\":\"0\",\"x\":\"0\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n= strlen(test);
lr_save_int(n,"N124");
lrs_send("socket11", "buf124", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf125", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"29\",\"y\":\"0\",\"x\":\"1\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N126");
lrs_send("socket12", "buf126", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf127", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"1\",\"step\":\"30\",\"y\":\"7\",\"x\":\"0\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n= strlen(test);
lr_save_int(n,"N128");
lrs_send("socket11", "buf128", LrsLastArg);
lr_think_time(3);
lrs_receive("socket12", "buf129", LrsLastArg);
sprintf(test,"{\"body\":{\"play_with_user_id\":\"%s\",\"user_id\":\"%s\",\"i"
"s_black\":\"0\",\"step\":\"30\",\"y\":\"0\",\"x\":\"7\"},\"client_id\":\"A"
"ndroid_SNClient\",\"type\":\"playing\",\"sequence_id\":\"1000001111\",\"ma"
"tch_id\":\"%s\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N130");
lrs_send("socket12", "buf130", LrsLastArg);
lr_think_time(3);
lrs_receive("socket11", "buf131", LrsLastArg);
lrs_receive("socket12", "buf133", LrsLastArg);
sprintf(test,"{\"play_with_user_id\":\"<receive_user_id>\",\"type\":\"quit\",\"user_id\":\"<send_user_id>\",\"match_id\":\"<match_id>\"}",lr_eval_string("<receive_user_id>"),lr_eval_string("<send_user_id>"),lr_eval_string("<match_id>"));
n= strlen(test);
lr_save_int(n,"N132");
lrs_send("socket11", "buf132", LrsLastArg);
lr_think_time(3);
sprintf(test,"{\"play_with_user_id\":\"<send_user_id>\",\"type\":\"quit\",\"user_id\":\"<receive_user_id>\",\"match_id\":\"<match_id>\"}",lr_eval_string("<send_user_id>"),lr_eval_string("<receive_user_id>"),lr_eval_string("<match_id>"));
n = strlen(test);
lr_save_int(n,"N134");
lrs_send("socket12", "buf134", LrsLastArg);
lrs_close_socket("socket11");
lrs_close_socket("socket12");
lr_end_transaction("开始下棋", LR_AUTO);
/***********************************************************************************************/
return 0;
}