CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Other Programming > Assembly
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Assembly Questions and Answers for Assembly here!

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old October 12th, 2004, 06:29 AM
    Omni Omni is offline
    Junior Member
     
    Join Date: Oct 2004
    Posts: 5
    Omni is an unknown quantity at this point (<10)
    Post De-Compiling A Game

    I currently play an online game. This game some time ago released a copy of the server files used to run the game as it was going into liquidation. Since then the company has been taken over and put back on its feet and upgraded the game significantly changing many of the main workings of the game.

    One thing however i suspect has not been changed is a system to add a certain "statistic" to a weapon.

    This is a "luck" statistic and an item is used to do this, basicly you use an item and you have 3 possible outcomes (Luck, No Effect, Curse - worst). Getting higher than luck+1 is quite dificult and can sometimes require alot of this item to do so.

    Some people belive that it is purely luck which effects your chances of getting luck, no effect or curse. Others however belive their is some type of "karma" system in the game which has certain variables which are effected by other things in the game.

    Some people think it is simply a % chance and the % change of getting luck gets smaller the higher your current luck is e.g.

    No luck = 95% chance of luck
    Luck+1 = 30% chance of luck
    Luck+2 = 20% chance of luck
    Luck+3 = 10% chance of luck
    Luck+4 = 5% chance of luck
    Luck+5 = 2% chance of luck

    etc... up untill whatever the game limit is (current highest ever seen is luck+6)

    So basicly i would like any tips on how i can get started on decompiling the server files and the version of the client so i can find the command which deals with this specific event (the use of the luck item "benediction oil").

    Once i find the exact forumla i can then see if any other variables effect it and take it further to see what effects thos variabls etc...

    I have some experiance with this type of thing and once i get home tonight i will be trying one thing would you think this is the right way to go...

    Converting the files (client and individual server files) into binary code and then somehow converting that code into readable text? Then simply searching the code for the forumla.

    I dont know what it was coded in so im not sure if i should try any specific decompiler.

    Any further advice would be great, thanks in advance.
    Mike
    Reply With Quote
      #2    
    Old October 12th, 2004, 06:33 AM
    Omni Omni is offline
    Junior Member
     
    Join Date: Oct 2004
    Posts: 5
    Omni is an unknown quantity at this point (<10)
    Re: De-Compiling A Game

    eeek just noticed this is one of the least viewd forums so im gonna post this in another forum as i know from experiance of using other forums that its doubt full ill get the responce i want from this thread if its in this section.
    Reply With Quote
      #3    
    Old October 17th, 2004, 03:49 AM
    indiocolifa's Avatar
    indiocolifa indiocolifa is offline
    Member +
     
    Join Date: Dec 2002
    Location: La Plata, Buenos Aires
    Posts: 604
    indiocolifa is on a distinguished road (30+)
    Re: De-Compiling A Game

    you can try with IDA Pro dissasembler, it's great, but note that if the binary doesn't have any debugging information, it's harder to hack. Probably it's a 'release' exe so the debug information is stripped, so you'll have a hard time seeking what you want.

    But try it and learn...

    Good Luck!

    Cheers
    __________________
    Visit my page: http://usuarios.lycos.es/hernandp and my blog... http://hernandp.blogspot.com
    Reply With Quote
      #4    
    Old October 17th, 2004, 03:50 AM
    indiocolifa's Avatar
    indiocolifa indiocolifa is offline
    Member +
     
    Join Date: Dec 2002
    Location: La Plata, Buenos Aires
    Posts: 604
    indiocolifa is on a distinguished road (30+)
    Re: De-Compiling A Game

    a free disassembler (also GREAT) is OllyDbg.

    IDAPro is commercial, sorry.
    __________________
    Visit my page: http://usuarios.lycos.es/hernandp and my blog... http://hernandp.blogspot.com
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Other Programming > Assembly


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 12:53 AM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009