Mirage Source
http://miragesource.net/forums/

Level Viewer v2 [Tool] by BrandiniMP (6/10/07)
http://miragesource.net/forums/viewtopic.php?f=210&t=2061
Page 1 of 3

Author:  BrandiniMP [ Fri Jun 15, 2007 11:41 am ]
Post subject:  Level Viewer v2 [Tool] by BrandiniMP (6/10/07)

Level Viewer v2
by BrandiniMP


Basically, this tool will read all the accounts in the accounts folder (Server\Accounts) and will list all the highest level from each account in descending order, so you can see the top players and the character with the best level from each account.

When the level is 0 and there is an X in the Char No. Column it means that there are no characters present in that account.

and version 2 supports unloading of the data to a website to be read by PHP to display the users, enjoy.

Image

Compiled (v1.4):
Download Now...

Source (v2):
Download Now...
You may use the source freely as long as i am mentioned as the creator.

Note: this must go in the Server folder (although the server folder doesn't need to be called Server) and this DOES NOT WORK WITH BINARY ACCOUNTS YET.

*Post updated*

Author:  Matt [ Fri Jun 15, 2007 1:04 pm ]
Post subject:  Re: Level Viewer v1.4 [Tool] by BrandiniMP

Most people here have binary accounts.

I'm not complaining, as it's REALLY simple to make this work with binary accounts. Just letting you know.

Nice job though. Spoon did something like this for PW a long while back.

Author:  Robin [ Fri Jun 15, 2007 1:06 pm ]
Post subject:  Re: Level Viewer v1.4 [Tool] by BrandiniMP

Yeah, 'cause this wouldn't be more useful in the server :roll:

Author:  BrandiniMP [ Fri Jun 15, 2007 1:24 pm ]
Post subject:  Re: Level Viewer v1.4 [Tool] by BrandiniMP

well i only made it because a friend needed something to show the highest levels for each account, so after i made it i thought i would post it, and i couldnt really be bothered to do binary accounts i might do it some other time if i can be bothered

Author:  Matt [ Fri Jun 15, 2007 1:40 pm ]
Post subject:  Re: Level Viewer v1.4 [Tool] by BrandiniMP

I might download it and add it for you. If I get the time.

Author:  BrandiniMP [ Fri Jun 15, 2007 2:29 pm ]
Post subject:  Re: Level Viewer v1.4 [Tool] by BrandiniMP

cool, i really cant be bothered, personally i think binary is a waste of time, its harder to edit manually and it is only like .5 seconds faster

Author:  Robin [ Fri Jun 15, 2007 2:37 pm ]
Post subject:  Re: Level Viewer v1.4 [Tool] by BrandiniMP

BrandiniMP wrote:
cool, i really cant be bothered, personally i think binary is a waste of time, its harder to edit manually and it is only like .5 seconds faster


Oh, yeah, 'cause we all add binary accounts because it's faster :roll:

The only thing that's faster is editing accounts, because having an editor is faster than scrolling through an ini file.

Author:  Matt [ Fri Jun 15, 2007 2:47 pm ]
Post subject:  Re: Level Viewer v1.4 [Tool] by BrandiniMP

At least if someone gets ahold of the accounts, they'll have a really hard time hacking them.

Author:  Verrigan [ Fri Jun 15, 2007 4:17 pm ]
Post subject:  Re: Level Viewer v1.4 [Tool] by BrandiniMP

If changing to binary is only .5 seconds faster, you're doing something wrong.

If you have multiple files, I can see this, since it takes longer to open each individual file than it does to read linearly through a single (or multiple) large file(s) (depending on the byte-size, and number of objects being saved..). However.. even multiple files in binary open and read 10x faster than ini files.

Author:  Lea [ Fri Jun 15, 2007 8:41 pm ]
Post subject:  Re: Level Viewer v1.4 [Tool] by BrandiniMP

More than 10x if you ask me.

Obscurity is not security. Remeeber that.

Author:  Matt [ Fri Jun 15, 2007 8:51 pm ]
Post subject:  Re: Level Viewer v1.4 [Tool] by BrandiniMP

Dave wrote:
More than 10x if you ask me.

Obscurity is not security. Remeeber that.


If that was to me, trust me, I know it's not security. But it would make the person have a hard time hacking his account or someone else's account to cheat and such.

Author:  Rezeyu [ Fri Jun 15, 2007 8:59 pm ]
Post subject:  Re: Level Viewer v1.4 [Tool] by BrandiniMP

"Anti Wannbe Black-Hat Script Kiddie protection"

Author:  Fabzy [ Sat Jun 16, 2007 9:34 am ]
Post subject:  Re: Level Viewer v1.4 [Tool] by BrandiniMP

Has some 1 made this for binary accounts yet ?

Author:  Robin [ Sat Jun 16, 2007 1:26 pm ]
Post subject:  Re: Level Viewer v1.4 [Tool] by BrandiniMP

No.

And it's not bloody hard.

If you actually typed in binary accounts yourself and understood it instead of copying and pasting...

But of course, you didn't do that :roll:

Author:  Matt [ Sat Jun 16, 2007 4:06 pm ]
Post subject:  Re: Level Viewer v1.4 [Tool] by BrandiniMP

I prolly won't get around to doing this anytime soon. So if someone else wants to do it, it'd be easy. Just make it load the accounts the same way MS does with binary, and then load the level crap and such.

Author:  BrandiniMP [ Tue Oct 16, 2007 1:21 am ]
Post subject:  Re: Level Viewer v2 [Tool] by BrandiniMP (6/10/07)

*post updated*

added binary support at last, and ftp uploading + php example site

enjoy :)

Author:  Coke [ Tue Oct 16, 2007 11:51 am ]
Post subject:  Re: Level Viewer v2 [Tool] by BrandiniMP (6/10/07)

All my experiences with Mirage, .ini servers seem stone age in comparison to ones using binary accounts... the entire create char/login process is 238472489728947x quicker, and it makes you look like you have an elite server :]

Author:  William [ Tue Oct 16, 2007 1:13 pm ]
Post subject:  Re: Level Viewer v2 [Tool] by BrandiniMP (6/10/07)

Fox wrote:
All my experiences with Mirage, .ini servers seem stone age in comparison to ones using binary accounts... the entire create char/login process is 238472489728947x quicker, and it makes you look like you have an elite server :]

I never noticed any speed improvements with binary, eventhough it speeds it up a lot. And the accounts are only loaded onse and the extra 0.5s that it might take aint that big of a deal.

Author:  BrandiniMP [ Tue Oct 16, 2007 1:30 pm ]
Post subject:  Re: Level Viewer v2 [Tool] by BrandiniMP (6/10/07)

Major wrote:
Fox wrote:
All my experiences with Mirage, .ini servers seem stone age in comparison to ones using binary accounts... the entire create char/login process is 238472489728947x quicker, and it makes you look like you have an elite server :]

I never noticed any speed improvements with binary, eventhough it speeds it up a lot. And the accounts are only loaded onse and the extra 0.5s that it might take aint that big of a deal.


thank you, this is what ive been saying, the .5s isnt that noticeable, but hey, i suppose people may want to use it.

Author:  William [ Tue Oct 16, 2007 1:41 pm ]
Post subject:  Re: Level Viewer v2 [Tool] by BrandiniMP (6/10/07)

Yeah, of course MS needs all the optimizations it can get. So if you know binary, then you should add it.

Author:  BrandiniMP [ Tue Oct 16, 2007 2:54 pm ]
Post subject:  Re: Level Viewer v2 [Tool] by BrandiniMP (6/10/07)

but then again, you dont have to, especially if your lazy or you use ReadINI (GetVar) and WriteINI (PutVar) alot

Author:  William [ Tue Oct 16, 2007 2:59 pm ]
Post subject:  Re: Level Viewer v2 [Tool] by BrandiniMP (6/10/07)

BrandiniMP wrote:
but then again, you dont have to, especially if your lazy or you use ReadINI (GetVar) and WriteINI (PutVar) alot

Yeah, it's obviously much easier to handle ini files than binary. And much more affective since the editing is so much simpler. :P

Author:  Lea [ Tue Oct 16, 2007 3:11 pm ]
Post subject:  Re: Level Viewer v2 [Tool] by BrandiniMP (6/10/07)

Changing to binary accounts makes the server get players into the game much faster, and it all-but eliminates Saving All Players lag.

Having the other data-types as binary files speeds the booting and saving of the datatypes, but has no effect on the actual preformance of a vanilla MS. If you were to modify MS to load things as they're needed, it would have a large effect.

Author:  James [ Tue Oct 16, 2007 6:09 pm ]
Post subject:  Re: Level Viewer v2 [Tool] by BrandiniMP (6/10/07)

I noticed speed instantly. It used to take up to like 5-10 seconds to create a character and login, but now its almost instantaneous from when you hit login or add character. ;) And saving goes a lot smoother, especially when you add PBs way of saving.

Author:  Nean [ Fri Jan 02, 2009 6:31 am ]
Post subject:  Re: Level Viewer v2 [Tool] by BrandiniMP (6/10/07)

This is a huge necro-post, but with a few changes around and whatnot, I got a program to check for hacked currency on a game I'm an admin/programmer on... One player had 2615041 moniez... Hahaha, great app, and thanks a lot!

Page 1 of 3 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/