1.12.1
This commit is contained in:
parent
9200ecd187
commit
b84ea0276e
|
|
@ -18,7 +18,12 @@ elseif (rbxlegacyversion == "beta") then -- late 2008-early 2009
|
||||||
settings().Rendering.FrameRateManager = 2;
|
settings().Rendering.FrameRateManager = 2;
|
||||||
settings().Network.SendRate = 30;
|
settings().Network.SendRate = 30;
|
||||||
settings().Network.ReceiveRate = 60;
|
settings().Network.ReceiveRate = 60;
|
||||||
elseif (rbxlegacyversion == "gamma") then -- late 2009-mid 2010
|
elseif (rbxlegacyversion == "pre-gamma") then -- late 2009-early 2010
|
||||||
|
settings().Rendering.FrameRateManager = 2;
|
||||||
|
settings().Network.DataSendRate = 30;
|
||||||
|
settings().Network.PhysicsSendRate = 20;
|
||||||
|
settings().Network.ReceiveRate = 60;
|
||||||
|
elseif (rbxlegacyversion == "gamma") then -- mid 2010
|
||||||
settings().Rendering.FrameRateManager = 2;
|
settings().Rendering.FrameRateManager = 2;
|
||||||
settings().Network.DataSendRate = 30;
|
settings().Network.DataSendRate = 30;
|
||||||
settings().Network.PhysicsSendRate = 20;
|
settings().Network.PhysicsSendRate = 20;
|
||||||
|
|
@ -187,11 +192,14 @@ function CSServer(Port,BodyColors)
|
||||||
pcall(function() game.Close:connect(function() NetworkServer:Stop(); end) end);
|
pcall(function() game.Close:connect(function() NetworkServer:Stop(); end) end);
|
||||||
NetworkServer.IncommingConnection:connect(IncommingConnection);
|
NetworkServer.IncommingConnection:connect(IncommingConnection);
|
||||||
else
|
else
|
||||||
Server = game:GetService("NetworkServer")
|
Server = game:GetService("NetworkServer")
|
||||||
RunService = game:GetService("RunService")
|
RunService = game:GetService("RunService")
|
||||||
Server:start(Port, 20)
|
Server:start(Port, 20)
|
||||||
RunService:run();
|
RunService:run();
|
||||||
game:GetService("Players").PlayerAdded:connect(function(Player)
|
if (rbxlegacyversion == "gamma") then
|
||||||
|
game.Workspace:InsertContent("rbxasset://Fonts//Health2010.rbxm");
|
||||||
|
end
|
||||||
|
game:GetService("Players").PlayerAdded:connect(function(Player)
|
||||||
print("Player '" .. Player.Name .. "' with ID '" .. Player.userId .. "' added");
|
print("Player '" .. Player.Name .. "' with ID '" .. Player.userId .. "' added");
|
||||||
Player:LoadCharacter();
|
Player:LoadCharacter();
|
||||||
if (BodyColors == true) then
|
if (BodyColors == true) then
|
||||||
|
|
@ -205,41 +213,42 @@ function CSServer(Port,BodyColors)
|
||||||
Player.Character['Left Leg'].BrickColor = LLegColor;
|
Player.Character['Left Leg'].BrickColor = LLegColor;
|
||||||
Player.Character['Right Arm'].BrickColor = RArmColor;
|
Player.Character['Right Arm'].BrickColor = RArmColor;
|
||||||
Player.Character['Right Leg'].BrickColor = RLegColor;
|
Player.Character['Right Leg'].BrickColor = RLegColor;
|
||||||
while true do
|
|
||||||
wait(0.001)
|
while true do
|
||||||
if (Player.Character ~= nil) then
|
wait(0.001)
|
||||||
if (Player.Character.Humanoid.Health == 0) then
|
if (Player.Character ~= nil) then
|
||||||
wait(5)
|
if (Player.Character.Humanoid.Health == 0) then
|
||||||
Player:LoadCharacter()
|
wait(5)
|
||||||
if (BodyColors == true) then
|
Player:LoadCharacter()
|
||||||
PlayerColorize();
|
if (BodyColors == true) then
|
||||||
else
|
PlayerColorize();
|
||||||
PlayerNoobify();
|
else
|
||||||
|
PlayerNoobify();
|
||||||
|
end
|
||||||
|
Player.Character['Head'].BrickColor = HeadColor;
|
||||||
|
Player.Character['Torso'].BrickColor = TorsoColor;
|
||||||
|
Player.Character['Left Arm'].BrickColor = LArmColor;
|
||||||
|
Player.Character['Left Leg'].BrickColor = LLegColor;
|
||||||
|
Player.Character['Right Arm'].BrickColor = RArmColor;
|
||||||
|
Player.Character['Right Leg'].BrickColor = RLegColor;
|
||||||
|
elseif (Player.Character.Parent == nil) then
|
||||||
|
wait(5)
|
||||||
|
Player:LoadCharacter() -- to make sure nobody is deleted.
|
||||||
|
if (BodyColors == true) then
|
||||||
|
PlayerColorize();
|
||||||
|
else
|
||||||
|
PlayerNoobify();
|
||||||
|
end
|
||||||
|
Player.Character['Head'].BrickColor = HeadColor;
|
||||||
|
Player.Character['Torso'].BrickColor = TorsoColor;
|
||||||
|
Player.Character['Left Arm'].BrickColor = LArmColor;
|
||||||
|
Player.Character['Left Leg'].BrickColor = LLegColor;
|
||||||
|
Player.Character['Right Arm'].BrickColor = RArmColor;
|
||||||
|
Player.Character['Right Leg'].BrickColor = RLegColor;
|
||||||
end
|
end
|
||||||
Player.Character['Head'].BrickColor = HeadColor;
|
|
||||||
Player.Character['Torso'].BrickColor = TorsoColor;
|
|
||||||
Player.Character['Left Arm'].BrickColor = LArmColor;
|
|
||||||
Player.Character['Left Leg'].BrickColor = LLegColor;
|
|
||||||
Player.Character['Right Arm'].BrickColor = RArmColor;
|
|
||||||
Player.Character['Right Leg'].BrickColor = RLegColor;
|
|
||||||
elseif (Player.Character.Parent == nil) then
|
|
||||||
wait(5)
|
|
||||||
Player:LoadCharacter() -- to make sure nobody is deleted.
|
|
||||||
if (BodyColors == true) then
|
|
||||||
PlayerColorize();
|
|
||||||
else
|
|
||||||
PlayerNoobify();
|
|
||||||
end
|
|
||||||
Player.Character['Head'].BrickColor = HeadColor;
|
|
||||||
Player.Character['Torso'].BrickColor = TorsoColor;
|
|
||||||
Player.Character['Left Arm'].BrickColor = LArmColor;
|
|
||||||
Player.Character['Left Leg'].BrickColor = LLegColor;
|
|
||||||
Player.Character['Right Arm'].BrickColor = RArmColor;
|
|
||||||
Player.Character['Right Leg'].BrickColor = RLegColor;
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end)
|
||||||
end)
|
|
||||||
game:GetService("Players").PlayerRemoving:connect(function(Player)
|
game:GetService("Players").PlayerRemoving:connect(function(Player)
|
||||||
print("Player '" .. Player.Name .. "' with ID '" .. Player.userId .. "' leaving")
|
print("Player '" .. Player.Name .. "' with ID '" .. Player.userId .. "' leaving")
|
||||||
end)
|
end)
|
||||||
|
|
@ -358,6 +367,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,OutfitID,ColorHash,Pant
|
||||||
end
|
end
|
||||||
pcall(function() Player.Name=PlayerName or ""; end);
|
pcall(function() Player.Name=PlayerName or ""; end);
|
||||||
pcall(function() Visit:SetUploadUrl(""); end);
|
pcall(function() Visit:SetUploadUrl(""); end);
|
||||||
|
game:GetService("Visit");
|
||||||
else
|
else
|
||||||
pcall(function() game:SetPlaceID(-1, false) end);
|
pcall(function() game:SetPlaceID(-1, false) end);
|
||||||
pcall(function() game:GetService("Players"):SetChatStyle(Enum.ChatStyle.ClassicAndBubble) end);
|
pcall(function() game:GetService("Players"):SetChatStyle(Enum.ChatStyle.ClassicAndBubble) end);
|
||||||
|
|
@ -390,6 +400,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,OutfitID,ColorHash,Pant
|
||||||
player.CharacterAppearance=0;
|
player.CharacterAppearance=0;
|
||||||
end
|
end
|
||||||
pcall(function() player.Name=PlayerName or ""; end);
|
pcall(function() player.Name=PlayerName or ""; end);
|
||||||
|
game:GetService("Visit");
|
||||||
end)
|
end)
|
||||||
|
|
||||||
local function dieerror(errmsg)
|
local function dieerror(errmsg)
|
||||||
|
|
@ -568,6 +579,7 @@ function CSConnect2(UserID,ServerIP,ServerPort,PlayerName,OutfitID,Hat1ID,Hat2ID
|
||||||
end
|
end
|
||||||
pcall(function() Player.Name=PlayerName or ""; end);
|
pcall(function() Player.Name=PlayerName or ""; end);
|
||||||
pcall(function() Visit:SetUploadUrl(""); end);
|
pcall(function() Visit:SetUploadUrl(""); end);
|
||||||
|
game:GetService("Visit");
|
||||||
else
|
else
|
||||||
pcall(function() game:SetPlaceID(-1, false) end);
|
pcall(function() game:SetPlaceID(-1, false) end);
|
||||||
pcall(function() game:GetService("Players"):SetChatStyle(Enum.ChatStyle.ClassicAndBubble) end);
|
pcall(function() game:GetService("Players"):SetChatStyle(Enum.ChatStyle.ClassicAndBubble) end);
|
||||||
|
|
@ -601,6 +613,7 @@ function CSConnect2(UserID,ServerIP,ServerPort,PlayerName,OutfitID,Hat1ID,Hat2ID
|
||||||
player.CharacterAppearance=0;
|
player.CharacterAppearance=0;
|
||||||
end
|
end
|
||||||
pcall(function() player.Name=PlayerName or ""; end);
|
pcall(function() player.Name=PlayerName or ""; end);
|
||||||
|
game:GetService("Visit");
|
||||||
end)
|
end)
|
||||||
|
|
||||||
local function dieerror(errmsg)
|
local function dieerror(errmsg)
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
; Script generated by the Inno Script Studio Wizard.
|
; Script generated by the Inno Script Studio Wizard.
|
||||||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||||
|
|
||||||
#define AppVer "1.12"
|
#define AppVer "1.12.1"
|
||||||
|
|
||||||
[Setup]
|
[Setup]
|
||||||
; NOTE: The value of AppId uniquely identifies this application.
|
; NOTE: The value of AppId uniquely identifies this application.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue