Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 16:32

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



C# - SroProjekt 0.0001, My program dont show hp.

Discussion on C# - SroProjekt 0.0001, My program dont show hp. within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2011
Posts: 24
Received Thanks: 0
C# - SroProjekt 0.0001, My program dont show hp.

Hi, on first sory for me bad english ;//

I make program"SroProjekt" with friend and we have problem maybe any one know who is wrong ;/

Me program read hp from sro_client and i show it in labelZycie.text.

It is code C#:

Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Runtime.InteropServices;

i ready adress from Cheat Engine in Creed Online server Loki 80lv max

namespace SroProjekt
{

       public partial class Glowne : Form
    {
        public Glowne()
        {
            InitializeComponent();
        }

        class Memory
        {
            [DllImport("kernel32.dll")]
            static extern IntPtr OpenProcess(UInt32 dwDesiredAccess, Boolean bInheritHandle, UInt32 dwProcessId);
            [DllImport("kernel32.dll")]
            static extern bool ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress,
            byte[] lpBuffer, UIntPtr nSize, uint lpNumberOfBytesWritten);

            IntPtr Handle;

            //konstruktor 
            public Memory(string sprocess)
            {
                Process[] Processes = Process.GetProcessesByName(sprocess);
                Process nProcess = Processes[0];

                Handle = OpenProcess(0x10, false, (uint)nProcess.Id);
            }
            //Czytanie stringów 
            public string ReadString(uint pointer)
            {
                byte[] bytes = new byte[24];

                ReadProcessMemory(Handle, (IntPtr)pointer, bytes, (UIntPtr)24, 0);
                return Encoding.UTF8.GetString(bytes);
            }
            //Czytanie OffSetu 
            public int ReadOffset(uint pointer, uint offset)
            {
                byte[] bytes = new byte[24];

                uint adress = (uint)ReadPointer(pointer) + offset;
                ReadProcessMemory(Handle, (IntPtr)adress, bytes, (UIntPtr)sizeof(int), 0);
                return BitConverter.ToInt32(bytes, 0);
            }

            //Czytanie pointera 
            public int ReadPointer(uint pointer)
            {
                byte[] bytes = new byte[24];

                ReadProcessMemory(Handle, (IntPtr)pointer, bytes, (UIntPtr)sizeof(int), 0);
                return BitConverter.ToInt32(bytes, 0);
            }
        } 
       
        private void Glowne_Load(object sender, EventArgs e)
        {
            //sprawdzanie stanu procesu 
            Process[] tab = Process.GetProcessesByName("sro_client.exe");
            if (tab.Length == 0)
            {
                labelCzyWlaczono.Text = "Włączony!";
            }
            else
            {
                labelCzyWlaczono.Text = "Wyłączony!";
            }
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            Memory mem = new Memory("sro_client");
            int maxhp = mem.ReadPointer(0x00EEEDF0);
            labelZycie.Text = maxhp.ToString(); 
            int hp = mem.ReadPointer(0x14A9E944);
            labelZycie.Text = hp.ToString();
        }

        }

        }
Any one can help?
how i can show hp in me program from silkroad
aqua2to is offline  
Reply


Similar Threads Similar Threads
hacks « dont show
02/15/2012 - Cabal Online - 10 Replies
Stop use hack in front of all people, today i saw ppl using it in front of a lot of ppl in ch trade (full of players) do u want end for this? ...... guys pls, stop using it in front of ppl, use it in dung alone or at night, just dont show to other guys!!! hope u will think about this! i still need aoe hack btw and wall too and dmg is possible ^^
Ibot dont show server
02/05/2011 - Silkroad Online - 3 Replies
if i will use clientless ibot dont show server
Dont show Hacked HP
01/05/2010 - S4 League - 9 Replies
I wanted to know if there is a way to not show the incresement of hp for example i've puted 150 hp i want it to show like i have 100 or so ingame. Is there a way to do that? Also is there a way to make the rest see like the bar over my head like it's deplated at 100 hp but that there is actually more like if i lag or something?
plz help me with my CR console dont show up
07/16/2008 - Cabal Hacks, Bots, Cheats, Exploits & Macros - 6 Replies
please help me fix my CR prog..the cr console did not come out...id try to log on many times but the console did not appear..but when i close the game an error shows always this is the error.. cabalMain.exe - Application Error The instruction at "0x100bd714" reference memory at "0x98826c00",The memory could not be "read".
[HELP]Hide/Show program in taskbar.
04/18/2008 - General Coding - 2 Replies
Yo, I want too make a program just too hide/show any program inserted in a textbox from the taskbar. So it bassicaly is just one button and a textbox. I searched 3 days on google for any tuts on this but didn't find anything. If anyone can explain me clearly how i can make such a function, i would really appreciate it.:o (I am known with Visual Basic 2008 Express, and a little bit of C++ with visual C++ 2008)



All times are GMT +2. The time now is 16:32.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.