Jump to content

xeross155

Members
  • Posts

    702
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by xeross155

  1. Hmm, looks cool, might try it out.
  2. Still 14-16 hours uptime is considered weak in normal programming, but I must say, very impressive. I'll contact you whenever I get that many testers.
  3. I'll just bump this so people looking for it can find it again. If anyone needs any help don't hesitate to ask.
  4. Hmm, would be awesome if this would eventually become the mangos main branch.
  5. You should add pkg-config to the apt-get command because sometimes that's missing and that causes errors such as the above I posted.
  6. Dont need fixing it applied but just some whitespace not matching. Doesn't affect anything afaik.
  7. Since my last system upgrade mangos stopped working here's the error code : checking for OPENSSL... configure: error: Missing openssl Now you can go shouting install libssl-dev but it's installed. So I think I might have a newer undetected version. Is there any way I can change some path or make it detect it ? Thanks, Xeross
  8. Will upload a new patch soon but it was made with my custom branch so dunno if it'll work for you guys. Here it is: http://pastie.org/598694
  9. I've checked insiders mangos and the knockback function is as follows: void WorldSession::HandleMoveKnockBackAck( WorldPacket & recv_data ) { sLog.outDebug("CMSG_MOVE_KNOCK_BACK_ACK"); MovementInfo movementInfo; uint32 unk1,unk2,unk3; recv_data >> unk1 >> unk2 >> unk3; ReadMovementInfo(recv_data, &movementInfo); //Save movement flags _player->m_movementInfo.SetMovementFlags(MovementFlags(movementInfo.flags)); #ifdef MOVEMENT_ANTICHEAT_DEBUG sLog.outBasic("%s CMSG_MOVE_KNOCK_BACK_ACK: tm:%d ftm:%d | %f,%f,%fo(%f) [%X]",GetPlayer()->GetName(),movementInfo.time,movementInfo.fallTime,movementInfo.x,movementInfo.y,movementInfo.z,movementInfo.o,movementInfo.flags); sLog.outBasic("%s CMSG_MOVE_KNOCK_BACK_ACK additional: vspeed:%f, hspeed:%f",GetPlayer()->GetName(), movementInfo.j_unk, movementInfo.j_xyspeed); #endif _player->m_movementInfo = movementInfo; _player->m_anti_Last_HSpeed = movementInfo.j_xyspeed; _player->m_anti_Last_VSpeed = movementInfo.j_unk < 3.2f ? movementInfo.j_unk - 1.0f : 3.2f; uint32 dt = (_player->m_anti_Last_VSpeed < 0) ? (int)(ceil(_player->m_anti_Last_VSpeed/-25)*1000) : (int)(ceil(_player->m_anti_Last_VSpeed/25)*1000); _player->m_anti_LastSpeedChangeTime = movementInfo.time + dt + 1000; }
  10. Am applying manually now to a new rev but stuck with this @@ -489,34 +827,33 @@ void WorldSession::HandleMountSpecialAnimOpcode(WorldPacket& /*recvdata*/) GetPlayer()->SendMessageToSet(&data, false); } -void WorldSession::HandleMoveKnockBackAck( WorldPacket & /*recv_data*/ ) +void WorldSession::HandleMoveKnockBackAck( WorldPacket & recv_data ) { // CHECK_PACKET_SIZE(recv_data,?); sLog.outDebug("CMSG_MOVE_KNOCK_BACK_ACK"); // Currently not used but maybe use later for recheck final player position // (must be at call same as into "recv_data >> x >> y >> z >> orientation;" - /* - uint32 flags, time; - float x, y, z, orientation; - uint64 guid; - uint32 sequence; - uint32 ukn1; - float xdirection,ydirection,hspeed,vspeed; + /* extract packet */ + MovementInfo movementInfo; + uint32 unk1,unk2,unk3; + recv_data >> unk1 >> unk2 >> unk3; + ReadMovementInfo(recv_data, &movementInfo); - recv_data >> guid; - recv_data >> sequence; - recv_data >> flags >> time; - recv_data >> x >> y >> z >> orientation; - recv_data >> ukn1; //unknown - recv_data >> vspeed >> xdirection >> ydirection >> hspeed; + //Save movement flags + _player->m_movementInfo.SetMovementFlags(MovementFlags(movementInfo.flags)); - // skip not personal message; - if(GetPlayer()->GetGUID()!=guid) - return; + #ifdef MOVEMENT_ANTICHEAT_DEBUG + sLog.outBasic("%s CMSG_MOVE_KNOCK_BACK_ACK: tm:%d ftm:%d | %f,%f,%fo(%f) [%X]",GetPlayer()->GetName(),movementInfo.time,movementInfo.fallTime,movementInfo.x,movementInfo.y,movementInfo.z,movementInfo.o,movementInfo.flags); + sLog.outBasic("%s CMSG_MOVE_KNOCK_BACK_ACK additional: vspeed:%f, hspeed:%f",GetPlayer()->GetName(), movementInfo.j_unk, movementInfo.j_xyspeed); + #endif + + _player->m_movementInfo = movementInfo; + _player->m_anti_Last_HSpeed = movementInfo.j_xyspeed; + _player->m_anti_Last_VSpeed = movementInfo.j_unk < 3.2f ? movementInfo.j_unk - 1.0f : 3.2f; - // check code - */ + uint32 dt = (_player->m_anti_Last_VSpeed < 0) ? (int)(ceil(_player->m_anti_Last_VSpeed/-25)*1000) : (int)(ceil(_player->m_anti_Last_VSpeed/25)*1000); + _player->m_anti_LastSpeedChangeTime = movementInfo.time + dt + 1000; } as the code for that function has changed to sLog.outDebug("CMSG_MOVE_KNOCK_BACK_ACK"); recv_data.read_skip<uint64>(); // guid recv_data.read_skip<uint32>(); // unk MovementInfo movementInfo; ReadMovementInfo(recv_data, &movementInfo); So what would be the patch code for that part in the new mangos revs ?
  11. Look better, Think it's in the database subforum
  12. Look in the database forum for Mangos Blizzlike armory (MBA)
  13. If a quest is bugged and a player needs an item to complete it(And you verify it's bugged) you should be able to give them the item. (Or set the quest to completed)
  14. + if (MasterShaperSpellId) Should be + if (MasterShaperSpellId > 0) And I prefer + if (0 < MasterShaperSpellId)
  15. I don't like the sound of OK-ish
  16. It looks kind of useless to me, GM's should be able to help players, if a GM is corrupt then kick his ass.
  17. gz ambal, great work.
  18. Cool. Latest rev as of now [8183]
  19. Still bugs/exploits should be fixed regardless if the problem is only on illegal public servers.
  20. There's a button for that If you need any other help with the multi-realm stuff don't hesitate to ask.
  21. just use other ports. realmlist just becomes set realmlist HOST:PORT
  22. I think you need to change isInstanceable()/isDungeon() functions or something similiar to make av return as a normal map instead of BG
  23. yeye, Was just thinking about other things in wow that need account wide flags, but there aren't any atm
×
×
  • 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