Thread: Question re Hardware Breakpoints

  1. #1
    Fountain of knowledge.
    Join Date
    May 2006
    Posts
    794

    Question re Hardware Breakpoints

    I know the thread has been locked and I may misunderstand what is being talked about,
    however it seems some guy wants to cheat at a game by changing the memory or something
    however it seems to me that such things which would allow your to cheat in a game would
    be stored centrally (remotely on a server) rather than on a players computer?
    I mean I might like to modify by money balance on a poke site, but I doubt that value
    would be held on my own computer!!!
    Feel free to lock//delete this if it is inapproopiate.

  2. #2
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    It normally is stored elsewhere since it's too easy to alter it while on your own system. However I would not put it past some of these sites to put a rootkit on your system so you cannot alter the information. I'm not saying they
    do but it really would not surprise me if they did. Just be careful which ActiveX controls you allow on your system.


    The other thread has been closed. It's not usually wise to open up another thread about a topic on which another thread has been closed just to add your input. Since this thread is actually about something a bit different I will leave it open.
    Last edited by VirtualAce; 02-25-2008 at 12:22 AM.

  3. #3
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,318
    To answer your question esbo, best practice is to completely validate all input from the remote client. Don't trust a single byte sent from it.
    A few reasons:
    • To avoid cheating
    • To avoid having your system hacked into
    • To avoid having someone deliberately crash your program
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

  4. #4
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,058
    Quote Originally Posted by esbo View Post
    I know the thread has been locked and I may misunderstand what is being talked about,
    however it seems some guy wants to cheat at a game by changing the memory or something
    however it seems to me that such things which would allow your to cheat in a game would
    be stored centrally (remotely on a server) rather than on a players computer?
    I mean I might like to modify by money balance on a poke site, but I doubt that value
    would be held on my own computer!!!
    Feel free to lock//delete this if it is inapproopiate.
    Not necessarily. For example, World of Warcraft has a secondary anti cheat util running on the local computer entitled the Warden. This util normally scans your computer about every 15 seconds for any signs of cheating such as modifying the game memory etc. Evidently, there is a lot of code/data that can be modified for cheating purposes on the client.

  5. #5
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Yes, of course there is... You could fake data sent to the server.
    But cheating in MMOs is the worst thing you can do. It's fine to cheat, as long as it affects only yourself, but when it affects others... then there is a line that must be drawn. You shouldn't spoil the game for others.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #6
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by esbo View Post
    I know the thread has been locked and I may misunderstand what is being talked about,
    however it seems some guy wants to cheat at a game by changing the memory or something
    however it seems to me that such things which would allow your to cheat in a game would
    be stored centrally (remotely on a server) rather than on a players computer?
    I mean I might like to modify by money balance on a poke site, but I doubt that value
    would be held on my own computer!!!
    Feel free to lock//delete this if it is inapproopiate.
    With games, it is a trade off. Security is important, but it has to be balanced against responsiveness. If all game data was completely managed by the central server, too much data would have to flow back and forth. So decisions are made where to draw the line between what is managed centrally and what is managed on the client.

    In a game, the server typically "trusts" the client during the short term, but constantly monitors the game state to make sure it doesn't change in an unnatural way. For instance, if a client suddenly reports their position far from the previous frame, such that the speed they would have had to travel would be faster than their maximum speed. Etc.

    It is always possible to cheat in little ways. Mouse-looker software is one example of this. Ultimately, the real control on cheating is the players themselves. If a server is being perverted by cheaters, legitimate players will just go elsewhere.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Hardware Breakpoints
    By Hawkin in forum C Programming
    Replies: 14
    Last Post: 02-24-2008, 09:24 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM