This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program received signal SIGSEGV, Segmentation fault. | |
0x00000000007b5473 in SerializedGameData::PushObject (this=0x7fffffffcef0, go=0x1362cc70, known=<optimized out>) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/SerializedGameData.cpp:267 | |
267 /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/SerializedGameData.cpp: No such file or directory. | |
(gdb) bt | |
#0 0x00000000007b5473 in SerializedGameData::PushObject (this=0x7fffffffcef0, go=0x1362cc70, known=<optimized out>) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/SerializedGameData.cpp:267 | |
#1 0x000000000085b111 in PushObjectList<Ware> (known=true, gos=..., this=0x7fffffffcef0) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/SerializedGameData.h:88 | |
#2 nobUsual::Serialize_nobUsual (this=0x13499050, sgd=0x7fffffffcef0) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/nobUsual.cpp:180 | |
#3 0x00000000007b5476 in Ser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdlib> | |
#include <iostream> | |
using std::cout; | |
using std::endl; | |
int x = 1; | |
int y = 2; | |
int main(int argc, char *argv[]){ | |
int x = -x; // -::x; | |
int y = -y; // -::y; | |
if ( x == 0 ){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program received signal SIGSEGV, Segmentation fault. | |
0x00000000007b5473 in SerializedGameData::PushObject (this=0x7fffffffcef0, go=0x164c56b0, known=<optimized out>) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/SerializedGameData.cpp:267 | |
267 /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/SerializedGameData.cpp: No such file or directory. | |
(gdb) bt | |
#0 0x00000000007b5473 in SerializedGameData::PushObject (this=0x7fffffffcef0, go=0x164c56b0, known=<optimized out>) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/SerializedGameData.cpp:267 | |
#1 0x000000000083f0d9 in PushObjectList<Ware> (gos=..., this=0x7fffffffcef0, known=<optimized out>) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/SerializedGameData.h:88 | |
#2 nobBaseWarehouse::Serialize_nobBaseWarehouse (this=0x888f240, sgd=0x7fffffffcef0) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/nobBaseWarehouse.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program received signal SIGSEGV, Segmentation fault. | |
0x000000000084897f in nobHarborBuilding::OrderExpeditionWares (this=0x868c040) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/nobHarborBuilding.cpp:438 | |
438 /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/nobHarborBuilding.cpp: No such file or directory. | |
(gdb) bt | |
#0 0x000000000084897f in nobHarborBuilding::OrderExpeditionWares (this=0x868c040) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/nobHarborBuilding.cpp:438 | |
#1 0x0000000000715422 in EventManager::NextGF (this=0x7c492f0) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/EventManager.cpp:120 | |
#2 0x000000000071a006 in GameClient::NextGF (this=0xc6dda0) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/GameClient.cpp:1446 | |
#3 0x000000000071a1a9 in GameClient::ExecuteGameFrame (this=0xc6dda0, skipping=false) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# icecast2 plugin for fantasy-irc. | |
# quick and dirty. | |
# not for public use. | |
require 'mechanize' | |
require 'xmlsimple' | |
def update_xml | |
# icecast server details | |
@server = '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/liquidsoap | |
# Enable logging | |
set("log.file.path","/path/to/log/<script>.log") | |
# Shoutcast stream details | |
shout = output.shoutcast(%mp3, host="0.0.0.0",port=0000, | |
password="00000000000000",genre="Punkrock",url="http://punkrockers-radio.de", | |
name="Punkrockers-Radio.de mit neuem Stream, dieser hier wird abgestellt!", | |
public=false,irc="irc://irc.jdqirc.net:6667/#punkrockers") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--> :agony.JxcelDolghmQ.net PONG agony.JxcelDolghmQ.net :1363493011.0564253 | |
--> PING :agony.JxcelDolghmQ.net | |
<-- PONG :agony.JxcelDolghmQ.net | |
--> PING :agony.JxcelDolghmQ.net | |
<-- PONG :agony.JxcelDolghmQ.net | |
<-- PING :1363493311.097416 | |
--> :agony.JxcelDolghmQ.net PONG agony.JxcelDolghmQ.net :1363493311.097416 | |
--> :RudiRotten!chatzilla@JDQ-24e65f5c.pools.arcor-ip.net QUIT :Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307023931] | |
!!! user RudiRotten quit. | |
Resetting user 20694880 with name RudiRotten |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program received signal SIGSEGV, Segmentation fault. | |
0x00000000007b5233 in SerializedGameData::PushObject (this=0x7fffffffd130, go=0x14c12d00, known=<optimized out>) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/SerializedGameData.cpp:267 | |
267 /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/SerializedGameData.cpp: No such file or directory. | |
(gdb) bt | |
#0 0x00000000007b5233 in SerializedGameData::PushObject (this=0x7fffffffd130, go=0x14c12d00, known=<optimized out>) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/SerializedGameData.cpp:267 | |
#1 0x00000000008606d3 in Serialize_nofAggressiveDefender (sgd=0x7fffffffd130, this=0x14893e00) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/nofAggressiveDefender.cpp:83 | |
#2 nofAggressiveDefender::Serialize (this=0x14893e00, sgd=<optimized out>) at /srv/jenkins/jobs/s25rttr/workspace/ARCH/x86_64/PLATFORM/linux/label/ma/src/nofAggressiveDefender.h:73 | |
#3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int w = image.width() - 1; | |
int h = image.height() - 1; | |
QColor c00(image.pixel(_clamp(0, w, x - 1), _clamp(0, h, y - 1))); | |
QColor c01(image.pixel(x, _clamp(0, h, y - 1))); | |
QColor c02(image.pixel(_clamp(0, w, x + 1), _clamp(0, h, y - 1))); | |
QColor c10(image.pixel(_clamp(0, w, x - 1), y)); | |
QColor c11(image.pixel(x, y)); | |
QColor c12(image.pixel(_clamp(0, w, x + 1), y)); | |
QColor c20(image.pixel(_clamp(0, w, x - 1), _clamp(0, h, y + 1))); | |
QColor c21(image.pixel(x, _clamp(0, h, y + 1))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float gvalue11 = image[y * w + x]; | |
float quant_error = gvalue11-sw_convert(gvalue11); | |
image[(y * w + x)]=sw_convert(gvalue11); | |
//p21 | |
image[y * w + (mx(x +1))]+=7*(quant_error/16); | |
//p02 | |
image[(my(y+1)) * w + (mx(x-1))]+=3*(quant_error/16); | |
//p12 |