Plvl Pal

12/24/2008 07:56 Origonal#16
Quote:
Originally Posted by BEanErzzz View Post
Fixed your timer function. It won't crash when co exits now. and disables timer.
Code:
        private unsafe void timer_Tick(object sender, EventArgs e) {
            if (curProcess.HasExited == false) {
                pReader.ReadProcess = curProcess;
                pReader.OpenProcess();
                byte[] bytesLev = pReader.ReadProcessMemory((IntPtr)CHAR_LEVEL_ADDRESS, 1, out bytesReaded);
                lblLevel.Text = "Level: " + bytesLev[0];
                byte[] bytesExp = pReader.ReadProcessMemory((IntPtr)CHAR_EXPERIENCE_ADDRESS, 8, out bytesReaded);
                lblPercent.Text = "Percent: " + convert.ConvertToPc(bytesLev[0], BitConverter.ToUInt32(bytesExp, 0)) + "%";
                pReader.CloseHandle();
            } else {
                lblLevel.Text = "NULL";
                lblPercent.Text = "NULL";
                ((Timer)sender).Enabled = false;
                fetchAndDisplayAccounts();
            }
        }
Thanks for pointing out the HasExited property, I think i have been programing in java for to long and have goten used to having a downloaded API sitting on my desktop and am unfimiliar with some of the C# ways of doing things, I will be making a revised edition with tidy code later because people seem to be using it.

@michaelcao, this is a very simple application and im surprised my instructions in the first post wernt good enough. Simply run the application with administrative priviliges, click the Fetch accounts button, select the account you wish to monitor and hit the Go/Stop button and it will display the level and percent. I really cant explain it better than that, this tool is for people who do water farming and who dont want to constantly ALT+TAB back to the water babies window to check the percent.

@everyone, I would like to make this program compatible with this CID proxy program but I will implement the mini-map thingy first. As i said, i have no idea what to expect with CID proxy, tho it might be something like different memory addresses, if someone can check to see if the following memory addresses are correct whilst using CID proxy that would be a great help.

Character Name: 0x5DAA38
Character Level: 0x5DB470
Character EXP: 0x5DB490
12/24/2008 08:36 BEanErzzz#17
Code:
public string ConvertToPc(int level, uint exp) {
            if (level < expReq.Count) {
                uint[] fullRequirement;
                fullRequirement = expReq.ToArray();
                uint required = fullRequirement[level - 1];
                double percent = Convert.ToDouble(exp) / Convert.ToDouble(required);
                percent *= 100;
                return percent.ToString("#.###");
            } else {
                return "Unknown";
            }
        }
that solves your error there too. Removes one mote try catch
Add my msn or something so I can help ya. I've been playing with it a bit.
12/25/2008 02:48 zuzu.zuzu.zuzu#18
how you put the caracters in program ?
12/25/2008 04:37 Origonal#19
Quote:
Originally Posted by zuzu.zuzu.zuzu View Post
how you put the caracters in program ?
im gona go ahead and assume that you want to know how to populate the combo boxes with your characters names. you hit the fetch accounts button. you must be running as a administrator. you must have .Net 2.0 or higher. you must not be running CID proxy.

also, i have just released a new version that meets all my origonal goals, see first post for details. :)
12/25/2008 08:27 360xbox360#20
Origonal<----- dude u are a legend ive been waiting for something like this for at least 4 years lol, ive done alot of water farming in my time :P. Thanks a great deal u just saved me a alot of time and money if u think about it :D. Great idea to make this little program and definitely worth a thanks and a post to say how brilliant u are ha ha. Thanks again
12/25/2008 20:30 Origonal#21
From the first post:

Quote:
Originally Posted by Origonal View Post
to those that have told me that it dosnt work with CID proxy. It does...i just tried it! It reports incorrect coords sometimes but they are still relative to each other and the mini-map works correctlly! Make sure that you are running PlvlPal as a administrator and that you have .Net 2.0 or greater.

@360xbox360, good to hear your finding it useful :) tho im not sure how its going to save you any money lol
12/27/2008 13:55 dude1665#22
yo..im new can eny1 tell me what this actualy does? :P
12/28/2008 13:46 Diabolik777#23
Quote:
Originally Posted by dude1665 View Post
yo..im new can eny1 tell me what this actualy does? :P
man go to first page and :rtfm:
12/29/2008 13:50 RitechD#24
it seems to be running on CIDproxy.... im using it now.... thanx... :D
12/30/2008 22:30 Blu3Touch#25
Great Job! Helps so much when plvlin
12/30/2008 22:50 lwdthe1#26
is this a auto clicker?
cuz they r illegal n send u straight to jail
01/02/2009 20:38 Origonal#27
no its not a auto clicker, and i wont get you sent to bj. all it does it read the CO process for information.
05/13/2009 13:03 fiendbr#28
any one go update this good program??
05/18/2009 23:07 skL#29
Quote:
Originally Posted by Arren View Post
Beutifull job bro. ;-) Will help me soon,as im planning to be 126 in 10dayz xD
pls help me i understent.i didnt know to use it
06/22/2009 19:31 9696jojo#30
hmm i tried do i need download conquer online on new???