{"action":"created","issue":{"url":"https://api.github.com/repos/AJS-development/Ogar-unlimited/issues/534","repository_url":"https://api.github.com/repos/AJS-development/Ogar-unlimited","labels_url":"https://api.github.com/repos/AJS-development/Ogar-unlimited/issues/534/labels{/name}","comments_url":"https://api.github.com/repos/AJS-development/Ogar-unlimited/issues/534/comments","events_url":"https://api.github.com/repos/AJS-development/Ogar-unlimited/issues/534/events","html_url":"https://github.com/AJS-development/Ogar-unlimited/issues/534","id":153682867,"number":534,"title":"Server Showcase","user":{"login":"Andrews54757","id":13282284,"avatar_url":"https://avatars.githubusercontent.com/u/13282284?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrews54757","html_url":"https://github.com/Andrews54757","followers_url":"https://api.github.com/users/Andrews54757/followers","following_url":"https://api.github.com/users/Andrews54757/following{/other_user}","gists_url":"https://api.github.com/users/Andrews54757/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrews54757/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrews54757/subscriptions","organizations_url":"https://api.github.com/users/Andrews54757/orgs","repos_url":"https://api.github.com/users/Andrews54757/repos","events_url":"https://api.github.com/users/Andrews54757/events{/privacy}","received_events_url":"https://api.github.com/users/Andrews54757/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AJS-development/Ogar-unlimited/labels/Server%20Showcase","name":"Server Showcase","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2016-05-08T23:15:42Z","updated_at":"2016-05-13T19:10:42Z","closed_at":null,"body":"Server showcase. Clients are no longer banned as moneyclip is being stupid"},"comment":{"url":"https://api.github.com/repos/AJS-development/Ogar-unlimited/issues/comments/219133830","html_url":"https://github.com/AJS-development/Ogar-unlimited/issues/534#issuecomment-219133830","issue_url":"https://api.github.com/repos/AJS-development/Ogar-unlimited/issues/534","id":219133830,"user":{"login":"Agarian","id":15255724,"avatar_url":"https://avatars.githubusercontent.com/u/15255724?v=3","gravatar_id":"","url":"https://api.github.com/users/Agarian","html_url":"https://github.com/Agarian","followers_url":"https://api.github.com/users/Agarian/followers","following_url":"https://api.github.com/users/Agarian/following{/other_user}","gists_url":"https://api.github.com/users/Agarian/gists{/gist_id}","starred_url":"https://api.github.com/users/Agarian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Agarian/subscriptions","organizations_url":"https://api.github.com/users/Agarian/orgs","repos_url":"https://api.github.com/users/Agarian/repos","events_url":"https://api.github.com/users/Agarian/events{/privacy}","received_events_url":"https://api.github.com/users/Agarian/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T19:10:42Z","updated_at":"2016-05-13T19:10:42Z","body":"so in PlayerTracker.js, you could see the following code:\r\n\r\n> var mult = 2.5; // To simplify multiplier, in case this needs editing later on\r\n      this.viewBox.topY = this.centerPos.y - this.gameServer.config.serverViewBaseY * mult;\r\n      this.viewBox.bottomY = this.centerPos.y + this.gameServer.config.serverViewBaseY * mult;\r\n      this.viewBox.leftX = this.centerPos.x - this.gameServer.config.serverViewBaseX * mult;\r\n      this.viewBox.rightX = this.centerPos.x + this.gameServer.config.serverViewBaseX * mult;\r\n      this.viewBox.width = this.gameServer.config.serverViewBaseX * mult;\r\n      this.viewBox.height = this.gameServer.config.serverViewBaseY * mult;\r\n\r\nThis code increases the viewbase range in spectate mode, multiplying the viewbase by *2.5*, however, this only affects freeroam spectate, not when spectating a player. The default viewbases X and Y make spectating a player look buggy, as you cannot see all the entities past the viewbase. so you see them appear and dissapear ON SCREEN, unlike in regular agar, the viewbase in all spectate modes spans thw whole screen. So i had the idea for a viewbase multiplier that affects any spectate mode.\r\n\r\nAlso @AJS-development/ogar-unlimited-devs the spectate bug in the client is caused by the following code in **PlayerTracker.js** (lines 403-423) :\r\n\r\n> // Map obfuscation\r\n    var width = this.viewBox.width;\r\n    var height = this.viewBox.height;\r\n\r\n  > if (this.cells.length == 0 && this.gameServer.config.serverScrambleMinimaps >= 1) {\r\n      // Update map, it may have changed\r\n      this.socket.sendPacket(new Packet.SetBorder(\r\n        this.gameServer.config.borderLeft + this.scrambleX,\r\n        this.gameServer.config.borderRight + this.scrambleX,\r\n        this.gameServer.config.borderTop + this.scrambleY,\r\n        this.gameServer.config.borderBottom + this.scrambleY\r\n      ));\r\n    } else {\r\n      // Send a border packet to fake the map size\r\n      this.socket.sendPacket(new Packet.SetBorder(\r\n       Math.max(this.centerPos.x + this.scrambleX - width, this.gameServer.config.borderLeft + this.scrambleX),\r\n            Math.min(this.centerPos.x + this.scrambleX + width, this.gameServer.config.borderRight + this.scrambleX),\r\n            Math.max(this.centerPos.y + this.scrambleY - height, this.gameServer.config.borderTop + this.scrambleY),\r\n            Math.min(this.centerPos.y + this.scrambleY + height, this.gameServer.config.borderBottom + this.scrambleY)\r\n      ));\r\n    }\r\n "}}