Search:

Type: Posts; User: Jacob123

Page 1 of 7 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    406

    Reconstructing a simple playerlist..

    This is supposed to 'shift' a bunch of playerlist entries over a user that has left the channel. Example:

    When 'Joe' leaves, the structure SHOULD go from:

    ServerData.PlayerList[1][1]: Tom...
  2. Replies
    2
    Views
    628

    Re: reverse bytes in sets of two?

    Sorta. I'm actually intending to 'hook' a function address, change a register under a certain condition, and redirect to the original function.
  3. Replies
    2
    Views
    628

    reverse bytes in sets of two?

    Perhaps this is more of an assembly question, but my task requires C++.

    I am trying to patch an address to CALL to a dynamic location, so that it becomes:

    008231C0 CALL MyDynamicFunction in...
  4. Replies
    1
    Views
    3,788

    how to determine the hex values?

    Sorry if I'm asking this in the wrong section or something. It has to do with C++ and Assembly.

    Well, here's the deal. I'm dealing with a dynamic JMP instruction in a game. Meaning, every time...
  5. Replies
    1
    Views
    487

    simple char handling

    I have something stored in a char*. I would like to insert a '{DELAY=10}t' before this, and a '~' after it, so that:


    Hello
    becomes

    {DELAY=10}tHello~

    I dont want to use the actual string...
  6. Replies
    2
    Views
    621

    Can a class return a value?

    I want my class to return a value.

    Example:

    class _CAge {
    public:
    unsigned long Age; } CAge;

    Now I'd like to be able to do:
  7. Replies
    1
    Views
    429

    Re: Function question..

    rndword is a string, c is a char. You're using a mathmatical expression on strings/chars, it looks like you're wanting to append c to the end of rndword.
    Try this:


    // Includes
    #include...
  8. Replies
    4
    Views
    601

    Re: Whats the Point of Pointers?

    The example he provided was very poor. Perhaps this will make things easier to understand:


    //inc's
    #include <stdio.h>
    #include <iostream>

    //namespace
    using namespace std;
  9. Re: global functions do not have 'this' pointers

    Yeah, just realized it's in debug mode.. otherwise the debugger/dissasembler wouldn't have all my function names/debug strings compiled inside.

    Anyway, it works fine in a Release compilation....
  10. global functions do not have 'this' pointers

    All in the title. My task requires the exact address of a function, but I'm slightly confused on pointers to functions..

    I assumed &FunctionName is the same thing as using 'this' within...
  11. Thread: array bounds

    by Jacob123
    Replies
    10
    Views
    641

    Re: array bounds

    Isn't there a UBound value, similar to VB, that you can extract by providing an array?
  12. Replies
    12
    Views
    1,585

    Delete a file in ASM?

    How is this done? I saw very little documentation on it and I think it went something like,



    lea dx, ptrtofilename;
    mov ah, 41h;


    but I wasn't entirely sure.. can anyone clarify?
  13. Replies
    3
    Views
    501

    Re: Line() in a PictureBox?

    I feel retarded, thanks.

    Do you have any idea how to prevent the flickering I get when using your 'drag a square using Line()' code? AutoRedraw seemed to help a bit, but there's still a noticable...
  14. Replies
    3
    Views
    501

    Line() in a PictureBox?

    This is a very stupid question. How do I call the Line() command so that it draws the line in a PictureBox instead of my Form?
  15. Replies
    12
    Views
    843

    Re: Can someone reverse this simple function?

    Ok guys, Based off the posts in this thread these are my functions:


    Public Sub LeftTopFromCoords(X As Single, Y As Single)
    Dim tehLeft As Single, tehTop As Single

    tehLeft = (X + 2350) * 2.19...
  16. Replies
    12
    Views
    843

    Re: Can someone reverse this simple function?

    I don't quite understand how simply changing ScaleMode to pixels will implement this exact formula into my program so that the Left and Top values are my game's exact X and Y values. Surely theres...
  17. Replies
    12
    Views
    843

    Can someone reverse this simple function?

    Private Function LeftTopFromCoords(X As Single, Y As Single)
    Dim tehLeft As Single, tehTop As Single

    tehLeft = (X + 2350) * 2.19
    tehTop = (0 - Y + 1950) * 2.23

    lblcoord.Left = tehLeft...
  18. Re: Hold down & move mouse button, form a rectangle (like on desktop)

    Jacob Roman, you rock. JACOB POWER!!! :)
  19. Re: Hold down & move mouse button, form a rectangle (like on desktop)

    anyone?
  20. Hold down & move mouse button, form a rectangle (like on desktop)

    All in the topic title. I have a form, and I want to be able to hold my mouse button and form a 'rectangle'.. then I want to be able to get the .Top/.Left of all 4 corners.

    Like on your desktop,...
  21. Replies
    1
    Views
    417

    Re: Draw a pixel on an external app

    Anyone?
  22. Replies
    1
    Views
    417

    Draw a pixel on an external app

    This request may sound silly to some people.. sorry.

    I recently bought a game and for some odd reason, the mouse cursor does not display.

    The first thing I thought of was to create some sort of...
  23. Replies
    1
    Views
    440

    find out how many "|"'s are in a char*?

    I have a 100-200 byte char* that is going to be tokenized by the delimiter |. I'd like to tokenize it with a for statement, but in order to do this, I must figure out how many |'s are in this char*....
  24. Replies
    0
    Views
    454

    [RESOLVED] Variables mixing up

    Please excuse the large amount of code here, the only reason theres so much is because its repetitive.

    This is for a DX chat I'm attempting to create. The problem, however, is not the DX part;...
  25. Thread: Text 2 Image

    by Jacob123
    Replies
    6
    Views
    799

    Re: Text 2 Image

    But no one knows how to save as PNG?
  26. Thread: Text 2 Image

    by Jacob123
    Replies
    6
    Views
    799

    Re: Text 2 Image

    *bump*
  27. Thread: Text 2 Image

    by Jacob123
    Replies
    6
    Views
    799

    Text 2 Image

    Can anyone provide sample code on how a set of characters can be inputted through some sort of function that will save it as an image? Preferably a .PNG with a transparent background?
  28. Replies
    9
    Views
    1,563

    Re: [DX9 C++] Create a texture from a char*?

    That wouldnt be so bad.. i wonder how do you use this 3d font class?
  29. Replies
    9
    Views
    1,563

    Re: [DX9 C++] Create a texture from a char*?

    You mean i can use the DX9 font class to create a DX9 texture from a char* !?!?
  30. Replies
    9
    Views
    1,563

    Re: [DX9 C++] Create a texture from a char*?

    I want to draw them on a 3D sprite. The DX9 font class only works for 2D on-screen coordinates, but this is for a billboarded nametag.
  31. Replies
    2
    Views
    707

    Enumerate supported resolutions!

    Is this possible? I need to enumerate the whole list of supported resolutions, someone please help.
  32. Replies
    9
    Views
    1,563

    Re: [DX9 C++] Create a texture from a char*?

    yes i want to draw letters.
  33. Replies
    9
    Views
    1,563

    [DX9 C++] Create a texture from a char*?

    Is it possible that i can create a function where it creates a texture from a string (char*) like "Jacob", etc, so i can draw it to sprites.

    Someone suggested i use an alphabet chart from a bmp...
  34. Replies
    10
    Views
    3,292

    Re: Assembly 2 Hex converter

    I don't want to download some other program.. this is for overwriting existing instructions within a game (GTA:SA) via WriteProcessMemory. Instead of using another program (like TSearch's TMK...
  35. Replies
    10
    Views
    3,292

    Assembly 2 Hex converter

    Hello all. I am requesting that someone make a module or control that will parse assembly strings like "push 23, mov dword [esp+30], shr 3", and so on, converting them to their hex numbers.
    ...
  36. Replies
    18
    Views
    1,801

    Re: what are refferals?

    just make one of those things where you have to look at an image and type in its code like A5BG7XD

    then theres no more bots
  37. Replies
    2
    Views
    733

    how do people benchmark code

    people are always saying which code happened the fastest

    "my function execute in 0.0129843 ms, your ufnction execute in 0.4921439 ."

    how are these values detected, is there a benchmarking...
  38. Replies
    14
    Views
    1,203

    Re: What is the registry for?

    does anyone know if the registry is stored in a certain file.and if so where is it
  39. Replies
    8
    Views
    1,294

    Re: Data Types, making a new type

    i dont understand, why waste memory with 1000 bytes (or 2000 for unicode) for a 5 bytes string.its useless waste
  40. Replies
    18
    Views
    1,801

    Re: what are refferals?

    is there any way to detect who said i refered them because they lied

    i just want too know who did it
Results 1 to 40 of 257
Page 1 of 7 1 2 3 4



Click Here to Expand Forum to Full Width