2011 character loading fix.

This commit is contained in:
Bitl 2021-12-23 17:34:13 -07:00
parent bdc409fef2
commit 65ab9f6a9c
5 changed files with 27 additions and 17 deletions

View File

@ -1,4 +1,18 @@
1.3 v?.2022.1
Changes from v12.2021.2:
New Features:
Enhancements:
Added items:
Hats:
- Snowman Teapot
Fixes:
- Fixed characters not loading up in medium to large size maps in 2011E and 2011M.
Misc:
----------------------------------------------------------------------------
1.3 v12.2021.2
Changes from v12.2021.1:

View File

@ -600,14 +600,12 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti
Player:LoadCharacter()
end
Player.CharacterAdded:connect(function(char)
Player.CharacterAdded:connect(function(pchar)
LoadSecurity(newWaitForChildSecurity(Player,"Security"),Player,game.Lighting)
newWaitForChildSecurity(Player,"Tripcode")
LoadTripcode(Player)
pcall(function() print("Player '" .. Player.Name .. "-" .. Player.userId .. "' security check success. Tripcode: '" .. Player.Tripcode.Value .. "'") end)
if (char ~= nil) then
LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),char)
end
LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),pchar)
end)
Player.Changed:connect(function(Property)

View File

@ -621,17 +621,16 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti
if (showServerNotifications) then
game.Players:Chat("Player '" .. Player.Name .. "' joined")
end
Player:LoadCharacter()
end
Player.CharacterAdded:connect(function(pchar)
LoadSecurity(newWaitForChildSecurity(Player,"Security"),Player,game.Lighting)
newWaitForChildSecurity(Player,"Tripcode")
LoadTripcode(Player)
pcall(function() print("Player '" .. Player.Name .. "-" .. Player.userId .. "' security check success. Tripcode: '" .. Player.Tripcode.Value .. "'") end)
if (Player.Character ~= nil) then
LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character)
end
end
LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"), pchar)
end)
Player.Changed:connect(function(Property)
if (Player.Character~=nil) then

View File

@ -627,17 +627,16 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti
if (showServerNotifications) then
game.Players:Chat("Player '" .. Player.Name .. "' joined")
end
Player:LoadCharacter()
end
Player.CharacterAdded:connect(function(pchar)
LoadSecurity(newWaitForChildSecurity(Player,"Security"),Player,game.Lighting)
newWaitForChildSecurity(Player,"Tripcode")
LoadTripcode(Player)
pcall(function() print("Player '" .. Player.Name .. "-" .. Player.userId .. "' security check success. Tripcode: '" .. Player.Tripcode.Value .. "'") end)
if (Player.Character ~= nil) then
LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"), Player.Character)
end
end
LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"), pchar)
end)
Player.Changed:connect(function(Property)
if (Player.Character~=nil) then

View File

@ -9,4 +9,4 @@ ExtendedVersionEditChangelog=False
ExtendedVersionTemplate=%version% v?.2022.%extended-revision%%lite%
ExtendedVersionRevision=1
IsLite=False
InitialBootup=True
InitialBootup=False