Page 3 of 3

Re: MM2 Bot-Framework a work in progress..

Posted: Mon Aug 03, 2015 12:35 am
by BlubBlab
rock5 wrote:The problem with this is it could take you where you didn't want to go, for instance off a cliff or aggroing a mob you didn't intend to such as an elite or boss.
Hm I also thought about it and I thought again the only times I can think of is the same when the current unstick() will properly fail too. It is just so that this algorithms seeks the most direct way to its target means it hate going backwards into the opposite direction from where the target is, so to fail the cliff must be in the direction before you and the point must be on the other side also before you. I know only one of such case when you mist a plank bridge and stuck on pole you have 2 choices which is the better answer ? You have a 50:50 chance to get the right answer.

Okay if wanted to make it perfect I would scan for a elite mobs between each move and block the direction dynamically to it, what we also can do is register the fall and seek for a path in the near to go back (and close that direction we fell off behind us).... but this really complex.

Re: MM2 Bot-Framework a work in progress..

Posted: Mon Aug 03, 2015 10:04 pm
by BlubBlab
Okay first the topic the testing of the database is done I fixed everything and changed it to a class next would be profile out of the settings.lua
-fixed things:
- xml validation
- keyboard access inside inputoutput
- some typos inside some classes
- make it so that yield inside the threading framework use alternative rest.
- added new function seekDir additionally to dyinclude

About the systematically unstick() the effort to programme it is relatively high I though about earlier admin programmed a vector class but for doing this kind of stuff I also need matrices and rotation matrices(2D/3D) possible also 3x4 matrix with the movement part. This is more something which I implement when everything else is done but if someone wants a real challenge he/she can try it.

Re: MM2 Bot-Framework a work in progress..

Posted: Fri Aug 07, 2015 8:11 am
by BlubBlab
Like I said I putted settings.lua into small pieces that file is/was way too big what I'm still working on the Skillset class . It took me way too long but it can't be helped this stuff heavily rely on the ROM as a game so making it configurable is I must do but to be true I'm not happy how much dependencies are still there from the settings.lua

AH before I forget my UML looks now more so:(I know a lot of details are missing)
Image

Re: MM2 Bot-Framework a work in progress..

Posted: Sun Aug 23, 2015 5:15 pm
by BlubBlab
Okay a small update I haven't worked on it in th last 2 week but I decided to kinda use Lisa's code from her GW bot for the movement.(I don't expect that much remain when I'm through) It is a try and error hunt to get everything work like I wanted and it is difficult because you need to really understand what the code is doing.

So silly me wrote a routine which can spin the character the axis which is in human terms looking down/up even when no MMO I know support this :D

Re: MM2 Bot-Framework a work in progress..

Posted: Mon Aug 24, 2015 7:11 am
by rock5
BlubBlab wrote:So silly me wrote a routine which can spin the character the axis which is in human terms looking down/up even when no MMO I know support this :D
Sure they do. Runes of Magic does. When flying (or swimming), if you hold the right mouse button (I think it is) to point the character up or down, then when you hold the forward key then it goes in that direction. You might not see the character looking down or up but it is.

Re: MM2 Bot-Framework a work in progress..

Posted: Wed Aug 26, 2015 1:57 pm
by BlubBlab
True I missed that .. okay than I'm ready to fly.

Re: MM2 Bot-Framework a work in progress..

Posted: Tue Nov 24, 2015 3:48 pm
by BlubBlab
Okay small update the moveTo is nearly complete I need only the camera and faceit.(and clean up the code)
Only the logger I don't know I ended up to have some of it because I started with Lisa's version and then improved & changed it to fit my needs.

I currently writing in 15-30 minute season but I would welcome any help.

Re: MM2 Bot-Framework a work in progress..

Posted: Fri Nov 27, 2015 6:28 pm
by BlubBlab
Okay camera is finished , InputOutput is connected and the externel classes are written.
Still some cleaning up in the abstarct movement class todo and logger decesion is still out and then I need a bot for testing.