Bobzilla69
2011-02-23 06:47:12
Hi,
just thought i would kinda talk a bit about whats going on and see if any of you have ideas about it, sorry for the wall of text and poor explanation/wording.
I have currently got it so that i can get all the food from the starting area, i have yet to add picking up weapons and armour and any keys in starting area. currently i use color to find food and check the uptext, so i could just add the weapons and armour as well i suppose.
i have also made it so that it will check weapons and armour in your inventory and equip the best, currently is doesnt check skill level but i am planning on doing that.
as for the actual dungeon solving i think i have the basics done be it very crude.
currently i am using color to grab the layout of the room, seeing as we only have one room for the starting area any doors i find will be new and unexplored. so i take the door color put it into a tpa and simply choose one and walk to it.
next i check for the door's id and click it if i can, i also storing the tile at which the door is so that if we need a key to later continue i can simply walk it, i enter the door to then next room.
i know where the next area is and only search that section of the map by checking where i click on the minimap.
so i now am in the next room and i simply check for NPC's using color and click near them so we can kill them.
after all NPC's are dead i would check there loot for food and keys (currently not doing) then i do a door search again in the new area and repeat with walking to it, getting its tile location and going through.
the idea is that when i reach an area where i cannot go through the door i will simply re walk all the tiles when i have the key or go through different doors i missed the first time.
i am sure people have a better way of doing this but its just kinda how i thought of doing it.
Thoughts/Opinions?
will post my crappy code if you want :)
just thought i would kinda talk a bit about whats going on and see if any of you have ideas about it, sorry for the wall of text and poor explanation/wording.
I have currently got it so that i can get all the food from the starting area, i have yet to add picking up weapons and armour and any keys in starting area. currently i use color to find food and check the uptext, so i could just add the weapons and armour as well i suppose.
i have also made it so that it will check weapons and armour in your inventory and equip the best, currently is doesnt check skill level but i am planning on doing that.
as for the actual dungeon solving i think i have the basics done be it very crude.
currently i am using color to grab the layout of the room, seeing as we only have one room for the starting area any doors i find will be new and unexplored. so i take the door color put it into a tpa and simply choose one and walk to it.
next i check for the door's id and click it if i can, i also storing the tile at which the door is so that if we need a key to later continue i can simply walk it, i enter the door to then next room.
i know where the next area is and only search that section of the map by checking where i click on the minimap.
so i now am in the next room and i simply check for NPC's using color and click near them so we can kill them.
after all NPC's are dead i would check there loot for food and keys (currently not doing) then i do a door search again in the new area and repeat with walking to it, getting its tile location and going through.
the idea is that when i reach an area where i cannot go through the door i will simply re walk all the tiles when i have the key or go through different doors i missed the first time.
i am sure people have a better way of doing this but its just kinda how i thought of doing it.
Thoughts/Opinions?
will post my crappy code if you want :)