Re: [hlcoders] Orange Box and Linux - Min/Max issues again.

2009-12-16 Thread Jed
Thanks Ben. That seemed to fix it. I also found specifically adding -DGAME_DLL to the compile option helped a bit as well. - Jed 2009/12/16 Ben K. : > If I recall correctly there is an #include in npc_talker.cpp or .h > which you'll want to #ifdef out for GCC. With #ifdef _MSC_VER / #endif > wra

Re: [hlcoders] DoS Attack Fixer

2009-12-16 Thread Busy orange
1-2 mbit/s spaming with large(4096 kb ) UDP packets. resulting hight ping or timeout drop for clients. Harry Jeffery no matter, i can search in forum post DB or hlstatsx DB DoS attacck fixer by Drunk F00l i want make same

Re: [hlcoders] DoS Attack Fixer

2009-12-16 Thread Olly
Then it's probably an exploit of the networking code, and you should send the log to valve. Not a denial of service. 2009/12/16 Harry Jeffery > I have an app that can bring down a server on a home connection. I > logged the packets and all it seems to do is send a few server > queries. When I re

Re: [hlcoders] why UnDuckJump?

2009-12-16 Thread Jonathan White
Well if you are playing multiplayer, the bDuckJump boolean is never set because in the Jump() function m_flJumpTime never gets set (it's always zero): // Set jump time. if ( gpGlobals->maxClients == 1 ) { player->m_Local.m_flJumpTime = GAMEMOVEMENT_JUMP_TIME; player->m_Local.m_bInDuckJum

Re: [hlcoders] why UnDuckJump?

2009-12-16 Thread Piotr
Wrong. Notice that when you press jump, the CheckJumpButton() method sets the field "player->m_Local.m_flJumpTime" to the duration of jump in miliseconds (it's then reduced gradually in ReduceTimers() until it reaches 0). When you jump, you hit the first condition: if ( ( mv->m_nButtons & IN_DUC