Coder Social home page Coder Social logo

Comments (9)

ZaneDubya avatar ZaneDubya commented on September 15, 2024

@robertdeclaux:

This works on RunUO. I noticed from your other opened issue that you use sphereserver. I don't intend to target any other servers until the client is feature complete (if that ever occurs). If you would like to debug this:

When initially writing the client, I would often be running RunUO in one visual studio window, and UltimaXNA in another. That way, I could debug exactly how the client and server were interacting. I recommend doing this with your server.

When the user targets something - either land or an entity - the client eventually calls WorldInput.onTargetingButton(AMapObject worldObject). It then sends the correct kind of packet (either TargetObjectPacket or TargetXYZPacket) to the server. I would check what is happening on the server when it receives these packets.

from ultimaxna.

robertdeclaux avatar robertdeclaux commented on September 15, 2024

Target request then target ground behavior comparison UltimaXNA and Default client
Original Client
Server -> Client
6C 01 00 00 01 E9 00 00 00 00 00 00 00 00 00 00
00 00 00

Client -> Server
6C 01 00 00 01 E9 00 00 00 00 00 15 3D 04 98 00
00 00 00

UltimaXNA
Server -> Client
6C 01 00 00 01 E9 00 00 00 00 00 00 00 00 00 00
00 00 00

Client -> Server // no 01 E9
6C 01 00 00 00 00 00 00 00 00 00 15 3D 04 98 00
00 00 00

Client -> Server // target cancel packet?
6C 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00
00 00 00

from ultimaxna.

ZaneDubya avatar ZaneDubya commented on September 15, 2024

@robertdeclaux Take a look at 19efbd2 (pushed to master). Is it fixed?

from ultimaxna.

robertdeclaux avatar robertdeclaux commented on September 15, 2024

default client
6C 01 00 00 01 E9 00 00 00 00 00 15 3D 04 98 00

ultima xna
6C 01 00 00 00 00 00 00 00 00 00 15 3D 04 98 00
if we can send 01 E9 too it will be completely fixed

from ultimaxna.

ZaneDubya avatar ZaneDubya commented on September 15, 2024

Looking at various UO protocol guides, there seems to be some disagreement as to what that value is.

It could be the Serial of the targeting mobile (the player's serial). [1] Is your serial 0x000001E9?
Or is could be the ID of the Cursor. [2]

References:
[1] http://necrotoolz.sourceforge.net/kairpacketguide/packet6c.htm
[2] http://docs.polserver.com/packets/index.php?Packet=0x6C

from ultimaxna.

ZaneDubya avatar ZaneDubya commented on September 15, 2024

For reference, my default client sends this message when targeting:

11:44:48.6312: Client -> Server 0x6C (Length: 19)
0000 6C 01 00 00 00 1B 00 00 00 00 00 09 49 04 A6 00 l...........I...
0010 05 00 00 ...

from ultimaxna.

robertdeclaux avatar robertdeclaux commented on September 15, 2024

I think its cursor id, on mobile now i will check when got home.
24 Mar 2015 18:43 tarihinde "Zane Wagner" [email protected] yazdı:

Referencing various UO protocol guides, there seems to be some
disagreement as to what that value is.

It could be the Serial of the targeting mobile (the player's serial). Is
your serial 0x000001E9?
Or is could be the ID of the Cursor. [2]

References:
[1] http://necrotoolz.sourceforge.net/kairpacketguide/packet6c.htm
[2] http://docs.polserver.com/packets/index.php?Packet=0x6C


Reply to this email directly or view it on GitHub
#8 (comment).

from ultimaxna.

ZaneDubya avatar ZaneDubya commented on September 15, 2024

As it turns out, it's a cursor ID that is unique to the target packet. I've implemented this and pushed it to Master. Should be fixed!

from ultimaxna.

robertdeclaux avatar robertdeclaux commented on September 15, 2024

Wow. So quick 👍 , to remind we can rollback to old target cancel function

from ultimaxna.

Related Issues (20)

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.