5 ms·
What would be the point of that? The only fun in the game (besides the fact that it works at all) is finding the new gear and getting the achievements. If you j
by eridius 15y ago
What would be the point of that? The only fun in the game (besides the fact that it works at all) is finding the new gear and getting the achievements. If you just edit your character, then you may as well not even play.
- justjimmy 15y agoCheating single player is only affects the player themselves. But when it comes to online, multiplayer, then cheating/codes need to be restricted. It's more from a sustaining/profitability point of view – nothing drive users away when they first log on and see everyone running around looking identical and having the best items obtained with just a few key strokes. I guess the OP's comment of local storage was also to point out the 'flaw' since it is for a multiplayer game.
- reustle 15y agoI'm guessing they aren't too worried as it is just a demo. You can easily put some backend checks in for things like this.
- lucisferre 15y agoGiving each weapon/character relationship an id solves this pretty easily.
- deleted 15y ago[deleted]
- tkahn6 15y agoTBH I just did it because I could.
- eridius 15y agoRandom idea: write a brand new game that talks to the Browser Quest server. Use the input of other players moving around as input into your own game (maybe some sort of ambient art thingy).
- PhearTheCeal 15y agoHow'd you do it? I'm trying to do: localStorage.data = localStorage.data.replace('sword1', goldensword') But it just reverts after I type that into the console. Could someone explain how it works?
- eridius 15y agoI ran this line localStorage.data = JSON.stringify((function (data) { data.player.weapon = 'goldensword'; return data })(JSON.parse(localStorage.data))) and then reloaded the page, and I had the golden sword.
- PhearTheCeal 15y agoAh, I see. I didn't reload the page. I wonder if there is any way to do this without reloading the page... It be fun to show off if someone figured it out.
- ynniv 15y agoThe client server protocol only lets you specify arbitrary equipment when you connect. To change equipment during the game, you have to Types.Messages.LOOT a dropped item.
- PhearTheCeal 15y agoSorry, I don't understand. Types.Messages.LOOT can be used how exactly?
- ynniv 15y agoLOOT is an action in the client server protocol - you can't easily use it. The important part is that you can only equip an item that is available to be picked up, unlike when you first connect. You can specify any weapon and armor when you first connect, which is why editing the local storage works.
- 15y ago