I have not given you permission to run my mod, in fact I have not given my permission to run my mod to anyone.
Type: Posts; User: BlancO
I have not given you permission to run my mod, in fact I have not given my permission to run my mod to anyone.
How is it possible in .gsc files?
I'm not quite sure if I am doing it right:
sql = "UPDATE players SET nick='" + mysql_real_escape_string(level.mysql, self.name) + "' WHERE guid='" + self getGuid() + "'";
Hello,
I've got a problem with players' names on server. I want to store them in MySQL DB. Connection works nice. I save it without problems. But I can't read/select including special chatacters....
If $szukane is the filename, just add this:
if($szukane != "" && count(explode(".", $szukane)) <= 1)
$szukane .= ".txt";
There is a problem with:
std/math.gsc
intsqrt(input)
{
output = 0;
while(output * output < input)
output++;
Thanks, for replay. After dealing with a few problems with mysql I get error:
/home/cod4.sh: line 2: 3922 Naruszenie ochrony pamięci ...
console_mp.log
scriptengine> wrongs args for mysql_real_connect(...);
_config.gsc
Enjoy this -> Progress bar.
blanco\_progress.gsc
////////////////////////
// Scripted by BlancO //
// For killtube.org //
// 23.09.2013 //
////////////////////////
main()
What if player don't want to downlod mod from www? (set cl_wwwDownload 0)
Players won't be able to download mods.
root@mynl.pl:~# /home/cod4.sh
> [WARNING] Compiled for: COD_VERSION
> [INFO] value of closer=080c206e
CoD4 MP 1.7 build linux-i386 Jun 28 2008
begin $init
----- FS_Startup -----
Current...
Thx, serthy!
If bullet went through wall then iDFlags = 8.
Just edit _callbacksetup.gsc to disable it.
CodeCallback_PlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath,...
http://pastebin.com/0xRNTTr0
Set it to:
export LD_LIBRARY_PATH="/home/cod4/server/libs:/home/cod4/server/libs/mysql"
export LD_PRELOAD="/home/cod4/server/libs/libcod4_1_7.so"
cd /home/cod4/server
./cod4_lnxded-bin...
I don't want to run server from main folder. After setting "+set fs_homepath "/home/cod4/server"" console_mp.log is in fs_game folder so I think it's ok.
Will the "q3dirtravfix.so" from CoD2 work...
I can't see "[PLUGIN LOADED]"...
.sh file
export LD_LIBRARY_PATH="/home/cod4/server/libs:/home/cod4/server/libs/mysql"
export LD_PRELOAD="/home/cod4/server/libs/libcod4_1_7.so"
cd...
1. Finally, I found console_mp.log. It was in "/root/.callofduty4/mods/nl_zom". To repair it I had to set homepath.
+set fs_homepath "/home/cod4/server"
3. After setting "set...
1. I've already have logfile "2". I can't see the log file. (Should it be in fs_game?)
.sh start file
cd /home/cod4/server
LD_LIBRARY_PATH="/home/libcod/mysql"...
I've got some (maybe dumb) questions about CoD4.
1. How to save console_mp.log file?
I've got this in my .cfg:
set g_logsync "1"
set logfile "2"
set g_log "games_mp.log"
I think it's something wrong with libcod. I even don't receive any of these "std\io::print". I have mysql-server, apache2, php5 installed.
I've got a problem with MySQL. I don't know what's wrong. After this MySQL is still the same. There's no players table.
.gsc script
mysql =...
Well, thanks a lot but I have few questions.
Are these stats server-side or client-side? (I mean can player edit his stats) (What is the path to it)
Is it correct?
customStatsTable.csv
E: Nie udało się odnaleźć pakietu libmysqlclient-dev:i386
english:
E: Can't find package libmysqlclient-dev:i386
I see this after entering "apt-get install libmysqlclient-dev:i386"