Page 1 of 1
Unsticking player?
Posted: Thu Nov 26, 2009 12:04 pm
by jätkä
When I leave the bot to grind mobs, it just logs out in about 20 minutes. And no It doesn't log out when it dies.
This has happened over 10 times!
Before it logs out it leaves this to the MM window.
Oh, and I forgot to mention that I've done SVN update, rom\bot.lua update and rom\update.lua.
Re: Unsticking player?
Posted: Thu Nov 26, 2009 12:51 pm
by Administrator
Another user has mentioned a bug in the game where your character stops moving entirely (even when trying manually) and will not be allowed to move until you mount. Perhaps that's what's causing the sticking?
Re: Unsticking player?
Posted: Thu Nov 26, 2009 1:22 pm
by jätkä
Perhaps. But is there a way to fix it?
It may sound weird, but I don't get the "Unsticking player" while Im using my pc, but while im afk.
I don't know if its just a coincidence or does being AFK relate to the "unsticking player" bug.
Re: Unsticking player?
Posted: Thu Nov 26, 2009 1:27 pm
by Administrator
If the unsticking is caused by the problem I mentioned before, then it is unlikely to be fixed soon (as it would certainly be a bug in the game; not the bot). Since you were not watching at the time, I cannot say what caused it. It certainly looks like something was prevent your character from moving at all, though.
Re: Unsticking player?
Posted: Thu Nov 26, 2009 10:12 pm
by j_schlott
my movement keys lose function sometimes
while im using WASD to move and Mouseclicks to rotate camera, i can still move with mouseclicks, but WASD keys,
or the functions they control go missing
pressing escape to open the game option menu seems to fix it
i guess if bot rotates camera while using movement would cause the same thing, maybe one of the unstick attempts can open and close the game option menus?
Re: Unsticking player?
Posted: Sun Nov 29, 2009 4:33 am
by jätkä
The same thing has happened only while im not on my computer so far. I could bot overnight before, but now after I got a new screen it goes to sleepmode.. and the bot goes crazy whitin a couple of minutes.
I can bot while im on my pc, but if I leave it be it crashes.
Now I will adjust my monitor not to go to sleepmode and see what happens, and find out if there is any relation between this bug and my screen.
Re: Unsticking player?
Posted: Sun Nov 29, 2009 4:39 am
by Administrator
Which OSs are you guys using? I think it could be Vista related...
Re: Unsticking player?
Posted: Sun Nov 29, 2009 6:17 am
by jätkä
yes, I use vista
Re: Unsticking player?
Posted: Tue Dec 01, 2009 3:17 pm
by j_schlott
windows 7
Re: Unsticking player?
Posted: Tue Dec 01, 2009 9:36 pm
by droppen
i use XP, i have a hunch, that it might be related to the way rombot clears target, by writing zeros in memory, or am i mistaken?
Re: Unsticking player?
Posted: Tue Dec 01, 2009 11:03 pm
by Administrator
You could modify CPlayer:clearTarget() to press key.VK_ESCAPE instead and see if that resolves the issue.
Re: Unsticking player?
Posted: Tue Dec 29, 2009 2:48 pm
by darkjack
Administrator wrote:You could modify CPlayer:clearTarget() to press key.VK_ESCAPE instead and see if that resolves the issue.
In which file i must serch this ^ because i have this problem to.
Re: Unsticking player?
Posted: Tue Dec 29, 2009 4:25 pm
by Administrator
darkjack wrote:Administrator wrote:You could modify CPlayer:clearTarget() to press key.VK_ESCAPE instead and see if that resolves the issue.
In which file i must serch this ^ because i have this problem to.
rom/classes/player.lua
Re: Unsticking player?
Posted: Wed Dec 30, 2009 1:23 am
by darkjack
function CPlayer:clearTarget()
cprintf(cli.green, language[33]);
memoryWriteInt(getProc(), self.Address + addresses.pawnTargetPtr_offset, 0);
self.TargetPtr = 0;
self.Cast_to_target = 0;
end
Ok were i must write this key. VK_ESCAPE ? Sorry for spaming but i`m not so smart like you^^thx
Re: Unsticking player?
Posted: Wed Dec 30, 2009 4:51 am
by Administrator
Remove the whole memoryWriteInt line, and put this instead: