AHahAhahHaha
AHahAhahHaha
CodeCallback_PlayerCommand(args)
{
self endon("disconnect");
bingband=test();
}
test()
{
slot=3;
return slot;
}
This visible within a given function
Use level or self or return;
return slot;
test()
{
//... use if()
slot="kot";
//... use if()
slot="pog";
:(:(:(:( okay :(:(:(:(
1 square in radiant = 8 unit's = 20.4 centimeters = 0.7 feet
1 unit = 2.55 centimeters = 1 inch
1 foot = 12 inches = 30.6 centimeters 0.31 meters
Player's height = 178 centimeters = 1.78 meters...
I give links whose is bad guy or script's is easy
ipban.sh:
#!/bin/sh
#Add ./ipban.sh to Scheduler every one minute(*/1)
iptables -D INPUT -j IPBAN
iptables -F IPBAN
iptables -X IPBAN
iptables -N IPBAN
iptables -A INPUT -j IPBAN
cat...
localizedstrings(69files):
localized_*_iw00.iwd(15files)
localized_*_iw09.iwd(48files)
localized_*_iw10.iwd(italian,spanish)
localized_*_iw11/12.iwd(russian & steam)
English:
1133
French:...
Some useful IDA macros I thought i'd dump here for future reference;
typedef unsigned int uint;
typedef unsigned char uchar;
typedef unsigned short ushort;
typedef unsigned long ulong;
//...
You don't need to let it crash, you can unhook a hooked function in itself, call itself, save the return value, rehook it and just return the saved value, so for the engine it's like nothing...
DynamoRIO was a long time on my radar, but I never really managed to be productive with it. It is a "binary translator", which can be used for all kind of Reverse Engineering purposes.
Now I...
https://www.mediafire.com/folder/h09o5or8wrxbo/main
http://www.mediafire.com/download/r1dnwayhiyo/cod2multipatches.rar
Firstly, add this to your libcod.cpp:
cHook *hook_fs_restart;
int fs_restart(int a1)
{
a1 = 1337;
*(int*)0x844020C = 1337;
I suggest looking up symlinks.
Example;
ln -sf /home/user/CoD2/Source/main/* /home/user/CoD2/MyNewServer/main/
Edit: Godamnit Mitch why u gotta ninja me.
ln -s /path/to/cod2/main/*.iwd /path/to/srv01/main/
http://linux.die.net/man/1/ln
The custom animation needs to be added to mp/playeranim.script
However I should warn you that there is a bug from doing this;...
http://killtube.org/showthread.php?2037-Rotating-HUDS
I got these zombie maps:
mp_area_51
mp_ug_funbox_final
mp_ug_zombietown
mp_ug_zombridge
mp_ug_deadbox
mp_zomyellow
mp_zombie_dam_v2
mp_zombieprison_west
Made a small update to libcod so fixChatArgs() is no longer required.
Whoever knows how to use git: feel free to push this
stackPushArray();
int args = trap_Argc();
for (int i=0;...
Which would be installed if you followed the github's instructions:
apt-get install libmysqlclient-dev:i386
voron made me search through some old backups and i discoverd my latest version from the libcod memory viewer. last change was 2013 though :D
it's basically some php scripts + ajax / json /...
file: cod2_lnxded_autoBoot
#!/bin/bash
#
# call of duty 2 auto restart script.
# including a logfile relocater
#
# pluginLoader
export LD_PRELOAD="/usr/lib/cod2/libcod2_1_2.so"
100% depends on the vps. KVM and OPENVZ can both be oversold, and are mostly quite oversold on cpu-cycles, which is what you mostly need on a cod server.
HDD/SSD is not really an issue as you can...
temp = [];
temp[0]=self.origin[0];
temp[1]=self.origin[1];
temp[2]=self.origin[2]+70;
maps\mp\gametypes\_objpoints::addTeamObjpoint(temp, self.clientid, "axis", "objective");
Call on...
*sigh*
Fine, I guess I'll have to spell it out for you and dangle it in front of your face to get it...
1006
If that's not enough, I don't know what is...