Client Based Replay System

12
Comment below rating threshold, click here to show it.

D3leet

Senior Member

08-21-2010

so wait, having a video of the game being played makes it easier to hack? Holy **** someone better stop letting them use fraps to record games quickly, otherwise people will l33t hack the game...

You already have a copy of the game stored on your computer, all the minions and heroes and animations are already stored on your computer, so how would giving your players the option to record a game, and store the recorded video on your computer or discard, be giving people an ability to hack the game? Its not like it has to be a localized replay system, the server itself could give players to option to record. say ranked games only, and then download the recording to their computer, or ignore the recording, and the server discards it, just an idea...


Comment below rating threshold, click here to show it.

SparrowMaxx

Senior Member

08-21-2010

Quote:
Originally Posted by mightybosstone View Post
so wait, having a video of the game being played makes it easier to hack? Holy **** someone better stop letting them use fraps to record games quickly, otherwise people will l33t hack the game...

You already have a copy of the game stored on your computer, all the minions and heroes and animations are already stored on your computer, so how would giving your players the option to record a game, and store the recorded video on your computer or discard, be giving people an ability to hack the game? Its not like it has to be a localized replay system, the server itself could give players to option to record. say ranked games only, and then download the recording to their computer, or ignore the recording, and the server discards it, just an idea...
Ok, you need to understand how a game on LoL works. The client is simply showing you what is happening. Unlike many games, LoL games are ALL serverside, and everything on the client is simply showing you data that the server sends out. As such, it's very hard to hack, because you have to manipulate the actual server. It's possible, but how can you unlock a door if you have no idea how the lock works?

Replays are actually the game being "replayed" for you. It records everyone's actions and then actually plays the game out for you, all over again. Since it's all on the client, then the client has to be able to run the game alone. So now, you're picking a lock that you have all the schematics for. It's much easier.


Comment below rating threshold, click here to show it.

YourNephew

This user has referred a friend to League of Legends, click for more information

Junior Member

11-03-2010

Yeah that's why all starcraft and warcraft games are hacked.... seriously a replay is just a sequential list of all the players actions and the order that they occured, it's really not that difficult. Also if this game is run server side, which almost every other internet game in the world is, online replay watching can be enabled just like in starcraft 1 so you can watch replays with your friends in realtime. I'm more apt to think this is a laziness problem more than a security problem or it's just not on top of their priorities list.


Comment below rating threshold, click here to show it.

YourNephew

This user has referred a friend to League of Legends, click for more information

Junior Member

11-03-2010

Also I'd assume like most online games... the only thing the server is doing is calculating hit detection, player position, hit points, mana usage etc, after a button is pressed. The client is already just 'replaying' the whatever the server determines happened when everyone pressed a button or clicked. If this game were truly run server side, as you say, then there would be no need to download or install, and this game would be run through a web browser.


Comment below rating threshold, click here to show it.

Mershin

This user has referred a friend to League of Legends, click for more information

Senior Member

11-03-2010

A red poster explained it very well recently (don't remember who it was). The problem with building the replay system easily is that because of patches coming out so often, you couldn't save replay information that accurately as it also involves the stats of the champ "at the time the game was played". So then it becomes a technical challenge to build a replay system that would accurate re-enact a game from the perspective of every player, for the longevity of the game. Maybe they could do it easily if it was to only "replay games since the last patch", but I don't think Riot would be happy enough with that? So the last we've heard is they're working on it... and it sounds like a very challenging task indeed. Hats off to Riot if they pull it off well, and they should take all of the time they need to do it "well".

Oh here I found it, it was Guinsoo:

Quote:
Originally Posted by Guinsoo View Post
The main hurdle is that we patch every 2 weeks, and we want every replay to be viewable forever. That's actually a really tough system to implement. There has been progress on this front lately though.


Comment below rating threshold, click here to show it.

MightySnuffles

This user has referred a friend to League of Legends, click for more information

Senior Member

11-03-2010

I don't want the artists and designers that work on champions creating code for the game. Not really the right skill set. >.>


Comment below rating threshold, click here to show it.

YourNephew

This user has referred a friend to League of Legends, click for more information

Junior Member

11-03-2010

Any replay system is better than no replay system. I don't think theres any way to play past replays without caching old versions of the game that can't connect to the server like sc2 does. Blizzard has replays that only worked on current version for like 15 years now and it wasn't a big deal. Not sure why it's a big deal here, it would be a great stepping stone I think.


12