Comments (9)
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.
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.
@robertdeclaux Take a look at 19efbd2 (pushed to master). Is it fixed?
from ultimaxna.
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.
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.
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.
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.
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.
Wow. So quick 👍 , to remind we can rollback to old target cancel function
from ultimaxna.
Related Issues (20)
- There is No Target Highlighting in War Mode
- When your target is a mobile (that isn't yourself) it should have a mini health bar beneath the target HOT 3
- Canceling a pet command that require a target cause all these functions to stop working HOT 2
- Client doesn't exist HOT 3
- Client crash after HOT 3
- Porting to MonoGame HOT 33
- necessary macro commands
- Missing body sprites should render as a no-draw tile? HOT 7
- Correct file path names throughout. HOT 1
- Fix map patching using *dif*.mul files. HOT 2
- LBR Compatibility. HOT 2
- ZaneDubya's ongoing miscellaneous issue sack.
- Moongate gump doesn't work. HOT 1
- Add GM Robe to paperdoll HOT 5
- QA: Make sure new text layout changes don't break controls that use RenderedText.
- Features additions for BookGump / TextEntryPage
- Elemental death animation doesn't end; dead mobiles health bars stay open HOT 1
- Is this project still alive? HOT 3
- transparent static bugs HOT 4
- hight objects picking
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ultimaxna.