Home int Arithmetic Error
Reply: 0

int Arithmetic Error

user1900 Published in May 23, 2018, 6:37 pm

This question already has an answer here:

  • C#: Why is 0xFFFFFFFF a uint when it represents -1? 4 answers
  • Compile Time Conversion of uint to int in C# 2 answers
  • Enum with int represented as hex values 1 answer

C# Arithmetic Error Image

I am cheating for The Forest game but I am getting an arithmetic overflow error. If I write the address as int, I get an error like in the picture how can I read 0x9B2D9BA4 + 0C

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;

namespace TheForest
    public partial class Form1 : Form

        public Form1()
        public static int address = 0x9B2D9BA4  +0C;
        private void Form1_Load(object sender, EventArgs e)


        private void button1_Click(object sender, EventArgs e)
            VAMemory vam = new VAMemory("TheForest32");

            bool check = vam.CheckProcess();
            if (check)
                stickLBL.Text = vam.ReadInt32((IntPtr)address).ToString();
            else {
                MessageBox.Show("Game is not work!");

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.450257 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO