# Velocity - the bhop game

**URL:** <https://forums.sourceruns.org/t/velocity-the-bhop-game/2493>\
**Category:** Off-Topic\
**Created:** [October 13, 2014, 12:54pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493 "2014-10-13T12:54:21Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![TheAsuro](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/theasuro/32/38_2.png) [@TheAsuro](https://forums.sourceruns.org/u/TheAsuro)\
**Post date:** [November 5, 2014, 6:08pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/61 "2014-11-05T18:08:57Z")

</div>

Uploaded another small patch. Level4 should work now, I fixed a few smaller bugs and the crosshair now displays the speed in a cool way.

EDIT: The jumping bug will be fixed in 0.2.3, because I’ll rewrite movement anyways.

[http://theasuro.blogspot.de/p/stuff.html](http://theasuro.blogspot.de/p/stuff.html)

---

<div class="post-metadata">

**Author:** ![mike](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike](https://forums.sourceruns.org/u/mike)\
**Post date:** [November 5, 2014, 6:27pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/62 "2014-11-05T18:27:26Z")

</div>

> [@TheAsuro](#):
>
> Thanks for reporting that bug 😃 I’ll fix it in the next update.

RIP Jumpless Run 2014-2014

---

<div class="post-metadata">

**Author:** ![Icykittenz](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/i/dec6dc/32.png) [@Icykittenz](https://forums.sourceruns.org/u/Icykittenz)\
**Post date:** [November 5, 2014, 8:56pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/63 "2014-11-05T20:56:47Z")

</div>

I’ve been having a lot of fun with this so far. Keep up the good work, friend.

---

<div class="post-metadata">

**Author:** ![Kitin](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/k/e9c0ed/32.png) [@Kitin](https://forums.sourceruns.org/u/Kitin)\
**Post date:** [November 5, 2014, 10:43pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/64 "2014-11-05T22:43:48Z")

</div>

I actually like that crouch bug, sort of an über version of this q3 bug: [http://youtu.be/0QH9lpqMFnI?t=1m23s](http://youtu.be/0QH9lpqMFnI?t=1m23s)

I think that you should implement horizontal speed gain once you fall and hit a slope and vertical speed gain if you hit a slope with horizontal speed. Would make the game less two-dimensional.

Edit: Also, the 3 sec locked state at the beginning of each run gets pretty annoying after a while. Better to just have a start timer trigger in the map (which the game had in a earlier version iirc).

---

<div class="post-metadata">

**Author:** ![quadrazid](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/q/f6c823/32.png) [@quadrazid](https://forums.sourceruns.org/u/quadrazid)\
**Post date:** [November 5, 2014, 11:01pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/65 "2014-11-05T23:01:41Z")

</div>

+1 “Click to start” could work too.

---

<div class="post-metadata">

**Author:** ![OMalley](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/o/b5a626/32.png) [@OMalley](https://forums.sourceruns.org/u/OMalley)\
**Post date:** [November 6, 2014, 12:41am UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/66 "2014-11-06T00:41:16Z")

</div>

I’m gonna second this. More movement possibilities there are the deeper the game will be. If the crouch bug is too big for your taste, maybe try and tune it down rather than get rid of it?

And then things like rampsliding, trimping, maybe even wallrunning would all be nifty additions. Maybe later add weapons to certain maps, like rocket launchers, grenades, conc nades (from TFC), the shotgun from Gunman chronicles, the plasma gun from Quake3, hell, even the shield gun and translocator from UT2004. If you manage that, this game would be the complete speedrunning package!

---

<div class="post-metadata">

**Author:** ![Richard](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/r/f0a364/32.png) [@Richard](https://forums.sourceruns.org/u/Richard)\
**Post date:** [November 6, 2014, 2:58pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/67 "2014-11-06T14:58:24Z")

</div>

> And then things like rampsliding, trimping, maybe even wallrunning would all be nifty additions. Maybe later add weapons to certain maps, like rocket launchers, grenades, conc nades (from TFC), the shotgun from Gunman chronicles, the plasma gun from Quake3, hell, even the shield gun and translocator from UT2004. If you manage that, this game would be the complete speedrunning package!

I agree. A complete speedrunning package sounds very nice.. 😃

---

<div class="post-metadata">

**Author:** ![TheAsuro](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/theasuro/32/38_2.png) [@TheAsuro](https://forums.sourceruns.org/u/TheAsuro)\
**Post date:** [November 6, 2014, 3:28pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/68 "2014-11-06T15:28:41Z")

</div>

> I think that you should implement horizontal speed gain once you fall and hit a slope and vertical speed gain if you hit a slope with horizontal speed. Would make the game less two-dimensional.

I’m gonna second this. More movement possibilities there are the deeper the game will be. If the crouch bug is too big for your taste, maybe try and tune it down rather than get rid of it?

And then things like rampsliding, trimping, maybe even wallrunning would all be nifty additions. Maybe later add weapons to certain maps, like rocket launchers, grenades, conc nades (from TFC), the shotgun from Gunman chronicles, the plasma gun from Quake3, hell, even the shield gun and translocator from UT2004. If you manage that, this game would be the complete speedrunning package![/quote]

I’ll rewrite most of the movement and add a few more things. Slope boosting (what Takyon said) will certainly be a part of it, and I’m playing with the thought of adding weapons in the level that you can pick up and do rocket jumps/grenade boost etc. with. I may add a few more things, but I want to keep the game simple, as complexity is not equal to depth.

---

<div class="post-metadata">

**Author:** ![TheAsuro](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/theasuro/32/38_2.png) [@TheAsuro](https://forums.sourceruns.org/u/TheAsuro)\
**Post date:** [November 6, 2014, 5:01pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/69 "2014-11-06T17:01:41Z")

</div>

Accidentially deleted half of the entries from the leaderboards. Sorry 😕

EDIT: So yeah, I deleted ~300 entries from the leaderboard (200 of them unintentionally), but it’s less messy now. If you score a PB on a map you had an old time on, it will delete the old time and replace it with your new one.

---

<div class="post-metadata">

**Author:** ![toten](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/t/ea5d25/32.png) [@toten](https://forums.sourceruns.org/u/toten)\
**Post date:** [November 7, 2014, 2:39pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/70 "2014-11-07T14:39:14Z")

</div>

[Level 4 in 8.51 using the crouch bug.](https://www.youtube.com/watch?v=U-InBBIwX28)

---

<div class="post-metadata">

**Author:** ![YaLTeR](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/yalter/32/553_2.png) [@YaLTeR](https://forums.sourceruns.org/u/YaLTeR)\
**Post date:** [November 8, 2014, 9:26pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/71 "2014-11-08T21:26:55Z")

</div>

Meanwhile, [Level 4 sub15 w/o the crouch bug](https://www.youtube.com/watch?v=37Rl5T0NGYM&feature=youtu.be) 😛

---

<div class="post-metadata">

**Author:** ![TheAsuro](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/theasuro/32/38_2.png) [@TheAsuro](https://forums.sourceruns.org/u/TheAsuro)\
**Post date:** [November 8, 2014, 10:26pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/72 "2014-11-08T22:26:37Z")

</div>

If anyone is interested, here is an always up-to-date list of what I’m currently working on:  
[https://www.evernote.com/shard/s398/sh/79315641-e1ee-4833-a5bf-59684604f1f5/4ab2bc10bc69916a](https://www.evernote.com/shard/s398/sh/79315641-e1ee-4833-a5bf-59684604f1f5/4ab2bc10bc69916a)

I’m always open for suggestions 😉

---

<div class="post-metadata">

**Author:** ![YaLTeR](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/yalter/32/553_2.png) [@YaLTeR](https://forums.sourceruns.org/u/YaLTeR)\
**Post date:** [November 11, 2014, 7:51pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/73 "2014-11-11T19:51:36Z")

</div>

A suggestion: upload the demo to the server when a person gets a pb and make those downloadable from the leaderboards to check for cheats and so that people can generally see how something was done.

---

<div class="post-metadata">

**Author:** ![mike](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike](https://forums.sourceruns.org/u/mike)\
**Post date:** [November 11, 2014, 7:59pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/74 "2014-11-11T19:59:20Z")

</div>

Or require some kind of proof of the game running because right now one could just call the website from a browser with a fake time…

---

<div class="post-metadata">

**Author:** ![kernel](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/k/7ea924/32.png) [@kernel](https://forums.sourceruns.org/u/kernel)\
**Post date:** [November 11, 2014, 9:26pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/75 "2014-11-11T21:26:41Z")

</div>

i’m not sure about this, but if game run a sort of client that would communicate with the server, you wouldn’t be able to fake it, because normal browser is running on different client. atleast the person that would try to fake the run would need a better knowledge.

---

<div class="post-metadata">

**Author:** ![TheAsuro](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/theasuro/32/38_2.png) [@TheAsuro](https://forums.sourceruns.org/u/TheAsuro)\
**Post date:** [November 12, 2014, 12:56am UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/76 "2014-11-12T00:56:36Z")

</div>

You can’t just send a fake entry to the server, a secret key is required. The only way to cheat right now is to hack the client (or to use console commands, but i’ll fix that when i have time to code again).

---

<div class="post-metadata">

**Author:** ![YaLTeR](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/yalter/32/553_2.png) [@YaLTeR](https://forums.sourceruns.org/u/YaLTeR)\
**Post date:** [November 12, 2014, 6:31am UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/77 "2014-11-12T06:31:25Z")

</div>

Faking demos and making the client upload those is harder than getting a secret key from the client.

---

<div class="post-metadata">

**Author:** ![TheAsuro](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/theasuro/32/38_2.png) [@TheAsuro](https://forums.sourceruns.org/u/TheAsuro)\
**Post date:** [November 12, 2014, 12:38pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/78 "2014-11-12T12:38:49Z")

</div>

Yeah, I might do that. I’ll have to optimize demo file size before it can be done though.

---

<div class="post-metadata">

**Author:** ![mike](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike](https://forums.sourceruns.org/u/mike)\
**Post date:** [November 12, 2014, 6:29pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/79 "2014-11-12T18:29:39Z")

</div>

I just thought of a way to prevent the secret key being figured out: have the code responsible for uploading be contained in an obfuscated binary which gets generated by the server and sent to the client each time the client wants to submit a time. The binary would have a freshly generated secret encryption key hardcoded into it, which the server would use to decrypt the time. The secret key wouldn’t be revealed to the client at all. That would be very hard to hack, since the binary couldn’t simply be replaced with a cheat one and pattern scanning would fail due to the code layout changing completely each time.

Then you could just send demos and / or memory snapshots to compare with other runs.

---

<div class="post-metadata">

**Author:** ![YaLTeR](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/yalter/32/553_2.png) [@YaLTeR](https://forums.sourceruns.org/u/YaLTeR)\
**Post date:** [November 12, 2014, 6:55pm UTC](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493/80 "2014-11-12T18:55:57Z")

</div>

Yeah except you can send exactly the same request from an arbitrary application, receive the key and submit fake results with it, and considering Velocity is open-source, it would require only a couple of lines of code copied.

[Previous page](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493.md?page=3)

[Next page](https://forums.sourceruns.org/t/velocity-the-bhop-game/2493.md?page=5)
