Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Languages, Themes, Manuals & Mods

- - - - -

  • Please log in to reply
184 replies to this topic

#176
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,515 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
<script type="text/javascript">
	var ver;

	ver=GetConfigVersion();
	while (ver>-1)
	{
		if (ver<720)
		{
			if (confirm(configFile+"\n\n"+getText(txtUpdateConfig)))
			{
				UpdateWizard1();
				RefreshWPI();
			}
			else
			{
				alert("You should remove config.js from the WPIScripts folder\nbefore continuing.  Then run WPI again.");
				self.close();
			}
			break;
		}
		else if (ver<770)
		{
		    if (confirm(configFile+"\n\n"+getText(txtUpdateConfig2)))
	        {
	        NeedUpdateWizard=2;
	        }
	        break;
	    }  
	    else if (ver<800)
		{
		    break;
		}
	    else if (ver>=800 && ver<870)
	    {
		    if (confirm(configFile+"\n\n"+getText(txtUpdateConfig3)))
		    {
			NeedUpdateWizard=2;
		    }
		    break;
		}
	    else
	      break;
    }
	document.write('<script type="text/javascript" src="'+configFile+'" application="yes"></' + 'script>');

Have you tried the new code given as example to test ?


For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).


How to remove advertisement from MSFN

#177
bphlpt

bphlpt

    MSFN Master

  • Patrons
  • 2,067 posts
  • Joined 12-May 07
  • OS:none specified
  • Country: Country Flag

Hey Kel,

Did you happen to check if my suggested code replacement caused the same errors? myselfidem said it worked, but apparently he decided not to use it for some reason.

[NOTE: I think this is the same segment. I haven't looked too closely, but I'm sure you can see what I intended anyway.  Mainly I got rid of the while and the break statements.]
 

	var ver=GetConfigVersion();
	if (ver<0) {/* Do Nothing */;}
	else if (ver<720)
	{
		if (confirm(configFile+"\n\n"+getText(txtUpdateConfig)))
		{
			UpdateWizard1();
			RefreshWPI();
		}
		else
		{
			alert("You should remove config.js from the WPIScripts folder\nbefore continuing.  Then run WPI again.");
			self.close();
		}
	}
	else if (ver<770) {NeedUpdateWizard=2;}
	else if (ver<800) {/* Do Nothing */;}
	else if (ver<870)
	{
		if (confirm(configFile+"\n\n"+getText(txtUpdateConfig3)))
		{
			UpdateWizard3();
			RefreshWPI();
		}
	}
	else {/* Do Nothing */;}
	document.write('<script type="text/javascript" src="'+configFile+'" application="yes"></' + 'script>');

Cheers and Regards


Posted Image


#178
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,515 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag

The full test package given as test working for me to download ; with all files:

 

http://www.mediafire...w_FilesTest.rar

 

Regards


For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#179
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,970 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

That does and doesn't work. The main interface works and the entries show but the options and themes are not applied.

 

I get a windowed interface at full screen and the default windows theme. Even going into the windows and resetting them does not work.

 

The fault lies within the edits made to wpi.hta. I have been running tests for 3 weeks on this.



#180
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,515 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag

Strange, because I haven't this trouble !

 

Attached Files


For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#181
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,970 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
I have run literally dozens of tests, at the very least the edits would not allow wpi to load any file but the config, at the worst it would throw errors on every .js file as it tried to load them. I now also have at least 4 seperate reports confirming this.

#182
stevie86

stevie86
  • Member
  • 1 posts
  • Joined 08-April 14
  • OS:Windows 7 x64
  • Country: Country Flag

I did a little update in the German Language File.

Attached Files



#183
hasbro1

hasbro1
  • Member
  • 5 posts
  • Joined 19-August 13
  • OS:Windows 8 x64
  • Country: Country Flag

Firstof all thank you for the wpi software, and please excusme my english because y speak spanish but i trying to do my best

 

This is the think, yesterday a just downloade wpi and since that i currently trying it.

 

I find on it some problems and that is very annoying, for example, when i run the wpi, just disable de option to stop de timer and just save it, but when i run it again, the timer is ON  and ia don´t know what to do about it

 

Second, when run the wpi for add some application and configure it and save it and just exit de configuration option, the program just try to show me the menu screen of wpi, some times show me al on it, and another times doný show me nothing and the wpi gui just appears with his bacround and anything more.

 

Sorry for this but i´m a rooky here, so, you can tell me what to do? what file i have to edit and what a have to do? i mean if have to replace or just add?

 

Help?

 

Thank you for your time

 

ps: when all the problems and bugs get fixed you give my word and i´ll donate 

 



#184
ykchanaed

ykchanaed

    Junior

  • Member
  • Pip
  • 95 posts
  • Joined 18-January 07

lang_zh file based on lang_en.js  v8.7.2

 

 

Attached Files



#185
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,970 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Firstof all thank you for the wpi software, and please excusme my english because y speak spanish but i trying to do my best

 

This is the think, yesterday a just downloade wpi and since that i currently trying it.

 

I find on it some problems and that is very annoying, for example, when i run the wpi, just disable de option to stop de timer and just save it, but when i run it again, the timer is ON  and ia don´t know what to do about it

 

Second, when run the wpi for add some application and configure it and save it and just exit de configuration option, the program just try to show me the menu screen of wpi, some times show me al on it, and another times doný show me nothing and the wpi gui just appears with his bacround and anything more.

 

Sorry for this but i´m a rooky here, so, you can tell me what to do? what file i have to edit and what a have to do? i mean if have to replace or just add?

 

Help?

 

Thank you for your time

 

ps: when all the problems and bugs get fixed you give my word and i´ll donate 

 

 

 

All of these issues were fixed.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users