Guest User

mapfix script errors

a guest
Sep 29th, 2014
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. C:\Users\jotun>powershell.exe -ExecutionPolicy Unrestricted -File "C:\Apps\Minec
  2. raft\mc-mapfix-master\mapfix_installer.ps1"
  3.  
  4.  
  5. Directory: C:\Users\jotun\AppData\Roaming\.minecraft\versions
  6.  
  7.  
  8. Mode LastWriteTime Length Name
  9. ---- ------------- ------ ----
  10. d---- 9/29/2014 8:50 PM 1.8_mapfix
  11. The term 'jar' is not recognized as the name of a cmdlet, function, script file
  12. , or operable program. Check the spelling of the name, or if a path was include
  13. d, verify that the path is correct and try again.
  14. At C:\Apps\Minecraft\mc-mapfix-master\mapfix_installer.ps1:19 char:8
  15. + jar <<<< xf $version".jar" $classfile
  16. + CategoryInfo : ObjectNotFound: (jar:String) [], CommandNotFound
  17. Exception
  18. + FullyQualifiedErrorId : CommandNotFoundException
  19.  
  20. Exception calling "ReadAllBytes" with "1" argument(s): "Could not find file 'C:
  21. \Users\jotun\AppData\Roaming\.minecraft\versions\1.8_mapfix\bue.class'."
  22. At C:\Apps\Minecraft\mc-mapfix-master\mapfix_installer.ps1:20 char:44
  23. + $bytes = [System.IO.File]::ReadAllBytes <<<< ($env:APPDATA + "\.minecraft
  24. \versions\" + $version + $postfix + "\" + $classfile);
  25. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  26. + FullyQualifiedErrorId : DotNetMethodException
  27.  
  28. Cannot index into a null array.
  29. At C:\Apps\Minecraft\mc-mapfix-master\mapfix_installer.ps1:21 char:12
  30. + $bytes[ <<<< $offset] = $newvalue;
  31. + CategoryInfo : InvalidOperation: (2339:Int32) [], RuntimeExcept
  32. ion
  33. + FullyQualifiedErrorId : NullArray
  34.  
  35. Exception calling "WriteAllBytes" with "2" argument(s): "Value cannot be null.
  36. Parameter name: bytes"
  37. At C:\Apps\Minecraft\mc-mapfix-master\mapfix_installer.ps1:22 char:36
  38. + [System.IO.File]::WriteAllBytes <<<< ($env:APPDATA + "\.minecraft\version
  39. s\" + $version + $postfix + "\" + $classfile, $bytes);
  40. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  41. + FullyQualifiedErrorId : DotNetMethodException
  42.  
  43. The term 'jar' is not recognized as the name of a cmdlet, function, script file
  44. , or operable program. Check the spelling of the name, or if a path was include
  45. d, verify that the path is correct and try again.
  46. At C:\Apps\Minecraft\mc-mapfix-master\mapfix_installer.ps1:24 char:8
  47. + jar <<<< Muf $version$postfix".jar" $classfile
  48. + CategoryInfo : ObjectNotFound: (jar:String) [], CommandNotFound
  49. Exception
  50. + FullyQualifiedErrorId : CommandNotFoundException
  51.  
  52. Remove-Item : Cannot find path 'C:\Users\jotun\AppData\Roaming\.minecraft\versi
  53. ons\1.8_mapfix\bue.class' because it does not exist.
  54. At C:\Apps\Minecraft\mc-mapfix-master\mapfix_installer.ps1:25 char:16
  55. + Remove-Item <<<< $classfile
  56. + CategoryInfo : ObjectNotFound: (C:\Users\jotun\...apfix\bue.cla
  57. ss:String) [Remove-Item], ItemNotFoundException
  58. + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.Remov
  59. eItemCommand
  60.  
  61. Done!
  62. Press any key to continue...
Advertisement
Add Comment
Please, Sign In to add comment