首页 > 其他分享 >asd

asd

时间:2023-05-27 10:12:00浏览次数:26  
标签:cn mc int asd include con

#include <iostream>
#include <string>
#include <Windows.h>
#include "minecraft.h"
using namespace std;
TxMinecraft mc;
int main(int argc, char** argv) {
    
    bool con = mc.ConnectMinecraft("zk.makeblock.net.cn","2839fa7ac28b4f7d8952cc46c1f179ec");
    if(!con){
        cout<<"连接失败";
    }
    
    string lb[180];
    string x,y,z,id,data;
    lb[0]="6,0,0,251,7";
    lb[1]="7,0,0,251,7";
    lb[2]="8,0,0,251,7";
    lb[3]="8,0,0,251,7";
    lb[4]="9,0,0,251,7";
    lb[5]="10,0,0,251,7";
    lb[6]="11,0,0,251,7";
    lb[7]="12,0,0,251,7";
    lb[8]="13,0,0,251,7";
    lb[9]="14,0,0,251,7";
    lb[10]="15,0,0,251,7";
    lb[11]="16,0,0,251,7";
    lb[12]="17,0,0,251,7";
    lb[13]="18,0,0,251,7";
    lb[14]="18,1,0,251,7";
    lb[15]="10,1,0,251,7";
    lb[16]="6,1,0,251,7";
    lb[17]="7,2,0,251,7";
    lb[18]="8,2,0,251,7";
    lb[19]="11,2,0,251,7";
    lb[20]="12,2,0,251,7";
    lb[21]="17,2,0,251,7";
    lb[22]="8,2,0,251,7";
    lb[23]="9,3,0,251,7";
    lb[24]="10,3,0,251,7";
    lb[25]="15,3,0,251,7";
    lb[26]="16,3,0,251,7";
    lb[27]="11,4,0,251,7";
    lb[28]="15,4,0,251,7";
    lb[29]="17,4,0,251,7";
    lb[30]="18,4,0,251,7";
    lb[31]="19,4,0,251,7";
    lb[32]="11,5,0,251,7";
    lb[33]="15,5,0,251,7";
    lb[34]="16,5,0,251,7";
    lb[35]="19,5,0,251,7";
    lb[36]="20,5,0,251,7";
    lb[37]="10,6,0,251,7";
    lb[38]="16,6,0,251,7";
    lb[39]="17,6,0,251,7";
    lb[40]="18,6,0,251,7";
    lb[41]="9,7,0,251,7";
    lb[42]="17,7,0,251,7";
    lb[43]="9,8,0,251,7";
    lb[44]="17,8,0,251,7";
    lb[45]="9,9,0,251,7";
    lb[46]="17,9,0,251,7";
    lb[47]="9,10,0,251,7";
    lb[48]="17,10,0,251,7";
    lb[49]="9,11,0,251,7";
    lb[50]="10,11,0,251,7";
    lb[51]="11,11,0,251,7";
    lb[52]="16,11,0,251,7";
    lb[53]="7,12,0,251,7";
    lb[54]="8,12,0,251,7";
    lb[55]="16,12,0,251,7";
    lb[56]="3,13,0,251,7";
    lb[57]="5,13,0,251,7";
    lb[58]="6,13,0,251,7";
    lb[59]="7,13,0,251,7";
    lb[60]="15,13,0,251,7";
    lb[61]="1,14,0,251,7";
    lb[62]="2,14,0,251,7";
    lb[63]="3,14,0,251,14";
    lb[64]="4,14,0,251,7";
    lb[64]="5,14,0,251,7";
    lb[65]="10,14,0,251,7";
    lb[66]="11,14,0,251,7";
    lb[67]="15,14,0,251,14";
    lb[68]="16,14,0,251,14";
    lb[69]="20,14,0,251,14";
    lb[70]="21,14,0,251,14";
    lb[71]="22,14,0,251,14";
    lb[72]="23,14,0,251,14";
    lb[73]="1,15,0,251,7";
    lb[74]="2,15,0,251,14";
    lb[75]="3,15,0,251,14";
    lb[76]="4,15,0,251,14";
    lb[77]="5,15,0,251,7";
    lb[78]="8,15,0,251,7";
    lb[79]="9,15,0,251,7";
    lb[80]="12,15,0,251,7";
    lb[81]="13,15,0,251,14";
    lb[82]="14,15,0,251,14";
    lb[83]="16,15,0,251,7";
    lb[84]="4,15,0,251,7";
    lb[85]="19,15,0,251,7";
    lb[86]="24,15,0,251,7";
    lb[87]="0,16,0,251,7";
    lb[88]="1,16,0,251,14";
    lb[89]="2,16,0,251,14";
    lb[90]="3,16,0,251,14";
    lb[91]="4,16,0,251,14";
    lb[92]="5,16,0,251,14";
    lb[93]="6,16,0,251,7";
    lb[94]="7,16,0,251,7";
    lb[95]="13,16,0,251,7";
    lb[96]="17,16,0,251,7";
    lb[97]="18,16,0,251,7";
    lb[98]="19,16,0,251,7";
    lb[99]="21,16,0,251,7";
    lb[100]="22,16,0,251,7";
    lb[101]="24,16,0,251,7";
    lb[102]="0,17,0,251,7";
    lb[103]="1,17,0,251,14";
    lb[104]="2,17,0,251,14";
    lb[105]="3,17,0,251,7";
    lb[106]="4,17,0,251,14";
    lb[107]="5,17,0,251,14";
    lb[108]="6,17,0,251,7";
    lb[109]="10,17,0,251,7";
    lb[110]="11,17,0,251,7";
    lb[111]="12,17,0,251,7";
    lb[112]="13,17,0,251,7";
    lb[113]="14,17,0,251,7";
    lb[114]="20,17,0,251,7";
    lb[115]="21,17,0,251,7";
    lb[116]="22,17,0,251,7";
    lb[117]="25,17,0,251,7";
    lb[118]="1,18,0,251,7";
    lb[119]="2,18,0,251,7";
    lb[120]="4,18,0,251,7";
    lb[121]="5,18,0,251,7";
    lb[122]="8,18,0,251,7";
    lb[123]="9,18,0,251,7";
    lb[124]="15,18,0,251,7";
    lb[125]="20,18,0,251,7";
    lb[126]="22,18,0,251,7";
    lb[127]="23,18,0,251,7";
    lb[128]="25,18,0,251,7";
    lb[129]="6,19,0,251,7";
    lb[130]="16,18,0,251,7";
    lb[131]="20,18,0,251,7";
    lb[132]="22,18,0,251,7";
    lb[133]="23,18,0,251,7";
    lb[134]="25,18,0,251,7";
    lb[135]="7,19,0,251,7";
    lb[136]="16,19,0,251,7";
    lb[137]="20,19,0,251,7";
    lb[138]="21,19,0,251,7";
    lb[139]="23,19,0,251,7";
    lb[140]="25,19,0,251,7";
    lb[141]="6,20,0,251,7";
    lb[142]="21,20,0,251,7";
    lb[143]="22,20,0,251,7";
    lb[144]="23,20,0,251,7";
    lb[145]="25,20,0,251,7";
    lb[146]="5,21,0,251,7";
    lb[147]="23,21,0,251,7";
    lb[148]="25,21,0,251,7";
    lb[149]="5,22,0,251,7";
    lb[150]="25,22,0,251,7";
    lb[151]="4,23,0,251,7";
    lb[152]="5,23,0,251,7";
    lb[153]="14,23,0,251,7";
    lb[154]="24,23,0,251,7";
    lb[155]="3,24,0,251,7";
    lb[156]="5,24,0,251,7";
    lb[157]="14,24,0,251,7";
    lb[158]="24,24,0,251,7";
    lb[159]="3,25,0,251,7";
    lb[160]="5,25,0,251,7";
    lb[161]="24,25,0,251,7";
    lb[162]="6,26,0,251,7";
    lb[163]="7,26,0,251,7";
    lb[164]="23,26,0,251,7";
    lb[165]="9,27,0,251,7";
    lb[166]="10,27,0,251,7";
    lb[167]="11,27,0,251,7";
    lb[168]="12,27,0,251,7";
    lb[169]="13,27,0,251,7";
    lb[170]="22,27,0,251,7";
    lb[171]="23,27,0,251,7";
    lb[172]="15,26,0,251,7";
    lb[173]="16,26,0,251,7";
    lb[174]="17,26,0,251,7";
    lb[175]="18,26,0,251,7";
    lb[176]="19,26,0,251,7";
    lb[177]="20,26,0,251,7";
    lb[178]="21,26,0,251,7";
    lb[179]="22,26,0,251,7";
    for(int i=0;i<180;i++){
        cout<<i;
        //cout<<lb[i];
        x=lb[i].substr(0,lb[i].find(","));
        
        lb[i]=lb[i].substr(lb[i].find(",")+1);
        y=lb[i].substr(0,lb[i].find(","));
        
        lb[i]=lb[i].substr(lb[i].find(",")+1);
        z=lb[i].substr(0,lb[i].find(","));
        
        lb[i]=lb[i].substr(lb[i].find(",")+1);
        id=lb[i].substr(0,lb[i].find(","));
        
        lb[i]=lb[i].substr(lb[i].find(",")+1);
        data=lb[i].substr(0,lb[i].find(","));
        mc.setBlock(stoi(x),stoi(y),stoi(z),stoi(id),stoi(data));
        cout<<"over"<<endl;
    }
    
    return 0;
}

 

标签:cn,mc,int,asd,include,con
From: https://www.cnblogs.com/w6826301/p/17436329.html

相关文章

  • 昆仑通态MCGS与台达伺服ASD-B2 通讯控制案例功能:通过昆仑通态MCGS触摸屏实现与台达AS
    昆仑通态MCGS与台达伺服ASD-B2通讯控制案例功能:通过昆仑通态MCGS触摸屏实现与台达ASDB2通讯控制,全通讯控制台达B2驱动器速度设置,速度选择,速度启动,带扭矩限制速度控制,扭矩限制通讯设置。配件:昆仑通态MCGS触摸屏,台达ASDB2伺服驱动器+伺服电机。CN1接线端子,CN3伺服驱动器通讯接......
  • 关于报错:Error adding module to project: setSdk: sdk '1.8' type 'JavaSDK' is not
    问题描述:Erroraddingmoduletoproject:setSdk:sdk'1.8'type'JavaSDK'isnotregisteredinProjectJdkTable(图片来自贴吧,看到有一个人问这个问题,然后自己碰到了但是忘了截图)说明当前项目在“ProjectJdkTable”里面是没有配置sdk1.8的。百度翻译过来就是:未在Project......
  • 昆仑通态MCGS与台达伺服ASD-B2 通讯控制案例
    昆仑通态MCGS与台达伺服ASD-B2 通讯控制案例功能:通过昆仑通态MCGS触摸屏实现与台达ASDB2通讯控制,全通讯控制台达B2驱动器速度设置,速度选择,速度启动,带扭矩限制速度控制,扭矩限制通讯设置。配件:昆仑通态MCGS触摸屏,台达ASDB2伺服驱动器+伺服电机。CN1接线端子,CN3伺服驱动器通讯......
  • ' asdf-vm ' 多版本管理器 Linux Mint安装
    前言asdf是一个工具版本管理器。所有的工具版本定义都包含在一个文件(.tool-versions)中,你可以将配置文件放在项目的Git存储库中以便于和团队其他成员共享,从而确保每个人......
  • asdasda
    为了不引入复杂性,在Windows系统上使用VisualStudio2017开始ffmpeg的学习,VisualStudio可以根据自己实际情况来选择。在ffmpeg的学习过程中会遇到很多的图像,有的时候也......
  • WinUI(WASDK)使用MediaPipe检查手部关键点并通过ML.NET进行手势分类
    前言之所以会搞这个手势识别分类,其实是为了满足之前群友提的需求,就是针对稚晖君的ElectronBot机器人的上位机软件的功能丰富,因为本来擅长的技术栈都是.NET,也刚好试试全能......
  • asda
          ......
  • [Vue warn]: Error in v-on handler: "TypeError: Failed to execute 'readAsDataURL'
    今天在使用Vue进行文件上传的代码编写时,发现报错:[Vuewarn]:Errorinv-onhandler:"TypeError:Failedtoexecute'readAsDataURL'on'FileReader':parameter1is......
  • sadadasda
    你好啊目录基础知识寄存器>内存中字的存储>DS和[address]>movaddsub指令>数据段>栈第一个程序>一个源程序从写出到执行的过程>源程序>编辑源程序>编译>连接>以简化的......
  • sadasd
    packagecom.example.wms;importandroid.content.Context;importandroid.view.LayoutInflater;importandroid.view.View;importandroid.view.ViewGroup;importa......