diff --git a/public/temp/GameRBLX/PrivKey.pem b/public/temp/GameRBLX/PrivKey.pem deleted file mode 100644 index 5e1a390..0000000 --- a/public/temp/GameRBLX/PrivKey.pem +++ /dev/null @@ -1,3 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIICXQIBAAKBgQDAWrd/TwGJULsVRo06rCpznNmW4zLJK6LwkfTvG3wURFFBj9E9zuaKAOzHVRrHsWKJhq2BxSUze7OClgzgzFLRQHhRQFKn/skLPrV85bFakoK/dnt9h/Jyn2cD2A8Za6q90O3h9FSy9mLvCN07g07IXtauYZfOXvqyqOn4rAeUJQIDAQABAoGBAISbxddZo0iERIW1XtXtLVMI9iUEutVfZPSO2xogi5j5RD97o5gF1H+dhZ8iN9UloDYJiAJn5G6qwCWtxnEPy6NO4lMDgFMQtlpIIW9mafZ7m+AueYJtgO5elLUnFbOA39OcvFUleL9ded42yuB2wfsGdKl85+mHvn8j4zTmT0+9AkEA3H7NBFhIVf3Vj6iLXwPmamhou8T8b+HSXop0krrP/jDw/wHbl0DEJbQv+ypYdoXJo8XS2Hs39z20pCEsUo2/NwJBAN9T5aWXmVnymbdNUCDMjjer2d6Ey9ARyFgB07xHSod+HWlSCES8pcWwZZrP/I4cf2CEiAInfgak0kNNWLOWnYMCQDJEoj7UVaFtHiwDM8r0m6o0pXPxY8+p/wjYrdzpxBNiWv74EHT6Kf2ih7HOJJ7Yv3Cb4AbEiKzQH4evnGgxsp8CQQDRPK+ad/DLn0p5vMvoDv7oFfCoVM8IAMEuA3g3nKutSnGP7bWlgQHnuB9Z7qf3FagZ69HqAspGu0HsoJkMmX61AkAO5wTd+rja0MP7rT5xNVYBALtdYLWowBov4NCN7BVDkd0JzeTjMtDerirvEDuzDBrbyFtKV5rZjZpuotFc+5/t ------END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/public/temp/client/version.txt b/public/temp/client/version.txt deleted file mode 100644 index 6faab2b..0000000 --- a/public/temp/client/version.txt +++ /dev/null @@ -1 +0,0 @@ -version-000000010 \ No newline at end of file diff --git a/public/temp/game/Help.aspx b/public/temp/game/Help.aspx deleted file mode 100644 index efd830e..0000000 --- a/public/temp/game/Help.aspx +++ /dev/null @@ -1,88 +0,0 @@ - - - - ROBLOX Help - - -
- - -

Besides using simple blocks, you can insert Things that other people have built - into your Place. Use the Insert... menu in the game to browse.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ActionPrimaryAlternate
Move CharacterArrow keysASDW keys
Move Character (no tool selected)Click location with green disk
JumpSpace Bar
Look up/down/left/rightRight-click and drag mouse
Look side to sideMove mouse to the far right or far left -
Zoom in/out and up/downMouse wheelI (in) and O (out) keys
Change Tool / Toggle tool on offNumber keys 1, 2, 3, ...Click on the tool
Drop ToolBackspace key
Drop HatEqual (=) key
Regenerate dead or stuck characterCharacter regenerates automaticallyExit and then return to the Place
First Person ModeZoom all the way in
-
- - - \ No newline at end of file diff --git a/public/temp/game/gameserver.php b/public/temp/game/gameserver.php deleted file mode 100644 index d6d2185..0000000 --- a/public/temp/game/gameserver.php +++ /dev/null @@ -1,231 +0,0 @@ - --- Start Game Script Arguments - -------------------- UTILITY FUNCTIONS -------------------------- - -local cdnSuccess = 0 -local cdnFailure = 0 - -function waitForChild(parent, childName) - while true do - local child = parent:findFirstChild(childName) - if child then - return child - end - parent.ChildAdded:wait() - end -end - --- returns the player object that killed this humanoid --- returns nil if the killer is no longer in the game -function getKillerOfHumanoidIfStillInGame(humanoid) - - -- check for kill tag on humanoid - may be more than one - todo: deal with this - local tag = humanoid:findFirstChild("creator") - - -- find player with name on tag - if tag then - local killer = tag.Value - if killer.Parent then -- killer still in game - return killer - end - end - - return nil -end ------------------------------------END UTILITY FUNCTIONS ------------------------- - ------------------------------------"CUSTOM" SHARED CODE---------------------------------- - -pcall(function() settings().Network.UseInstancePacketCache = true end) -pcall(function() settings().Network.UsePhysicsPacketCache = true end) -pcall(function() settings()["Task Scheduler"].PriorityMethod = Enum.PriorityMethod.AccumulatedError end) - - -settings().Network.PhysicsSend = Enum.PhysicsSendMethod.TopNErrors -settings().Network.ExperimentalPhysicsEnabled = true -settings().Network.WaitingForCharacterLogRate = 100 -pcall(function() settings().Diagnostics:LegacyScriptMode() end) - ------------------------------------START GAME SHARED SCRIPT------------------------------ - --- establish this peer as the Server -local ns = game:GetService("NetworkServer") - -local badgeUrlFlagExists, badgeUrlFlagValue = pcall(function () return settings():GetFFlag("NewBadgeServiceUrlEnabled") end) -local newBadgeUrlEnabled = badgeUrlFlagExists and badgeUrlFlagValue -if url~=nil then - local url = "http://www.morblox.us" - - pcall(function() game:GetService("Players"):SetAbuseReportUrl(url .. "/AbuseReport/InGameChatHandler.ashx") end) - pcall(function() game:GetService("ScriptInformationProvider"):SetAssetUrl(url .. "/Asset/") end) - pcall(function() game:GetService("ContentProvider"):SetBaseUrl(url .. "/") end) - pcall(function() game:GetService("Players"):SetChatFilterUrl(url .. "/Game/ChatFilter.ashx") end) - - if gameCode then - game:SetVIPServerId(tostring(gameCode)) - end - - game:GetService("BadgeService"):SetPlaceId(1818) - game:SetPlaceId(1818) - game:SetCreatorId(123891239128398123) - - - if newBadgeUrlEnabled then - game:GetService("BadgeService"):SetAwardBadgeUrl(apiProxyUrl .. "/assets/award-badge?userId=%d&badgeId=%d&placeId=%d") - end - - if access~=nil then - if not newBadgeUrlEnabled then - game:GetService("BadgeService"):SetAwardBadgeUrl(url .. "/Game/Badge/AwardBadge.ashx?UserID=%d&BadgeID=%d&PlaceID=%d&" .. access) - end - - game:GetService("BadgeService"):SetHasBadgeUrl(url .. "/Game/Badge/HasBadge.ashx?UserID=%d&BadgeID=%d&" .. access) - game:GetService("BadgeService"):SetIsBadgeDisabledUrl(url .. "/Game/Badge/IsBadgeDisabled.ashx?BadgeID=%d&PlaceID=%d&" .. access) - - game:GetService("FriendService"):SetMakeFriendUrl(url .. "/Game/CreateFriend?firstUserId=%d&secondUserId=%d") - game:GetService("FriendService"):SetBreakFriendUrl(url .. "/Game/BreakFriend?firstUserId=%d&secondUserId=%d") - game:GetService("FriendService"):SetGetFriendsUrl(url .. "/Game/AreFriends?userId=%d") - end - game:GetService("BadgeService"):SetIsBadgeLegalUrl("") - game:GetService("InsertService"):SetBaseSetsUrl(url .. "/Game/Tools/InsertAsset.ashx?nsets=10&type=base") - game:GetService("InsertService"):SetUserSetsUrl(url .. "/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=%d") - game:GetService("InsertService"):SetCollectionUrl(url .. "/Game/Tools/InsertAsset.ashx?sid=%d") - game:GetService("InsertService"):SetAssetUrl(url .. "/Asset/?id=%d") - game:GetService("InsertService"):SetAssetVersionUrl(url .. "/Asset/?assetversionid=%d") - - pcall(function() loadfile(url .. "/Game/LoadPlaceInfo.ashx?PlaceId=" .. placeId)() end) - - pcall(function() - if access then - loadfile(url .. "/Game/PlaceSpecificScript.ashx?PlaceId=" .. placeId .. "&" .. access)() - end - end) -end - -pcall(function() game:GetService("NetworkServer"):SetIsPlayerAuthenticationRequired(true) end) -settings().Diagnostics.LuaRamLimit = 0 - - - -if placeId~=nil and killID~=nil and deathID~=nil and url~=nil then - -- listen for the death of a Player - function createDeathMonitor(player) - -- we don't need to clean up old monitors or connections since the Character will be destroyed soon - if player.Character then - local humanoid = waitForChild(player.Character, "Humanoid") - humanoid.Died:connect( - function () - onDied(player, humanoid) - end - ) - end - end - - -- listen to all Players' Characters - game:GetService("Players").ChildAdded:connect( - function (player) - createDeathMonitor(player) - player.Changed:connect( - function (property) - if property=="Character" then - createDeathMonitor(player) - end - end - ) - end - ) -end - -game:GetService("Players").PlayerAdded:connect(function(player) - - print("Player " .. player.userId .. " added") - - if url and access and placeId and player and player.userId then - game:HttpGet(url .. "/Game/ClientPresence.ashx?action=connect&" .. access .. "&PlaceID=" .. placeId .. "&UserID=" .. player.userId) - game:HttpPost(url .. "/Game/PlaceVisit.ashx?UserID=" .. player.userId .. "&AssociatedPlaceID=" .. placeId .. "&" .. access, "") - end -end) - - -game:GetService("Players").PlayerRemoving:connect(function(player) - print("Player " .. player.userId .. " leaving") - - if url and access and placeId and player and player.userId then - game:HttpGet(url .. "/Game/ClientPresence.ashx?action=disconnect&" .. access .. "&PlaceID=" .. placeId .. "&UserID=" .. player.userId) - end -end) - --- Now start the connection -game:Load("rbxasset://") --- fix asset ids -local assetPropertyNames = {"Texture", "TextureId", "SoundId", "MeshId", "SkyboxUp", "SkyboxLf", "SkyboxBk", "SkyboxRt", "SkyboxFt", "SkyboxDn", "PantsTemplate", "ShirtTemplate", "Graphic", "Frame", "ImageLabel", "GuiMain", "Image", "LinkedSource", "AnimationId"} -local variations = {"http://www%.roblox%.com/asset/%?id=", "http://www%.roblox%.com/asset%?id=", "http://%.roblox%.com/asset/%?id=", "http://%.roblox%.com/asset%?id=", "rbxassetid://", "http://www%.roblox%.com/asset/%?version=1&id=", "http://www%.roblox%.com/Asset/%?id="} - -function GetDescendants(o) - local allObjects = {} - local function FindChildren(Object) - for _,v in pairs(Object:GetChildren()) do - table.insert(allObjects,v) - FindChildren(v) - end - end - FindChildren(o) - return allObjects -end - -local replacedProperties = 0--Amount of properties changed -local replacedSourceCodes = 0 - -for i, v in pairs(GetDescendants(game)) do - if v.ClassName == 'Script' or v.ClassName == 'LocalScript' then - local SourceCode = v.Source - if SourceCode then - for _, variation in pairs(variations) do - local String, Number = string.gsub(SourceCode, variation, "http://www%.morblox%.us/asset/%?id=") - SourceCode = String - if Number > 0 then - replacedSourceCodes = replacedSourceCodes + Number - end - end - v.Source = SourceCode - end - end - - for _, property in pairs(assetPropertyNames) do - pcall(function() - if v[property] and not v:FindFirstChild(property) then --Check for property, make sure we're not getting a child instead of a property - assetText = string.lower(v[property]) - for _, variation in pairs(variations) do - v[property], matches = string.gsub(assetText, variation, "http://www%.morblox%.us/asset/%?id=") - if matches > 0 then - replacedProperties = replacedProperties + 1 - print("Replaced " .. property .. " asset link for " .. v.Name) - break - end - end - end - end) - end -end --- other stuff -ns:Start(, sleeptime) -pcall(function() game.LocalSaveEnabled = true end) - --- StartGame -- -Game:GetService("RunService"):Run() - \ No newline at end of file diff --git a/public/temp/game/join.ashx b/public/temp/game/join.ashx deleted file mode 100644 index 36562c1..0000000 --- a/public/temp/game/join.ashx +++ /dev/null @@ -1,264 +0,0 @@ -name); - $authorised = 1; - $id = addslashes(Auth::id()); - $app = 'http://morblox.us/Asset/CharacterFetch.ashx?userId=' . addslashes(Auth::id()); -} else { - $randName = mt_rand(1, 9999); - $username = "Guest " . $randName; - $authorised = 0; - $id = mt_rand(1000, 9999); - $app = 'http://morblox.us/Asset/CharacterFetch.ashx?userId=0'; -} -$ip = addslashes($_GET["ip"]); -$port = addslashes($_GET["port"]); - -ob_start(); -?> - --- functions -------------------------- -function onPlayerAdded(player) - -- override -end - -pcall(function() game:SetPlaceID(-1, false) end) - -local startTime = tick() -local connectResolved = false -local loadResolved = false -local joinResolved = false -local playResolved = true -local playStartTime = 0 - -local cdnSuccess = 0 -local cdnFailure = 0 - -settings()["Game Options"].CollisionSoundEnabled = true -pcall(function() settings().Rendering.EnableFRM = true end) -pcall(function() settings().Physics.Is30FpsThrottleEnabled = false end) -pcall(function() settings()["Task Scheduler"].PriorityMethod = Enum.PriorityMethod.AccumulatedError end) -pcall(function() settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.DefaultAuto end) - -local threadSleepTime = ... - -if threadSleepTime==nil then - threadSleepTime = 15 -end - -local test = true - -local closeConnection = game.Close:connect(function() - if 0 then - if not connectResolved then - local duration = tick() - startTime; - elseif (not loadResolved) or (not joinResolved) then - local duration = tick() - startTime; - if not loadResolved then - loadResolved = true - end - if not joinResolved then - joinResolved = true - end - elseif not playResolved then - playResolved = true - end - end -end) - -game:GetService("ChangeHistoryService"):SetEnabled(false) -game:GetService("ContentProvider"):SetThreadPool(16) -pcall(function() game:GetService("InsertService"):SetBaseSetsUrl("http://www.morblox.us/Game/Tools/InsertAsset.ashx?nsets=10&type=base") end) -pcall(function() game:GetService("InsertService"):SetUserSetsUrl("http://www.morblox.us/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=%d") end) -pcall(function() game:GetService("InsertService"):SetCollectionUrl("http://www.morblox.us/Game/Tools/InsertAsset.ashx?sid=%d") end) -pcall(function() game:GetService("InsertService"):SetAssetUrl("http://www.morblox.us/asset/?id=%d") end) -pcall(function() game:GetService("InsertService"):SetAssetVersionUrl("http://www.morblox.us/asset/?id=%d") end) - -pcall(function() game:GetService("SocialService"):SetFriendUrl("http://www.morblox.us/Game/LuaWebService/HandleSocialRequest.ashx?method=IsFriendsWith&playerid=%d&userid=%d") end) -pcall(function() game:GetService("SocialService"):SetBestFriendUrl("http://www.morblox.us/Game/LuaWebService/HandleSocialRequest.ashx?method=IsBestFriendsWith&playerid=%d&userid=%d") end) -pcall(function() game:GetService("SocialService"):SetGroupUrl("http://www.morblox.us/Game/LuaWebService/HandleSocialRequest.ashx?method=IsInGroup&playerid=%d&groupid=%d") end) -pcall(function() game:GetService("SocialService"):SetGroupRankUrl("http://www.morblox.us/Game/LuaWebService/HandleSocialRequest.ashx?method=GetGroupRank&playerid=%d&groupid=%d") end) -pcall(function() game:GetService("SocialService"):SetGroupRoleUrl("http://www.morblox.us/Game/LuaWebService/HandleSocialRequest.ashx?method=GetGroupRole&playerid=%d&groupid=%d") end) -pcall(function() game:GetService("GamePassService"):SetPlayerHasPassUrl("http://www.morblox.us/Game/GamePass/GamePassHandler.ashx?Action=HasPass&UserID=%d&PassID=%d") end) -pcall(function() game:GetService("MarketplaceService"):SetProductInfoUrl("https://api.morblox.us/marketplace/productinfo?assetId=%d") end) -pcall(function() game:GetService("MarketplaceService"):SetPlayerOwnsAssetUrl("https://api.morblox.us/ownership/hasasset?userId=%d&assetId=%d") end) -pcall(function() game:SetCreatorID(0, Enum.CreatorType.User) end) - -pcall(function() game:GetService("Players"):SetChatStyle(Enum.ChatStyle.ClassicAndBubble) end) - -local waitingForCharacter = false - -pcall( function() - if settings().Network.MtuOverride == 0 then - settings().Network.MtuOverride = 1400 - end -end) - - -client = game:GetService("NetworkClient") -visit = game:GetService("Visit") - -function setMessage(message) - -- todo: animated "..." - if not false then - game:SetMessage(message) - else - -- hack, good enought for now - game:SetMessage("Teleporting ...") - end -end - --- Check if client is not logged in ---if "" == "0" then --- setMessage("You are not logged in. (ID: 400)", "Kick", "Kick") --- error("Not logged in") ---end - -function showErrorWindow(message, errorType, errorCategory) - game:SetMessage(message) -end - --- called when the client connection closes -function onDisconnection(peer, lostConnection) - if lostConnection then - showErrorWindow("You have lost connection (ID: 200)", "LostConnection", "LostConnection") - else - showErrorWindow("This game has been shut down (ID: 210)", "Kick", "Kick") - end -end - -function requestCharacter(replicator) - - -- prepare code for when the Character appears - local connection - connection = player.Changed:connect(function (property) - if property=="Character" then - game:ClearMessage() - waitingForCharacter = false - - connection:disconnect() - - if 0 then - if not joinResolved then - local duration = tick() - startTime; - joinResolved = true - - playStartTime = tick() - playResolved = false - end - end - end - end) - - setMessage("Requesting server...") - - local success, err = pcall(function() - replicator:RequestCharacter() - setMessage("Waiting for server...") - waitingForCharacter = true - end) -end - -function onConnectionAccepted(url, replicator) - connectResolved = true - - local waitingForMarker = true - - local success, err = pcall(function() - if not test then - visit:SetPing("", 300) - end - - if not false then - game:SetMessageBrickCount() - else - setMessage("Teleporting ...") - end - - replicator.Disconnection:connect(onDisconnection) - - local marker = replicator:SendMarker() - - marker.Received:connect(function() - waitingForMarker = false - requestCharacter(replicator) - end) - end) - - if not success then - return - end - - while waitingForMarker do - workspace:ZoomToExtents() - wait(0.5) - end -end - --- called when the client connection fails -function onConnectionFailed(_, error) - showErrorWindow("Failed to connect. (ID=" .. error .. ")", "ID" .. error, "Other") -end - --- called when the client connection is rejected -function onConnectionRejected() - connectionFailed:disconnect() - showErrorWindow("Your connection has been rejected. (ID: 300)", "WrongVersion", "WrongVersion") -end - -pcall(function() settings().Diagnostics:LegacyScriptMode() end) -local success, err = pcall(function() - - game:SetRemoteBuildMode(true) - - setMessage("Joining :") - client.ConnectionAccepted:connect(onConnectionAccepted) - client.ConnectionRejected:connect(onConnectionRejected) - connectionFailed = client.ConnectionFailed:connect(onConnectionFailed) - client.Ticket = "" - - playerConnectSucces, player = pcall(function() return client:PlayerConnect(, "", , 0, threadSleepTime) end) - - if "" == "0" then - -- guest - player:SetSuperSafeChat(true) - pcall(function() player:SetUnder13(true) end) - pcall(function() player:SetMembershipType(Enum.MembershipType.None) end) - pcall(function() player:SetAccountAge(0) end) - else - -- user - player:SetSuperSafeChat(false) - pcall(function() player:SetUnder13(false) end) - pcall(function() player:SetMembershipType(Enum.MembershipType.None) end) - pcall(function() player:SetAccountAge(365) end) - end - - player.Idled:connect(onPlayerIdled) - - -- Overriden - onPlayerAdded(player) - - player.CharacterAppearance = "" - if not test then visit:SetUploadUrl("")end - player.Name = "" -end) - -pcall(function() game:SetScreenshotInfo("") end) - \ No newline at end of file diff --git a/public/temp/game/join.php b/public/temp/game/join.php deleted file mode 100644 index 113638b..0000000 --- a/public/temp/game/join.php +++ /dev/null @@ -1,236 +0,0 @@ - - ---This is a joinscript that works in 2013 and back, etc. - --- functions -------------------------- -function onPlayerAdded(player) - -- override -end - -pcall(function() game:SetPlaceID(-1, false) end) - -local startTime = tick() -local connectResolved = false -local loadResolved = false -local joinResolved = false -local playResolved = true -local playStartTime = 0 - -local cdnSuccess = 0 -local cdnFailure = 0 - -settings()["Game Options"].CollisionSoundEnabled = true -pcall(function() settings().Rendering.EnableFRM = true end) -pcall(function() settings().Physics.Is30FpsThrottleEnabled = false end) -pcall(function() settings()["Task Scheduler"].PriorityMethod = Enum.PriorityMethod.AccumulatedError end) -pcall(function() settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.DefaultAuto end) - -local threadSleepTime = ... - -if threadSleepTime==nil then - threadSleepTime = 15 -end - -local test = true - -local closeConnection = game.Close:connect(function() - if 0 then - if not connectResolved then - local duration = tick() - startTime; - elseif (not loadResolved) or (not joinResolved) then - local duration = tick() - startTime; - if not loadResolved then - loadResolved = true - end - if not joinResolved then - joinResolved = true - end - elseif not playResolved then - playResolved = true - end - end -end) - -game:GetService("ChangeHistoryService"):SetEnabled(false) -game:GetService("ContentProvider"):SetThreadPool(16) -game:GetService("InsertService"):SetBaseSetsUrl("http://www.morblox.us/Game/Tools/InsertAsset.ashx?nsets=10&type=base") -game:GetService("InsertService"):SetUserSetsUrl("http://www.morblox.us/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=%d") -game:GetService("InsertService"):SetCollectionUrl("http://www.morblox.us/Game/Tools/InsertAsset.ashx?sid=%d") -game:GetService("InsertService"):SetAssetUrl("http://www.morblox.us/asset/?id=%d") -game:GetService("InsertService"):SetAssetVersionUrl("http://www.morblox.us/Asset/?assetversionid=%d") - -pcall(function() game:GetService("SocialService"):SetFriendUrl("http://www.morblox.us/Game/LuaWebService/HandleSocialRequest.ashx?method=IsFriendsWith&playerid=%d&userid=%d") end) -pcall(function() game:GetService("SocialService"):SetBestFriendUrl("http://www.morblox.us/Game/LuaWebService/HandleSocialRequest.ashx?method=IsBestFriendsWith&playerid=%d&userid=%d") end) -pcall(function() game:GetService("SocialService"):SetGroupUrl("http://www.morblox.us/Game/LuaWebService/HandleSocialRequest.ashx?method=IsInGroup&playerid=%d&groupid=%d") end) -pcall(function() game:GetService("SocialService"):SetGroupRankUrl("http://www.morblox.us/Game/LuaWebService/HandleSocialRequest.ashx?method=GetGroupRank&playerid=%d&groupid=%d") end) -pcall(function() game:GetService("SocialService"):SetGroupRoleUrl("http://www.morblox.us/Game/LuaWebService/HandleSocialRequest.ashx?method=GetGroupRole&playerid=%d&groupid=%d") end) -pcall(function() game:GetService("GamePassService"):SetPlayerHasPassUrl("http://www.morblox.us/Game/GamePass/GamePassHandler.ashx?Action=HasPass&UserID=%d&PassID=%d") end) -pcall(function() game:GetService("MarketplaceService"):SetProductInfoUrl("https://api.morblox.us/marketplace/productinfo?assetId=%d") end) -pcall(function() game:GetService("MarketplaceService"):SetPlayerOwnsAssetUrl("https://api.morblox.us/ownership/hasasset?userId=%d&assetId=%d") end) -pcall(function() game:SetCreatorID(0, Enum.CreatorType.User) end) - -pcall(function() game:GetService("Players"):SetChatStyle(Enum.ChatStyle.ClassicAndBubble) end) - -local waitingForCharacter = false - -pcall( function() - if settings().Network.MtuOverride == 0 then - settings().Network.MtuOverride = 1400 - end -end) - - -client = game:GetService("NetworkClient") -visit = game:GetService("Visit") - -function setMessage(message) - -- todo: animated "..." - if not false then - game:SetMessage(message) - else - -- hack, good enought for now - game:SetMessage("Teleporting ...") - end -end - -setMessage("Your ARCHBLOX launcher is out of date. Please update it. (ID: 410)", "Kick", "Kick") -error("Out of Date Launcher") - -function showErrorWindow(message, errorType, errorCategory) - game:SetMessage(message) -end - --- called when the client connection closes -function onDisconnection(peer, lostConnection) - if lostConnection then - showErrorWindow("You have lost connection (ID: 200)", "LostConnection", "LostConnection") - else - showErrorWindow("This game has been shut down (ID: 210)", "Kick", "Kick") - end -end - -function requestCharacter(replicator) - - -- prepare code for when the Character appears - local connection - connection = player.Changed:connect(function (property) - if property=="Character" then - game:ClearMessage() - waitingForCharacter = false - - connection:disconnect() - - if 0 then - if not joinResolved then - local duration = tick() - startTime; - joinResolved = true - - playStartTime = tick() - playResolved = false - end - end - end - end) - - setMessage("Requesting server...") - - local success, err = pcall(function() - replicator:RequestCharacter() - setMessage("Waiting for server...") - waitingForCharacter = true - end) -end - -function onConnectionAccepted(url, replicator) - connectResolved = true - - local waitingForMarker = true - - local success, err = pcall(function() - if not test then - visit:SetPing("", 300) - end - - if not false then - game:SetMessageBrickCount() - else - setMessage("Teleporting ...") - end - - replicator.Disconnection:connect(onDisconnection) - - local marker = replicator:SendMarker() - - marker.Received:connect(function() - waitingForMarker = false - requestCharacter(replicator) - end) - end) - - if not success then - return - end - - while waitingForMarker do - workspace:ZoomToExtents() - wait(0.5) - end -end - --- called when the client connection fails -function onConnectionFailed(_, error) - showErrorWindow("Failed to connect. (ID=" .. error .. ")", "ID" .. error, "Other") -end - --- called when the client connection is rejected -function onConnectionRejected() - connectionFailed:disconnect() - showErrorWindow("Your connection has been rejected. (ID: 300)", "WrongVersion", "WrongVersion") -end - -pcall(function() settings().Diagnostics:LegacyScriptMode() end) -local success, err = pcall(function() - - game:SetRemoteBuildMode(true) - - setMessage("Joining :") - client.ConnectionAccepted:connect(onConnectionAccepted) - client.ConnectionRejected:connect(onConnectionRejected) - connectionFailed = client.ConnectionFailed:connect(onConnectionFailed) - client.Ticket = "" - - playerConnectSucces, player = pcall(function() return client:PlayerConnect(, "", , 0, threadSleepTime) end) - - player:SetSuperSafeChat(false) - pcall(function() player:SetUnder13(false) end) - pcall(function() player:SetMembershipType(Enum.MembershipType.None) end) - pcall(function() player:SetAccountAge(365) end) - player.Idled:connect(onPlayerIdled) - - -- Overriden - onPlayerAdded(player) - - player.CharacterAppearance = "" - if not test then visit:SetUploadUrl("")end - player.Name = "" -end) - -pcall(function() game:SetScreenshotInfo("") end) - \ No newline at end of file diff --git a/public/temp/game/jointest.php b/public/temp/game/jointest.php deleted file mode 100644 index 5637391..0000000 --- a/public/temp/game/jointest.php +++ /dev/null @@ -1,22 +0,0 @@ - - -{"ClientPort":0,"MachineAddress":"","ServerPort":,"PingUrl":"","PingInterval":120,"UserName":"","SeleniumTestMode":false,"UserId":,"SuperSafeChat":false,"CharacterAppearance":"http://morblox.us/Asset/CharacterFetch.ashx","ClientTicket":"","GameId":"00000000-0000-0000-0000-000000000000","PlaceId":1818,"MeasurementUrl":"","WaitingForCharacterGuid":"4d8dfc8d-cd68-4ed7-8adc-efebaba40f58","BaseUrl":"http://morblox.us/","ChatStyle":"ClassicAndBubble","VendorId":0,"ScreenShotInfo":"","VideoInfo":"GamesROBLOX, video, free game, online virtual world","CreatorId":0,"CreatorTypeEnum":"User","MembershipType":"None","AccountAge":300000000,"CookieStoreFirstTimePlayKey":"rbx_evt_ftp","CookieStoreFiveMinutePlayKey":"rbx_evt_fmp","CookieStoreEnabled":true,"IsRobloxPlace":true,"GenerateTeleportJoin":false,"IsUnknownOrUnder13":false,"SessionId":"","DataCenterId":0,"UniverseId":0,"BrowserTrackerId":0,"UsePortraitMode":false,"FollowUserId":0,"characterAppearanceId":1} - - \ No newline at end of file