<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Teeworlds Forum — [SOLVED] Jump more than 2 times?]]></title>
		<link>https://www.teeworlds.com/forum/viewtopic.php?id=8776</link>
		<atom:link href="https://www.teeworlds.com/forum/extern.php?action=feed&amp;tid=8776&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [SOLVED] Jump more than 2 times?.]]></description>
		<lastBuildDate>Wed, 16 Nov 2011 08:49:43 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[[SOLVED] Jump more than 2 times?]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=91478#p91478</link>
			<description><![CDATA[<p>Hello folks,</p><p>i was just looking in the teeworlds source for my own<br />interesting (or interestening? i dont know how to write this^^).</p><p>I just cant find the part handling the player input (server side), so i could<br />look where it handles the jump.<br />(is that correct at all?)</p><p>Well, i found something with events in... character.cpp and there is ResetInput(),<br />there it will reset the inputs as the name says.<br />And then there is something about an event (TickDefered()):<br />But that only creates the sound.</p><p>Is there any soloution for this?</p><p>And:<br />Please tell me if i went wrong somewhere^^</p><br /><p>Greeez,<br />powachill4</p><br /><br /><p>#EDIT<br />After activating my brain, i just searched for input and after a short time i just found gamecore.cpp<br />I came on the idea to look there because i saw m_Core.Input and things like this and well...<br />I just searched for &quot;core&quot; in the directory and found this <img src="https://www.teeworlds.com/forum/img/smilies/smile.png" alt="smile" /></p><p>#EDIT2<br />And uhm.. for everyone who wanted to know how i solved it:<br />Keep the m_Jumped = ~3 (this makes the client thinking that double jump is available).<br />Just put that into character.cpp in Tick():<br />m_Core.m_Jumped = ~3;<br />So, this will cause that you &quot;cant jump from the ground&quot;, it will be like you &quot;do a doublejump in the air&quot;.<br />So there is a little &quot;more&quot; boost when jumping from gound, this will be &quot;removed&quot; then.</p><p>SOLVED</p>]]></description>
			<author><![CDATA[null@example.com (powachill4)]]></author>
			<pubDate>Wed, 16 Nov 2011 08:49:43 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=91478#p91478</guid>
		</item>
	</channel>
</rss>
