Okay, i know this has been broad up before, but i do not recall where and when, so sorry for me posting about this.
I have this strange behavior of the bot. it changes my viewing angle and distance.
if i place the cam to be nearly 90 degrees it will change it to be more like 45* wich ofc is really anoying.
AND as if that wasent enough, it also changes the distance i've set zooming in and out randomly as it moves around.
i dont know if you are able to imagin this, but it compromises the harvesting function tremendously since it makes it run on if it's zooming and this why passing on a good amount of nodes wich again makes the bot loog more like a bot and less like a "real" player...
hope someone know a fix for this.
thanks in advance
Strange Behavior ?
Re: Strange Behavior ?
I know that behaivor and hope there will be a solution in the next time. But at the same time I get used of that.
I don't have the feeling, that I have miss nodes because of that. Perhaps you can play a little arount with your zoom? If you zoom max away, it will not zoom in and out. But doing that, the nodes are a little small. So I usally use a medium distance and have the zoom in and out. But because the node is allways in the middle of the screen, I normaly don't miss anything because of that.
I don't have the feeling, that I have miss nodes because of that. Perhaps you can play a little arount with your zoom? If you zoom max away, it will not zoom in and out. But doing that, the nodes are a little small. So I usally use a medium distance and have the zoom in and out. But because the node is allways in the middle of the screen, I normaly don't miss anything because of that.
The RoM Bot Online Wiki needs your help!
- Administrator
- Site Admin
- Posts: 5313
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Strange Behavior ?
It is a known problem. I just need a static pointer chain to the zoom amount (between 1 and 125, float). After that, it's just modifying this function:
Remember high school trigonometry class when you would say "I'll never use this"? Yeah, me neither.
Code: Select all
function CCamera:setRotation(angle)
local proc = getProc();
local maxViewDistance = 125; -- Hard value set by the game
local px = player.X;
local pz = player.Z;
local nx = px + math.cos(angle + math.pi) * maxViewDistance;
local nz = pz + math.sin(angle + math.pi) * maxViewDistance;
memoryWriteFloat(proc, self.Address + camX_offset, nx);
memoryWriteFloat(proc, self.Address + camZ_offset, nz);
end
Re: Strange Behavior ?
Though this may seem strange, I look straight down and zoom in almost to first person. When I did the route for my harvest bot, I made it so my character was centered in every node. This makes the node large, always centered, and keeps the camera in place.
Who is online
Users browsing this forum: No registered users and 1 guest