Page 1 of 2 12 LastLast
Results 1 to 15 of 25
  1. #1
    TokolocoSK's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Comendo Peru Pato Frango Búrguer.
    Posts
    2,874
    Reputation
    65
    Thanks
    6,858
    My Mood
    Yeehaw

    D3D Mouse Cursor

    Em Menu.h

    Code:
    void DrawMouse(DWORD color,LPDIRECT3DDEVICE9 pDevice){
    POINT myCursor; 
    GetCursorPos(&myCursor);
    DrawRect(myCursor.x,myCursor.y,11,1,color,pDevice);
    DrawRect(myCursor.x+1,myCursor.y+1,9,1,color,pDevice);
    DrawRect(myCursor.x+2,myCursor.y+2,7,1,color,pDevice);
    DrawRect(myCursor.x+3,myCursor.y+3,7,1,color,pDevice);
    DrawRect(myCursor.x+4,myCursor.y+4,8,1,color,pDevice);
    DrawRect(myCursor.x+5,myCursor.y+5,3,1,color,pDevice);
    DrawRect(myCursor.x+6,myCursor.y+6,2,1,color,pDevice);
    DrawRect(myCursor.x+7,myCursor.y+6,1,1,color,pDevice);
    DrawRect(myCursor.x+5,myCursor.y+10,4,1,color,pDevice);
    DrawRect(myCursor.x+6,myCursor.y+12,2,1,color,pDevice);
    }

    Code:
    DrawMouse(Cyan,pDevice);
    Como Vai Ficar:



    2º Modelo

    Code:
    void DrawMouse(DWORD color,LPDIRECT3DDEVICE9 pDevice){
    POINT myCursor;
    GetCursorPos(&myCursor);
    DrawRect(myCursor.x,myCursor.y,30,1,color,pDevice);
    DrawRect(myCursor.x+1,myCursor.y,28,1,color,pDevice);
    DrawRect(myCursor.x+2,myCursor.y,26,1,color,pDevice);
    DrawRect(myCursor.x+3,myCursor.y,24,1,color,pDevice);
    DrawRect(myCursor.x+4,myCursor.y,22,1,color,pDevice);
    DrawRect(myCursor.x+5,myCursor.y,20,1,color,pDevice);
    DrawRect(myCursor.x+6,myCursor.y,18,1,color,pDevice);
    DrawRect(myCursor.x,myCursor.y,1,30,color,pDevice);
    DrawRect(myCursor.x,myCursor.y+1,1,28,color,pDevice);
    DrawRect(myCursor.x,myCursor.y+2,1,26,color,pDevice);
    DrawRect(myCursor.x,myCursor.y+3,1,24,color,pDevice);
    DrawRect(myCursor.x,myCursor.y+4,1,22,color,pDevice);
    DrawRect(myCursor.x,myCursor.y+5,1,20,color,pDevice);
    DrawRect(myCursor.x,myCursor.y+6,1,18,color,pDevice);
    }
    Code:
    DrawMouse(Blue,pDevice);

    Credito 100% @Solify
    Last edited by TokolocoSK; 06-10-2011 at 10:56 AM.



  2. The Following 3 Users Say Thank You to TokolocoSK For This Useful Post:

    baraozin (06-11-2011),The Decoder (01-13-2013),[L]U[C]/\[S] (08-14-2011)

  3. #2
    ViniciusD7's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    766
    Reputation
    10
    Thanks
    41
    My Mood
    Pensive
    Parece que ja vi isso na area Americana ou foi impressao minha ¬¬
    é Pelos Creditos Sim ou Foi Na Europeia ah Desisto... U_U

    '-



  4. #3
    Templar's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Brazil
    Posts
    3,217
    Reputation
    87
    Thanks
    989
    My Mood
    Angelic
    Parei de ler no "Mause"

    //Topic

    Ja foi postado pelo Solify.
    Just a wanderer from the beginnings of this site.
    An old Combat Arms' sections active member and hacker (just what I thought when I was a child).

    My IM doesn't work. Send me a private message instead.

    Name changes:
    bruno2204
    The Rev.
    BioHuman
    Element™

  5. #4
    TokolocoSK's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Comendo Peru Pato Frango Búrguer.
    Posts
    2,874
    Reputation
    65
    Thanks
    6,858
    My Mood
    Yeehaw
    Quote Originally Posted by bruno2204 View Post
    Parei de ler no "Mause"

    //Topic

    Ja foi postado pelo Solify.

    LOL Erro



  6. #5
    Templar's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Brazil
    Posts
    3,217
    Reputation
    87
    Thanks
    989
    My Mood
    Angelic
    Errei ?
    Então quer dizer que você leechou a propria mpgh ?
    Foi o solify sim -.-
    Just a wanderer from the beginnings of this site.
    An old Combat Arms' sections active member and hacker (just what I thought when I was a child).

    My IM doesn't work. Send me a private message instead.

    Name changes:
    bruno2204
    The Rev.
    BioHuman
    Element™

  7. #6
    TokolocoSK's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Comendo Peru Pato Frango Búrguer.
    Posts
    2,874
    Reputation
    65
    Thanks
    6,858
    My Mood
    Yeehaw
    Quote Originally Posted by bruno2204 View Post
    Errei ?
    Então quer dizer que você leechou a propria mpgh ?
    Foi o solify sim -.-
    E Se Você Não Sabe Leecher e Quem Copia e Não Da Credito.
    E To Falando Que Errei No Titulo



  8. #7
    Capevaldo's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    CWBeats
    Posts
    5,523
    Reputation
    242
    Thanks
    1,150
    My Mood
    Drunk
    Falta um PTC para funcionar.
    Vamos lá, adcionem isso no código de vocês e tentem mover o cursor.

    Acho que a maioria que postou acima nem sabe qual PTC é, não sabe nem qual é a alteração deve ser feita...
    • CABR Minion:
    Feb, 12th 2011 - Aug, 12th 2011

    • Full CA Section Minion:
    July, 06th 2011 - Aug, 12th 2011

  9. #8
    TokolocoSK's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Comendo Peru Pato Frango Búrguer.
    Posts
    2,874
    Reputation
    65
    Thanks
    6,858
    My Mood
    Yeehaw
    Quote Originally Posted by Capevaldo View Post
    Falta um PTC para funcionar.
    Vamos lá, adcionem isso no código de vocês e tentem mover o cursor.

    Acho que a maioria que postou acima nem sabe qual PTC é, não sabe nem qual é a alteração deve ser feita...
    Aki Ta Movendo Normal o Cursor Normal



  10. #9
    Capevaldo's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    CWBeats
    Posts
    5,523
    Reputation
    242
    Thanks
    1,150
    My Mood
    Drunk
    Eu uso o código do primeiro mouse ali, ele sem um PTC não funciona.
    E o código está 100% igual, apenas as cores estão diferentes
    • CABR Minion:
    Feb, 12th 2011 - Aug, 12th 2011

    • Full CA Section Minion:
    July, 06th 2011 - Aug, 12th 2011

  11. #10
    Ninguém pode ser perfeito, mas todos podem ser melhores
    MPGH Member
    ParkII's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Andressa's Heart
    Posts
    1,379
    Reputation
    61
    Thanks
    408
    My Mood
    Yeehaw
    Muahahhahahahhahahah Só o que falta

    Funciona na base do Nubget

  12. #11
    TokolocoSK's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Comendo Peru Pato Frango Búrguer.
    Posts
    2,874
    Reputation
    65
    Thanks
    6,858
    My Mood
    Yeehaw
    Quote Originally Posted by Capevaldo View Post
    Eu uso o código do primeiro mouse ali, ele sem um PTC não funciona.
    E o código está 100% igual, apenas as cores estão diferentes
    Voce Fala Do Codigo Do DrawRect ?



  13. #12
    Capevaldo's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    CWBeats
    Posts
    5,523
    Reputation
    242
    Thanks
    1,150
    My Mood
    Drunk
    Quote Originally Posted by tokolocosk View Post
    Voce Fala Do Codigo Do DrawRect ?
    nops.
    É uma função em modo console, tipo o SkelModelStencil.
    • CABR Minion:
    Feb, 12th 2011 - Aug, 12th 2011

    • Full CA Section Minion:
    July, 06th 2011 - Aug, 12th 2011

  14. #13
    Templar's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Brazil
    Posts
    3,217
    Reputation
    87
    Thanks
    989
    My Mood
    Angelic
    Quote Originally Posted by tokolocosk View Post
    E Se Você Não Sabe Leecher e Quem Copia e Não Da Credito.
    E To Falando Que Errei No Titulo
    Não sei não, porque não sou um.

    @Capevaldo, eu coloquei o d3d mouse na minha base e não precisa de fazer nada no ptc.

    Só foi colocar na base e colocar ele junto ao menu, quando apertar INSERT.
    (MENUVISIBLE)
    Last edited by Templar; 06-10-2011 at 12:59 PM.
    Just a wanderer from the beginnings of this site.
    An old Combat Arms' sections active member and hacker (just what I thought when I was a child).

    My IM doesn't work. Send me a private message instead.

    Name changes:
    bruno2204
    The Rev.
    BioHuman
    Element™

  15. #14
    Capevaldo's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    CWBeats
    Posts
    5,523
    Reputation
    242
    Thanks
    1,150
    My Mood
    Drunk
    Quote Originally Posted by bruno2204 View Post
    Não sei não, porque não sou um.

    @Capevaldo, eu coloquei o d3d mouse na minha base e não precisa de fazer nada no ptc.

    Só foi colocar na base e colocar ele junto ao menu, quando apertar INSERT.
    (MENUVISIBLE)
    testa in-game e me diz se funciona
    • CABR Minion:
    Feb, 12th 2011 - Aug, 12th 2011

    • Full CA Section Minion:
    July, 06th 2011 - Aug, 12th 2011

  16. #15
    Templar's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Brazil
    Posts
    3,217
    Reputation
    87
    Thanks
    989
    My Mood
    Angelic
    Funciona tanto que aquele menu checkbox tem o d3d mouse '-'
    Just a wanderer from the beginnings of this site.
    An old Combat Arms' sections active member and hacker (just what I thought when I was a child).

    My IM doesn't work. Send me a private message instead.

    Name changes:
    bruno2204
    The Rev.
    BioHuman
    Element™

Page 1 of 2 12 LastLast