wazer Posted September 14, 2009 Share Posted September 14, 2009 Im trying to add my vbs script to run with my other stuff drivers etc..but it says failed on a fresh format or in vmware. But if i launch wpi after first time login and restarted then it works. How come ?im using the newest wpi 7.7.0vbs script' To use, simply run this script and restart your computer. Const HKEY_LOCAL_MACHINE = &H80000002 Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv") strKeyPath = "SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\" oReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys For Each subkey In arrSubKeys err = oReg.SetDwordValue (HKEY_LOCAL_MACHINE,strKeyPath & subkey,"TcpAckFrequency","1") Nextwpi codeprog[pn]=['Latency Fix'];uid[pn]=['LATENCYFIX'];desc[pn]=['<P>Better ping ingame</P>'];ordr[pn]=[017];dflt[pn]=['yes'];forc[pn]=['no'];bit64[pn]=['no'];cat[pn]=['Applications'];cmds[pn]=['"%wpipath%\\Install\\latencyfix.vbs"'];pn++; Link to comment Share on other sites More sharing options...
AlBundy33 Posted September 14, 2009 Share Posted September 14, 2009 1. You can do this also with reg.exe - query the interfaces and set the values.2. why not simple run wpi after first logon?3. maybe the dll are not registered at this time - try to reigster it manually with regsvr32 /s vbscript.dll (maybe you have pass the full qualified name to the dll)Al Link to comment Share on other sites More sharing options...
wazer Posted September 14, 2009 Author Share Posted September 14, 2009 (edited) Thanks for the quick reply i do have wpi at first time logon with windows 7.ill try to execute regsvr32 /s vbscript.dll before wpi starts. and see how that goes.Why im doing this method is because of windows generates random id for this tweak so i cant use The latency fix im trying to addfx the id i got now for my tcp/ip interface is {2F4DC8EB-5A4F-4F76-8392-A50034203C46}. As soon as i reformat ill get a new id so when i try to add the tweak old cvar as a reg it will have no effect because its using the old id theres no more in work, and will just be added. Edited September 14, 2009 by wazer Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now