Coder Social home page Coder Social logo

silkroaddoc's People

Contributors

dummkopfofhachtenduden avatar pakkux avatar tanisman avatar wegs96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

silkroaddoc's Issues

BMS format object's collision

Hello!

Please help clarify where exactly object's collision is stored in BMS format.
At first I thought SR has just bounding box based collision but I see some collision mentions in NavMeshObj too. Or it's a different thing that needed for NPC navigation?

Is there some simple way to identify whether object has a collision or not? (checking some flag or offset)

Conversion SR parameters to other software

  1. Any information about how SR parameters (such as normals, position, uv) relate to other software?

  2. Is there any other factors besides normal value in BMS format that affect how normals will work in game?
    I made custom bms file for tests (attached it here - chinaman_adventurer_face.bms.txt ),

I've used the guidelines described below but it still looks broken in game. I've tried to inverse axes during normal calculation but got the same results.

In-game:
image

Blender:
image

What I've learned experimentingis that SR has left-handed coordinate system with Y up.
So the formulas to convert parameters to Blender (right-handed coordinate system with Z up) are:

  1. Blender Position = SR Postion.xzy * Vector(-1, 1, -1)
  2. Blender Normal = SR Normal.xzy * Vector(-1, 1, -1)
  3. Blender UV = (SR UV.x, 1 - SR UV.y)

Maybe we should put it somewhere on the wiki?

0x750E - wrong packet description

Hey,

I saw this: 0x750E - CLIENT_AGENT_ENVIRONMENT_WEATHER_REQUEST.cs

Thats not correct. :)
This opcode is for requesting your consignment list.

This packet is normally send by the client directly after the "spawn confirmation" (0x3012).
If you are clientless you have to send this packet manually.

Response (0xB50E):

uint8 itemCount;
uint32 consignmentId
uint8 consignmentState (0 = registered, 1 = sold, 2 = expired)
uint32 itemModelid (see itemdata..)
uint16 quantity
uint8[2] unknown .. (maybe quantity is 4 bytes long?!)
uint64 registered price
uint64 deposit price
uint64 comission price
uint32 seconds (till 1.1.1970.. presents the expiration-date or "item will be deleted"-date if already expired!)

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.