Jump to content
  • 0

Botkiller6 and Miner World error by Myzter of script


redwingangel

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  10/27/15
  • Last Seen:  

Botkiller6 donwload Link :http://sharesend.com/uczragpf

 

I try to run the server, but got  Botkiller6  and Miner World error ..

 

Y6A51l9.jpg

wqCZqTd.jpg

 

Botkiller6 Code:

qwemf50.jpg

 

Miner World Code:

pKXsRtm.jpg

 

Miner World Code Change ↓ add <end;> Server will no Miner World error. But I don't know answer.

A8n9WX5.jpg

Edited by redwingangel
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

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 .@tmr,0;
	set .@Page,0;
	set .@PageSize,10;
	freeloop(1);
	while (set(.@tot, query_sql("select map, mines, mtypes from mn_maps limit " + .@Page + "," + .@PageSize,.@map$,.@maxm,.@mtypes))) {
		for (set .@x,0; .@x < .@tot; set .@x, .@x + 1) {
			query_sql "select count(*) from mn_mine where map='" + .@map$[.@x] + "'",.@remain;
			while (.@remain[0] < .@maxm[.@x]) {
				query_sql "select mclass from mn_class" + (.@mtypes[.@x]==0?"":" where mclass & " + .@mtypes[.@x]) + " order by rand() limit 1",.@nClass;
				set .@mx,-1;
				while (.@mx<0) {
					if (!checkcell (.@map$[.@x],set(.@mx,rand(1,500)),set(.@my,rand(1,500)),cell_chkpass)) set .@mx,-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(), '" + .@map$[.@x] + "'," + .@nClass[0] + "," + .@mx + "," + .@my + "," + rand(3,6) + ")";
					debugmes "> Mine System: Creating a new mine in " + .@map$[.@x] + "...";
				}
				set .@remain[0], .@remain[0] + 1;
			}
		}
		set .@Page, .@Page + .@PageSize;
	}
	freeloop(0);
	initnpctimer;
}
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  10/27/15
  • Last Seen:  

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 .@tmr,0;	set .@Page,0;	set .@PageSize,10;	freeloop(1);	while (set(.@tot, query_sql("select map, mines, mtypes from mn_maps limit " + .@Page + "," + .@PageSize,.@map$,.@maxm,.@mtypes))) {		for (set .@x,0; .@x < .@tot; set .@x, .@x + 1) {			query_sql "select count(*) from mn_mine where map='" + .@map$[.@x] + "'",.@remain;			while (.@remain[0] < .@maxm[.@x]) {				query_sql "select mclass from mn_class" + (.@mtypes[.@x]==0?"":" where mclass & " + .@mtypes[.@x]) + " order by rand() limit 1",.@nClass;				set .@mx,-1;				while (.@mx<0) {					if (!checkcell (.@map$[.@x],set(.@mx,rand(1,500)),set(.@my,rand(1,500)),cell_chkpass)) set .@mx,-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(), '" + .@map$[.@x] + "'," + .@nClass[0] + "," + .@mx + "," + .@my + "," + rand(3,6) + ")";					debugmes "> Mine System: Creating a new mine in " + .@map$[.@x] + "...";				}				set .@remain[0], .@remain[0] + 1;			}		}		set .@Page, .@Page + .@PageSize;	}	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);

UlN6n1B.jpg

----------------------------------------------

If not used freeloop(1); and freeloop(0);

YHGHBxA.jpg

1.gotocount: 655360 <<Useless

2.freeloop <<Useless

3.sleep2 <<This is the answer? I did not try.

Edited by redwingangel
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...