Move Object and reconnect (0.3.DL?)

  • 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.

    SuperParba.eu
    [ENG] play.superparba.eu:7777

    - Built our own islands, which you will not find anywhere else!
    - Unique Gang system in which gangs fight for territory, race or compete in various events.
    - There are companies owned by players for each type of employment.
    - Many properties of all kinds from car showrooms, casinos, advertising agencies, weed farms, bars and many others.
    - Hotels, houses and apartments in which you can buy your own furniture from a wide selection.
    - Growing marijuana that can be traded, used in convoys with other players or simply consumed for personal purposes.
    - 150-250 players daily online and a friendly community would like to welcome new faces. We have a record of 504 players online!
    - Original mini games such as Golf, Ice Hockey, 8 ball pool and more where you will have a lot of fun

  • 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.

    [ENG] s2.gta-multiplayer.cz:7777 WTLS 2 (Singleplayer Features)
    [ENG] s3.gta-multiplayer.cz:7777 WTLS 3 (Singleplayer Features)

    - Pool, basketball, golf, Poker Texas Holdem, races and other minigames
    - Video game QUB3D
    - Roulette, blackjack, slots, video poker and horse-betting
    - Stock market BAWSAQ
    - Organizations and offices
    - Missions from Big Smoke, Sweet, Zero, Cesar or Woozie!
    - Gang wars
    - More than 30 jobs (police, paramedic, firefighter, burglar, pimp, valet, pizza-boy and more)
    - Gyms, strip clubs, clothes shops, hidden packages, oysters, spray tags, horseshoes and more
    Watch the TRAILER
    Servers are hosted at Evolution Host

  • 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:


    You can divide the long distance into multiple shorter ones to make server-sided synchronized movement.

    It's a bad solution. When player connect to server the object doesn't move. When send MoveObject object start from bad (old) position.


    Why use a foreign streamer plugin? I created my own streamer plugin over which I have 100% control and not crash my server.

    SuperParba.eu
    [ENG] play.superparba.eu:7777

    - Built our own islands, which you will not find anywhere else!
    - Unique Gang system in which gangs fight for territory, race or compete in various events.
    - There are companies owned by players for each type of employment.
    - Many properties of all kinds from car showrooms, casinos, advertising agencies, weed farms, bars and many others.
    - Hotels, houses and apartments in which you can buy your own furniture from a wide selection.
    - Growing marijuana that can be traded, used in convoys with other players or simply consumed for personal purposes.
    - 150-250 players daily online and a friendly community would like to welcome new faces. We have a record of 504 players online!
    - Original mini games such as Golf, Ice Hockey, 8 ball pool and more where you will have a lot of fun

  • Quote:

    Originally Posted by ATomas

    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.


    It's a bad solution. When player connect to server the object doesn't move. When send MoveObject object start from bad (old) position.


    Why use a foreign streamer plugin? I created my own streamer plugin over which I have 100% control and not crash my server.

    First of all, its not bad solution. Its not perfect but it is the best one you will get with available functions in samp.

    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.

  • Quote:


    First of all, its not bad solution. Its not perfect but it is the best one you will get with available functions in samp.

    using MoveObject again when the player connects to the server have perfect synchronization.

    SuperParba.eu
    [ENG] play.superparba.eu:7777

    - Built our own islands, which you will not find anywhere else!
    - Unique Gang system in which gangs fight for territory, race or compete in various events.
    - There are companies owned by players for each type of employment.
    - Many properties of all kinds from car showrooms, casinos, advertising agencies, weed farms, bars and many others.
    - Hotels, houses and apartments in which you can buy your own furniture from a wide selection.
    - Growing marijuana that can be traded, used in convoys with other players or simply consumed for personal purposes.
    - 150-250 players daily online and a friendly community would like to welcome new faces. We have a record of 504 players online!
    - Original mini games such as Golf, Ice Hockey, 8 ball pool and more where you will have a lot of fun

  • 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.

  • Quote:

    Originally Posted by BloodMaster

    I am not sure, but I believe using Incognito streamer solves this problem. (But it doesn't mean it shouldn't my ip birthday wishes tneb be addressed by the developers)

    I use natives: CreateObject and MoveObject). GetObjectPos return correct position, but object in client not show in this return position.

  • Quote:

    Originally Posted by zinadoll

    I use natives: CreateObject and MoveObject). GetObjectPos return correct omegle position, but object in client not show walmart one in this return position.

    The movement itself is done client-side, not server-side.