Couple of Questions

05/20/2012 03:27 shadowman123#1
Well i Got Couple of Question :-

1 - When i Activated Flower Transform it doesnt appear to others ..So is it Sent to players using Spawn Packet ?

2 - when i Sent Poker Table packet 2172 to myself ..once i go away from then Come back it disAppear so how i prevent that ..

Regards
Shadowman123
05/20/2012 06:42 pro4never#2
*sigh* I think this still boils down to not understanding how packets or the conquer client works.

Your screen consists of a 18x18 space. Objects outside of this range are removed by the client (not necessary for display. They are a screen and a half away!).

The server is responsible for keeping track of what objects the client CURRENTLY knows about. When you send the poker table, you're saying to the client "hey, here's what something at this location looks like". The server itself doesn't have any concept of what a poker table is, where it is or what it does... You've simply sent information to the client.

For the table to do anything meaningful, you'd have to give the server some representation of a poker table and its statistics. Then you'd insert this object into your map and handle spawning/despawning it from the client.


As for flower transform... never touched flowers but my guess is it's the exact same issue.

You're mistaking sending a single client a piece of information with having the server understand what that information means and distribute it to other clients... that's simply not how programming (especially client/server programming) works.
05/20/2012 12:46 dego4ever#3
Code:
14 00 16 08 01 00 00 00 00 00 00 00 EA 03 00 00 5C 2F 19 00
that's orchid transform pa
send it to screen players
05/20/2012 22:19 shadowman123#4
Quote:
Originally Posted by dego4ever View Post
Code:
14 00 16 08 01 00 00 00 00 00 00 00 EA 03 00 00 5C 2F 19 00
that's orchid transform pa
send it to screen players
well i already coded Transform ..what i need to know that how the TRansform sent to players .. through packet Or its Spawn Packets
05/21/2012 00:51 _DreadNought_#5
Isnt transform done by the update packet lol...

#edit
update packet handles status effects.

You modify the body field to transform someone, the server should keep note of there real mesh and there transformation mesh.