当前位置:网站首页>[wax chain tour] release a free and open source alien worlds script TLM
[wax chain tour] release a free and open source alien worlds script TLM
2022-06-12 07:08:00 【encoderlee】
Alien Worlds Introduce
Alien Worlds By Dacoco GmbH An exploration and acquisition game developed by the company .
Players can own land in it , Use tools and weapons , Custom avatar , Have scarce NFT And slaves for battle .
Trilium(TLM) It is the original token of the game , This is a simultaneous support Wax and Ethereum Cryptocurrency of blockchain . In the game , Players can mine to get TLM, And you can put TLM For better tools and weapons , Or by mortgage TLM To participate in the planet voting to determine the payment mode, etc .
Preface
In the previous post , We share a world of open source farmers (Farmers World) Script
【OpenFarmer】:https://github.com/encoderlee/OpenFarmer
After this period of continuous learning , We developed the alien world (Alien Worlds) Script for
【OpenAlien】:https://github.com/encoderlee/OpenAlien
Technology update
The implementation principles of both are similar , But this time the 【OpenAlien】 And before 【OpenFarmer】 comparison , Open source 【OpenFarmer】 There are two update points :
1. Let go completely wax The cloud wallet account has been separated Chrome Browser running , Use extraction Token The way to send directly HTTP Ask for signature
2. At the bottom EOSIO SDK From the original
【eospy】: https://github.com/eosnewyork/eospy
Instead, we developed it ourselves
【eosapi】: https://github.com/encoderlee/eosapi
Support transaction serialization , Optimized error handling , When sending transaction errors in the past , There is no clear distinction between error types , Now? 【OpenAlien】 You can handle different types of errors and give hints , Especially the handling of node errors , Avoid frequent retries leading to IP And account are hacked by the node .
usage
Use method 1 :
stay github On the right side of the page 【Releases】 Download the latest packaged version from , The packaged version only supports Win10 Or later .
Unzip the files in the zip package , Modify the configuration file first 【user.yml】, Double click run again 【user.bat】
Open a second account , Copy 【user.yml】 by 【user2.yml】, Copy 【user.bat】 by 【user2.bat】
Modify the configuration file 【user2.yml】 Information for the second account , modify 【user2.bat】 file , Put the string inside “user.yml” Change it to “user2.yml”, And then double click 【user2.bat】
Open more accounts , And so on
Use method 2 :
1. Run from source , Install first Python Environmental Science , Recommended installation Python 3.9.13 edition , Because this is the version we tested
Download address :https://www.python.org/ftp/python/3.9.13/python-3.9.13-amd64.exe
Remember to check... When installing “Add Python 3.9 to PATH”
2. Download the source code , stay github Click the green button on the project page 【Code】,【Download ZIP】, Download it and extract it
3. Double-click on the run 【install_dependencies.bat】 Install dependency packages , Each computer only needs to do this step once
4. Modify the configuration file first 【user.yml】, Double click run again 【user.bat】
5. The multi opening method is the same as above , Just copy these two files , Run after modification
Profile description
# Be careful , After the colon of each parameter name , There's a space , Modify the parameters without missing spaces
# wax Node address , Use common nodes , Sometimes the network is blocked , Or access is restricted too often , appear 429 error , You can change nodes , Or build a private node
# Public node list :https://wax.eosio.online/endpoints
rpc_domain: https://wax.pink.gg
# cpu Payment No ,cpu_key Fill in the private key of the payment No , If there is no need to pay on behalf, leave it blank
cpu_account:
cpu_key:
# Even if it's time to dig , Also delay 30-90 Seconds to dig
delay1: 30
delay2: 90
# http agent ( such as 127.0.0.1:10808)
# Set the script HTTP agent , This can solve the problem of restricted access of public nodes to a certain extent , Leave blank if not necessary
proxy:
proxy_username:
proxy_password:
# The following three items are changed to your account information
# account yes wax Cloud wallet account name
# token What is it? , First in chrome Login manually in the browser WAX Cloud wallet https://wallet.wax.io/dashboard
# And then in chrome Enter the address in the browser and navigate to : https://all-access.wax.io/api/session
# hold token Copy it and fill it in below
# charge_time Is the mining interval , Unit second , Sign in alienworlds Official website , Open the tools page , You can see that , Fill in... According to the actual situation
account: gts3c.c.wam
token: EHuyFHPcLpSNUJ4BLSUnPxxxxxxxxxxxx
charge_time: 336
Public node list :https://wax.eosio.online/endpoints
Be careful , from Chrome Copy... In the browser token after , The browser can be closed by clicking the fork in the upper right corner , But don't click exit to log in to this account , Don't log in to another account directly , Otherwise, the previous account will be disconnected .
If you need to Chrome Log in to the second account , Please use Chrome Multi user login
Chrome Multi user related articles :https://www.chensnotes.com/chrome-profile.html
Commonly used tools
【nodepad++】https://notepad-plus-plus.org/downloads/v8.4.2
Text editor , edit 【user.yml】 Configuration files are more pleasant
【cmder】https://cmder.net
replace windows Self contained cmd Command line tools , Prevent scripts from faking death
System native cmd Command line tools , Quick Edit mode is enabled by default , Sometimes because of the unexpected operation of the mouse and keyboard ,
The log will be left in one place , In a state of suspended animation , The script cannot run continuously , Switch to a 【cmder】 Solve the problem
Common mistakes
1. Trading error
There are many reasons for trading mistakes , For example, smart contracts report errors ,CPU Insufficient , The secret key is wrong ,WAX Node restrictions, etc
Come on in succession 5 Transaction error , The script will stop , In this case, you need to manually check the problem or replace the node
Why not keep trying again and again ? Because of repeated submission of wrong transactions , Public nodes will pull you black , need 24 The node can only be used after hours
Self erection WAX Private node , It will improve this problem to some extent
2. Node error
Node error , In especial 429 error , Mainly because you are one IP There are too many numbers running at the same time , Frequent requests , Black by nodes
After all, public nodes are global free services , To prevent abuse , Made a lot of restrictions
Every time N Set a proxy for the number IP, Or it can be erected by itself WAX Private node , It will improve this problem to some extent
边栏推荐
- VSCode常用插件
- descheduler 二次调度让 Kubernetes 负载更均衡
- Network packet loss troubleshooting
- Error mcrypt in php7 version of official encryption and decryption library of enterprise wechat_ module_ Open has no method defined and is discarded by PHP. The solution is to use OpenSSL
- 新知识:Monkey 改进版之 App Crawler
- Interview intelligence questions
- 【图像去噪】基于高斯滤波、均值滤波、中值滤波、双边滤波四种滤波实现椒盐噪声图像去噪附matlab代码
- Freshmen are worried about whether to get a low salary of more than 10000 yuan from Huawei or a high salary of more than 20000 yuan from the Internet
- RT thread studio learning (VIII) connecting Alibaba cloud IOT with esp8266
- (14) The software version number is displayed in the flash window of blender source code analysis
猜你喜欢

Error mcrypt in php7 version of official encryption and decryption library of enterprise wechat_ module_ Open has no method defined and is discarded by PHP. The solution is to use OpenSSL

ROS dynamic parameter configuration: use of dynparam command line tool (example + code)

libprint2

RT thread studio learning (VII) using multiple serial ports

postman拼接替换参数循环调用接口

企业微信官方 加解密库 PHP7版本报错 mcrypt_module_open 未定义方法 并且被PHP抛弃 解决方法使用 openssl解决

sql server 2019安装出现错误,如何解决

leetcode:剑指 Offer 63. 股票的最大利润【记录前缀最小和 or 无脑线段树】

Scons编译IMGUI

ConVIRT论文详解(医疗图片)
随机推荐
如何更新 Kubernetes 证书
RT thread studio learning (VII) using multiple serial ports
8 IO Library
Android studio uses database to realize login and registration interface function
Scons编译IMGUI
Putty installation and use
Vscode common plug-ins
Network packet loss troubleshooting
Zhang Chi: is process a panacea?
[image denoising] image denoising based on nonlocal Euclidean median (nlem) with matlab code
Kotlin插件 kotlin-android-extensions
openwrt uci c api
D
Imx6q PWM drive
美团获得小样本学习榜单FewCLUE第一!Prompt Learning+自训练实战
Apache POI import export excel file
Torch models trained in higher versions report errors in lower versions
Imx6q pwm3 modify duty cycle
Vscode outline preview cannot find file symbol
d不能用非常ctfe指针