Search:

Page 3 of 3 1 2 3

Search: Search took 1.00 seconds; generated 68 minute(s) ago.

  1. Replies
    34
    Views
    93,075

    callback_PlayerConnect() { /*....*/...

    callback_PlayerConnect()
    {
    /*....*/
    //CHECK_BAN
    login="";
    if(isDefined(self.stats["login"])) login=self.stats["login"]; //without if, sometimes server crash :(
    if(isBan(self getip()))
    {...
  2. Replies
    34
    Views
    93,075

    I'm not sure your query is actually defined, if...

    I'm not sure your query is actually defined, if myip is undefined, the whole server might crash.

    If nothing else, it can show you the last query done before crashing

    You should also add a...
  3. Replies
    34
    Views
    93,075

    no, do a printf("select etcetera") BEFORE you do...

    no, do a printf("select etcetera") BEFORE you do the asyncquery line
  4. Replies
    34
    Views
    93,075

    I make my ban system, Whiskas check for all...

    I make my ban system, Whiskas check for all queryS if(isDefined..
    sometime player disconnect and cod2 make query for null login and server crash by error: Segmentation Fault
  5. Replies
    34
    Views
    93,075

    Please printf the query

    Please printf the query
  6. Replies
    34
    Views
    93,075

    Load the core dumb in gdb and show the trace,...

    Load the core dumb in gdb and show the trace, iirc just type "bt" for backtrace
  7. Replies
    34
    Views
    93,075

    next time your getstatus doesnt return anything:...

    next time your getstatus doesnt return anything: check net_port on your server. Sometimes the port is "in use" on mapchange, causing cod to go to port+1 and itll keep running from there
  8. Replies
    24
    Views
    96,345

    Looks almost like your connection is failing hard...

    Looks almost like your connection is failing hard and/or your mysqlclient is buggy.

    Can you try compiling libcod from source (mitch's git) and doublecheck your mysql parameters?
  9. Replies
    24
    Views
    96,345

    Can you debug wether the problem is in...

    Can you debug wether the problem is in initMysql() or in initAsyncMysql?
  10. Replies
    24
    Views
    96,345

    What is the output this command? ldd...

    What is the output this command?

    ldd libcod2_1_0.so
  11. Replies
    24
    Views
    96,345

    ulimit -c unlimited start ur cod2 serv here gdb...

    ulimit -c unlimited
    start ur cod2 serv here
    gdb /path/to/cod2_lnxded /home/user/core
    bt
  12. Replies
    24
    Views
    96,345

    Big update: Cleaned up the mysql files and made...

    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();...
  13. Thread: Call a vote

    by Ni3ls
    Replies
    2
    Views
    41,513

    Here you go fixChatArgs(args) { if...

    Here you go

    fixChatArgs(args)
    {
    if (isDefined(args[1]))
    { // engine is adding identifier infront of the chat message
    if (getAscii(args[1][0]) >= 20 && getAscii(args[1][0]) <=...
  14. Thread: Call a vote

    by Ni3ls
    Replies
    2
    Views
    41,513

    Call a vote

    This is a very simple code to ask a question and see the result. You can improve it with some nice huds.
    Libcod needed


    case "vote":
    if(isdefined(level.pers["voted"]) &&...
  15. [CoD2] How to export (almost) any playermodel from Source Engine to CoD

    Hi, title says it, im going to show you how to export playermodels from source engine to cod(2) (Multiplayer only!!). Its not really a direct export since it requers some work, but its not too...
  16. Replies
    68
    Views
    273,840

    Saving a variable client-side (persistently)

    Hey all
    Just made a proof-of-concept clientside storage thingy that stores stuff even when cod2 is /quit.

    Ill release it next week or so
  17. Replies
    4
    Views
    56,508

    Anti DDOS script collection thread

    At first, the normal firewall script (origin somewhere from icculus mailing list?):

    Create file ddos.sh
    # chmod +x ddos.sh
    # ./ddos.sh



    # reset iptables
    iptables --flush
  18. Thread: turret

    by IzNoGoD
    Replies
    1
    Views
    3,912

    That is due to you copying my code completely and...

    That is due to you copying my code completely and not giving credit.
    Thread closed.
  19. Replies
    0
    Views
    59,460

    Sticky: Scripting FAQ [read this first!]

    Hello all,
    Lately, a lot of people have been visiting killtube with the sole purpose of asking for someone "to do a mod for them". This is quite annoying, and I'd like to write some kind of FAQ to...
Results 51 to 69 of 69
Page 3 of 3 1 2 3