melex750
melex750
> It makes no logical sense for different robots to share their RAM. By that logic, public functions also don't make sense. It's a moot point since the game doesn't...
> The game simulates separate robots, and you can easily see by looking at the game graphics, that there are no wires going between the robots. > You could say...
Has anyone tested PR #1507, btw?
This issue with finding free space in the central column might be one that has already existed in ```space()```, where if the function fails to find a valid space it...
The complete syntax for the try.....catch block. seems to work ok. ``` java int err = 0; // must be of type int try { //works for all functions() that...
I took some time but this is what I found in CbotWhile.cpp If throw receives a negative, the program stops with "Negative value rejected by throw" message. It could be...
EDIT: I tested this and bools to catch still has no effect. I am fairly certain I found the bug with catch. on line 1176 you have this in the...
I think I get it now. I was testing try....catch at a short distance, and it worked well with goto and move. But it seems that `catch` waits for an...
@CyborgMaster This is what I did to solve it. [patches.zip](https://www.dropbox.com/s/e08axzmjcgpt49p/patches.zip?dl=1) ``` try {...} catch(true) { abort(); motor(0,0); } ```
@CyborgMaster `catch()` also catches runtime errors. Some defined constants **[listed here](https://github.com/colobot/colobot/blob/master/src/CBot/CBotProgram.cpp#L387-L398)**. You can also `throw ;` positive integers inside the `try` block and `catch` them individually with multiple different `catch`...