Stuck after teleport

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderators: Moderators, Developers

Message
Author
Inserio
Noob
Noob
Posts: 2
Joined: 12 Nov 2012, 17:42
Noob?: Yes

Re: AI get stuck in twRO renewal (teleport)

#21 Post by Inserio »

Here's my roundabout way of fixing it. I get the error message whenever the window is up and my character tries to do something it can't with a window open.

Code: Select all

#### Fix Double Tele ####
automacro fix_tele {
	console "any work in progress (NPC dialog, manufacturing...)quit and try again."
	timeout 5
	call {
	   pause 1
	   do warp cancel
	   pause .2
	   do ai on
	   pause .2
	   do reload config
	   pause .2
	   do reload macros
	   release all
	}
}
This has been working for me fairly well, fixing pretty much anything that causes that message (which happens to be an open teleport window many times)

Phyzoon
Noob
Noob
Posts: 10
Joined: 30 May 2009, 21:10
Noob?: No

Re: AI get stuck in twRO renewal (teleport)

#22 Post by Phyzoon »

I've been thinking of using a macro to work around this issue too, but I don't get this message at all when my AI gets stuck with teleing. I'm using SVN r8330 btw.

Phyzoon
Noob
Noob
Posts: 10
Joined: 30 May 2009, 21:10
Noob?: No

[BUG] teleportAuto_useSkill 0 using both fly wing AND skill

#23 Post by Phyzoon »

Playin on iRO here. Basically i've set my priest to use Fly Wings instead of Lvl1 Tele because it's just faster and he was dying for MVPs because of teleport delay, so I set teleportAuto_useSkill 0 but this has resulted in the bot using a fly wing and then after teleporting he casts teleport level 1 but never teleports, leaving the teleport window open, being unable to do anything else and ends up dying. Here is a part of the log, I translated some parts of it back to english for proper understanding.


Teleporting to avoid Orc Hero
You are now attacking Monster High Orc (9)
Allowed to use Teleport (26), level 1
You used the item: Fly Wing (1) x 1 - 91 left.
Packet Parser: Unknown switch: 0113
Mudança de Mapa: gef_fild14.gat (309, 51)
Mapa Carregado
Unknown stat (130 => 0) received for You
-------------------- Portal ----------------------
# Localização Mapa
--------------------------------------------------
You use Teleport on yourself (Lv: 1)

kaoru
Human
Human
Posts: 34
Joined: 20 Jun 2008, 17:47
Noob?: No

Re: [BUG] teleportAuto_useSkill 0 using both fly wing AND skill

#24 Post by kaoru »

Yeah, I believe that it's a bug.

The bot has issues to teleport using flywings when it has the skill Teleport, either innately (Acolyte classes) or trough equipment (Creamy).

ever_boy_
Developers
Developers
Posts: 309
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: [BUG] teleportAuto_useSkill 0 using both fly wing AND skill

#25 Post by ever_boy_ »

do warp cancel, till the bug is fixed.

Phyzoon
Noob
Noob
Posts: 10
Joined: 30 May 2009, 21:10
Noob?: No

Re: [BUG] teleportAuto_useSkill 0 using both fly wing AND skill

#26 Post by Phyzoon »

I'm using xKore here and I was under the impression that "warp cancel" was not working since the teleport window keeps open after a "warp cancel" command. Also because of this:

Code: Select all

[Dec 20 01:35:40 2012.13] Teleporting to avoid Orc Hero
[Dec 20 01:35:40 2012.83] Permitido usar Teleport (26), level 1
[Dec 20 01:35:40 2012.83] You used: Fly Wing (1) x 1 - 86 left
[Dec 20 01:35:40 2012.84] Item Exists: Orcish Voucher (2) x 1
[Dec 20 01:35:40 2012.87] Packet Parser: Unknown switch: 0113
[Dec 20 01:35:41 2012.50] Mudança de Mapa: gef_fild14.gat (255, 165)
[Dec 20 01:35:41 2012.53] Mapa Carregado
[Dec 20 01:35:41 2012.91] Unknown stat (130 => 0) received for You
[Dec 20 01:35:42 2012.24] -------------------- Portal ----------------------
#  Localização                     Mapa
[Dec 20 01:35:42 2012.76] --------------------------------------------------
[Dec 20 01:35:42 2012.13] You use Teleport on yourself (Lv: 1)
[Dec 20 01:35:42 2012.18] [macro] automacro fixtele triggered.
[Dec 20 01:35:43 2012.15] [macro log] fix
[Dec 20 01:35:43 2012.53] Calculating route: West Orc Village(gef_fild14): 137, 109
[Dec 20 01:35:44 2012.23] [100/ 97] Monster Orc Lady (0) attacks you (Dmg: 35) (Delay: 900ms)
[Dec 20 01:35:44 2012.52] [dist=unknown] Unknown #55411: *...*
[Dec 20 01:35:44 2012.56] You are now attacking Monster Orc Lady (0)
[Dec 20 01:35:45 2012.62] [ 99/ 99] Monster Orc Warrior (2) attacks you (Dmg: 1) (Delay: 864ms)
[Dec 20 01:35:45 2012.62] [ 99/ 99] Monster Orc Lady (0) attacks you (Dmg: Miss!) (Delay: 900ms)
[Dec 20 01:35:45 2012.71] [ 99/ 99] Monster High Orc (1) attacks you (Dmg: 346) (Delay: 500ms)
[Dec 20 01:35:46 2012.40] Monster Orc Warrior (2) is casting Groundattack on location (254, 164) (Delay: 500ms)
[Dec 20 01:35:46 2012.57] [dist=3] Monster Orc Lady (0): *Heart*
[Dec 20 01:35:46 2012.88] [dist=1.4] Monster Orc Warrior (2): *$!@#*
[Dec 20 01:35:47 2012.10] [ 92/ 99] Monster Orc Warrior (2) uses Groundattack on you (Dmg: 88) (Delay: 864ms)
[Dec 20 01:35:47 2012.32] [ 92/ 99] Monster High Orc (1) attacks you (Dmg: 323) (Delay: 500ms)
[Dec 20 01:35:47 2012.50] [ 92/ 99] Monster Orc Lady (0) attacks you (Dmg: Miss!!) (Delay: 900ms)
[Dec 20 01:35:48 2012.78] [ 84/100] Monster Orc Lady (0) attacks you (Dmg: 24) (Delay: 900ms)
[Dec 20 01:35:48 2012.79] [ 84/100] Monster High Orc (1) attacks you (Dmg: 306) (Delay: 500ms)
[Dec 20 01:35:48 2012.79] [ 84/100] Monster Orc Warrior (2) attacks you (Dmg: Miss!) (Delay: 864ms)
[Dec 20 01:35:49 2012.70] [ 78/100] Monster Orc Lady (0) attacks you (Dmg: 38) (Delay: 900ms)
[Dec 20 01:35:50 2012.41] [ 78/100] Monster High Orc (1) attacks you (Dmg: 346) (Delay: 500ms)
[Dec 20 01:35:50 2012.81] [ 77/100] Monster Orc Warrior (2) attacks you (Dmg: Miss!) (Delay: 864ms)
[Dec 20 01:35:50 2012.82] [ 70/100] Monster Orc Lady (0) attacks you (Dmg: 24) (Delay: 900ms)
[Dec 20 01:35:51 2012.81] [ 70/100] Monster High Orc (1) attacks you (Dmg: Miss!!) (Delay: 500ms)
[Dec 20 01:35:51 2012.82] [ 70/100] Monster Orc Lady (0) attacks you (Dmg: 20) (Delay: 900ms)
[Dec 20 01:35:52 2012.70] [ 70/100] Monster Orc Warrior (2) attacks you (Dmg: 3) (Delay: 864ms)
[Dec 20 01:35:52 2012.92] [ 69/100] Monster Orc Lady (0) attacks you (Dmg: Miss!) (Delay: 900ms)
[Dec 20 01:35:53 2012.40] [ 69/100] Monster High Orc (1) attacks you (Dmg: 325) (Delay: 500ms)
[Dec 20 01:35:53 2012.92] [ 63/100] Monster Orc Lady (0) attacks you (Dmg: Miss!) (Delay: 900ms)
[Dec 20 01:35:54 2012.38] [ 64/100] Monster Orc Warrior (2) attacks you (Dmg: Miss!) (Delay: 864ms)
[Dec 20 01:35:54 2012.91] [ 64/100] Monster High Orc (1) attacks you (Dmg: Miss!!) (Delay: 500ms)
[Dec 20 01:35:55 2012.13] [ 64/100] Monster Orc Lady (0) attacks you (Dmg: 42) (Delay: 900ms)
[Dec 20 01:35:56 2012.61] [ 63/100] Monster Orc Lady (0) attacks you (Dmg: 36) (Delay: 900ms)
[Dec 20 01:35:56 2012.27] [ 63/100] Monster High Orc (1) attacks you (Dmg: 281) (Delay: 500ms)
[Dec 20 01:35:56 2012.28] [ 63/100] Monster Orc Warrior (2) attacks you (Dmg: 10) (Delay: 864ms)
[Dec 20 01:35:56 2012.96] Unknown stat (130 => 0) received for You
[Dec 20 01:35:56 2012.96] You are no longer: Gloria
[Dec 20 01:35:57 2012.16] [ 57/100] Monster Orc Lady (0) attacks you (Dmg: Miss!) (Delay: 900ms)
[Dec 20 01:35:57 2012.97] [ 57/100] Monster High Orc (1) uses Smite on you (Dmg: 374) (Delay: 500ms)
[Dec 20 01:35:58 2012.18] [dist=1.4] Monster Orc Lady (0): *Heart*
[Dec 20 01:35:59 2012.63] [ 49/100] Monster Orc Warrior (2) attacks you (Dmg: Miss!) (Delay: 864ms)
[Dec 20 01:35:59 2012.22] [ 49/100] Monster Orc Lady (0) attacks you (Dmg: Miss!) (Delay: 900ms)
[Dec 20 01:35:59 2012.25] [ 49/100] Monster High Orc (1) attacks you (Dmg: 336) (Delay: 500ms)
[Dec 20 01:36:00 2012.30] [ 43/100] Monster Orc Lady (0) attacks you (Dmg: 52) (Delay: 900ms)
[Dec 20 01:36:00 2012.75] [ 43/100] Monster High Orc (1) attacks you (Dmg: Miss!) (Delay: 500ms)
[Dec 20 01:36:00 2012.95] [ 43/100] Monster Orc Warrior (2) attacks you (Dmg: 6) (Delay: 864ms)
[Dec 20 01:36:01 2012.38] [ 42/100] Monster Orc Lady (0) attacks you (Dmg: 43) (Delay: 900ms)
[Dec 20 01:36:02 2012.33] Monster High Orc (1) is casting Fireattack on location (249, 157) (Delay: 500ms)
[Dec 20 01:36:02 2012.54] [ 42/100] Monster Orc Lady (0) attacks you (Dmg: 46) (Delay: 900ms)
[Dec 20 01:36:02 2012.78] [ 42/100] Monster Orc Warrior (2) attacks you (Dmg: 1) (Delay: 864ms)
[Dec 20 01:36:02 2012.78] [dist=1.4] Monster High Orc (1): *$!@#*
[Dec 20 01:36:02 2012.79] [ 42/100] Monster High Orc (1) uses Fireattack on you (Dmg: 662) (Delay: 500ms)
[Dec 20 01:36:03 2012.51] [ 28/100] Monster Orc Lady (0) attacks you (Dmg: 35) (Delay: 900ms)
[Dec 20 01:36:04 2012.38] [ 28/100] Monster High Orc (1) attacks you (Dmg: 353) (Delay: 500ms)
[Dec 20 01:36:04 2012.58] Monster Orc Lady (0) is casting Groundattack on location (249, 157) (Delay: 500ms)
[Dec 20 01:36:04 2012.68] [ 27/100] Monster Orc Warrior (2) attacks you (Dmg: Miss!) (Delay: 864ms)
[Dec 20 01:36:05 2012.51] [ 20/100] Monster Orc Lady (0) uses Groundattack on you (Dmg: 305) (Delay: 900ms)
[Dec 20 01:36:05 2012.82] [ 20/100] Monster High Orc (1) attacks you (Dmg: 287) (Delay: 500ms)
[Dec 20 01:36:06 2012.18] [ 14/100] Monster Orc Lady (0) attacks you (Dmg: Miss!) (Delay: 900ms)
[Dec 20 01:36:06 2012.62] [  9/100] Monster Orc Warrior (2) attacks you (Dmg: 6) (Delay: 864ms)
[Dec 20 01:36:07 2012.19] [  9/100] Monster Orc Lady (0) attacks you (Dmg: 53) (Delay: 900ms)
[Dec 20 01:36:07 2012.41] [  9/100] Monster High Orc (1) attacks you (Dmg: 307) (Delay: 500ms)
[Dec 20 01:36:08 2012.27] [  2/100] Monster Orc Lady (0) attacks you (Dmg: Miss!!) (Delay: 900ms)
[Dec 20 01:36:08 2012.48] [  2/100] Monster Orc Warrior (2) attacks you (Dmg: 1) (Delay: 864ms)
[Dec 20 01:36:08 2012.90] [  2/100] Monster High Orc (1) attacks you (Dmg: 288) (Delay: 500ms)
[Dec 20 01:36:09 2012.33] You died.

ever_boy_
Developers
Developers
Posts: 309
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: Stuck after teleport

#27 Post by ever_boy_ »

too bad. warp cancel works fine to me.

EternalHarvest
Developers
Developers
Posts: 1800
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Stuck after teleport

#28 Post by EternalHarvest »

ever_boy_ wrote:too bad. warp cancel works fine to me.
With XKore?

ever_boy_
Developers
Developers
Posts: 309
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: Stuck after teleport

#29 Post by ever_boy_ »

oh... no, I didn't see that.

Phyzoon
Noob
Noob
Posts: 10
Joined: 30 May 2009, 21:10
Noob?: No

Re: Stuck after teleport

#30 Post by Phyzoon »

I made this macro to "insist" on warp canceling, it works some of the time now.

Code: Select all

automacro fixtele {
	console /You use Teleport on yourself/
	delay 1
	call {
	pause 1
	log fix
	do warp cancel
	pause 1
	log fix
	do warp cancel
	pause 1
	log fix
	do warp cancel
	}
}

Locked