#MessagingService help

1 messages · Page 1 of 1 (latest)

vague dagger
#

so i tried to make it so that u could create a private server for exploiters

Script A:
local s, err = nil, nil
s, err = pcall(function()
local place = TPS:ReserveServer(placeId)
TPS:TeleportToPrivateServer(placeId, place, {plr}
MessagingService:PublishAsync(place, {thing = "ExploiterZone})
end)

Script B:
if game.PrivateServerId ~= "" then
MessagingService:SubscribeAsync(game.PrivateServerId, function(data)
if data and data.data["thing"] == "ExploiterZone" then
warn("exploiter zone")
workspace:SetAttribute("ExploiterZone", true)
end
warn("tried again")
end)
warn("tried")
end

it does print "tried", but not "tried again", neither "exploiter zone"
did i fire it too early?

balmy spindle
#

why would u want a private server for exploiters

#

u dont want exploiters

ivory violet
#

ur not helpful

balmy spindle
#

if ur so cool

vague dagger
vague dagger
#

its a ffa tag type game (not killing, but damaging people)

#

characters are these animators u see on social media (like pmdamiann)

#

i mean the game is kinda done i just need to add features

ivory violet
#

Just help him nіgga stop fking around

#

I bet you he does not gaf about your bs

vague dagger
#

whattt

balmy spindle
#

erm

west lintel
balmy spindle
vague dagger
#

its a server which is made for exploiters so they can exploit there instead of in the main game so they dont ruin non exploiting players gameplay

#

i mean i will still implement anti cheat

#

but it would be kind to exploit in the exploit servers instead of main servers

#

now

#

i dont mean roblox allows this anyway

west lintel
west lintel
#

Either way, you can create private servers on the fly if that's what you're looking for

vague dagger
#

now the idea here is

#

they will open a private server inside the game which other exploiters can join

#

but

#

i tried to make it so that it opens a private server in the main game, and it sends a message through messageservice so the server understands that this is an exploiting server

#

MessagingService failed miserably

west lintel
vague dagger
#

public gave empty

#

private gave non empty

#

and by the way

#

the problem is in subscribeasync

west lintel
vague dagger
#

well

#

that didnt work

#

so what i used for topic in publishasync was the places id

#

and then i tried to catch it with subscribeasync in another script

vague dagger
#

but it didnt work

west lintel
vague dagger
#

now i didnt include the full script

#

for the script a

#

but script b is the full code

#

script a works fone

#

fine

#

i think the problem is in script b

#

btw the full concept is in the main game itself, u can click a button to make a new private server

#

and then it sends a message through messageservice to say that this is an exploiter server

#

and script b tries to catch it

west lintel
west lintel
# vague dagger i will try that

also, from the docs:

Delivery is best effort and not guaranteed. Make sure to architect your experience so delivery failures are not critical.

So this feels risky

vague dagger
#

im a fucking dumbass bro

#

why dont i just make it so that if it has a privateserverid, then it will be an exploiter zone (well, i mean this kinda fires back if theres a literal private server thats not an exploiter zone but exploiter zone is so that it doesnt save the players progress in the main servers)