ok I did some research about these bugs
Quote:
Originally Posted by merlin197
just saw this error on one of my bots
serious problem?
[Only registered and activated users can see links. Click Here To Register...]
and why does he say
not enough room for shadow plate and skips it?
|
Here the bot got stuck somewhere in town (character position desync) and failed to get back to chaos.
This is the code in question:
Code:
if (!canFit) {
print("ÿc7Trying to make room for " + item.name);
if (!Town.visitTown()) {
print("ÿc7Not enough room for " + item.name);
return false;
}
}
Since this part is actually important, I'll change it to throw an error and stop the current script and give a proper message (failed to go back from town)
Quote:
Originally Posted by DeathFromHeaven
|
Here we have a situation where storm casters (or other unreachable/unattackable monsters) that can't be attacked trigger Attack.clear in item find code, which calls item find code again and causes too much recursion. This isn't so straightforward but I'll try some ideas to fix it.