Problem: I get a 769 error when I click teleport.
local TS = game:GetService("TeleportService")
startCallEvent.OnServerEvent:Connect(function(player)
--local generatedServerId = generateServer()
TS:TeleportToPrivateServer(game.PlaceId, "kaSKK6CGomz", {player})
--local code = TS:ReserveServer(game.PlaceId)
end)
phSalami
(vxx)
2
local code = TS:ReserveServer(game.PlaceId)
TS:TeleportToPrivateServer(game.PlaceId, code, {player})
The code must be a generated code for a reserved server.
Yeah, I already used the generated code.
1 Like
Esma210
(Esma210)
4
every time you use teleportserver:reserveserver() a new code is made
I’m aware of that and that isn’t answering my question.
I already generated a code once, and I plan to reuse that access code to enter a reserved server, but it does not seem to work.
Esma210
(Esma210)
6
When a server shuts down, its code is unusable and a server shuts down when the devs use shut all games or no players are inside
phSalami
(vxx)
7
local TS = game:GetService("TeleportService")
local code = TS:ReserveServer(game.PlaceId)
startCallEvent.OnServerEvent:Connect(function(player)
--local generatedServerId = generateServer()
TS:TeleportToPrivateServer(game.PlaceId, code, {player})
--local code = TS:ReserveServer(game.PlaceId)
end)
try this code to check if the error is coming from an invalid code or no.
That is a misleading information.
phSalami
(vxx)
9
Reserved Server Ids are valid forever
Esma210
(Esma210)
10
my mistake then because i just learnt
The thing is I already generated a code, which is “kaSKK6CGomz” and I want people to reuse it, just very curious why it errors?
phSalami
(vxx)
12
have you tested this first tho?
local TS = game:GetService("TeleportService")
local code = TS:ReserveServer(game.PlaceId)
startCallEvent.OnServerEvent:Connect(function(player)
--local generatedServerId = generateServer()
TS:TeleportToPrivateServer(game.PlaceId, code, {player})
--local code = TS:ReserveServer(game.PlaceId)
end)
tell me if it works, so I can understand the issue further.
Yes, it works very very very well.
Esma210
(Esma210)
14
See the code?
I have it copied from the textbox:
P-UAQGNo4NibFsl0HjC4wHMvZh3YYDFNk2GuEEnzhqrUpVt3AQAAAA2
I want to reuse that.
phSalami
(vxx)
16
Alright as I can see the code is very short when it shouldnt be that short.
phSalami
(vxx)
17
Have you put kaSKK6CGomz or P-UAQGNo4NibFsl0HjC4wHMvZh3YYDFNk2GuEEnzhqrUpVt3AQAAAA2 ?
OK but that’s what the game generated.
I have put the new one, so just “UAQGNo4NibFsl0HjC4wHMvZh3YYDFNk2GuEEnzhqrUpVt3AQAAAA2”.