Yeah run cod2 with root permissions!
Type: Posts; User: Selbie
Yeah run cod2 with root permissions!
Try:
case "votemap_maprestart":
self setClientCvar ("clientcmd", "say !votemap_maprestart; callvote map_restart;");
self openMenu ("clientcmd");
self closeMenu ("clientcmd");
wait...
I see nothing related to libcod, all of this can be done in vanilla cod(2).
Also I am missing completion, this is just a code snippet (part).
You cannot start a script with a 'case' statement.
True, getting libcod working on CentOS is quite hard, but it's possible on RHEL 6.
I would suggest Ubuntu if your new to Linux.
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"
I wonder if you have used the exploit(s) I found inside cod2.
One of them was also possible to run arbitrary code on clients.
Should be kept secret or patched.
Hey all,
My latest script I created:
This will avoid running 100 of times running the same onPlayerConnect() script.
/*
Created by by: Selbie
Release Version: v1.0