Skip to content

Instantly share code, notes, and snippets.

View Akaricchi's full-sized avatar

Andrei Alexeyev Akaricchi

View GitHub Profile
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<alias>
<family>monospace</family>
<prefer>
<family>dino</family>
</prefer>
</alias>
#!/usr/bin/env bash
usage() {
cat << _EOF_
usage: $_app [option] <file|code>
options:
-p create a private gist
-g get gist specified by its code
-c clone gist specified by its code
Assertion failed: S > 0.0f at line 302 of panda/src/linmath/lquaternion_src.cxx
Traceback (most recent call last):
File "/data/home/build/openlancer/client/odeSpace.py", line 651, in worldTask
self.camHandler.update(dx, dy)
File "/data/home/build/openlancer/client/odeSpace.py", line 84, in update
base.camera.lookAt(self.targetNode)
AssertionError: S > 0.0f at line 302 of panda/src/linmath/lquaternion_src.cxx
:task(error): Exception occurred in PythonTask spaceWorldTask
Traceback (most recent call last):
File "game.py", line 150, in <module>
@Akaricchi
Akaricchi / fuu.txt
Created July 28, 2011 14:50 — forked from anonymous/fuu.txt
tralalalalala
sv_motd ""
maxplayers 16
minplayers 2 //bots
port 26000
log_file "nexuiz-server.log"
sv_friction_on_land 0.3
@Akaricchi
Akaricchi / gitignore
Created August 7, 2011 08:38
.gitignore for windoze
#ignore thumbnails created by windows
Thumbs.db
#Ignore files created by Visual Studio and/or Mono
*.obj
*.exe
*.pdb
*.user
*.aps
*.pch
*.vspscc
@Akaricchi
Akaricchi / gist:1494679
Created December 18, 2011 22:31
CRA profile
^7server Profile:
^7[CallCount] [Statement] [BuiltinCt] [StmtTotal] [BltnTotal] [self]
^7 147920 75028679 9296509 148979951 17894325 50.53% UpdateSelectedPlayer
^7 2936712 67530968 5578412 67530968 5578412 100.00% shownames_customize
^7 3092755 59358412 0 59358412 0 100.00% Client_customizeentityforclient
^7 170576 59046648 1941592 74246164 4121671 77.82% SV_PlayerPhysics
^7 3092755 52327960 0 52327960 0 100.00% entcs_customize
^7 1082287 43360655 10828106 43360655 10828106 100.00% SendEntity_ShowNames
^7 2690372 43073715 2304671 66028350 7405701 61.79% UpdateSelectedPlayer_canSee
^7 2663215 39620207 0 66088138 0 59.95% ArrayGet*scores_flags
@Akaricchi
Akaricchi / akari.theme
Created December 29, 2011 22:13
Irssi theme
default_color = "16";
abstracts = {
line_start = "%K%n::%K%w ";
timestamp = "$0-";
hilight = "%_$0-%_";
error = "%R$0-%w";
sb_act_none = "%K$*";
channel = "%n$0-%w";
diff --git a/qcsrc/server/g_handgrenades.qc b/qcsrc/server/g_handgrenades.qc
index c882c31..49e38d1 100644
--- a/qcsrc/server/g_handgrenades.qc
+++ b/qcsrc/server/g_handgrenades.qc
@@ -11,6 +11,7 @@ void HG_Napalm_Burn (float dt, float dist, float damage, float edgedamage, float
for(e = findradius(self.origin, dist); e; e = e.chain)
//if(e != self.owner) if(e.takedamage == DAMAGE_AIM) if(e.classname != "player" || !self.owner || IsDifferentTeam(e, self))
{
+ /*
p = e.origin;
#version 110
void main(void) {
gl_Position = ftransform();
gl_FrontColor = gl_Color;
gl_TexCoord[0] = gl_MultiTexCoord0;
}
%% -- FRAG
70mm13_02
70mm13_06
70mm13_11
begrot
Blastedlands
BoxGardens
brokenworld_r3v2
capturecity_revisited
capturecity-v2r1-rbi
Chasmv2