21st November 2013, 22:30
ATM there is no such function, but you could either add that function yourself or test first with getAscii() of libcod:
getAscii(str) { return closer(902, str); }
Example from...
20th November 2013, 07:49
Insert them using
newstring = mysql_real_escape_string(mysql, oldstring)
17th November 2013, 00:11
http://static4.fjcdn.com/comments/Somebody+call+the+sWAT+team+someone+just+broke+the+law+_ee96a5b72089d1478b85c02ec7d1451b.jpg
http://s3.amazonaws.com/rapgenius/my-mind-is-full-of-fuck.jpg
16th November 2013, 15:50
int __cdecl sub_8106C06(int a1, unsigned int seed, int a3, int a4)
{
char v4; // ST04_1@10
char v5; // ST04_1@20
char v7; // [sp+4h] [bp-834h]@1
char dest; // [sp+20h] [bp-818h]@10
...
16th November 2013, 13:08
I decided to use Blender instead Maya xd
But I got an error. I downloaded the last blender version, and when I was trying to export the model, I got an error saying that I couldn't do it.
I...
13th November 2013, 22:05
Ah, it's compiled against version .18 now, but you got version .16
ldd bin/libcod2_1_0.so
linux-gate.so.1 => (0xf7779000)
libmysqlclient.so.18 =>...
12th November 2013, 22:12
Hey, the "base" is working (e.g. accessing MySQL-functions through stack functions), but many version-dependent functions are not implemented (e.g. functions to query +moveright etc.).
I've...
24th September 2013, 20:41
"it dont work"... Ahhh! Now we all know the problem.
23rd September 2013, 18:41
port is int (a number), you would be better off just re-using the data/code-separation with cvar's
23rd September 2013, 12:28
raw/info/bullet_penetration_mp
i would suggest to simply spawn a bot behind a wall, and shoot at him and print the iDFlags in callback_playerdamage, if it stays at 0, you have to use bulletTraces...
22nd September 2013, 18:15
4. You cannot disable Deep Impact perk unless you have a mod, and run unranked server. You can't disable any perks if you run a ranked server. If you have a mod, it would be disabled by the dvar...
22nd September 2013, 17:10
1) Yea, it's in fs_game but I can't see why it's working in some servers and others not by config :S
3) set sv_allowDownload 0 isn't enough for CoD4? Only the www-download needs to be enabled on...
20th September 2013, 14:46
Wow, a lot of questions. Let's try to tackle them:
1. To create console_mp.log file, put this in your server config file:
set logfile "2"
2. fastfiles are the compression format used by...
19th September 2013, 21:34
Do you have a mysql database? if not then here we go.
Before installing Mysql, make sure your repositories are up to date:
apt-get update
Now you need Apache:
apt-get install apache2
19th September 2013, 21:31
It might be everything, best is to check always for errors and printing them:
#include std\mysql;
mysql_test()
{
host = getcvar("mysql_host");
user = getcvar("mysql_user");
18th September 2013, 19:00
Lol that guy with the flipflops....
18th September 2013, 16:47
The data file is stored client-side, @[COD4 INSTALL]/players/PROFILE NAME/mods/mod_folder name/mpdata
The data file is encrypted, but the encryption algorithm is now well known, and if you have...
18th September 2013, 09:24
Following on from above post:
If you want to create your own stat-finding function similar to IW's, the following is a list of the free stats available. Just put them in a .CSV file and put a...
18th September 2013, 08:50
No, setStat() and getStat() only work with integers - not strings. If you want to use a string, do what IW themselves did and invent a method which allows you to keep a list of your stats against a...