Giter Site home page Giter Site logo

lu_packets's People

Contributors

aronwk-aaron avatar emosewamc avatar enteryournamehere avatar lcdr avatar xiphoseer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lu_packets's Issues

Pet component serialization is incorrect

void __thiscall
LWOPetComponent::Deserialize(LWOPetComponent *this,BitStream *param_2,bool isConstruction)
{  
  if (BitStream::ReadBit(param_2)) {
    int petState;
    BitStream::ReadBits(param_2,(char *)&petState,32,true);
    int petAbilityType;
    BitStream::ReadBits(param_2,(char *)&petAbilityType,32,true);
    if (BitStream::ReadBit(param_2)) {
      LWOOBJID interaction;
      BitStream::ReadBits(param_2,(char *)&interaction,64,true);
    if (BitStream::ReadBit(param_2)) {
      LWOOBJID ownerId;
      BitStream::ReadBits(param_2,(char *)&this->ownerId,64,true);
    }
    if (BitStream::ReadBit(param_2)) {
      int modStatus;
      BitStream::ReadBits(param_2,(char *)&modStatus,32,true);
      int size;
      BitStream::ReadBits(param_2,(char *)&size,8,true);
      if (size != 0) {
        // Read wstring.  size is converted to bits and then multiplied by 2 for wstring size
        BitStream::ReadBits(param_2,(char *)local_2d4,(uint)size << 4,true);
      }
      BitStream::ReadBits(param_2,(char *)&size,8,true);
      if (size!= 0) {
        // Read wstring.  size is converted to bits and then multiplied by 2 for wstring size
        BitStream::ReadBits(param_2,(char *)local_2d4,(uint)size << 4,true);
      }
    }
  }
  return;
}

I have removed all unncessary data from the code block to prevent clutter.

GM UpdatePropertyOrModelForFilterCheck is undocumented

GameMessage enum 863
Server recieved GameMessage

#[derive(Debug, GameMessage, PartialEq)]
pub struct UpdatePropertyOrModelForFilterCheck {
bool isProperty,
ugcId: ObjectId,
playerId: ObjectId,
worldId: ObjectId,
name: LuVarWString,
description: LuVarWString
}

Unknown2 in Controllable physics serilization is undocumented

Unknown 2 in controllable physics serialization is missing/incorrect.

https://github.com/lcdr/lu_packets/blob/master/src/raknet/client/replica/controllable_physics.rs#L42-L45

Here is a partial implementation in DLU with the first parts being pickup radius control used for magnet abilities.

https://github.com/DarkflameUniverse/DarkflameServer/blob/main/dGame/dComponents/ControllablePhysicsComponent.cpp#L92-L97

The second unimplemented part has to do with bubbles from ZP/YRK that were used in skunk invasions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.