Search:

Type: Posts; User: MrLucky

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,155

    Yay, got it working now :) This is my...

    Yay, got it working now :)

    This is my function:


    /**
    * Checks if the socket is ready for reading
    */
    bool Socket::can_read()
    {
  2. Replies
    2
    Views
    2,155

    UDP Socket hangs when not available

    Hi,

    I'm making a sort of 'query' tool for game servers, to get some information etc. It works pretty well, except when you fill in an hostname which doesn't exists, it keeps hanging at the...
  3. Replies
    23
    Views
    4,806

    Ok, thanks :) I think I understand it, and when I...

    Ok, thanks :) I think I understand it, and when I de-reference them, I've got the short value isn't it?
  4. Replies
    23
    Views
    4,806

    Yep, that's true. C# has a nice BitConverter...

    Yep, that's true. C# has a nice BitConverter class, which allows you to convert some specific bytes at a specific offset to an other data type.

    You must not see this as a string, but as a byte...
  5. Replies
    23
    Views
    4,806

    Well, this will be the response of a Doom 3/Enemy...

    Well, this will be the response of a Doom 3/Enemy territory: Quake Wars server:
    http://www.int64.org/docs/gamestat-protocols/doom3.html

    The player's ping and rate are int16, and because I receive...
  6. Replies
    23
    Views
    4,806

    2 bytes to short

    Hi, I'm trying to create a game query program, which sends a query to the server through UDP, and the server sends a response back, with some info about the server.

    The response of the server is...
  7. Ok, I think I'll use the ps command then :) ...

    Ok, I think I'll use the ps command then :)



    Trying to create a memory viewer/editor for Linux. :)
  8. woot thanks a lot! Btw, is there any function...

    woot thanks a lot!

    Btw, is there any function to ge a list of running processes with their pid's?
  9. ReadProcessMemory/WriteProcessMemory Linux equivalent?

    Hi,

    The Win32 Api has the functions ReadProcessMemory and WriteProcessMemory, to read/write the memopry of a certain process.

    But I'm a Linux user, and after a lot of searching I can't find...
  10. Replies
    7
    Views
    2,129

    Well, I have viewed the application with a hex...

    Well, I have viewed the application with a hex viewer, before the patch and after the patch.

    Short description on how the patching works:
    To patch an application, you need a patch file. The data...
  11. Replies
    7
    Views
    2,129

    fopen mode is "rb+" I've found this table on...

    fopen mode is "rb+"

    I've found this table on the inet:



    // Table 92 File Open modes
    //+------------------------------------------------------------+
    //| ios_base Flag combination ...
  12. Replies
    7
    Views
    2,129

    ofstream and FILE behaviour

    I'm modiefing the source of an application which was originally written in C, to a more C++ (object oriented) code.

    The application uses a FILE struct, and I want to use an ofstream object. But I...
  13. Replies
    6
    Views
    2,179

    Well, I finally managed to get it to work :) ...

    Well, I finally managed to get it to work :)

    I've found after some long searching this tutorial, and complete rewrote my streambuf. :)

    This is my final code:
    textviewbuffer.h


    /**
    * DLDI...
  14. Replies
    6
    Views
    2,179

    I've tried to cout something else than files[i]...

    I've tried to cout something else than files[i] (just plain text), but the same happened. I also completely rebuild my project, but with the same result.

    I've also redirected my cout to a...
  15. Replies
    6
    Views
    2,179

    Lol, that's me xD Still strange, it only adds...

    Lol, that's me xD

    Still strange, it only adds the first two cout's to the log :/
  16. Replies
    6
    Views
    2,179

    Cout redirection problem

    Hi,

    I'm redirecting cout output to a TextView, but I've a strange problem.

    I'm setting up the cout redirection in my constructor of my Window object (I'm using GTKmm as UI lib, in combination...
  17. Replies
    1
    Views
    931

    Scripting System

    Hi,

    I'm trying to create an IRC Bot in C++, and it's going well. :) But an IRC Bot has to be extendable, an Irc Bot is no Irc bot if it can't be extended.

    So, I would like to embed a scripting...
  18. Thread: Multi language

    by MrLucky
    Replies
    1
    Views
    808

    Multi language

    Does anybody has a good tutorial on how to create multi language applications?

    I've searched a lot, but I think i'm not using the right keywords, because I can't find a good tutorial.

    I already...
  19. Replies
    8
    Views
    34,474

    Sticky: Another very nice one:...

    Another very nice one: http://www.relisoft.com/win32/

    Focussed on C++, and uses a real OOP way of using the Win32 API.
  20. Replies
    2
    Views
    1,183

    Ah Great! It works now :) thanks!

    Ah Great!

    It works now :)

    thanks!
  21. Replies
    2
    Views
    1,183

    Syntax Error in resource

    Well, reading this tutorial, I'm trying to create a dialog.

    The dialog code in resource


    // About dialog
    IDD_ABOUT DIALOG DISCARDABLE 0, 0, 150, 100
    STYLE DS_MODALFRAME | WS_POPUP |...
  22. Thread: Strange error?

    by MrLucky
    Replies
    5
    Views
    3,009

    Ok, thnx :) I tried to debug it and I got this...

    Ok, thnx :)

    I tried to debug it and I got this as a result:



    A COM error..
    Does anyone have a possible fix for this?
  23. Thread: Strange error?

    by MrLucky
    Replies
    5
    Views
    3,009

    Hmm, I changed it, but still got the error: ...

    Hmm, I changed it, but still got the error:

    http://www.aoe3capitol.nl/images/requester_error2.png
  24. Thread: Strange error?

    by MrLucky
    Replies
    5
    Views
    3,009

    Strange error?

    I get a very strange error, when I try to run my program:



    Does anyone know what this means? And does anyone know how to fix this?

    My program code:

    request.h
  25. Replies
    5
    Views
    2,001

    Nobody? :(

    Nobody? :(
Results 1 to 25 of 40
Page 1 of 2 1 2