From f65dd959d30459a97b14aa1fc4445283992184cd Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Fri, 30 Sep 2022 15:16:15 +1000 Subject: [PATCH] morblox.u --- public/asset/9 | 6 +++--- public/game/Help.aspx | 2 +- public/game/jointest.php | 2 +- public/js/test.js | 6 +++--- public/stamper/groupurl.php | 2 +- public/stamper/inseassetcollect.php | 2 +- public/stamper/stampericons.php | 2 +- resources/views/client/idelanding.blade.php | 12 ++++++------ 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/public/asset/9 b/public/asset/9 index 161c0e6..ba96e4a 100644 --- a/public/asset/9 +++ b/public/asset/9 @@ -485,7 +485,7 @@ function Chat:CreateTouchButton() Size = UDim2.new(1, 0, 1, 0); Position = UDim2.new(0, 0, 0, 0); BackgroundTransparency = 1.0; - Image = 'http://www.roblox.com/asset/?id=97078724' + Image = 'http://www.morblox.us/asset/?id=97078724' }; } self.TapToChatLabel = self.ChatTouchFrame.ChatLabel @@ -630,7 +630,7 @@ function Chat:CreateGui() Gui.Create'ImageLabel' { Name = 'Background'; - Image = 'http://www.roblox.com/asset/?id=97120937'; --96551212'; + Image = 'http://www.morblox.us/asset/?id=97120937'; --96551212'; Size = UDim2.new(1.3, 0, 1.64, 0); Position = UDim2.new(0, 0, 0, 0); BackgroundTransparency = 1.0; @@ -808,7 +808,7 @@ function Chat:CreateSafeChatGui() Size = UDim2.new(0, 44, 0, 31); Position = UDim2.new(0, 1, 0.35, 0); BackgroundTransparency = 1.0; - Image = 'http://www.roblox.com/asset/?id=97080365'; + Image = 'http://www.morblox.us/asset/?id=97080365'; }; } diff --git a/public/game/Help.aspx b/public/game/Help.aspx index 7cfd35b..efd830e 100644 --- a/public/game/Help.aspx +++ b/public/game/Help.aspx @@ -4,7 +4,7 @@ ROBLOX Help -
+

Besides using simple blocks, you can insert Things that other people have built diff --git a/public/game/jointest.php b/public/game/jointest.php index f91b9fe..5637391 100644 --- a/public/game/jointest.php +++ b/public/game/jointest.php @@ -11,7 +11,7 @@ $id = addslashes($_GET["id"]); ob_start(); ?> -{"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} +{"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} = 0 && (n = typeof RobloxLaunch.SeleniumTestMode == "undefined" ? n + "&testmode=false" : n + "&testmode=true"), typeof urchinTracker != "undefined" && urchinTracker("Visit/Try/" + t), RobloxLaunch.state = RobloxLaunchStates.StartingClient, RobloxLaunch.googleAnalyticsCallback !== null && RobloxLaunch.googleAnalyticsCallback(), o = null; try { if (typeof window.external != "undefined" && window.external.IsRoblox2App && (n.indexOf("visit") != -1 || u)) window.external.StartGame(r, i, n); else if (o = "RobloxProxy/", f = Roblox.Client.CreateLauncher(!0), f) { o = "RobloxProxy/StartGame/"; try { try { window.ActiveXObject ? f.AuthenticationTicket = r : f.Put_AuthenticationTicket(r), u && f.SetEditMode() } catch (a) { } try { if (Roblox.Client._silentModeEnabled) f.SetSilentModeEnabled(!0), Roblox.VideoPreRoll.videoInitialized && Roblox.VideoPreRoll.isPlaying() && Roblox.Client.SetStartInHiddenMode(!0), f.StartGame(i, n), RobloxLaunch.CheckGameStarted(f); else throw "silent mode is disabled, fall back"; } catch (a) { if (f.StartGame(i, n), Roblox.Client._bringAppToFrontEnabled) try { f.BringAppToFront() } catch (h) { } Roblox.Client.ReleaseLauncher(f, !0, !1), $.modal.close() } } catch (a) { Roblox.Client.ReleaseLauncher(f, !0, !1); throw a; } } else { try { parent.playFromUrl(n); return } catch (l) { } if (Roblox.Client.isRobloxBrowser()) try { window.external.StartGame(r, i, n) } catch (l) { throw "window.external fallback failed, Roblox must not be installed or IE cannot access ActiveX"; } else throw "launcher is null or undefined and external is missing"; RobloxLaunch.state = RobloxLaunchStates.None, $.modal.close() } } catch (a) { if (e = a.message, e === "User cancelled" && typeof urchinTracker != "undefined") return urchinTracker("Visit/UserCancelled/" + t), !1; try { s = new ActiveXObject("Microsoft.XMLHTTP") } catch (c) { e = "FailedXMLHTTP/" + e } return Roblox.Client.isRobloxBrowser() ? typeof urchinTracker != "undefined" && urchinTracker("Visit/Fail/" + o + encodeURIComponent(e)) : (typeof urchinTracker != "undefined" && urchinTracker("Visit/Redirect/" + o + encodeURIComponent(e)), window.location = RobloxLaunch.launchGamePage), !1 } return typeof urchinTracker != "undefined" && urchinTracker("Visit/Success/" + t), !0 }, RobloxLaunch.StartApp = function (n, t) { var i = function (i) { RobloxLaunch.StartAppWork(n, t, i) }; $.get("/Game/GetAuthTicket", i) }, RobloxLaunch.StartAppWork = function (n, t, i) { var f, r, u; RobloxLaunch.state = RobloxLaunchStates.StartingClient, f = null; try { if (typeof window.external != "undefined" && window.external.IsRoblox2App) window.external.StartGame(i, t, n); else if (f = "RobloxProxy/", r = Roblox.Client.CreateLauncher(!0), r) { f = "RobloxProxy/StartGame/"; try { try { window.ActiveXObject ? r.AuthenticationTicket = i : r.Put_AuthenticationTicket(i) } catch (h) { } try { if (Roblox.Client._silentModeEnabled) r.SetSilentModeEnabled(!0), Roblox.VideoPreRoll.videoInitialized && Roblox.VideoPreRoll.isPlaying() && Roblox.Client.SetStartInHiddenMode(!0), r.StartGame(t, n), RobloxLaunch.CheckGameStarted(r); else throw "silent mode is disabled, fall back"; } catch (h) { if (r.StartGame(t, n), Roblox.Client._bringAppToFrontEnabled) try { r.BringAppToFront() } catch (e) { } Roblox.Client.ReleaseLauncher(r, !0, !1), $.modal.close() } } catch (h) { Roblox.Client.ReleaseLauncher(r, !0, !1); throw h; } } else { try { parent.playFromUrl(n); return } catch (s) { } if (Roblox.Client.isRobloxBrowser()) try { window.external.StartGame(i, t, n) } catch (s) { throw "window.external fallback failed, Roblox must not be installed or IE cannot access ActiveX"; } else throw "launcher is null or undefined and external is missing"; RobloxLaunch.state = RobloxLaunchStates.None, $.modal.close() } } catch (h) { if (u = h.message, u === "User cancelled") return !1; try { new ActiveXObject("Microsoft.XMLHTTP") } catch (o) { u = "FailedXMLHTTP/" + u } return Roblox.Client.isRobloxBrowser() || (window.location = RobloxLaunch.launchGamePage), !1 } return !0 }, RobloxLaunch.CheckGameStarted = function (n) { function r() { var e = !1; try { if (i || (i = window.ActiveXObject ? n.IsGameStarted : n.Get_GameStarted()), i && !Roblox.VideoPreRoll.isPlaying()) { if (MadStatus.stop("Connecting to Players..."), RobloxLaunch.state = RobloxLaunchStates.None, $.modal.close(), t._cancelled = !0, Roblox.Client._hiddenModeEnabled && Roblox.Client.UnhideApp(), Roblox.Client._bringAppToFrontEnabled) try { n.BringAppToFront() } catch (f) { } Roblox.Client.ReleaseLauncher(n, !0, !1) } else t._cancelled || setTimeout(r, 1e3) } catch (u) { t._cancelled || setTimeout(r, 1e3) } } var t = RobloxLaunch.launcher, i; t === null && (t = new RBX.PlaceLauncher("PlaceLauncherStatusPanel"), t._showDialog(), t._updateStatus(0)), i = !1, r() }, RobloxLaunch.CheckRobloxInstall = function (n) { if (Roblox.Client.IsRobloxInstalled()) return Roblox.Client.Update(), !0; window.location = n }, RBX.PlaceLauncher = function (n) { this._cancelled = !1, this._popupID = n, this._popup = $("#" + n) }, RBX.PlaceLauncher.prototype = { _showDialog: function () { this._cancelled = !1, _popupOptions = { escClose: !0, opacity: 80, overlayCss: { backgroundColor: "#000" } }, this._popupID == "PlaceLauncherStatusPanel" && (Roblox.VideoPreRoll && Roblox.VideoPreRoll.showVideoPreRoll && !Roblox.VideoPreRoll.isExcluded() ? (this._popup = $("#videoPrerollPanel"), _popupOptions.onShow = function (n) { Roblox.VideoPreRoll.correctIEModalPosition(n), Roblox.VideoPreRoll.start() }, _popupOptions.onClose = function () { Roblox.VideoPreRoll.close() }, _popupOptions.closeHTML = '') : (this._popup = $("#" + this._popupID), _popupOptions.onClose = function () { Roblox.VideoPreRoll.logVideoPreRoll(), $.modal.close() })), this._popup.modal(_popupOptions); var n = this; $(".CancelPlaceLauncherButton").click(function () { n.CancelLaunch() }), $(".CancelPlaceLauncherButton").show() }, _reportDuration: function (n, t) { $.ajax({ type: "GET", async: !0, cache: !1, timeout: 5e4, url: "/Game/JoinRate.ashx?c=" + RobloxLaunch.clientMetricType + "&r=" + t + "&d=" + n, success: function () { } }) }, _onGameStatus: function (n) { var r, i, t; if (this._cancelled) { r = +new Date - RobloxLaunch.timer.getTime(), this._reportDuration(r, "Cancel"); return } if (this._updateStatus(n.status), n.status === 2) RobloxLaunch.StartGame(n.joinScriptUrl, "Join", n.authenticationUrl, n.authenticationTicket), i = +new Date - RobloxLaunch.timer.getTime(), this._reportDuration(i, "Success"); else if (n.status < 2 || n.status === 6) { var f = function (n, t) { t._onGameStatus(n) }, e = function (n, t) { t._onGameError(n) }, o = this, u = function () { RobloxPlaceLauncherService.CheckGameJobStatus(n.jobId, f, e, o) }; window.setTimeout(u, 2e3) } else n.status === 4 && (t = +new Date - RobloxLaunch.timer.getTime(), this._reportDuration(t, "Failure")) }, _updateStatus: function (n) { MadStatus.running || (MadStatus.init($(this._popup).find(".MadStatusField"), $(this._popup).find(".MadStatusBackBuffer"), 2e3, 800), MadStatus.start()); switch (n) { case 0: break; case 1: MadStatus.manualUpdate("A server is loading the game...", !0); break; case 2: MadStatus.manualUpdate("The server is ready. Joining the game...", !0); break; case 3: MadStatus.manualUpdate("Joining games is temporarily disabled while we upgrade. Please try again soon.", !1); break; case 4: MadStatus.manualUpdate("An error occurred. Please try again later.", !1); break; case 5: MadStatus.manualUpdate("The game you requested has ended.", !1); break; case 6: MadStatus.manualUpdate("The game you requested is currently full. Waiting for an opening...", !0, !1); break; case 7: MadStatus.manualUpdate("Roblox is updating. Please wait...", !0); break; case 8: MadStatus.manualUpdate("Requesting a server", !0); break; default: MadStatus.stop("Connecting to Players...") }$(this._popup).find(".MadStatusStarting").css("display", "none"), $(this._popup).find(".MadStatusSpinner").css("visibility", n === 3 || n === 4 || n === 5 ? "hidden" : "visible") }, _onGameError: function () { this._updateStatus(4) }, _startUpdatePolling: function (n) { var t, i; try { if (RobloxLaunch.state = RobloxLaunchStates.Upgrading, t = Roblox.Client.CreateLauncher(!0), i = window.ActiveXObject ? t.IsUpToDate : t.Get_IsUpToDate(), i || i === undefined) { try { t.PreStartGame() } catch (e) { } Roblox.Client.ReleaseLauncher(t, !0, !1), RobloxLaunch.state = RobloxLaunchStates.StartingServer, n(); return } var f = function (t, i, r) { r._onUpdateStatus(t, i, n) }, u = function (n, t) { t._onUpdateError(n) }, r = this; this.CheckUpdateStatus(f, u, t, n, r) } catch (e) { Roblox.Client.ReleaseLauncher(t, !0, !1), n() } }, _onUpdateStatus: function (n, t, i) { if (!this._cancelled) if (this._updateStatus(n), n === 8) Roblox.Client.ReleaseLauncher(t, !0, !0), Roblox.Client.Refresh(), RobloxLaunch.state = RobloxLaunchStates.StartingServer, i(); else if (n === 7) { var f = function (n, t, r) { r._onUpdateStatus(n, t, i) }, e = function (n, t) { t._onUpdateError(n) }, r = this, u = function () { r.CheckUpdateStatus(f, e, t, i, r) }; window.setTimeout(u, 2e3) } else alert("Unknown status from CheckUpdateStatus") }, _onUpdateError: function () { this._updateStatus(2) }, CheckUpdateStatus: function (n, t, i, r, u) { try { if (i.PreStartGame(), window.ActiveXObject) var f = i.IsUpToDate; else f = i.Get_IsUpToDate(); f || f === undefined ? n(8, i, u) : n(7, i, u) } catch (e) { n(8, i, u) } }, RequestGame: function (n, t) { var r; this._showDialog(); var f = function (n, t) { t._onGameStatus(n) }, u = function (n, t) { t._onGameError(n) }, e = this, i = !1; return typeof Party != "undefined" && typeof Party.AmILeader == "function" && (i = Party.AmILeader()), r = function () { RobloxPlaceLauncherService.RequestGame(n, i, t, f, u, e) }, this._startUpdatePolling(r), !1 }, RequestPlayWithParty: function (n, t, i) { this._showDialog(); var f = function (n, t) { t._onGameStatus(n) }, e = function (n, t) { t._onGameError(n) }, r = this, u = function () { RobloxPlaceLauncherService.RequestPlayWithParty(n, t, i, f, e, r) }; return this._startUpdatePolling(u), !1 }, RequestGroupBuildGame: function (n) { this._showDialog(); var r = function (n, t) { t._onGameStatus(n, !0) }, u = function (n, t) { t._onGameError(n) }, t = this, i = function () { RobloxPlaceLauncherService.RequestGroupBuildGame(n, r, u, t) }; return this._startUpdatePolling(i), !1 }, RequestFollowUser: function (n) { this._showDialog(); var r = function (n, t) { t._onGameStatus(n) }, u = function (n, t) { t._onError(n) }, t = this, i = function () { RobloxPlaceLauncherService.RequestFollowUser(n, r, u, t) }; return this._startUpdatePolling(i), !1 }, RequestGameJob: function (n, t, i) { this._showDialog(); var f = function (n, t) { t._onGameStatus(n) }, e = function (n, t) { t._onGameError(n) }, r = this, u = function () { RobloxPlaceLauncherService.RequestGameJob(n, t, i, f, e, r) }; return this._startUpdatePolling(u), !1 }, CancelLaunch: function () { return this._cancelled = !0, $.modal.close(), !1 }, dispose: function () { RBX.PlaceLauncher.callBaseMethod(this, "dispose") } }; ;// ClientInstaller.js - function tryToDownload() { oIFrm = document.getElementById("downloadInstallerIFrame"), oIFrm.src = "/install/setup.ashx" } function logStatistics(n) { $.get("/install/VisitButtonHandler.ashx?reqtype=" + n, function () { }) } Type.registerNamespace("Roblox.Client"), Roblox.Client._installHost = null, Roblox.Client._installSuccess = null, Roblox.Client._CLSID = null, Roblox.Client._continuation = null, Roblox.Client._skip = null, Roblox.Client._isIDE = null, Roblox.Client._isRobloxBrowser = null, Roblox.Client._isPlaceLaunch = !1, Roblox.Client._silentModeEnabled = !1, Roblox.Client._bringAppToFrontEnabled = !1, Roblox.Client._numLocks = 0, Roblox.Client._logTiming = !1, Roblox.Client._logStartTime = null, Roblox.Client._logEndTime = null, Roblox.Client._hiddenModeEnabled = !1, Roblox.Client._runInstallABTest = function () { }, Roblox.Client.ReleaseLauncher = function (n, t, i) { if (t && Roblox.Client._numLocks--, (i || Roblox.Client._numLocks <= 0) && (n != null && (document.getElementById("pluginObjDiv").innerHTML = "", n = null), Roblox.Client._numLocks = 0), Roblox.Client._logTiming) { Roblox.Client._logEndTime = new Date; var r = Roblox.Client._logEndTime.getTime() - Roblox.Client._logStartTime.getTime(); console && console.log && console.log("Roblox.Client: " + r + "ms from Create to Release.") } }, Roblox.Client.GetInstallHost = function (n) { if (window.ActiveXObject) return n.InstallHost; var t = n.Get_InstallHost(); return t.match(/roblox.com$/) ? t : t.substring(0, t.length - 1) }, Roblox.Client.CreateLauncher = function (n) { var i, u, t, r; Roblox.Client._logTiming && (Roblox.Client._logStartTime = new Date), n && Roblox.Client._numLocks++, (Roblox.Client._installHost == null || Roblox.Client._CLSID == null) && typeof initClientProps == "function" && initClientProps(), i = document.getElementById("robloxpluginobj"), u = $("#pluginObjDiv"), i || (Roblox.Client._hiddenModeEnabled = !1, window.ActiveXObject ? (t = 'Failed to INIT Plugin', $(u).append(t)) : (t = '', t += "

" + Roblox.Client.Resources.youNeedTheLatest, t += '' + Roblox.Client.Resources.here + ".

", $(u).append(t)), i = document.getElementById("robloxpluginobj")); try { if (i || (typeof console.log == "undefined" ? alert(Roblox.Client.Resources.plugInInstallationFailed) : console.log("Plugin installation failed!")), i.Hello(), r = Roblox.Client.GetInstallHost(i), !r || r != Roblox.Client._installHost) throw "wrong InstallHost: (plugins): " + r + " (servers): " + Roblox.Client._installHost; return i } catch (f) { return Roblox.Client.ReleaseLauncher(i, n, !1), null } }, Roblox.Client.isIDE = function () { if (Roblox.Client._isIDE == null && (Roblox.Client._isIDE = !1, Roblox.Client._isRobloxBrowser = !1, window.external)) try { window.external.IsRobloxAppIDE !== undefined && (Roblox.Client._isIDE = window.external.IsRobloxAppIDE, Roblox.Client._isRobloxBrowser = !0) } catch (n) { } return Roblox.Client._isIDE }, Roblox.Client.isRobloxBrowser = function () { return Roblox.Client.isIDE(), Roblox.Client._isRobloxBrowser }, Roblox.Client.robloxBrowserInstallHost = function () { if (window.external) try { return window.external.InstallHost } catch (n) { } return "" }, Roblox.Client.IsRobloxProxyInstalled = function () { var t = Roblox.Client.CreateLauncher(!1), n = !1; return (t != null && (n = !0), Roblox.Client.ReleaseLauncher(t, !1, !1), n || Roblox.Client.isRobloxBrowser()) ? !0 : !1 }, Roblox.Client.IsRobloxInstalled = function () { try { var t = Roblox.Client.CreateLauncher(!1), n = Roblox.Client.GetInstallHost(t); return Roblox.Client.ReleaseLauncher(t, !1, !1), n == Roblox.Client._installHost } catch (i) { return Roblox.Client.isRobloxBrowser() ? (n = Roblox.Client.robloxBrowserInstallHost(), n == Roblox.Client._installHost) : !1 } }, Roblox.Client.SetStartInHiddenMode = function (n) { try { var t = Roblox.Client.CreateLauncher(!1); if (t !== null) return t.SetStartInHiddenMode(n), Roblox.Client._hiddenModeEnabled = n, !0 } catch (i) { } return !1 }, Roblox.Client.UnhideApp = function () { try { if (Roblox.Client._hiddenModeEnabled) { var n = Roblox.Client.CreateLauncher(!1); n.UnhideApp() } } catch (t) { } }, Roblox.Client.Update = function () { try { var n = Roblox.Client.CreateLauncher(!1); n.Update(), Roblox.Client.ReleaseLauncher(n, !1, !1) } catch (t) { alert(Roblox.Client.Resources.errorUpdating + ": " + t) } }, Roblox.Client.WaitForRoblox = function (n) { if (Roblox.Client._skip) return window.location = Roblox.Client._skip, !1; if (Roblox.Client._continuation = n, Roblox.Client._cancelled = !1, !Roblox.Client.IsRobloxProxyInstalled() && Roblox.Client.ImplementsProxy) { Roblox.InstallationInstructions.show(), Roblox.Client._runInstallABTest(); var t = "Windows"; return navigator.appVersion.indexOf("Mac") != -1 && (t = "Mac"), typeof _gaq != typeof undefined && (_gaq.push(["_trackEvent", "Install Begin", t]), _gaq.push(["b._trackEvent", "Install Begin", t])), RobloxEventManager.triggerEvent("rbx_evt_install_begin", { os: t }), window.chrome && (window.location.hash = "#chromeInstall", $.cookie("chromeInstall", n.toString().replace(/play_placeId/, play_placeId.toString()))), window.setTimeout(function () { Roblox.Client._ontimer() }, 1e3), tryToDownload(), !0 } return Roblox.Client._continuation(), !1 }, Roblox.Client.ResumeTimer = function (n) { Roblox.Client._continuation = n, Roblox.Client._cancelled = !1, window.setTimeout(function () { Roblox.Client._ontimer() }, 0) }, Roblox.Client.Refresh = function () { try { navigator.plugins.refresh(!1) } catch (n) { } }, Roblox.Client._onCancel = function () { return Roblox.InstallationInstructions.hide(), Roblox.Client._cancelled = !0, !1 }, Roblox.Client._ontimer = function () { Roblox.Client._cancelled || (Roblox.Client.Refresh(), Roblox.Client.IsRobloxProxyInstalled() ? (Roblox.InstallationInstructions.hide(), window.setTimeout(function () { window.chrome && window.location.hash == "#chromeInstall" && (window.location.hash = "", $.cookie("chromeInstall", null)) }, 5e3), Roblox.Client._continuation(), Roblox.Client._installSuccess && Roblox.Client._installSuccess()) : window.setTimeout(function () { Roblox.Client._ontimer() }, 1e3)) }; + function tryToDownload() { oIFrm = document.getElementById("downloadInstallerIFrame"), oIFrm.src = "/install/setup.ashx" } function logStatistics(n) { $.get("/install/VisitButtonHandler.ashx?reqtype=" + n, function () { }) } Type.registerNamespace("Roblox.Client"), Roblox.Client._installHost = null, Roblox.Client._installSuccess = null, Roblox.Client._CLSID = null, Roblox.Client._continuation = null, Roblox.Client._skip = null, Roblox.Client._isIDE = null, Roblox.Client._isRobloxBrowser = null, Roblox.Client._isPlaceLaunch = !1, Roblox.Client._silentModeEnabled = !1, Roblox.Client._bringAppToFrontEnabled = !1, Roblox.Client._numLocks = 0, Roblox.Client._logTiming = !1, Roblox.Client._logStartTime = null, Roblox.Client._logEndTime = null, Roblox.Client._hiddenModeEnabled = !1, Roblox.Client._runInstallABTest = function () { }, Roblox.Client.ReleaseLauncher = function (n, t, i) { if (t && Roblox.Client._numLocks--, (i || Roblox.Client._numLocks <= 0) && (n != null && (document.getElementById("pluginObjDiv").innerHTML = "", n = null), Roblox.Client._numLocks = 0), Roblox.Client._logTiming) { Roblox.Client._logEndTime = new Date; var r = Roblox.Client._logEndTime.getTime() - Roblox.Client._logStartTime.getTime(); console && console.log && console.log("Roblox.Client: " + r + "ms from Create to Release.") } }, Roblox.Client.GetInstallHost = function (n) { if (window.ActiveXObject) return n.InstallHost; var t = n.Get_InstallHost(); return t.match(/morblox.us$/) ? t : t.substring(0, t.length - 1) }, Roblox.Client.CreateLauncher = function (n) { var i, u, t, r; Roblox.Client._logTiming && (Roblox.Client._logStartTime = new Date), n && Roblox.Client._numLocks++, (Roblox.Client._installHost == null || Roblox.Client._CLSID == null) && typeof initClientProps == "function" && initClientProps(), i = document.getElementById("robloxpluginobj"), u = $("#pluginObjDiv"), i || (Roblox.Client._hiddenModeEnabled = !1, window.ActiveXObject ? (t = 'Failed to INIT Plugin', $(u).append(t)) : (t = '', t += "

" + Roblox.Client.Resources.youNeedTheLatest, t += '' + Roblox.Client.Resources.here + ".

", $(u).append(t)), i = document.getElementById("robloxpluginobj")); try { if (i || (typeof console.log == "undefined" ? alert(Roblox.Client.Resources.plugInInstallationFailed) : console.log("Plugin installation failed!")), i.Hello(), r = Roblox.Client.GetInstallHost(i), !r || r != Roblox.Client._installHost) throw "wrong InstallHost: (plugins): " + r + " (servers): " + Roblox.Client._installHost; return i } catch (f) { return Roblox.Client.ReleaseLauncher(i, n, !1), null } }, Roblox.Client.isIDE = function () { if (Roblox.Client._isIDE == null && (Roblox.Client._isIDE = !1, Roblox.Client._isRobloxBrowser = !1, window.external)) try { window.external.IsRobloxAppIDE !== undefined && (Roblox.Client._isIDE = window.external.IsRobloxAppIDE, Roblox.Client._isRobloxBrowser = !0) } catch (n) { } return Roblox.Client._isIDE }, Roblox.Client.isRobloxBrowser = function () { return Roblox.Client.isIDE(), Roblox.Client._isRobloxBrowser }, Roblox.Client.robloxBrowserInstallHost = function () { if (window.external) try { return window.external.InstallHost } catch (n) { } return "" }, Roblox.Client.IsRobloxProxyInstalled = function () { var t = Roblox.Client.CreateLauncher(!1), n = !1; return (t != null && (n = !0), Roblox.Client.ReleaseLauncher(t, !1, !1), n || Roblox.Client.isRobloxBrowser()) ? !0 : !1 }, Roblox.Client.IsRobloxInstalled = function () { try { var t = Roblox.Client.CreateLauncher(!1), n = Roblox.Client.GetInstallHost(t); return Roblox.Client.ReleaseLauncher(t, !1, !1), n == Roblox.Client._installHost } catch (i) { return Roblox.Client.isRobloxBrowser() ? (n = Roblox.Client.robloxBrowserInstallHost(), n == Roblox.Client._installHost) : !1 } }, Roblox.Client.SetStartInHiddenMode = function (n) { try { var t = Roblox.Client.CreateLauncher(!1); if (t !== null) return t.SetStartInHiddenMode(n), Roblox.Client._hiddenModeEnabled = n, !0 } catch (i) { } return !1 }, Roblox.Client.UnhideApp = function () { try { if (Roblox.Client._hiddenModeEnabled) { var n = Roblox.Client.CreateLauncher(!1); n.UnhideApp() } } catch (t) { } }, Roblox.Client.Update = function () { try { var n = Roblox.Client.CreateLauncher(!1); n.Update(), Roblox.Client.ReleaseLauncher(n, !1, !1) } catch (t) { alert(Roblox.Client.Resources.errorUpdating + ": " + t) } }, Roblox.Client.WaitForRoblox = function (n) { if (Roblox.Client._skip) return window.location = Roblox.Client._skip, !1; if (Roblox.Client._continuation = n, Roblox.Client._cancelled = !1, !Roblox.Client.IsRobloxProxyInstalled() && Roblox.Client.ImplementsProxy) { Roblox.InstallationInstructions.show(), Roblox.Client._runInstallABTest(); var t = "Windows"; return navigator.appVersion.indexOf("Mac") != -1 && (t = "Mac"), typeof _gaq != typeof undefined && (_gaq.push(["_trackEvent", "Install Begin", t]), _gaq.push(["b._trackEvent", "Install Begin", t])), RobloxEventManager.triggerEvent("rbx_evt_install_begin", { os: t }), window.chrome && (window.location.hash = "#chromeInstall", $.cookie("chromeInstall", n.toString().replace(/play_placeId/, play_placeId.toString()))), window.setTimeout(function () { Roblox.Client._ontimer() }, 1e3), tryToDownload(), !0 } return Roblox.Client._continuation(), !1 }, Roblox.Client.ResumeTimer = function (n) { Roblox.Client._continuation = n, Roblox.Client._cancelled = !1, window.setTimeout(function () { Roblox.Client._ontimer() }, 0) }, Roblox.Client.Refresh = function () { try { navigator.plugins.refresh(!1) } catch (n) { } }, Roblox.Client._onCancel = function () { return Roblox.InstallationInstructions.hide(), Roblox.Client._cancelled = !0, !1 }, Roblox.Client._ontimer = function () { Roblox.Client._cancelled || (Roblox.Client.Refresh(), Roblox.Client.IsRobloxProxyInstalled() ? (Roblox.InstallationInstructions.hide(), window.setTimeout(function () { window.chrome && window.location.hash == "#chromeInstall" && (window.location.hash = "", $.cookie("chromeInstall", null)) }, 5e3), Roblox.Client._continuation(), Roblox.Client._installSuccess && Roblox.Client._installSuccess()) : window.setTimeout(function () { Roblox.Client._ontimer() }, 1e3)) }; ;// jquery.simplemodal-1.3.5.js (function (n) { var i = n.browser.msie && parseInt(n.browser.version) == 6 && typeof window.XMLHttpRequest != "object", r = !1, t = []; n.modal = function (t, i) { return n.modal.impl.init(t, i) }, n.modal.close = function () { n.modal.impl.close() }, n.fn.modal = function (t) { return n.modal.impl.init(this, t) }, n.modal.defaults = { appendTo: "body", focus: !0, opacity: 50, overlayId: "simplemodal-overlay", overlayCss: {}, containerId: "simplemodal-container", containerCss: {}, dataId: "simplemodal-data", dataCss: {}, minHeight: null, minWidth: null, maxHeight: null, maxWidth: null, autoResize: !1, autoPosition: !0, zIndex: 1e4, close: !0, closeHTML: '', closeClass: "simplemodal-close", escClose: !0, overlayClose: !1, position: null, persist: !1, modal: !0, onOpen: null, onShow: null, onClose: null }, n.modal.impl = { o: null, d: {}, init: function (t, i) { var r = this; if (r.d.data) return !1; if (r.o = n.extend({}, n.modal.defaults, i), r.zIndex = r.o.zIndex, r.occb = !1, typeof t == "object") t = t instanceof jQuery ? t : n(t), r.d.placeholder = !1, t.parent().parent().size() > 0 && (t.before(n("").attr("id", "simplemodal-placeholder").css({ display: "none" })), r.d.placeholder = !0, r.display = t.css("display"), r.o.persist || (r.d.orig = t.clone(!0))); else if (typeof t == "string" || typeof t == "number") t = n("

").html(t); else return alert("SimpleModal Error: Unsupported data type: " + typeof t), r; return r.create(t), t = null, r.open(), n.isFunction(r.o.onShow) && r.o.onShow.apply(r, [r.d]), r }, create: function (r) { var u = this; t = u.getDimensions(), u.o.modal && i && (u.d.iframe = n('').css(n.extend(u.o.iframeCss, { display: "none", opacity: 0, position: "fixed", height: t[0], width: t[1], zIndex: u.o.zIndex, top: 0, left: 0 })).appendTo(u.o.appendTo)), u.d.overlay = n("
").attr("id", u.o.overlayId).addClass("simplemodal-overlay").css(n.extend(u.o.overlayCss, { display: "none", opacity: u.o.opacity / 100, height: u.o.modal ? t[0] : 0, width: u.o.modal ? t[1] : 0, position: "fixed", left: 0, top: 0, zIndex: u.o.zIndex + 1 })).appendTo(u.o.appendTo), u.d.container = n("
").attr("id", u.o.containerId).addClass("simplemodal-container").css(n.extend(u.o.containerCss, { display: "none", position: "fixed", zIndex: u.o.zIndex + 2 })).append(u.o.close && u.o.closeHTML ? n(u.o.closeHTML).addClass(u.o.closeClass) : "").appendTo(u.o.appendTo), u.d.wrap = n("
").attr("tabIndex", -1).addClass("simplemodal-wrap").css({ height: "100%", outline: 0, width: "100%", overflow: "visible" }).appendTo(u.d.container), u.d.data = r.attr("id", r.attr("id") || u.o.dataId).addClass("simplemodal-data").css(n.extend(u.o.dataCss, { display: "none" })).appendTo("body"), r = null, u.setContainerDimensions(), u.d.data.appendTo(u.d.wrap), i && u.fixIE() }, bindEvents: function () { var r = this; n("." + r.o.closeClass).bind("click.simplemodal", function (n) { n.preventDefault(), r.close() }), r.o.modal && r.o.close && r.o.overlayClose && r.d.overlay.bind("click.simplemodal", function (n) { n.preventDefault(), r.close() }), n(document).bind("keydown.simplemodal", function (n) { r.o.modal && r.o.focus && n.keyCode == 9 ? r.watchTab(n) : r.o.close && r.o.escClose && n.keyCode == 27 && (n.preventDefault(), r.close()) }), n(window).bind("resize.simplemodal", function () { t = r.getDimensions(), r.setContainerDimensions(!0), i ? r.fixIE() : r.o.modal && (r.d.iframe && r.d.iframe.css({ height: t[0], width: t[1] }), r.d.overlay.css({ height: t[0], width: t[1] })) }) }, unbindEvents: function () { n("." + this.o.closeClass).unbind("click.simplemodal"), n(document).unbind("keydown.simplemodal"), n(window).unbind("resize.simplemodal"), this.d.overlay.unbind("click.simplemodal") }, fixIE: function () { var i = this, t = i.o.position; n.each([i.d.iframe || null, i.o.modal ? i.d.overlay : null, i.d.container], function (n, i) { var l, c, o, e; if (i) { var s = "document.body.clientHeight", h = "document.body.clientWidth", b = "document.body.scrollHeight", a = "document.body.scrollLeft", v = "document.body.scrollTop", p = "document.body.scrollWidth", y = "document.documentElement.clientHeight", w = "document.documentElement.clientWidth", u = "document.documentElement.scrollLeft", f = "document.documentElement.scrollTop", r = i[0].style; r.position = "absolute", n < 2 ? (r.removeExpression("height"), r.removeExpression("width"), r.setExpression("height", "" + b + " > " + s + " ? " + b + " : " + s + ' + "px"'), r.setExpression("width", "" + p + " > " + h + " ? " + p + " : " + h + ' + "px"')) : (t && t.constructor == Array ? (o = t[0] ? typeof t[0] == "number" ? t[0].toString() : t[0].replace(/px/, "") : i.css("top").replace(/px/, ""), l = o.indexOf("%") == -1 ? o + " + (t = " + f + " ? " + f + " : " + v + ') + "px"' : parseInt(o.replace(/%/, "")) + " * ((" + y + " || " + s + ") / 100) + (t = " + f + " ? " + f + " : " + v + ') + "px"', t[1] && (e = typeof t[1] == "number" ? t[1].toString() : t[1].replace(/px/, ""), c = e.indexOf("%") == -1 ? e + " + (t = " + u + " ? " + u + " : " + a + ') + "px"' : parseInt(e.replace(/%/, "")) + " * ((" + w + " || " + h + ") / 100) + (t = " + u + " ? " + u + " : " + a + ') + "px"')) : (l = "(" + y + " || " + s + ") / 2 - (this.offsetHeight / 2) + (t = " + f + " ? " + f + " : " + v + ') + "px"', c = "(" + w + " || " + h + ") / 2 - (this.offsetWidth / 2) + (t = " + u + " ? " + u + " : " + a + ') + "px"'), r.removeExpression("top"), r.removeExpression("left"), r.setExpression("top", l), r.setExpression("left", c)) } }) }, focus: function (t) { var r = this, u = t || "first", i = n(":input:enabled:visible:" + u, r.d.wrap); i.length > 0 ? i.focus() : r.d.wrap.focus() }, getDimensions: function () { var t = n(window), i = n.browser.opera && n.browser.version > "9.5" && n.fn.jquery <= "1.2.6" ? document.documentElement.clientHeight : n.browser.opera && n.browser.version < "9.5" && n.fn.jquery > "1.2.6" ? window.innerHeight : t.height(); return [i, t.width()] }, getVal: function (n) { return n == "auto" ? 0 : n.indexOf("%") > 0 ? n : parseInt(n.replace(/px/, "")) }, setContainerDimensions: function (i) { var r = this; if (!i || i && r.o.autoResize) { var f = n.browser.opera ? r.d.container.height() : r.getVal(r.d.container.css("height")), u = n.browser.opera ? r.d.container.width() : r.getVal(r.d.container.css("width")), s = r.d.data.outerHeight(!0), h = r.d.data.outerWidth(!0), e = r.o.maxHeight && r.o.maxHeight < t[0] ? r.o.maxHeight : t[0], o = r.o.maxWidth && r.o.maxWidth < t[1] ? r.o.maxWidth : t[1]; f = f ? f > e ? e : f : s ? s > e ? e : s < r.o.minHeight ? r.o.minHeight : s : r.o.minHeight, u = u ? u > o ? o : u : h ? h > o ? o : h < r.o.minWidth ? r.o.minWidth : h : r.o.minWidth, r.d.container.css({ height: f, width: u }) } r.o.autoPosition && r.setPosition() }, setPosition: function () { var n = this, r, i, f = t[0] / 2 - n.d.container.outerHeight(!0) / 2, u = t[1] / 2 - n.d.container.outerWidth(!0) / 2; n.o.position && Object.prototype.toString.call(n.o.position) === "[object Array]" ? (r = n.o.position[0] || f, i = n.o.position[1] || u) : (r = f, i = u), n.d.container.css({ left: i, top: r }) }, watchTab: function (t) { var i = this, r; n(t.target).parents(".simplemodal-container").length > 0 ? (i.inputs = n(":input:enabled:visible:first, :input:enabled:visible:last", i.d.data[0]), (!t.shiftKey && t.target == i.inputs[i.inputs.length - 1] || t.shiftKey && t.target == i.inputs[0] || i.inputs.length == 0) && (t.preventDefault(), r = t.shiftKey ? "last" : "first", setTimeout(function () { i.focus(r) }, 10))) : (t.preventDefault(), setTimeout(function () { i.focus() }, 10)) }, open: function () { var t = this; t.d.iframe && t.d.iframe.show(), n.isFunction(t.o.onOpen) ? t.o.onOpen.apply(t, [t.d]) : (t.d.overlay.show(), t.d.container.show(), t.d.data.show()), t.focus(), t.bindEvents() }, close: function () { var t = this, i; if (!t.d.data) return !1; t.unbindEvents(), n.isFunction(t.o.onClose) && !t.occb ? (t.occb = !0, t.o.onClose.apply(t, [t.d])) : (t.d.placeholder ? (i = n("#simplemodal-placeholder"), t.o.persist ? i.replaceWith(t.d.data.removeClass("simplemodal-data").css("display", t.display)) : (t.d.data.hide().remove(), i.replaceWith(t.d.orig))) : t.d.data.hide().remove(), t.d.container.hide().remove(), t.d.overlay.hide().remove(), t.d.iframe && t.d.iframe.hide().remove(), t.d = {}) } } })(jQuery); @@ -3748,7 +3748,7 @@ if (!self.__WB_pmw) { self.__WB_pmw = function (obj) { this.__WB_source = obj; r $(function () { var n = !1, t, i; $("#header-login").click(function (i) { return n = !n, t(n), $("#iFrameLogin").toggle(), $("#header-login").toggleClass("active"), i.stopPropagation(), !1 }), $("#headerLogin").click(function (i) { return n = !n, t(n), $("#iFrameLogin").toggle(), $("#headerLogin").toggleClass("active"), i.stopPropagation(), !1 }), $(document).click(function () { n && ($("#header-login").removeClass("active"), $("#headerLogin").removeClass("active"), $("#iFrameLogin").hide(), n = !1) }), t = function (n) { $(".IframeAdHide").each(function () { $(this).height() == 90 && $(this).width() == 728 && (n ? $(this).css("visibility", "hidden") : $(this).css("visibility", "visible")) }) }, i = function (n) { var t, i; n.indexOf("resize") != -1 && (t = n.split(","), $("#iFrameLogin").css({ height: t[1] })), n.indexOf("fbRegister") != -1 && (t = n.split("^"), i = "&fbname=" + encodeURIComponent(t[1]) + "&fbem=" + encodeURIComponent(t[2]) + "&fbdt=" + encodeURIComponent(t[3]), window.location.href = "../Login/Default.aspx?iFrameFacebookSync=true" + i) }, $.receiveMessage(function (n) { i(n.data) }), $("#header-login-wrapper").data("display-opened") == "True" && ($("#header-login").addClass("active"), $("#iFrameLogin").css("display", "block")) }); ;// IDE/Welcome.js - $(function () { function n() { Roblox.GenericConfirmation.open({ titleText: Roblox.IDEWelcome.Resources.emailVerifiedTitle, bodyContent: Roblox.IDEWelcome.Resources.emailVerifiedMessage, onAccept: function () { window.location.href = "/My/Account.aspx?confirmemail=1" }, acceptColor: Roblox.GenericConfirmation.blue, acceptText: Roblox.IDEWelcome.Resources.verify, declineText: Roblox.IDEWelcome.Resources.cancel, allowHtmlContentInBody: !0 }) } function i(n) { var r = "/ide/placelist", i, t; return n && (i = $("div.place").length, t = "?startRow=" + i, r += t), r } function t(n, t) { $.ajax({ url: t, cache: !1, dataType: "html", success: function (t) { n.remove(); var i = $("#AssetList"); i.append($(t)), $(t).animate({ opacity: 1 }, "fast"), $(".place").unbind("click"), $(".place").click(function () { $(this).hasClass("place-selected") ? ($(this).removeClass("place-selected"), $("div#ButtonRow").hide()) : ($(".place.place-selected").removeClass("place-selected"), $(this).addClass("place-selected"), $("div#ButtonRow").show()) }), $(".place a").removeAttr("href") } }) } $(window).resize(function () { var n = $(".main div.welcome-content-area:visible"); $(window).height() < n.height() ? $(".navbar").height(n.height()) : $(".navbar").height($(window).height() - 124), n.height($(window).height() - 170) }), $(".navbar").height($(window).height() - 124), $("ul.filelist li a").each(function () { this.innerHTML = fitStringToWidthSafe($(this).text(), $(".navlist li p").width()) }), $("#PublishedProjects").length > 0 ? $("#MyProjects").addClass("navselected") : $(".navlist li").first().addClass("navselected"), $("ul.filelist li a").click(function () { Roblox.Client.isIDE() ? window.external.OpenRecentFile($(this).attr("js-data-file")) : Roblox.GenericModal.open(Roblox.IDEWelcome.Resources.openProject, "/images/Icons/img-alert.png", Roblox.IDEWelcome.Resources.openProjectText + " " + Roblox.IDEWelcome.Resources.robloxStudio + ".") }), $("#header-signup").click(function () { window.open("/Login/NewAge.aspx") }), $("#HeaderHome").click(function () { window.location = "/Home/Default.aspx" }), $("#MyProjects").click(function () { $("#TemplatesView").hide(), $("#MyProjectsView").show(), $(".navlist li.navselected").removeClass("navselected"), $(this).addClass("navselected") }), $("#NewProject").click(function () { $("#TemplatesView").show(), $("#MyProjectsView").hide(), $(".navlist li.navselected").removeClass("navselected"), $(this).addClass("navselected") }), $(".place").click(function () { $(this).hasClass("place-selected") ? ($(this).removeClass("place-selected"), $("div#ButtonRow").hide()) : ($(".place.place-selected").removeClass("place-selected"), $(this).addClass("place-selected"), $("div#ButtonRow").show()) }), $(".place a").removeAttr("href"), $("ul.navlist li").last().addClass("lastnav"), $("#EditButton").click(function () { var i, t; $(this).hasClass("btn-disabled-primary") || ($("#BuildButton, #EditButton").addClass("btn-disabled-primary"), $("#CollapseButton").addClass("btn-disabled-negative"), i = $(".place.place-selected"), Roblox.Client.isIDE() ? $("#verifiedEmail").data("email-verified-required") == "True" ? n() : (t = i.attr("data-placeid"), window.play_placeId = t, window.editGameInStudio(t)) : Roblox.GenericModal.open(Roblox.IDEWelcome.Resources.editPlace, "/images/Icons/img-alert.png", Roblox.IDEWelcome.Resources.toEdit + i.find("p").text() + Roblox.IDEWelcome.Resources.openPage + "" + Roblox.IDEWelcome.Resources.robloxStudio + "."), $("#BuildButton").removeClass("btn-disabled-primary"), $("#EditButton").removeClass("btn-disabled-primary"), $("#CollapseButton").removeClass("btn-disabled-negative"), $("#CollapseButton").trigger("click")) }), $("#BuildButton").click(function () { var t, r, i; $(this).hasClass("btn-disabled-primary") || ($("#BuildButton, #EditButton").addClass("btn-disabled-primary"), $("#CollapseButton").addClass("btn-disabled-negative"), t = $(".place.place-selected"), Roblox.Client.isIDE() ? $("#verifiedEmail").data("email-verified-required") == "True" ? n() : (r = t.attr("data-active") == "True", r ? (i = t.attr("data-placeid"), window.play_placeId = i, buildGameInStudio(i)) : Roblox.GenericModal.open(Roblox.IDEWelcome.Resources.placeInactive, "/images/Icons/img-alert.png", Roblox.IDEWelcome.Resources.toBuild + t.find("p").text() + Roblox.IDEWelcome.Resources.activate)) : Roblox.GenericModal.open(Roblox.IDEWelcome.Resources.buildPlace, "/images/Icons/img-alert.png", Roblox.IDEWelcome.Resources.toBuild + t.find("p").text() + Roblox.IDEWelcome.Resources.openPage + "" + Roblox.IDEWelcome.Resources.robloxStudio + "."), $("#BuildButton").removeClass("btn-disabled-primary"), $("#EditButton").removeClass("btn-disabled-primary"), $("#CollapseButton").removeClass("btn-disabled-negative"), $("#CollapseButton").trigger("click")) }), $("#CollapseButton").click(function () { $(this).hasClass("btn-disabled-negative") || ($(".place.place-selected").removeClass("place-selected"), $("div#ButtonRow").hide()) }), $("#StudioRecentFiles").length == 0 && $("ul.navlist").css("border-bottom", "none"); $("#AssetList").on("click", "#load-more-assets", function () { var r = $(this).parent(), n = i(!0); t(r, n) }) }); + $(function () { function n() { Roblox.GenericConfirmation.open({ titleText: Roblox.IDEWelcome.Resources.emailVerifiedTitle, bodyContent: Roblox.IDEWelcome.Resources.emailVerifiedMessage, onAccept: function () { window.location.href = "/My/Account.aspx?confirmemail=1" }, acceptColor: Roblox.GenericConfirmation.blue, acceptText: Roblox.IDEWelcome.Resources.verify, declineText: Roblox.IDEWelcome.Resources.cancel, allowHtmlContentInBody: !0 }) } function i(n) { var r = "/ide/placelist", i, t; return n && (i = $("div.place").length, t = "?startRow=" + i, r += t), r } function t(n, t) { $.ajax({ url: t, cache: !1, dataType: "html", success: function (t) { n.remove(); var i = $("#AssetList"); i.append($(t)), $(t).animate({ opacity: 1 }, "fast"), $(".place").unbind("click"), $(".place").click(function () { $(this).hasClass("place-selected") ? ($(this).removeClass("place-selected"), $("div#ButtonRow").hide()) : ($(".place.place-selected").removeClass("place-selected"), $(this).addClass("place-selected"), $("div#ButtonRow").show()) }), $(".place a").removeAttr("href") } }) } $(window).resize(function () { var n = $(".main div.welcome-content-area:visible"); $(window).height() < n.height() ? $(".navbar").height(n.height()) : $(".navbar").height($(window).height() - 124), n.height($(window).height() - 170) }), $(".navbar").height($(window).height() - 124), $("ul.filelist li a").each(function () { this.innerHTML = fitStringToWidthSafe($(this).text(), $(".navlist li p").width()) }), $("#PublishedProjects").length > 0 ? $("#MyProjects").addClass("navselected") : $(".navlist li").first().addClass("navselected"), $("ul.filelist li a").click(function () { Roblox.Client.isIDE() ? window.external.OpenRecentFile($(this).attr("js-data-file")) : Roblox.GenericModal.open(Roblox.IDEWelcome.Resources.openProject, "/images/Icons/img-alert.png", Roblox.IDEWelcome.Resources.openProjectText + " " + Roblox.IDEWelcome.Resources.robloxStudio + ".") }), $("#header-signup").click(function () { window.open("/Login/NewAge.aspx") }), $("#HeaderHome").click(function () { window.location = "/Home/Default.aspx" }), $("#MyProjects").click(function () { $("#TemplatesView").hide(), $("#MyProjectsView").show(), $(".navlist li.navselected").removeClass("navselected"), $(this).addClass("navselected") }), $("#NewProject").click(function () { $("#TemplatesView").show(), $("#MyProjectsView").hide(), $(".navlist li.navselected").removeClass("navselected"), $(this).addClass("navselected") }), $(".place").click(function () { $(this).hasClass("place-selected") ? ($(this).removeClass("place-selected"), $("div#ButtonRow").hide()) : ($(".place.place-selected").removeClass("place-selected"), $(this).addClass("place-selected"), $("div#ButtonRow").show()) }), $(".place a").removeAttr("href"), $("ul.navlist li").last().addClass("lastnav"), $("#EditButton").click(function () { var i, t; $(this).hasClass("btn-disabled-primary") || ($("#BuildButton, #EditButton").addClass("btn-disabled-primary"), $("#CollapseButton").addClass("btn-disabled-negative"), i = $(".place.place-selected"), Roblox.Client.isIDE() ? $("#verifiedEmail").data("email-verified-required") == "True" ? n() : (t = i.attr("data-placeid"), window.play_placeId = t, window.editGameInStudio(t)) : Roblox.GenericModal.open(Roblox.IDEWelcome.Resources.editPlace, "/images/Icons/img-alert.png", Roblox.IDEWelcome.Resources.toEdit + i.find("p").text() + Roblox.IDEWelcome.Resources.openPage + "" + Roblox.IDEWelcome.Resources.robloxStudio + "."), $("#BuildButton").removeClass("btn-disabled-primary"), $("#EditButton").removeClass("btn-disabled-primary"), $("#CollapseButton").removeClass("btn-disabled-negative"), $("#CollapseButton").trigger("click")) }), $("#BuildButton").click(function () { var t, r, i; $(this).hasClass("btn-disabled-primary") || ($("#BuildButton, #EditButton").addClass("btn-disabled-primary"), $("#CollapseButton").addClass("btn-disabled-negative"), t = $(".place.place-selected"), Roblox.Client.isIDE() ? $("#verifiedEmail").data("email-verified-required") == "True" ? n() : (r = t.attr("data-active") == "True", r ? (i = t.attr("data-placeid"), window.play_placeId = i, buildGameInStudio(i)) : Roblox.GenericModal.open(Roblox.IDEWelcome.Resources.placeInactive, "/images/Icons/img-alert.png", Roblox.IDEWelcome.Resources.toBuild + t.find("p").text() + Roblox.IDEWelcome.Resources.activate)) : Roblox.GenericModal.open(Roblox.IDEWelcome.Resources.buildPlace, "/images/Icons/img-alert.png", Roblox.IDEWelcome.Resources.toBuild + t.find("p").text() + Roblox.IDEWelcome.Resources.openPage + "" + Roblox.IDEWelcome.Resources.robloxStudio + "."), $("#BuildButton").removeClass("btn-disabled-primary"), $("#EditButton").removeClass("btn-disabled-primary"), $("#CollapseButton").removeClass("btn-disabled-negative"), $("#CollapseButton").trigger("click")) }), $("#CollapseButton").click(function () { $(this).hasClass("btn-disabled-negative") || ($(".place.place-selected").removeClass("place-selected"), $("div#ButtonRow").hide()) }), $("#StudioRecentFiles").length == 0 && $("ul.navlist").css("border-bottom", "none"); $("#AssetList").on("click", "#load-more-assets", function () { var r = $(this).parent(), n = i(!0); t(r, n) }) }); ;// IDE/BuildTemplates.js function getSelectedTemplateType() { return $('div.templates[js-data-templatetype="' + $("ul.templatetypes li.selectedType").attr("js-data-templatetype") + '"]') } $(function () { var t = $("ul.templatetypes li"), n; t.click(function () { var n = getSelectedTemplateType(); n.hide(), $("ul.templatetypes li.selectedType").removeClass("selectedType"), $(this).addClass("selectedType"), n = getSelectedTemplateType(), n.show() }), n = t.first(), n.addClass("selectedType"), getSelectedTemplateType().show(), Roblox.require("Widgets.PlaceImage", function () { Roblox.Widgets.PlaceImage.populate() }), $(".template").click(function () { Roblox.Client.isIDE() ? window.editTemplateInStudio($(this).attr("placeid")) : Roblox.GenericModal.open("New Project", "/img/img-alert.png", "To build using this template, use ARCHBLOX Studio.") }), $(".template a").removeAttr("href") }); diff --git a/public/stamper/groupurl.php b/public/stamper/groupurl.php index 971f70a..311396c 100644 --- a/public/stamper/groupurl.php +++ b/public/stamper/groupurl.php @@ -2,7 +2,7 @@ $url = explode("?", $_SERVER['REQUEST_URI']); $id = $url[1]; - $file = "http://assetgame.roblox.com/Game/LuaWebService/HandleSocialRequest.ashx?" . $id; + $file = "http://assetgame.morblox.us/Game/LuaWebService/HandleSocialRequest.ashx?" . $id; //header("location:" . $file); ?> \ No newline at end of file diff --git a/public/stamper/inseassetcollect.php b/public/stamper/inseassetcollect.php index 0d3b96f..11cfd9c 100644 --- a/public/stamper/inseassetcollect.php +++ b/public/stamper/inseassetcollect.php @@ -3,7 +3,7 @@ $url = explode("?", $_SERVER['REQUEST_URI']); $id = $url[1]; //echo($id); - $file = "http://roblox.com/Game/Tools/InsertAsset.ashx?" . $id; + $file = "http://morblox.us/Game/Tools/InsertAsset.ashx?" . $id; header("location:" . $file); ?> \ No newline at end of file diff --git a/public/stamper/stampericons.php b/public/stamper/stampericons.php index d9630bf..3b15101 100644 --- a/public/stamper/stampericons.php +++ b/public/stamper/stampericons.php @@ -11,7 +11,7 @@ //echo $height[1]; $id = substr($redirect_linka, strpos($redirect_linka, "aid=") + 4); //echo $id; - $assetimage = file_get_contents('https://assetgame.roblox.com/Thumbs/Asset.asmx/RequestThumbnail_v2?assetId=' . $id . '&assetVersionId=0&width=' . $width . '&height=' . $height . '&imageFormat=%22' . $format .'%22&thumbnailFormatId=296&overrideModeration=false'); + $assetimage = file_get_contents('https://assetgame.morblox.us/Thumbs/Asset.asmx/RequestThumbnail_v2?assetId=' . $id . '&assetVersionId=0&width=' . $width . '&height=' . $height . '&imageFormat=%22' . $format .'%22&thumbnailFormatId=296&overrideModeration=false'); //echo $text; preg_match('/"url":"(.*?)"}}/', $assetimage, $imageurl); //echo $imageurl[1]; diff --git a/resources/views/client/idelanding.blade.php b/resources/views/client/idelanding.blade.php index a47826b..2310647 100644 --- a/resources/views/client/idelanding.blade.php +++ b/resources/views/client/idelanding.blade.php @@ -62,31 +62,31 @@
- +

Baseplate

- +

Flat Terrain

- +

Capture The Flag

- +

Control Points

- +

Free For All

- +

Team Deathmatch