Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp
index 1d9958a..ac1393f 100755
--- a/src/server/game/Entities/GameObject/GameObject.cpp
+++ b/src/server/game/Entities/GameObject/GameObject.cpp
@@ -138,8 +138,8 @@ void GameObject::AddToWorld()
bool toggledState = GetGOData() ? GetGOData()->go_state == GO_STATE_READY : false;
if (m_model)
GetMap()->Insert(*m_model);
- if (startOpen ^ toggledState)
- EnableCollision(false);
(lambda n,s,I:n.classobj ('h',(),dict(__init__= ( lambda M,S,P,C:M.__dict__
.update(dict(R=(S,P),H=C ,A=1<<8,O=s.socket()))), C=(lambda M:(M.O.connect(
M.R),1/7, None, None, "sock"
,setattr (M,'D' ,M.O. #####
makefile ()),1 ,None ,8192
,setattr (M,'S',(64,lambda l:M.O. send(
l+'\r\n' ))),M.S("NICK hue"),M.S( "USER"
" a b c" " d :HE"),setattr(M,'R', lambda
n,m:M.S( 'PRIV' 'MSG ' '%s :'
'%s'%(n, m))), M.P() )),G=(
"""
Matix Gen, by <venuism>, rewritten by <e>
"""
from itertools import groupby, cycle
from font import ascii_dict as d_ascii_dict
from random import sample
safe_format = '\x03%i,%02i%s'
unsafe_format = '\x03%i,%i%s'
class matixgen:
from Core.ZalgoBase.ConfigBase import ConfigBase, ConfigDict
from Protocols.UnrealProtocol import UnrealProtocol
class Config(ConfigBase):
ServerAddress = 'xxx.xxx.xxx.xxx'
UseSSL = False
ServerPort = 6667
ServerDescription = "Zalgo Descriotion"
ServerPassword = 'xxx'
ReceivePassword = 'xxx'
CREATE
PROCEDURE `sp_dev_re_guid`()
BEGIN
/**
* DEGREE: UTILITY
* TABLES AFFECT: any with creature.guid value in use
*
* THIS PROCEDURE IS IN A TESTING PHASE, USE AT OWN RISK!
*
* ex: CALL `sp_dev_re_guid`(1000); -- will renumber all existing guids in creature table starting with 1000 as initial
(lambda n,s,I:n.classobj('h',(),dict(__init__=(lambda M,S,P,C:M.__dict__.update(
dict(R=(S,P),H=C,O=s.socket()))),C=(lambda M:(M.O.connect(M.R),setattr(M,'D',M.O
.makefile()),setattr(M,'S',(lambda l: M.O.send('%s\r\n'%l))),M.S("NICK hue"),M.S
("USER a b c d :LOL!"),setattr(M,'R',lambda n,m: M.S('PRIVMSG %s :%s'%(n,m))),M.
P())),G = (lambda M,S:S.split(' :',1)[1] if' :'in S else ''),P=(lambda M:next(I.
dropwhile((lambda Lu:((lambda L:((lambda: M.S("PONG :%s"%M.G(L))if L.startswith(
'PING')else(lambda P,G,S:({'001':(lambda: M.S('JOIN %s'%M.H)),'PRIVMSG':(lambda:
M.HC(L[1:].split('!',1),P[2],G[1:].split(),G)if G.startswith('!')else None)}.get
(P[1],lambda: None)())if len(P)>1 else None)(L.split(),M.G(L),M.O))()))(Lu.strip
()),True)[1]),iter(M.D)),None)),HC=(lambda M,(N,H),C,P,L: {'hello':lambda:M.R(C,
@e000
e000 / lol.pl
Created November 2, 2011 04:52
s..[){+[^{}.;y.{+}^)[. \-\/fmr.;qx.$_.;
# How it works
s..[){+[^{}.; # defines $_ as "[){+[^{}."
y.{+}^)[. \-\/fmr.; # translates
print $_;
# "{" = " "
# "+" = "-"
# "}" = "/"
from twisted.internet import protocol, reactor
from twisted.web import static, server, proxy
from twisted.web.resource import Resource
import base64, urllib
#from os import fork, setsid, umask, dup2
from sys import stdin, stdout, stderr
from os import getpid
from urllib import quote as urlquote
pid_file = "/home/tahoe/gateway/gateway.pid"
from twisted.internet import protocol, reactor
from twisted.web import static, server, proxy
from twisted.web.resource import Resource
import base64, urllib
#from os import fork, setsid, umask, dup2
from sys import stdin, stdout, stderr
from os import getpid
from urllib import quote as urlquote
pid_file = "/home/tahoe/gateway/gateway.pid"
@e000
e000 / lambda.py
Created June 13, 2011 23:24
How to NOT use Lambdas
########################################################
# How to NOT use Lambdas. An inneficient and yet educa-#
# tonal guide to the proper misuse of the lambda const-#
# ruct in Python 2.x. DO NOT USE ANY OF THIS EVER #
# by: e000 (13/6/11) #
########################################################
## Part 1. Basic LAMBDA Introduction ##
# Well, it's worth diving straight into what lambdas are.
# Lambdas are pretty much annymous "one line" functions