Thread: Ok SendTOServer

Results 1 to 11 of 11
  1. #1
    -Bl00d-'s Avatar
    Join Date
    Sep 2011
    Gender
    female
    Location
    Imma girl what about it?
    Posts
    481
    Reputation
    10
    Thanks
    53
    My Mood
    Twisted

    Ok SendTOServer

    alright
    ive been up all night basically
    *cramming* every bit of CA and its components
    i have made a pretty decent base and hook
    but can someone explain to me
    in rough detail How SendToServer works and how its used?
    im trying for unlim ammo

  2. #2
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    831
    Reputation
    44
    Thanks
    401
    My Mood
    Twisted
    Quote Originally Posted by -Bl00d- View Post
    alright
    ive been up all night basically
    *cramming* every bit of CA and its components
    i have made a pretty decent base and hook
    but can someone explain to me
    in rough detail How SendToServer works and how its used?
    im trying for unlim ammo
    When its for Unl ammo your wrong
    You should try reversing CA

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    https://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    https://www.youtube.com/watch?v=Na2kUdu4d_k

  3. The Following 3 Users Say Thank You to Ch40zz-C0d3r For This Useful Post:

    [MPGH]Flengo (10-29-2012),R3dLine (10-29-2012),Shadow` (10-29-2012)

  4. #3
    supremejean's Avatar
    Join Date
    Jun 2012
    Gender
    female
    Posts
    32
    Reputation
    10
    Thanks
    8
    Quote Originally Posted by Ch40zz-C0d3r View Post
    When its for Unl ammo your wrong
    You should try reversing CA
    You did not answer his question in any way whatsoever.

  5. The Following User Says Thank You to supremejean For This Useful Post:

    Departure (11-01-2012)

  6. #4
    Shadow`'s Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    MN
    Posts
    636
    Reputation
    74
    Thanks
    3,014
    My Mood
    Relaxed
    Quote Originally Posted by supremejean View Post
    You did not answer his question in any way whatsoever.
    By the way this person has been coding and asking questions, what he said answered it perfectly.
    Currently coding applications in Java and C++.

    "It is change, continuing change, inevitable change, that is the dominant factor in society today. No sensible decision can be made any longer without taking into account not only the world as it is, but the world as it will be." -Isaac Asimov

  7. The Following User Says Thank You to Shadow` For This Useful Post:

    Ch40zz-C0d3r (10-29-2012)

  8. #5
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    /admincp/banning.php
    Posts
    20,591
    Reputation
    5180
    Thanks
    14,177
    My Mood
    Inspired
    He answered his question. Unlimited ammo isn't being done via send to server. So its no use to him, since that's his goal.

    Anyway, it could be possible using SendToServer.

    Just Hook S2S And then view the packets sent and figure something out
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.

     


     
    VM | PM | IM
    Staff Administrator Since 10.13.2019
    Publicist Since 04.04.2015
    Middleman Since 04.14.2014
    Global Moderator Since 08.01.2013
    Premium Since 05.29.2013

    Minion+ Since 04.18.2013

    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  9. #6
    -Bl00d-'s Avatar
    Join Date
    Sep 2011
    Gender
    female
    Location
    Imma girl what about it?
    Posts
    481
    Reputation
    10
    Thanks
    53
    My Mood
    Twisted
    Quote Originally Posted by Flengo View Post
    He answered his question. Unlimited ammo isn't being done via send to server. So its no use to him, since that's his goal.

    Anyway, it could be possible using SendToServer.

    Just Hook S2S And then view the packets sent and figure something out
    its not just for unlimited ammo,
    that was just a good example.
    im still curious how exactly it works.


    if i understand @Flengo correctly

    SendToServer is what send packet data containing
    ammo, HP and all that... sooo.
    edit the packets sent to the server and theres my changed value? <- is that right?
    and if so, is it a loop? like when i manipulate the sent packets, do i also
    have to manipulate the returning packets values? or does the server automatically
    read my changes and send them back?

    heres the best pic way i can use to explain it

    does it do this automatically?
    Code:
    ______Client________
     |              |
     /              /
     |              |
     |<-SEND        |<-RETURN
     |              |           
     |              |          
    --------Server---------

    or is it like this? where i also have to change the return value?
    because the value being returned is the default?
    EX the "/" represents me sending i have 400 HP
    do i have to modify the return as 400HP also? or does it
    automatically receive like the pic above?
    Code:
    _____Client______
     |              |
     /              |
     |              |
     |<-SEND        | <-RETURN
     |              |           
     |              |          
    -------Server-------

    sorry if its noob i just dont understand
    the use of SendToServer in its full potential
    Last edited by -Bl00d-; 10-29-2012 at 04:54 PM.

  10. #7
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    /admincp/banning.php
    Posts
    20,591
    Reputation
    5180
    Thanks
    14,177
    My Mood
    Inspired
    How SendToServer Works:

    First off, I'm not even fully knowledgeable on this topic but here's what I know that'll help you.

    Whenever an occurrence in the game is "server-sided" the game sends packets of data to the server. These packets all have different values. Each different value signifies different things.

    For example, when a user leaves the game, the packet data that is sent is 174.

    Its an unsigned integer.

    The way its sent, and the way we would send it to the server from our hacks is like so.

    Code:
    CAutoMessage Msg;
    Msg.Writeuint8( 174 ); // Leave Game ID
    g_LTClient->SendToServer(Msg.Read(), MESSAGE_GUARANTEED);
    If you send that to the server yourself, the game will put you into the lobby. This is because you just told the server that you are leaving the game.
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.

     


     
    VM | PM | IM
    Staff Administrator Since 10.13.2019
    Publicist Since 04.04.2015
    Middleman Since 04.14.2014
    Global Moderator Since 08.01.2013
    Premium Since 05.29.2013

    Minion+ Since 04.18.2013

    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  11. #8
    -Bl00d-'s Avatar
    Join Date
    Sep 2011
    Gender
    female
    Location
    Imma girl what about it?
    Posts
    481
    Reputation
    10
    Thanks
    53
    My Mood
    Twisted
    alright that helped a good bit
    so there is no return value then?and there is no recievefromserver
    or RecievePacketData
    like there is in AA?

    i just use sendtoserver and it reads-> executes->desired effect

    not

    sendtoserver->read value->return value-> Desired effect

    correct? or at least close?
    sprry im asking so much i dont want to perma ban my only CA account lol


    EDIT:
    Quote Originally Posted by Flengo View Post

    Code:
    CAutoMessage Msg;
    Msg.Writeuint8( 174 ); // Leave Game ID
    g_LTClient->SendToServer(Msg.Read(), MESSAGE_GUARANTEED);
    this looks as is it may be modified for a Force kick of other players to lobby XD
    kinda like hacking elite mod?
    Last edited by -Bl00d-; 10-29-2012 at 05:26 PM.

  12. #9
    SNIPdetta's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    121
    Reputation
    21
    Thanks
    96
    Quote Originally Posted by -Bl00d- View Post

    this looks as is it may be modified for a Force kick of other players to lobby XD
    kinda like hacking elite mod?
    Hi Bl00d

    for vote kick is ID - 206 but only work one time, and need wait for 4 minutes to vote again, 206 is the normal kick using F5.

    to force players to lobby is other method not public, but basicly this made people to lobby, including elite.

    video using this private feature ( exit now ):



    There is also another method of Room Crash, which was made by NOOB, it sends all the players to the lobby. I consider it a Perfect Room Crash because it does not need to join into the room and it's fast, it's almost like the old ID 153.

  13. The Following User Says Thank You to SNIPdetta For This Useful Post:

    [MPGH]Flengo (10-29-2012)

  14. #10
    -Bl00d-'s Avatar
    Join Date
    Sep 2011
    Gender
    female
    Location
    Imma girl what about it?
    Posts
    481
    Reputation
    10
    Thanks
    53
    My Mood
    Twisted
    where would i look inside of CA to find the room crash like noobs?

  15. #11
    SNIPdetta's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    121
    Reputation
    21
    Thanks
    96
    Quote Originally Posted by -Bl00d- View Post
    where would i look inside of CA to find the room crash like noobs?
    The room crash of NOOB i not know how to make.

    but if you want a room crash try using ID 345 (89) is a public room crash.

Similar Threads

  1. Updated SendToServer Address
    By MGKing1 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 4
    Last Post: 07-13-2012, 02:12 PM
  2. [Patched] SendToServer Adress
    By -Unbelievable! in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 8
    Last Post: 07-12-2012, 12:46 AM
  3. [Help Request] SendToServer g_LTClient Class
    By Ch40zz-C0d3r in forum Combat Arms Coding Help & Discussion
    Replies: 13
    Last Post: 06-29-2012, 10:40 AM
  4. SendToServer using
    By Ch40zz-C0d3r in forum Combat Arms Coding Help & Discussion
    Replies: 19
    Last Post: 12-17-2011, 03:50 PM