Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Animar

Pages: [1]
1
Programming with Blackvoxel / Odd behavior
« on: May 15, 2019, 10:13:00 am »
Hi There,

I have some expirience in C and Lua but this Squirrel language keeps me confused.
So this bit of code troubles me.

Code: [Select]
if(GetX() == (Start_X - DimX + 1) && NextRow){
  PickVoxel(2);
  Move(2);
  NextRow = false;
  Display( "I Should have moved", 5000, 2);
}

how can it be that the specific display text "I Should have moved" is shown but the Pick(2) and Move(2) is NOT executed.


This is the whole thig so far. The whole digging and movement will be replaced with loops. But first, i need to figure this problem out. As far as this code goes. It should check for a Storage device then go one down, two to the left and finaly one back. But i does not execute the last part ?

Code: [Select]
// Test

BotInit <- true; //        X  Y  Z
Workmode <- false; // 0 =  { 0, 0, 1 } = Front of the robot.
Start_X <- 0; // 1 =  { 1, 0, 0 } = Right of the robot.
Start_Y <- 0; // 2 =  { 0, 0, -1} = Back of the robot.
Start_Z <- 0; // 3 =  {-1, 0, 0 } = Left of the robot.
MaxDepth <- -64; // 4 =  { 0, 1, 0 } = Above the robot.
DimX <- 3; // 5 =  { 0,-1, 0 } = Under the robot.
DimZ <- 3;
NextRow <- false;

function Voxel_Step(){
  local VoxType;
if (BotInit == true){
VoxType = Look(0);
Start_X = GetX();
Start_Y = GetY();
Start_Z = GetZ();
if(VoxType == 49){
BotInit = false
Workmode = true;
PickVoxel(5);
Move(5);
}
else{
Display( "Error, no Storage Found at X = " + Start_X + " - Y " + Start_Y + " - Z " + Start_Z, 5000, 2);
}
}
if(Workmode == true){
if(GetX() > (Start_X - DimX + 1)){
PickVoxel(3);
Move(3);
NextRow = true;
}
if(GetX() == (Start_X - DimX + 1) && NextRow){
PickVoxel(2);
Move(2);
NextRow = false;
Display( "I Should have moved ", 5000, 2);
}
}
}

Thanks for your help.

2
Troubleshooting & Bug Reports / Sequencer Bug ?
« on: May 14, 2019, 01:38:55 pm »
Hi There

Just noticed that an old "bug" still exists. Sequencers can be mined by hand when they still have stuff in their inventory. Would be neat if they had the same protection as Atomic Compressors when not empty.

3
Suggestions / My Long Waiting Wish
« on: May 01, 2019, 09:45:36 am »
Hello Dear Developers,

About 6 Years ago I bought this game, yes i was one of those who had bought the game back then bevor it went for free even bevor you had a forum. And i bought it a second time by now just because to support you.

Since you decided to sell the game again while of course the shool mode stays free. Can we expect some new features for the Adventure mode or the game in general.

sometime in summer 2013 i asked you in a mail to implement a recepie for the tier 4 and 5 Constructor/Deconstructor that could and can bee be seen on the manual.


Please don't let me wait another 6 years and while you on the subject the Ground Scanner also has no recipie in the manual.

PS: some kind of stairs/ramps that could be rotated like conveyors would be awesome.

Pages: [1]