Jump to content

[BUG] .tele problems


Recommended Posts

Posted

core [10920] Prevent server freeze at strange radius used by item 34124 spell cast

After recent changes in map system(by Ambal) we got new problem. Can't teleport into BG map with command .tele

.tele AlteracValley
- does simply nothing(for example).

06:00:41 [0 ms] SQL: COMMIT
06:00:42 WORLD: CMSG_WORLD_STATE_UI_TIMER_UPDATE
06:00:42 CHAT: packet received. type 1, lang 1
06:00:42 Command: tele alteracvalley [Player: Телияс (Account: 113932) X: -2498.610107 Y: -11136.500000 Z: 16.804701 Map: 530 Selected: None (Guid: 0)]
06:00:42 CMSG_TIME_SYNC_RESP
06:00:42 Time sync received: counter 20, client ticks 42950210, time since last sync 10177
06:00:42 Our ticks: 42950359, diff 149, latency 99
06:00:43 WORLD: CMSG_SET_ACTIVE_VOICE_CHANNEL
06:00:43 STORAGE_SIZE: 5

chat log. After entering command

.go xyz 883 -489 96 30

near Alliance base

06:03:06 Command: go xyz 883 -489 96  30 [Player: Телияс (Account: 113932) X: -2498.610107 Y: -11136.500000 Z: 16.804701 Map: 530 Selected: None (Guid: 0)]
06:03:09 WORLD: CMSG_SET_ACTIVE_VOICE_CHANNEL
06:03:09 STORAGE_SIZE: 5
        04 00 00 00 00

no teleportation. Tried in GM mod.

P.S. yes I know there is .debug bg command for 1v0 bg test. But it's kinda strange...why I can't tp into BG map without BG start.

Posted

    if(!InBattleGround() && mEntry->IsBattleGroundOrArena())
       return false;

This is correct result, just missing normal error message.

You can't teleport to not existed bg, you can teleport _to player_

This is check exist long time, in .goname case exist special code for do req. preparations.

Not bug because before it not work also.

Posted

Main problem with teleport to BG is need set bg id that created at bg creating.

When character teleport to another caracter then we can use bg id get from targeted character.

In case instances we also need instance id but we can generate instance copy in normal way at teleport to.

As alternative possible write semilar .goname command that will teleport to specific BG copy by id.

But make it useful need have copy that list all created at moment BG as shift-links (as done for in many .lookup commands)

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use