statistics
People Online: 14
Today's Visitors: 65
Total Visitors: 3,793,371
May 22, 2012, 10:27:57 PM
Shoutbox
   
 
[DevTeam] [Zeke]: I love that I get emailed when someone reports spam on the boards, but I can't do anything about it.
[DevTeam] [Nachonut]: lol i got you
[DevTeam] [Astaldo]: How about "hide email address from public checked" and it's still visible in all my posts...
[DevTeam] [Astaldo]: I'd delete my account on this site, but by the time I realized the problem half the spambots on the planet had it already
[Developer] [Pazza]: Astaldo if you log out and view your profile with a refresh you'll see that your email is hidden.
[Developer] [Pazza]: Your user level on the forums permit you to see emails even though they are marked hidden.
[DevTeam] [Astaldo]: Ah.. thanks for the clarification and apologies for "crying wolf" in that case :
[DevTeam] [Kaidenn]: PAZZA! i miss you.
[DevTeam] [Nachonut]: Lol, it's funny how it takes spam message reports to get me to come back
[DevTeam] [sylvanaar]: Check out the beta tester forum. Need alpha testers and feedback so I can come up with a maintenance plan.
[Developer] [Pazza]: loaded some new spam prevention modules... lets see if this stops the bastards.
[DevTeam] [Maziel]: Thought I'd check in and say Howdy Doody from Australia
[DevTeam] [Maziel]: Yeah the spam from shoes salesmen was becoming insane
[Guest] [Delakando]: What ever happened to the ability to track friend's location by wim? Other then just showing their general zone location.
Zeke pokes his head around the corner.
[DevTeam] [Zeke]: Anybody home?
[Guest] [Theillur]: I would like to know if it is just me.
[Guest] [Theillur]: http://www.wimaddon.com/forums/index.php/topic,1796.0.html
[Guest] [Nev]: I'm here
[Guest] [Nev]: I don't think anyone else is though
[Guest] [tomasio]: great site [url=http://freeonlinemusicvideos.net].[/url] [url=http://freepeopleclothing.org].[/url]
[Guest] [Theillur]: Nev it is not working for Zeke as well.
[DevTeam] [lothaer]: im here
[DevTeam] [lothaer]: ...
lothaer yawns sleepily.
[DevTeam] [lothaer]: sooooooooooooooooo
[Guest] [j3ff]: Hello. It is very quiet. I would love a response to my thread directly below your "Been very quiet" thread!
[DevTeam] [lothaer]: Check out my new post in the Skins forum
[DevTeam] [lothaer]: Posted a new download in the skins forum check it out
[DevTeam] [lothaer]: Zeke, Maziel, Pazza, Nachonut, sylvanaar, Kaidenn, Astaldo where are you?
[DevTeam] [lothaer]: It would be a real shame if WIM was left to die.
[DevTeam] [lothaer]: i think these forums are dead, Sylvanaar dosnt post on them as he only bug fixes when possible. WIMs future isnt very bright
[Guest] [justgiz]: Yea, its rather sad.
[Guest] [silvercola]: I wish it had skype
[DevTeam] [lothaer]: noy possible for a addon to do.
[DevTeam] [lothaer]: ...........
[Guest] [elzershark]: where is the download file?
lothaer beckons everyone over to you.
[DevTeam] [lothaer]: has anyone been able to take WIM to the beta yet?
[DevTeam] [lothaer]: PTR*
[DevTeam] [Maziel]: *sticks head up and looks around*
lothaer cries.
[DevTeam] [lothaer]: who the hell flagged my post as spam?
[Guest] [primalforce]: Hey guys
[DevTeam] [lothaer]: hello Primalforce.
[DevTeam] [lothaer]: PAZZA COME BACK!!!
[DevTeam] [Nachonut]: Ahhh memories
[Guest] [Ignis]: wtb update
[DevTeam] [lothaer]: soooo.....
Pazza starts to complain... Kinda reminds you of Sloans dont it?
 
   
   
News: World of Warcraft v4.0.1
 
Pages: [1] 2
Print
Author Topic: WIM Log Viewer  (Read 4401 times)
Alleidun
Newbie
*

Karma: +2/-0
Offline Offline

Posts: 13


View Profile
« on: February 14, 2009, 09:08:27 AM »

Hey guys 'n gals.

I saw a post in this forum regarding watching the log files outside of wow, and the user was pointed in the direction of notepad++ or just viewing the wim.lua file with any viewer capable.

For some time I've been looking for some small project to get me started with programming again, and thought that a WIM Log Viewer might just be the thing.

I've already started with it, but already now I'm in a bit of a pickle.

I made a welcome screen which states that the WIM Log Viewer file must be located in the wow.exe (World of Warcraft) folder and then you'll have to enter an account name for it to locate the right SAVEDVARIABLES folder. After taking a break from the programming I came to realize that this solution might make people think it's a possible keylogger since you'll have to enter your account name.


What's your idea on this ?
Should I continue with this approach or do you have any other ideas to it or maybe see if it can figure out the accountname's itself, by looking into the WTF folder for additional folders. Don't know if this is possible with Visual Basic and .NET 3.5?

If you want to see what I'm taking about, I have a debug file placed here divinepurpose.eu/wimlv.exe


PS: Pazza I hope you don't mind me using your favicon for the program Smiley
Logged
Pazza
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« Reply #1 on: February 15, 2009, 09:06:27 PM »

I don't mind and the point you brought up is mainly why i haven't develed into making a viewer. However... If you made it in Java it might be safer. as an added security you might want to bundle the source code as well so you prying eyes can see that the code itself is indeed safe.

You don't need to enter it in the WoW directory either. WoW throws a reference in the registry as to where the game is being run from last. This is a good way for your app to learn where to begin. From there I would just scan the WTF folder for account names.

Hope that points you in the right direction. as far as VB and .Net. I wouldn't be able to test it out for you. I am on a mac and don't have WoW running in a virtual machine (win).
Logged

My hobbies consume way too much time :-).
Alleidun
Newbie
*

Karma: +2/-0
Offline Offline

Posts: 13


View Profile
« Reply #2 on: February 16, 2009, 10:00:58 AM »

I would really like to stay to VB and .Net since it's the language I have the most knowledge of. Only programmed Javascript, which is not the same as Java, but still a bit like it.

As far as source code, when I get to a point that I really have something to show, I'll release that too. Not only for people to see my crappy programming skills, but also for their own security.

I thought about the registry thing earlier and will look into it right away.
Logged
Alleidun
Newbie
*

Karma: +2/-0
Offline Offline

Posts: 13


View Profile
« Reply #3 on: February 16, 2009, 11:05:58 PM »

I went for the registry method, and now you're able to choose between the different account names in the WTF folder.

And I've also made it read the wim.lua file into the program. Now comes the hard part, programming the parser.

The current progress can be found at http://divinepurpose.eu/WIM Log Viewer.exe
Logged
Alleidun
Newbie
*

Karma: +2/-0
Offline Offline

Posts: 13


View Profile
« Reply #4 on: February 26, 2009, 10:12:52 AM »

A quick question, do you have any idea of how to convert the time string into a usable format for .NET.

I've been looking through the net and searched for lua date time to .NET, and haven't found anything.
Logged
Pazza
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« Reply #5 on: February 26, 2009, 03:29:03 PM »

I'm sure .NET has something for it. It is the number of seconds since EPOC, Jan 1 1970 00:00:00. I think this is a standard now in the computer world.

remember, google is your friend.
Logged

My hobbies consume way too much time :-).
Alleidun
Newbie
*

Karma: +2/-0
Offline Offline

Posts: 13


View Profile
« Reply #6 on: February 26, 2009, 11:46:00 PM »

Aah EPOC, now that helped Cheesy

Thx a bunch, I think I might just now the solution.

I hope I will have a fully functional version running before the end of this weekend Smiley
Logged
Alleidun
Newbie
*

Karma: +2/-0
Offline Offline

Posts: 13


View Profile
« Reply #7 on: March 08, 2009, 02:31:53 AM »

A weekend late, but it's working.

It is now possible to view the different posts and characters.

All I need to do now is tidy up the code, make the filter working, haven't started on it yet.

Check it out and post back with any bugs, if you experience any.

File: http://divinepurpose.eu/WIMLogViewer.exe
Logged
NachoNut
Global Moderator
Sr. Member
*****

Karma: +6/-1
Offline Offline

Posts: 319


View Profile
« Reply #8 on: March 08, 2009, 12:46:41 PM »

Just tested it out. gotta say i'm impressed.  Only thing that's funky is item links, but that's a given.

Great job
Logged
Alleidun
Newbie
*

Karma: +2/-0
Offline Offline

Posts: 13


View Profile
« Reply #9 on: March 08, 2009, 08:30:18 PM »

Yearh, that's a bit of a hurdle with the item links.

I know of another bug also, if there are any { or } in the ["msg"] variable from the lua file, this also breaks the parsing.
As I use them for positioning to gather the different content.
IE:
Pos 1 = Server
Pos 2 = User
Pos 3 = Character
Pos 5 = Msgs

Are there any way you can put in a replace of what people enter, so that { and } becomes /{ /} in the ["msg"] that way I can tell regex to avoid those.
Logged
Pazza
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« Reply #10 on: March 08, 2009, 09:44:41 PM »

Maybe a better approach would be to embed lua into your project. this way you can import the lua file, and use API to talk between your app the lua. I personally have never tried such a feat but I know its possible since thats what lua was designed for.

Other than that, Does if have regular expressesion? that might help. Otherwise, you really need to write a parser. which is not fun at all.
Logged

My hobbies consume way too much time :-).
Alleidun
Newbie
*

Karma: +2/-0
Offline Offline

Posts: 13


View Profile
« Reply #11 on: March 09, 2009, 10:03:43 AM »

It doesn't matter, I figured it out earlier, or I already knew of a way to do it, but that took too long, but figured out an easy and fast way to do it.

Anyways, there's is one thing I have a question about.

The chars you write with, is it possible to save their class in the lua file ?

I've looked into luainterface, but decided to stick with what I've written so far. And yearh I do use regular expressions.
I figured out an easy way to replace all { } to /{ /} in the lines that start with ["msg"] , and then the regular expression will ignore those when finding all the positions of { } .
Logged
Pazza
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« Reply #12 on: March 09, 2009, 10:40:43 AM »

hmm... I suppose I could cache the data in a seperate table... data received from the wholook up... they you can cross reference that... i'm trying to keep redundant data out of the history table as it can grow in size quite quickyly...
Logged

My hobbies consume way too much time :-).
Alleidun
Newbie
*

Karma: +2/-0
Offline Offline

Posts: 13


View Profile
« Reply #13 on: March 09, 2009, 11:47:00 AM »

Yearh I've noticed the size, and also the time it takes to fiddle with it. I'm trying my best to keep my application use as less memory and time as possible when parsing the data.

But the reason I'm asking is, when I get to a point where the core has been programmed, meaning I got all the functions of the in-game history viewer, I'd like to make some extra functions for the log viewer. Such as the following.

- Colorize names after class.
- Font change to the content area
- Font size change to the content area
- Copy selected line into clipboard as BBCode, hence the colorize names after class.

Currently all the code is put into the standard event handlers in Visual Basic, this I have to change into functions and then, yearh as previously written, tidy up the code for easier understanding and also easier implementation of extra functions.
Logged
Alleidun
Newbie
*

Karma: +2/-0
Offline Offline

Posts: 13


View Profile
« Reply #14 on: March 15, 2009, 02:53:02 AM »

A new update ready.

Updates / Changes
- Welcome popup changed to plain account name chooser
- Integrated account chooser into the rest of the application, so that you have the ability to change account while the application is running.
- Coloring of lines. <- Msg's are black, and -> Msg's are slightly grey.
- Added keypress functionality. + = Font size up, - = Font size down, 0 = Reset font size
- Added Maximize to the application. You're now able to maximize the application.
- Added Filtering


File:
http://divinepurpose.eu/WIMLogViewer3.exe
Logged
Pages: [1] 2
Print
Jump to:  

You must be logged in to send a message to the shout box.
     
  test stamp