[Release] Functional Pala Springs Aerial Tramway

A change was made to use the first player rather than the “host” for syncing.
This will work on OneSync but is basically as unreliable as the old method.

1 Like

hello
I have a problem, once I got there I didn’t get the message to leave the booth and I remain anchored to infinity. can someone help me? Thank you

Looks good, thanks

You are amazing!

Hi,

I see the cars docked, but they have the doors closed and I can’t enter nor exit them.

(OneSync Server)

This is what occurs when they’re waiting to be synced, they’ll remain docked until whoever is the designated syncer catches up. In certain cases this never occurs and they’ll remain desynced hence:

1 Like

Indeed, it’s never unlocking! So there’s basically nothing I can do to fix this.

I got it to work perfectly by editing

RegisterServerEvent("omni:cablecar:host:sync")
AddEventHandler("omni:cablecar:host:sync", function(index, state)
    if source == GetPlayers()[1] then
        TriggerClientEvent("omni:cablecar:forceState", -1, index, state)
    end
end)

to

RegisterServerEvent("omni:cablecar:host:sync")
AddEventHandler("omni:cablecar:host:sync", function(index, state)
    TriggerClientEvent("omni:cablecar:forceState", -1, index, state)
end)

(basically just removed the if statement)

now it looks like it’s always syncing between players, might not be properly synced while moving, but it 100% is when docking, and it always opens doors as well.

Cheers!

3 Likes

Nice script just how do we go out because when I get out it remains blocked and also it would be cool to call the device when there is no?

Ty man !

Is there any fixes for this for OneSync? The cablecar just doesn’t sync at all, you see it when you start the script for about 5 seconds, and then it disappears and you never see it again until you restart the script again.

1 Like

Honeslty, I changed the script just like you Mathew and nothing changed, docks and doesnt allow to enter and doors are closed

1 Like

I found a fix for my issue…

Issue:
doesn’t open the door when cable car arrived at the station whether there is a player or not on the train, cannot deattached themselves and etc.
Basically, it sat there in idle state without opening the door.

I change the cablecar.state from ‘IDLE’ to ‘MOVE_TO_IDLE_BOTTOM’
Line 360.

 -- Check if we've reached the bottom again
            if cablecar.gradient <= 1 then
                -- Set to raw idle to do nothing and ask the server to sync cars
                cablecar.state = "MOVE_TO_IDLE_BOTTOM"
                cablecar.gradient_distance = 0.0 
				TriggerServerEvent("omni:cablecar:host:sync", cablecar.index, "IDLE_BOTTOM")
                return
            end
4 Likes

Hello,
I used your plugin,
I travel by the Aerial Tramway with my friends,
but, I display my friend’s role has been floating,
is there any solution? Ways to keep him normal.

Sorry, my English so bad, wish you can understand my question. :rofl:

Not really, I’m afraid.
The cars aren’t networked, so your friend is technically standing in nothing on your screen, which is why he’s floating and bouncing.

1 Like

okay~
Thank you for your reply.

1 Like

Big Thank you i just done this fix and all working great again

1 Like

How to make sure you can move during the anim? Pleas or gg

Any update coming?

1 Like

Ty soo much its working

1 Like