• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Fly Bug

Status
Not open for further replies.

ExonatioN

Noble Member
Hello people of EmuDevs!

I'm having a very strange problem, I'll try to clear it out and explain it, however it's a strange bug that i never have heard of before.

Example & Description of the bug:

I take a fly mount on, i log out and i'm logging in again, then I'm able to fly (with default movement speed for walking) (mod speed 1)
IT CAN GET FIXED BY: Taking fly mount on and off, or by doing .gm fly off.

I have tried checking AuraEffect::HandleAuraMounted but everything was ok.

This is not happening on a default ArkCore, only my modified arkcore, so there most be some code which broke it, so i'm not sure if you guys are able to help me without the source code, but it's worth asking.
What could cause this bug, where's it worth looking at?

I have a feeling of it being in player.cpp somewhere, but not quite sure, any idea?

https://github.com/TrinityCore/TrinityCore/issues/8123 A report, a liiitle bit related to it, but the bug i have is still different.


It looks like it doesn't remove my fly mount aura after i relog, which is strange. Or well, it removes my fly mount and gives me some kind of fly bug instead.

Video showing the issue, for a better understanding:
http://www.youtube.com/watch?v=roK-QXfHhQc&feature=youtu.be
 
Last edited:

Tommy

Founder
What's weird is when you logout mounted, you should login mounted. Perhaps for now you could do a hack fix and unmount when you login, if you're mounted.
 

ExonatioN

Noble Member
What's weird is when you logout mounted, you should login mounted. Perhaps for now you could do a hack fix and unmount when you login, if you're mounted.

Yeah indeed, i should login mounted as well, but it like dismounts the mount and make me able to fly instead.

Do you have any special hack fix in mind? - Details? :)

Video showing the issue, for a better understanding:
http://www.youtube.com/watch?v=roK-QXfHhQc&feature=youtu.be
 
Last edited:

Tommy

Founder
Yeah indeed, i should login mounted as well, but it like dismounts the mount and make me able to fly instead.

Do you have any special hack fix in mind? - Details? :)

Video showing the issue, for a better understanding:
http://www.youtube.com/watch?v=roK-QXfHhQc&feature=youtu.be

Well, at least you don't keep the speed. XD

Until you resolve the issue, you could look at .gm fly off command and take fly off with that on LogOut. Might be pretty hard to pinpoint the issue on a new ArkCore considering you said yours is custom. Have you ever pulled from their repo?
 

ExonatioN

Noble Member
Well the server is a big server, and we can't do .gm fly off on all of them XD

@ Might be pretty hard to pinpoint the issue on a new ArkCore considering you said yours is custom. Indeed, i have a feeling it's a crossfaction bg script causing it (in player.cpp) but not sure yet.

I tried putting different cpp files back to the arkcore default.

Unit.cpp, unit.h, spellmgr.cpp, spellmgr.h, spellauraeffects.cpp, spelleffects.cpp etc etc

But still bugging, so i'm pretty sure it's in player.cpp somewhere
 

Tommy

Founder
Well the server is a big server, and we can't do .gm fly off on all of them XD

@ Might be pretty hard to pinpoint the issue on a new ArkCore considering you said yours is custom. Indeed, i have a feeling it's a crossfaction bg script causing it (in player.cpp) but not sure yet.

I tried putting different cpp files back to the arkcore default.

Unit.cpp, unit.h, spellmgr.cpp, spellmgr.h, spellauraeffects.cpp, spelleffects.cpp etc etc

But still bugging, so i'm pretty sure it's in player.cpp somewhere

You don't do .gm fly off on each individual player by hand, that's why I mentioned the OnLogin/OnLogout hook.
 

ExonatioN

Noble Member
Oh my bad lol, but I've never worked with OnLogin/OnLogout, so maybe you could help me a bit futher? Would be appreciated a lot.
 

Tommy

Founder
Oh my bad lol, but I've never worked with OnLogin/OnLogout, so maybe you could help me a bit futher? Would be appreciated a lot.

I don't need to help with a hack fix, lol. All you need to do is look at the fly command and see how they do it and just replicate the code into the OnLogin hook. However, as I said, it is a hack fix, it should only be temporary until you find the real issue.
 

ExonatioN

Noble Member
Thanks for the help, i will keep look into the issue, probably some code, spell fix or something which causes it.

I will take a look and see how the fly command is handled.
 

Hamar

BETA Tester
Yes this doesn't occur on original repo, you'll have to go through your changes and find the problem or make a hack fix on player logout handler.
 
Last edited:
Status
Not open for further replies.
Top