From ccbd798afef1813b8450f292f7073f01acf8e428 Mon Sep 17 00:00:00 2001 From: Redacted by Stellabellum INC Date: Tue, 2 Sep 2014 16:51:07 -0700 Subject: [PATCH] Fixed Script Editor to Edit Scripts.. Still Needs To Convert Scripts To Java And Class --- .../game/script/developer/script_editor.script | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sku.0/sys.server/compiled/game/script/developer/script_editor.script b/sku.0/sys.server/compiled/game/script/developer/script_editor.script index 72b93890f..6b746555d 100644 --- a/sku.0/sys.server/compiled/game/script/developer/script_editor.script +++ b/sku.0/sys.server/compiled/game/script/developer/script_editor.script @@ -130,11 +130,11 @@ messageHandler onScriptEditBtnOk() if(scriptFileName != null) { outputWindowText += "--== Compiling " + scriptFileName + " ==--\n"; - if(! perforce.openExistingFileForExclusiveEdit(scriptFileName)) + /*if(! perforce.openExistingFileForExclusiveEdit(scriptFileName)) { outputWindowText += "*** ERROR: Could not edit/lock " + scriptFileName + "\n"; } - else + else */ { String scriptNameScriptVar = "scriptBase" + pageId; String scriptName = utils.getStringScriptVar(self, scriptNameScriptVar); @@ -142,11 +142,11 @@ messageHandler onScriptEditBtnOk() // open the class file! String classNameScriptVar = "classBase" + pageId; String className = utils.getStringScriptVar(self, classNameScriptVar); - if(! perforce.openExistingFileForExclusiveEdit(className)) + /*if(! perforce.openExistingFileForExclusiveEdit(className)) { outputWindowText += "*** ERROR: Could not edit/lock " + className + "\n"; } - else + else */ { if(file_access.writeTextFile(scriptFileName, scriptContents)) { @@ -155,7 +155,7 @@ messageHandler onScriptEditBtnOk() { try { - String outputString = system_process.runAndGetOutput("python ../../exe/shared/script_prep.py " + scriptFileName); + String outputString = system_process.runAndGetOutput("nge-swg-master/utils/mocha/script_prep2.py -i " + scriptFileName); if(outputString != null)