| View previous topic :: View next topic |
| Author |
Message |
Immons How do I cheat?
Reputation: 0
Joined: 21 May 2011 Posts: 9
|
Posted: Thu Jun 02, 2011 6:21 am Post subject: |
|
|
OK folks, don't argue, please
@darkjohn20
The main problem is that using only L2 as a process name, without extension, I DO NOT get handle. I have to use it WITH extension.
The other thing is that I put the code that I posted to the test project and... It did have NO problem reading from memory ! Only when I paste SAME code(ctrl+c, ctrl+v)into my SpamerCP it returns null reference exception !
Btw, reading from .bin shouldn't work ? Only .exe is supported ?
@edit
Well, still need to use L2.bin(with extension)but I got why there was NullReferenceException... I was debugging project for "Any platform" while it had to be x86 ... don't know why, maybe someone will enlighten me ?
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
Posted: Thu Jun 02, 2011 1:42 pm Post subject: |
|
|
| Quote: |
Btw, reading from .bin shouldn't work ? Only .exe is supported ?
|
Reading from bin will work fine. The file extension is just changed, the overall file is still an executable.
As for your "Any platform" problem, if you are on an x64 machine and compile a project as 'Any platform', Visual Studio uses your current system setup as the default. Meaning you will always compile as x64. L2 is not written as an x64 process therefore you get cross-platform access issues.
You are better off never using "Any Platform" and always designing for a targeted platform. If you wish to design for x64 as well, create a new project build mode specifically for it then.
_________________
- Retired. |
|
| Back to top |
|
 |
KryziK Expert Cheater
Reputation: 3
Joined: 16 Aug 2009 Posts: 199
|
Posted: Thu Jun 02, 2011 1:45 pm Post subject: |
|
|
| Ah, alright, I wasn't familiar with .bin files. Now I know!
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
Posted: Thu Jun 02, 2011 1:50 pm Post subject: |
|
|
| darkjohn20 wrote: | | Ah, alright, I wasn't familiar with .bin files. Now I know! |
This isn't the same across the board for any file named .bin, this is just specific to Lineage. Not every .bin file will be an executable. It can be whatever the developer decides to rename to that extension.
_________________
- Retired. |
|
| Back to top |
|
 |
KryziK Expert Cheater
Reputation: 3
Joined: 16 Aug 2009 Posts: 199
|
Posted: Thu Jun 02, 2011 1:51 pm Post subject: |
|
|
| Wiccaan wrote: | | darkjohn20 wrote: | | Ah, alright, I wasn't familiar with .bin files. Now I know! |
This isn't the same across the board for any file named .bin, this is just specific to Lineage. Not every .bin file will be an executable. It can be whatever the developer decides to rename to that extension. |
Ahh, makes sense. Thanks!
|
|
| Back to top |
|
 |
troxan How do I cheat?
Reputation: 0
Joined: 02 May 2012 Posts: 4
|
Posted: Fri May 04, 2012 12:46 pm Post subject: |
|
|
Hi, i ve used the code from the 3rd post. Now i got a pub int Maxhp and a pub int CurrenHp. How can i get the values of my pointers out from the public intīs? or how can i rewrite the code to get values?
i want to use it with this:
If (currHP <= maxHP & currHP >= 0) {
ProgressBar1.Maximum = maxHP;
ProgressBar1.Value = currHP;}
Sorry my C# skills are very low i hope some one can help me out.
SOLVED /
lol just call the method.......
my next question is how to put text onto the bar?
i know im a newbie^^
|
|
| Back to top |
|
 |
|