An evil networking library created purely out of spite. Have you ever wanted networking that will eat your dragons? Expose unpredictable and undefined behaviour? Is Hyrum’s law incarnate? You’re in the right place.
Remoteless is a networking library for the Roblox engine that does not rely on RemoteEvent
, RemoteFunction
or UnreliableRemoteEvent
but instead chooses alternative blasphemous methods for achieving client to server and server to client communication.
API Examples
Server
local Remoteless = require(game:GetService("ReplicatedStorage"):WaitForChild("Remoteless"))
Remoteless.Initiate()
local function PlayerAdded(Player)
Remoteless.PlayerConnected(Player)
while Remoteless.Active(Player) do
local Buf = Remoteless.WaitForEvent(Player)
print("Received data from client: ", buffer.tostring(Buf))
end
end
local function PlayerRemoving(Player)
Remoteless.PlayerDisconnected(Player)
end
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(PlayerAdded)
Players.PlayerRemoving:Connect(PlayerRemoving)
for i, Player in Players:GetPlayers() do
task.spawn(PlayerAdded, Player)
end
task.wait(5)
while true do
for i, Player in Players:GetPlayers() do
Remoteless.Send(Player, buffer.fromstring("Good Morning!"))
end
task.wait(5)
end
Client
local Remoteless = require(game:GetService("ReplicatedStorage"):WaitForChild("Remoteless"))
local Alive = true
local Humanoid = script.Parent:WaitForChild("Humanoid")
Humanoid.Died:Once(function()
Alive = false
Remoteless.Cancel()
end)
task.defer(function()
while Alive do
local Buf = Remoteless.WaitForEvent()
task.spawn(function()
print("Received data from server: ", buffer.tostring(Buf))
end)
end
end)
Remoteless.Send(buffer.fromstring("Hello World"))
Remoteless.Send(buffer.fromstring("Goodbye World"))
Remoteless.Send(buffer.fromstring("Hello World"))
Remoteless.Send(buffer.fromstring("Goodbye World"))
Remoteless.Send(buffer.fromstring("Hello World"))