Page 1 of 1

Just curious - Malatina Course of Terror

Posted: Thu Jul 22, 2010 2:17 am
by swietlowka
Did anyone make a script for Malatina Course of terror? Is it event possible to make one?
Since they fixed it in some patch ago i did not play it cause u have to be pretty lucky to go through...
But its solvable, only a pain in the ass... If theres a way to make a script for it or some of you already have one i would really appreciate one :) or at least some help making one happen... main problem is that the bot would have to check possible (and fastest) exits of the stage, which i just dunno how to make :/

Re: Just curious - Malatina Course of Terror

Posted: Thu Jul 22, 2010 8:58 am
by randomuser01
I think that would be too complicated AI for the bot to do.

Re: Just curious - Malatina Course of Terror

Posted: Thu Jul 22, 2010 9:28 am
by swietlowka
i think that too, but was looking for other opinions before ill start to make anything with this

Re: Just curious - Malatina Course of Terror

Posted: Thu Jul 22, 2010 10:00 am
by Administrator
Pathfinding is easy. The hard part is getting the bot to recognize the map layout. I'm assuming this map is randomly generated, right?

Re: Just curious - Malatina Course of Terror

Posted: Fri Jul 23, 2010 3:09 am
by swietlowka
map is always the same, what changes is the layout of different bricks to destroy to go through... each brick is destroyed differently, some u just can't destroy by yourself layout is 5x6 bricks, the problem is to calculate the easies/possible/fastest way to the exit, to be honest, since it takes only couple of minutes i'd be willing to do it myself, but i always have problems making "math" to find that best route...

Types of bricks to make it easier:
cannon - you click on it and a cannon appears that u can shoot another brick to destroy it
wall - you go near it and a wall appears, its undestoyable by a player, need a cannon to go through
thorn-wine - you go near it and a wall of thorn-wine appears, u need to harvest it go back to fire it up (also harvest function) and then go back and fire it to destroy
key - you click on it and then once more, you gain one key then (which you open chests with) need to get to all key bricks before u leave each of the 4 rooms in this mini game
clown - you go near it and a gate with a clown mob that attacks you appears, you need to attack the gate not the clown
gate - you click on it and a gate appears, when you go through it u come back to the entrance to the room you are in, tip, you can go through that gate and not get teleported (so you can assume that its not there if u go in a strait line)
PS. there are 4 rooms to go through, and making each of them in less that 3 minutes give u 2 extra precious keys, to be honest if u wont get those extra keys the run is just a waste of time in 90% of times

Re: Just curious - Malatina Course of Terror

Posted: Fri Jul 23, 2010 6:39 am
by Starrider
maybe read the memory for the box Ids?

Re: Just curious - Malatina Course of Terror

Posted: Fri Jul 23, 2010 8:48 am
by swietlowka
Starrider wrote:maybe read the memory for the box Ids?
i truly have no idea what you mean?
imho checking ids wont help me since i have to plan all of it before ill even come close to them...

Re: Just curious - Malatina Course of Terror

Posted: Fri Jul 23, 2010 11:21 am
by Administrator
Assuming they all have different IDs, you would be able to tell which path takes the least time to get through (on average). Can you give me a cheap map of what this would look from above?

Re: Just curious - Malatina Course of Terror

Posted: Sat Jul 24, 2010 11:29 am
by swietlowka
Since english isn't my first, i might not get some what u say :p
anyway
it looks like this:

--door--
[][][][][]
[][][][][]
[][][][][]
[][][][][]
[][][][][]
[][][][][]
empty space
--door--

if u need a screen shot from in game ill have to go there later :d, cause u are able to make it only once a day...