![]() |
#1 |
Huge Clucker
![]() ![]() ![]() Join Date: Jul 2009
Location: Czech Republic
Posts: 277
Reputation: 20
|
![]()
Hello,
i found a bug. Create object. Move it (long way). Disconnect from server, connect to the same server and port to the object. And you see object in the actual pos but not moving. (testing on 0.3.DL, I use natives: CreateObject and MoveObject). GetObjectPos return correct position, but object in client not show in this return position. |
![]() |
![]() |
![]() |
#2 |
Banned
![]() Join Date: Apr 2010
Posts: 87
Reputation: 13
|
![]()
I am not sure, but I believe using Incognito streamer solves this problem. (But it doesn't mean it shouldn't be addressed by the developers)
|
![]() |
![]() |
![]() |
#3 |
Huge Clucker
![]() ![]() ![]() Join Date: Mar 2008
Location: CZ
Posts: 386
Reputation: 423
|
![]()
It's not a bug, the move instruction is sent to the clients only at the moment, when the movement begins. The movement itself is done client-side, not server-side. You can divide the long distance into multiple shorter ones to make server-sided synchronized movement.
Or use the streamer plugin, if it helps. Oh wait, you stated recently, that whoever uses plugins, their scipts are no longer their work. No plugins then. |
![]() |
![]() |
![]() |
#4 | |
Huge Clucker
![]() ![]() ![]() Join Date: Jul 2009
Location: Czech Republic
Posts: 277
Reputation: 20
|
![]()
To fix this problem, use MoveObject again when the player connects to the server. I think SA-MP could fix this bug in the next version.
Quote:
Why use a foreign streamer plugin? I created my own streamer plugin over which I have 100% control and not crash my server. |
|
![]() |
![]() |
![]() |
#5 | |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Oct 2009
Posts: 2,071
Reputation: 188
|
![]() Quote:
Second, why not use streamer plugin? Its stable, its fast and its awesome. I dont think there is a server that doesnt use streamer plugin by incognito. |
|
![]() |
![]() |
![]() |
#6 | |
Huge Clucker
![]() ![]() ![]() Join Date: Jul 2009
Location: Czech Republic
Posts: 277
Reputation: 20
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Big Clucker
![]() ![]() Join Date: Feb 2013
Posts: 198
Reputation: 275
|
![]()
The server also calculates the movement in order to (somewhat) accurately call OnObjectMoved. When a player joins, you can loop through all objects, see if they are moving, and inform the player of the movement with the proper RPC. I suppose you'd have to use YSF for most of this though.
|
![]() |
![]() |
![]() |
#8 | |
Little Clucker
![]() Join Date: Aug 2019
Posts: 8
Reputation: 0
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Client CmD | arlindi | Scripting Help | 7 | 30/04/2015 06:36 PM |
Client Bug | BloodyEric | Help Archive | 2 | 28/11/2010 10:06 PM |
Client IDs? | Calgon | Help Archive | 1 | 22/08/2010 01:46 PM |
Help! Bug client Sa-Mp | Yaughi | Client Support | 2 | 27/04/2010 02:45 AM |
client 0.2 and 0.3 | straco | Client Support | 3 | 22/10/2009 12:34 AM |