Whiplash Claims - Handmade Jewellery - Jewellery - Whiplash
KMOD Diagnostic Tool...Awating Authorization from PL's [Archive] - KMOD: Nations at War Community Forums

PDA

View Full Version : KMOD Diagnostic Tool...Awating Authorization from PL's


Sgt. D. Pilla
06-20-2007, 05:01 PM
MK, so I FINALLY made it, A program which the help and support peoples can hand out (provide link/download) when offering assistance as a first step in diagnostics...
What it does is the user navigates very easily to the place they installed COH, then into the KMOD folder, they click the Auctions button, and it will dump EVERY FILE NAME,, and SUB FOLDER NAME, into a .txt document, so that if the helping person suspects an error in a certain location, they can easily look through the log file to find the problem. If all is correct, we can rule out an incorrect installation of KMOD, and look towards the shortcut OR COH install/patches.

I have uploaded it for you people to look at to decide weather to use it as an offical tool for KMOD.

http://cdc.fiffa.net/ForumItems/Uploads/UploadedFiles/KMOD_NAW_Diagnostic_Tool.zip

whitewolfmxc
06-20-2007, 05:22 PM
Thats great mate ! XD but is it accurate enough to help you guys to solve the errors ?

Madturnip
06-21-2007, 12:02 AM
isn't this code that is avail public domain for Visual basic? I could swear I have seen this same example code/form available on HOW TO's for visual basic. If this is the case, and i could be wrong, I don't think we should place our / or your's/ copyright on it.

If I am wrong, which I could be, then I say it's a step in the right direction. I can beef it up for you if you'd like and make it more functional.

Sgt. D. Pilla
06-21-2007, 04:33 AM
Madturnip

You are wrong, yet right :D, I posted for some advice on plantsourcecode.com, and a guy said he would send me a program he made, and i edit the code how I wanted to, so the program would do what i want.
He also said that since my moddifyed code wasnt his original product, that I could place a copywright of my own on it :D

So the guy knows he's even seen the code, and has said he has no problem at all with it...All I have to do is ensure I have that it was moddifyed of his code, which I forgot to add in, but will do when I get home (simple change a caption)

Madturnip
06-21-2007, 05:47 AM
Right on... I know I have seen this, similar almost the same, FORM setup for VBasic online before. Was just wondering.

Sgt. D. Pilla
06-21-2007, 01:55 PM
Mk...Ive been working through the code an ive optimized it a bit in terms of speed, as well as taken out ALOT of useless code, Ive added a few more convienent features, and a help page...Like before you had to search the folder (search button) to save folders, it will automatically search APON saving now.

Also, It produces 1 small bit of information in the log file now which is the total files, (so we can compare to a WORKING text file)

Ive decided against removing the search criteria section as the helping person may want to just look at the persons .lua files or .module file, or even .locale file....
Im working on 1 more feature then i will upload another version and paste the new link for you guys

Ive also added in the comment for the programs icon, it says "KMOD Dev. Team"

If someone could create an icon for the program that would be great :D

Sgt. D. Pilla
06-21-2007, 02:16 PM
@whitewolfmxc

yeah, it is quite accurate, and now Ive added in more functionality and features, it will be easier to quickly compare a "suspect" file and a "working" file....

Im also TRYING to add in a feature or make a new program that the Dev. Team dont hand out which will compare the contents of a .txt file and the file size, and if they are excatly the same, we can rule out with 90% assurance that it isnt KMOD being odd :D....
So if i can have this new program made (or find one) within tonight it will be all good an ready to go, (if its authorized) (still awating authorization)

whitewolfmxc
06-21-2007, 03:49 PM
XD great im sure the program will help the team a lot ! XD also can you have a look at my Tank LOS post ? theres some technical issues i want you to have a look if its possible

FiffA
06-21-2007, 04:53 PM
* Approved *

Yes this would be useful, easier to do the helping :)
And it will help calm down all the short posting, because we are all asking about things (where u installed KMOD and so on) :D

Good job Pilla !

Sgt. D. Pilla
06-21-2007, 07:40 PM
http://cdc.fiffa.net/ForumItems/Uploads/UploadedFiles/KMOD_NaW_Diagnostic_Tool.zip

Thats the link to the latest version of it, as i said before optimized code for speed rather than size, improved features, auto search, time/date in logfile, total files in logfile, added help page, removed useless code.

And its ready for upload :D to the downloads section if thats where you guys want it

Madturnip
06-21-2007, 09:52 PM
I will put it there shortly... GJ...

FiffA
06-22-2007, 12:06 AM
We gotto like style it up with KMOD logo and stuff.. Then someone cant steal it to use it for some other stupid COH mod.. :)

Kyranzor
06-22-2007, 03:56 AM
i approve, as long as it actually works. LOL

i say we find someone (or even three people for a better chance) who has a problem, and 'test' it on them.

IF it seems to do its job then we can release it.

Also, there is a bit of privacy violation in some cases, but i will not press the issue.

Madturnip
06-22-2007, 05:22 AM
Good point K... Add a README license agreement to your program Sgt.

OR

Add a splash screen that they have to accept in order to proceed. That way we, or should I say KMOD's Dev. Team, can't be held liable for any information we gather.

If you need help writing it let me know.

We actually need one for KMOD itself as well. We don't want someone coming back and saying that we fucked up their computer or what-have-you.

Sgt. D. Pilla
06-22-2007, 06:57 AM
Ok can do...Ill do it when i get home thought cause i got to go to a counsellors apoinment about me failing tafe :D...
So id say around maybe 4 - 5 ish it should be done

Sgt. D. Pilla
06-22-2007, 11:39 AM
Mk, ive done my assignment, gotten the extention for another, and am now working on the program once more :D....

Ive started writing an agreement MadTurnip, but im not quite sure what or how to word what i write, below is what i have so far.


Private Sub Form_Load()
Label1.Caption = "By clicking ' I Agree ' below, you agree to the following..." & vbNewLine & "" & vbNewLine & "1) Any information the KMOD Dev. Team, KMOD Nations at War modification or part there of, obtain, will NOT be replicated, reproduced, or given out to ANYONE other than other Dev. Team Members." & vbNewLine & "" & vbNewLine & "2) KMOD, KMOD Dev. Team and part there of are not responsible for any damage that may occur to your comptuer while using this program OR following advice given by the KMOD Dev. Team."
End Sub

Sgt. D. Pilla
06-22-2007, 12:13 PM
We gotto like style it up with KMOD logo and stuff.. Then someone cant steal it to use it for some other stupid COH mod..
It already did have the webbanner avalible from the media section of the website the one here...
http://cdc.fiffa.net/Webpages/WebpageFiles/Pictures/webbanner.jpg

And it has at the bottom my websites logo, the text "made my sgt.d.pilla for KMOD Nations at War!"
Plus the words KMOD are everywhere through the code and the logs made are under the title of KMOD_LOGFILE, and its in help and everything, so there is a fair chance that if it is "stolen" people that use it will recognize it as kmods.

privacy violation in some cases, but i will not press the issue.
As said above, ive started work on that.
(or even three people for a better chance) who has a problem, and 'test' it on them.
Good idea.... I shall go on a hunting spree :D

Madturnip
06-22-2007, 09:29 PM
Why don't you make this a self-diagnostic tool. Something that will check teh CRC of each official kmod file, the place it is suppose to be, and if it's not correct have it download the correct file from the FTP automatically (or HTTP) so it can be patched etc.

Download program
Install program
Run program
Accept software license
Select language (if we are supporting multi-lang official releases)
Check CRC & File locations. In the list, on user-end, they would get a green check mark for everything that is correct. If all is good nothing happens and it is some other issue besides KMOD.
HOWEVER - if an issue is detected the program will fix it. EXAMPLE: Lang file is not correct CRC or in correct location. The program would download the correct language file from our servers, place it in the correct folder, and then perform check again.I think that would be more useful, but your idea is definitely good as well.

Kyranzor
06-24-2007, 04:40 AM
have each file seperate on the FTP!?? that would take forever to upload man...
let alone the huge amount of filenames and links etc...

Madturnip
06-24-2007, 08:22 AM
From a networking standpoint, no it wouldn't take forever, it would be pretty feasible and wouldn't use much (if any) resources from the server. I have a degree in networking / web design / and a few certificates in programming, and this recommendation is standard in PATCH/UPDATE support.

Another feasible solution would be to have someone create a more dynamic installer. One that will check for pre-existing versions, remove them, and then install.
Auto find COH
Auto check for version of COH - via registry -
Auto check for version of KMOD - via registry - (making all new installs of KMOD have a registry install to log it's version)
Auto PATCH/FIX installation (REPAIR) - so if someone fucks up their copy it will automatically replace only the file that has been tampered with.
NICE THING ABOUT THIS OPTION --- it is all contained in the install file.You CAN NOT use a pirated, hacked, or trial version of install shield (or similar product.) I own a licensed version, and have the programing skills to do the above. My version and license uses Visual Basic (& or Visual C++) for added functionality.

The program Sgt. D. Pilla has offered would have some use, but if the installer installs the files correctly in the correct spot there is no reason for the mod to not work. It would be something they have done and we wouldn't support that.

Kyranzor
06-24-2007, 12:29 PM
sounds good MT, a bit of crazy sophisticated stuff right there, from your point of view, however it means it is even simpler and easier for the end-user to use :D

sounds bloody professional to me, which i must say is a bit over the top for a simple aussie like myself, but it's all good if you Americans need the guidance of a crazy self-installing-patching-registry-using-installer

lol

FiffA
06-24-2007, 10:11 PM
Would be awsome if we could have one of those kind of installers, and it gives an image of how professional the KMOD team is when they begin their Installation of KMOD. And that is a good thing to :)

BTW, Ive started my vacation now ! So i will be online alot :D

Madturnip
06-25-2007, 01:49 AM
Agreed.... There is no reason for us to have to keep answering stupid installation questions for KMOD. It gets put in the right place -- it works -- end of story.

Agreed?

FiffA
06-25-2007, 03:50 AM
*Agreed*

:D

Sgt. D. Pilla
06-25-2007, 05:08 AM
Agreed...
But :( just as i thought my program would get used :P

Sgt. D. Pilla
06-25-2007, 03:22 PM
Mk, even though weve decided against my small program, ive finished everything youve asked for so far, its even got a hotfix for Windows XP/2000/2003 and Server, i had to make it register some components for them

But anyways the new program for you guys to test its here....
http://cdc.fiffa.net/ForumItems/Uploads/UploadedFiles/KMOD_NaW_Diag_Setup.exe

* UPDATED Diag Program Again * * Added In Open LogFile ability * * Made Better GUI * * 1 Additional Save Button * * Some Text Moddifyed * *Further Optimized Code * * Removed CDC Advertisment *

Sgt. D. Pilla
06-25-2007, 03:58 PM
Why don't you make this a self-diagnostic tool. Something that will check teh CRC of each official kmod file, the place it is suppose to be, and if it's not correct have it download the correct file from the FTP automatically (or HTTP) so it can be patched etc.
Download program
Install program
Run program
Accept software license
Select language (if we are supporting multi-lang official releases)
Check CRC & File locations. In the list, on user-end, they would get a green check mark for everything that is correct. If all is good nothing happens and it is some other issue besides KMOD.
HOWEVER - if an issue is detected the program will fix it. EXAMPLE: Lang file is not correct CRC or in correct location. The program would download the correct language file from our servers, place it in the correct folder, and then perform check again.
I think that would be more useful, but your idea is definitely good as well.
Mk, Madturnip, I have a mate who is trying to do this for you, so that you can do other things. i will update when there is more info

Madturnip
06-25-2007, 07:32 PM
Mk, even though we've decided against my small program, I've finished everything you've asked for so far, its even got a hotfix for Windows XP/2000/2003 and Server, i had to make it register some components for them

But anyways the new program for you guys to test its here....
http://cdc.fiffa.net/ForumItems/Uploads/UploadedFiles/KMOD_NaW_Diag_Setup.exe

* UPDATED Diag Program Again * * Added In Open Log File ability * * Made Better GUI * * 1 Additional Save Button * * Some Text Modified * *Further Optimized Code * * Removed CDC Advertisement *

I don't think we have decided against it.

Don't take my ideas as negativity. Take them as constructive criticism! Your program will be useful so continue to upgrade it etc. Also, go ahead and upload the program yourself and I will approve it. That way you can give your program the proper description.

Sgt. D. Pilla
06-25-2007, 07:45 PM
:o we can upload :D ohk, i shall do that, And hmm I should have re-phrased what i said another way, I more meant that your program will be more useful and mine wont get much use which is fine, cause yours is like 1 billions times better :P

Madturnip
06-25-2007, 10:00 PM
Well I would have never thought it up without you doing what you just did. So in a sense it is your brainchild.

Sgt. D. Pilla
06-26-2007, 04:52 AM
http://www.kmod.org/kmod_forum/downloads.php?do=file&id=13

Ive uploaded it, and awating your authorization ;)