Search:

Page 2 of 3 1 2 3

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

  1. Replies
    3
    Views
    5,496

    I always disliked the Radiant triggers, so I...

    I always disliked the Radiant triggers, so I created my own triggers, which I could also place in custom maps.

    Random dump of the script files used to create custom triggers with example code just...
  2. Replies
    32
    Views
    82,271

    You're replying to a thread that has [advanced]...

    You're replying to a thread that has [advanced] in its title with basic programming questions, without providing any error logs.

    Dont. Do. That.
  3. Added YouTube / GitHub / Steam to user profile

    Hey all,

    you can now add your YouTube / GitHub / Steam profile links to your user account. I had to add some regexes to prevent the input against XSS attacks, so this is what I came up with:


    ...
  4. Replies
    11
    Views
    34,940

    Ares-Servers Hosting

    Hey guys! I'm pretty happy to announce that we just launched a new server hosting company called Ares-Servers. We have a variety of games over at https://ares-servers.com including CoD1, CoD UO,...
  5. Replies
    27
    Views
    95,390

    Great, i will add it soon, just need to find...

    Great, i will add it soon, just need to find offsets for 1.2 and 1.3 too

    Edit: Ok here it is: https://github.com/voron00/libcod/commit/88ee15a056b71540387e3a0b7c0a0ec3a4958125

    Didn't test on...
  6. Replies
    27
    Views
    95,390

    Ok, watching a bit longer the pointer logic going...

    Ok, watching a bit longer the pointer logic going on here, I just realized my if's were total useless, they actually can't check anything. They basically add a number to 0 or greater and test if that...
  7. Replies
    27
    Views
    95,390

    1106 Original crash, without overwriting in...

    1106
    Original crash, without overwriting in libcod.
  8. Replies
    27
    Views
    95,390

    Hm, I wonder if #0 is really the last executed...

    Hm, I wonder if #0 is really the last executed opcode address (program counter, aka PC), since the backtrace should probably be a bit more similiar. Can you post the output of layout asm in gdb?

    ...
  9. Replies
    27
    Views
    95,390

    Ookay..I just had the same segfaults today. And i...

    Ookay..I just had the same segfaults today. And i almost know how it happens: 2 guys, with the same ip(!), GUID 0(!). 1 of them crashes with the EXE_LOSTRELIABLECOMMANDS (i didn't really get this...
  10. Replies
    27
    Views
    95,390

    Based on vorons reversed function, lets just...

    Based on vorons reversed function, lets just eliminate all possible segfaults (four dereferences of pointers in the if):



    int hook_BG_IsWeaponValid(int a1, int a2) {

    int v3;
    ...
  11. Replies
    27
    Views
    95,390

    *(char**)foo casts foo to a char-pointer-pointer....

    *(char**)foo casts foo to a char-pointer-pointer. char-pointers are basically arrays of characters, more commonly referred to as strings. So a char-pointer-pointer is a string-pointer. The * in front...
  12. Replies
    27
    Views
    95,390

    The prints are ok but you wont get any useful...

    The prints are ok but you wont get any useful info from that as it will return the same integer its char becasue that will return the name of weapon e.g m1garand_mp, and ye it must be right after v3...
  13. Replies
    27
    Views
    95,390

    Also maybe put: printf("Last weapon used:...

    Also maybe put:

    printf("Last weapon used: %s\n", *(char**)(v3 + 0));

    To see which weapon has crashed the server (this would be the last message before the crash then). Have you tried...
  14. Replies
    27
    Views
    95,390

    Ok so the crash is in the BG_IsWeaponValid, which...

    Ok so the crash is in the BG_IsWeaponValid, which is (i guess ) related to weapons. You proably need to check them out. And this function is small so why not just revere it, going to be a piece of...
  15. Replies
    27
    Views
    95,390

    Ye, but remember the "Original" function is still...

    Ye, but remember the "Original" function is still redirected, so when you call it without unhooking it, you are catched in a loop. Hence this little helper class:



    cHook::cHook(int from, int...
  16. Replies
    27
    Views
    95,390

    I didn't fully understand the magic stuff and...

    I didn't fully understand the magic stuff and database thing but apparently you want to find what causes the segfault.

    When a program crashes it should generate a core dump file. For more or less...
  17. Some useful IDA macros I thought i'd dump here...

    Some useful IDA macros I thought i'd dump here for future reference;


    typedef unsigned int uint;
    typedef unsigned char uchar;
    typedef unsigned short ushort;
    typedef unsigned long ulong;

    //...
  18. Replies
    27
    Views
    95,390

    You don't need to let it crash, you can unhook a...

    You don't need to let it crash, you can unhook a hooked function in itself, call itself, save the return value, rehook it and just return the saved value, so for the engine it's like nothing...
  19. http://www.nesmaps.com/maps/SuperMarioBrothers/Sup...

    http://www.nesmaps.com/maps/SuperMarioBrothers/SuperMarioBrosMap1-2.png
  20. Replies
    34
    Views
    93,075

    The rate limit patch is not related to crashes....

    The rate limit patch is not related to crashes. It is for preventing people from generating too much traffic on your server.

    I never found why the server crashes when you are seeing a few cmdCount...
  21. Replies
    6
    Views
    14,746

    Any interest in this?

    Hey guys,

    I managed to reduce the footprint of the cod2 server files to a whopping 325 meg, using some dirty, dirty libcod tricks.

    Anyone interested in this?
  22. Replies
    34
    Views
    93,075

    Have you tried debugging where that async query...

    Have you tried debugging where that async query fails? I got servers with lots of uptime using async mysql without any problems.
  23. Replies
    34
    Views
    93,075

    + async: no lags - async: my server crash by...

    + async: no lags
    - async: my server crash by error Segmentatio Fault
    PS: i remove async and make normal query (mysql_query(...)) - server stop crashing (uptime > 20 days)
  24. Replies
    34
    Views
    93,075

    Stop blaming async mysql for your crashes unless...

    Stop blaming async mysql for your crashes unless you can show a stacktrace.

    Async mysql is required if you run your mysql server on a different box, as network laggs transition into server laggs....
  25. Replies
    34
    Views
    93,075

    By default the name is always "core" I think,...

    By default the name is always "core" I think, hence overwriting old core dumps, but you can change the name pattern and add the PID for example:...
Results 26 to 50 of 69
Page 2 of 3 1 2 3