redwingangel Posted November 21, 2015 Share Posted November 21, 2015 (edited) Botkiller6 donwload Link :http://sharesend.com/uczragpf I try to run the server, but got Botkiller6 and Miner World error .. Botkiller6 Code: Miner World Code: Miner World Code Change ↓ add <end;> Server will no Miner World error. But I don't know answer. Edited November 21, 2015 by redwingangel Quote Link to comment Share on other sites More sharing options...
0 nanakiwurtz Posted November 21, 2015 Share Posted November 21, 2015 1. Replace the pcblock command by using pcblockmove 2. In Miner World.txt // This process creates new mines where were exhausted OnTimer360000: // Each 5 minutes the system check for destroyed mines and re-creates it in new coordinates set [email protected],0; set [email protected],0; set [email protected],10; freeloop(1); while (set([email protected], query_sql("select map, mines, mtypes from mn_maps limit " + [email protected] + "," + [email protected],[email protected]$,[email protected],[email protected]))) { for (set [email protected],0; [email protected] < [email protected]; set [email protected], [email protected] + 1) { query_sql "select count(*) from mn_mine where map='" + [email protected]$[[email protected]] + "'",[email protected]; while ([email protected][0] < [email protected][[email protected]]) { query_sql "select mclass from mn_class" + ([email protected][[email protected]]==0?"":" where mclass & " + [email protected][[email protected]]) + " order by rand() limit 1",[email protected]; set [email protected],-1; while ([email protected]<0) { if (!checkcell ([email protected]$[[email protected]],set([email protected],rand(1,500)),set([email protected],rand(1,500)),cell_chkpass)) set [email protected],-1; } // Probabilities of 30% to create a new mine at this pass... or will be created in a future process if (rand(10) < 3) { query_sql "insert into mn_mine (created, map, mclass, x, y, size) values (now(), '" + [email protected]$[[email protected]] + "'," + [email protected][0] + "," + [email protected] + "," + [email protected] + "," + rand(3,6) + ")"; debugmes "> Mine System: Creating a new mine in " + [email protected]$[[email protected]] + "..."; } set [email protected][0], [email protected][0] + 1; } } set [email protected], [email protected] + [email protected]; } freeloop(0); initnpctimer; } Quote Link to comment Share on other sites More sharing options...
0 redwingangel Posted November 22, 2015 Author Share Posted November 22, 2015 (edited) 1. Replace the pcblock command by using pcblockmove 2. In Miner World.txt // This process creates new mines where were exhaustedOnTimer360000: // Each 5 minutes the system check for destroyed mines and re-creates it in new coordinates set [email protected],0; set [email protected],0; set [email protected],10; freeloop(1); while (set([email protected], query_sql("select map, mines, mtypes from mn_maps limit " + [email protected] + "," + [email protected],[email protected]$,[email protected],[email protected]))) { for (set [email protected],0; [email protected] < [email protected]; set [email protected], [email protected] + 1) { query_sql "select count(*) from mn_mine where map='" + [email protected]$[[email protected]] + "'",[email protected]; while ([email protected][0] < [email protected][[email protected]]) { query_sql "select mclass from mn_class" + ([email protected][[email protected]]==0?"":" where mclass & " + [email protected][[email protected]]) + " order by rand() limit 1",[email protected]; set [email protected],-1; while ([email protected]<0) { if (!checkcell ([email protected]$[[email protected]],set([email protected],rand(1,500)),set([email protected],rand(1,500)),cell_chkpass)) set [email protected],-1; } // Probabilities of 30% to create a new mine at this pass... or will be created in a future process if (rand(10) < 3) { query_sql "insert into mn_mine (created, map, mclass, x, y, size) values (now(), '" + [email protected]$[[email protected]] + "'," + [email protected][0] + "," + [email protected] + "," + [email protected] + "," + rand(3,6) + ")"; debugmes "> Mine System: Creating a new mine in " + [email protected]$[[email protected]] + "..."; } set [email protected][0], [email protected][0] + 1; } } set [email protected], [email protected] + [email protected]; } freeloop(0); initnpctimer;} I don't know why...I can't use it. ---------------------------------------------- This is the latest version of v1.5 miner world and v6.17 LangManagement http://sharesend.com/xbxzwwfc ---------------------------------------------- if use freeloop(1); and freeloop(0); ---------------------------------------------- If not used freeloop(1); and freeloop(0); 1.gotocount: 655360 <<Useless 2.freeloop <<Useless 3.sleep2 <<This is the answer? I did not try. Edited November 22, 2015 by redwingangel Quote Link to comment Share on other sites More sharing options...
Botkiller6 donwload Link :http://sharesend.com/uczragpf
I try to run the server, but got Botkiller6 and Miner World error ..
Botkiller6 Code:
Miner World Code:
Miner World Code Change ↓ add <end;> Server will no Miner World error. But I don't know answer.

Edited by redwingangelLink to comment
Share on other sites