Skip to content

Instantly share code, notes, and snippets.

View imerr's full-sized avatar
🍪
Coding

Robin Rolf imerr

🍪
Coding
View GitHub Profile
@imerr
imerr / gist:6330418
Created August 24, 2013 21:04
Metin2 Horse Table
{
{
iMinLevel = 0,
iNPCRace = 0,
iMaxHealth = 1,
iMaxStamina = 1,
iST = 0,
iDX = 0,
iHT = 0,
iIQ = 0,
int __cdecl CalcMeleeDamage(CHARACTER *pAttacker, CHARACTER *pkVictim, bool bIgnoreDefense, bool bIgnoreTargetRating)
{
int weapon_subtype; // ecx@1
CItem *weapon; // ebx@1
char isPolymorphed; // si@1
int attack_base; // esi@8
int party_att_bonus; // ST5C_4@10
int att_bonus; // ebx@10
int att_meele_magic_bonus; // eax@10
int result; // eax@13
void __cdecl GiveExp(CHARACTER *from, CHARACTER *to, int iExp)
{
signed int delta; // ecx@1
CHARACTER *v4; // edi@1
CHARACTER *from_; // edx@1
CHARACTER *to_; // eax@1
int iExp_; // ecx@1
int delta_empire; // esi@3
int v9; // eax@5
int v10; // ecx@10
<?php
if (!empty($_POST["account"])&&
!empty($_POST["vnum"])&&
isset($_POST["pos"])&&
!empty($_POST["count"])&&
isset($_POST["attrtype0"])&&isset($_POST["attrtype0"])&&
isset($_POST["attrtype1"])&&isset($_POST["attrtype1"])&&
isset($_POST["attrtype2"])&&isset($_POST["attrtype2"])&&
isset($_POST["attrtype3"])&&isset($_POST["attrtype3"])&&
isset($_POST["attrtype4"])&&isset($_POST["attrtype4"])&&
quest marriage_manage begin
state start begin
when oldwoman.chat."I want to get married" with not pc.is_engaged_or_married() begin
if not npc.lock() then
say_title("Old Lady:")
say("")
----"123456789012345678901234567890123456789012345678901234567890"|
say("Another wedding takes is taking place right now.")
say("")
say("Wait a moment or come back later!")
void CHARACTER::~CHARACTER() const{
((void(*)(CHARACTER * const))Addr::__CHARACTER)(this);
}
void CHARACTER::~CHARACTER() const{
((void(*)(CHARACTER * const))Addr::__CHARACTER)(this);
}
void CHARACTER::~CHARACTER() const{
((void(*)(CHARACTER * const))Addr::__CHARACTER)(this);
}
This file has been truncated, but you can view the full file.
2013-11-23 01:47:14 Welcome to Minecraft Overviewer!
2013-11-23 01:47:49 Rendered 0 of 79785. 0% complete
2013-11-23 01:47:57 Rendered 14 of 79785. 0% complete
2013-11-23 01:47:57 Rendered 26 of 79785. 0% complete
2013-11-23 01:47:57 Rendered 38 of 79785. 0% complete
2013-11-23 01:47:57 Rendered 51 of 79785. 0% complete
2013-11-23 01:47:57 Rendered 62 of 79785. 0% complete
2013-11-23 01:47:57 Rendered 74 of 79785. 0% complete
2013-11-23 01:47:57 Rendered 88 of 79785. 0% complete
2013-11-23 01:47:57 Rendered 99 of 79785. 0% complete
bool __cdecl CHARACTER__AddAffect(CHARACTER *const a1, DWORD dwType, BYTE bApplyOn, __int32 lApplyValue, DWORD dwFlag, __int32 lDuration, __int32 lSPCost, bool bOverride, bool IsCube)
{
const char *v9; // eax@3
const char *v10; // eax@3
CAffect *v11; // ebx@4
DESC *v12; // edx@7
unsigned __int16 v13; // di@9
int v14; // ecx@12
bool result; // eax@13
int v16; // edx@16
enum EPointTypes {
POINT_NONE,
POINT_LEVEL,
POINT_VOICE,
POINT_EXP,
POINT_NEXT_EXP,
POINT_HP,
POINT_MAX_HP,
POINT_SP,
POINT_MAX_SP,
@imerr
imerr / nginxrtmp_install.sh
Last active December 8, 2016 03:49
Simple (lazy) nginx-rtmp install script I use for setting up servers, it's obviously missing the configuration part
#!/bin/bash
set -e
apt-get update
apt-get -y upgrade
apt-get remove -y nginx-common nginx-full
rm -rf /usr/src/nginx* /usr/src/headers-more-nginx-module
# build dependencies
apt-get -y install dpkg-dev git autotools-dev debhelper po-debconf dh-systemd libexpat-dev libgd2-dev libgeoip-dev libluajit-5.1-dev libmhash-dev libpam0g-dev libpcre3-dev libperl-dev libssl-dev libxslt1-dev zlib1g-dev autotools-dev de$
cd /usr/src