The wait 5 waits 5 client frames. At 125 fps this is exactly 0.04 seconds, so hence the "immediately" feeling.
Use your client's fps as a multiplier for wait times in cfgs.
Also: there's a...
The wait 5 waits 5 client frames. At 125 fps this is exactly 0.04 seconds, so hence the "immediately" feeling.
Use your client's fps as a multiplier for wait times in cfgs.
Also: there's a...
IIRC years ago I think something like:
/bind r "+reload; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; nextweap"
Basically you can just do echo file_get_contents("/home/niels/cod2/whatever_fs_game/scriptdata/$guid.txt") and then parse the data with explode() to prettyprint it.
Make sure your www-data can...
Probably doable, but mysql is a far superior option.
http://killtube.org/showthread.php?1883-Asynchronous-mysql-queries&p=13719&viewfull=1#post13719
Big update: Cleaned up the mysql files and made the stuff make more sense.
Here goes:
init()
{
//get your host, user, pass, db, port here
level.JH_mysql = mysql_reuse_connection();...
The query to create the table is in cod2_std/persistence.gsc: https://github.com/kungfooman/cod2_std/blob/master/persistence.gsc
Connect with HeidiSQL to your MySQL server and just execute the...
Heres a working version of CodeCallback_FireGrenade for cod2 1.3:
Possible uses: nade explosion timer and preventing people from changing team after throwing a grenade (prevent those filthy...
Updated, only step 10 missing now
Ye, it came as an update to cod2 1.0, in the form of killtriggers
No, we do not allow stolen scripts on here, especially if stolen by a script kid using q3dirtrav.
Topic closed, but kept for reference for people who found their scripts stolen.
Check ur pm
[gsc.cpp]
{"sendCommand" , gsc_utils_sendCommand , 0},
[gsc_utils.hpp] <-----
void gsc_utils_sendCommand();
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
bool isValidNumber(const char *charnum, int **number)
{
int i, num = 0;
if(charnum == NULL)
{
Those errors are because they are only used by Windows.
You should look at examples how to setup a UDP client on Linux.
http://www.linuxhowtos.org/C_C++/socket.htm...
Hi, sry for the late post but i wasn't sure if its stable enough. I was able to push the download speed to 19 kb/s by reversing the entire download function and forcing some values in it. I tried...
Just parse the result of \xff\xff\xff\xffgetstatus result: http://killtube.org/showthread.php?2147-Receiving-server-info
Easiest way is probably to system("php your_script_to_dump_the_info.php >...
it literally says how in the first post
http://www.ebay.nl/itm/12-7mm-Universal-SATA-2nd-HDD-HD-Hard-Driver-Caddy-For-CD-DVD-ROM-Optical-Bay-/141793055108?hash=item2103865184:g:tLIAAOSwdvpWEkkD...
Nope, i have a lenovo yoga 2 with a custom formfactor hdd in it. But the HPs are pretty decent and might even take a M2/M.2 (note the difference between those 2) or mSata ssd, allowing you to even...
It depends on your requirements.
If you don't want it to be too expensive, but still want to benefit from a SSD
then you go for TLC drives (Samsung EVO or Crucial BX200).
For higher speeds you...
My guess would be no. But replacing your HDD with a SSD will make your laptop a lot faster.
Edit: Normally this should not void your warranty. Some laptops are harder to get to the HDD caddy. ...
Seems to be just some magic values for something engine internal, IIRC there was no meaning to them besides messing up chat messages.
fixChatArgs(args)
{
if (isDefined(args[1])) { //...
I received some pms so here is the mod file, it includes the vote stuff and other scripts too like ingame vote system with player commands and so one but I guess it also contains some unfixed...
Hey there,
I would like to share my nextmap vote system, you can freely use or modify it just use credit. You can watch a demo here:
https://www.youtube.com/watch?v=11bpcAUq87Q&hd=1
You can...