All times are UTC





Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Errors on every script
PostPosted: Mon Jul 03, 2017 7:40 pm 
Offline
New User

Joined: Mon Jul 03, 2017 7:33 pm
Posts: 1
So I'm trying to run this tool and I keep getting errors for everything I do. An example error is below. Basically all I want to do with this is make batches of tooltips. For example I'd like to set the tooltips for a 10 level ability named Skill with hotkey S to be "Skill Level 1 [S]", "Skill Level 2 [S]" etc. I don't know C or Java, though I think I've gotten the hang of Jass. If anyone can help me out or show me a simple test script that would be awesome.
error
--- Executing script findFunctions.gsl ---
Copying file from "C:\Users\Swan\Desktop\Profligacy Development\GMSI beta v2.1.20\input\profligacy 0.23b.w3x" to "C:\Users\Swan\Desktop\Profligacy Development\GMSI beta v2.1.20\temp\in\0\profligacy 0.23b.w3x"
Trying to extract war3map.wts from C:\Users\Swan\Desktop\Profligacy Development\GMSI beta v2.1.20\temp\in\0\profligacy 0.23b.w3x --> found
Trying to extract war3map.w3i from C:\Users\Swan\Desktop\Profligacy Development\GMSI beta v2.1.20\temp\in\0\profligacy 0.23b.w3x --> found
Loading SLK File .\wc3data\slk\UnitMetaData.slk
Loading SLK File .\wc3data\slk\UnitMetaData.slk
Loading SLK File .\wc3data\slk\DestructableMetaData.slk
Loading SLK File .\wc3data\slk\DoodadMetaData.slk
Loading SLK File .\wc3data\slk\AbilityMetaData.slk
Loading SLK File .\wc3data\slk\AbilityBuffMetaData.slk
Loading SLK File .\wc3data\slk\UpgradeMetaData.slk
Openening GDB File C:\Users\Swan\Desktop\Profligacy Development\GMSI beta v2.1.20\.\wc3data\gdb\units.gdb
Openening GDB File C:\Users\Swan\Desktop\Profligacy Development\GMSI beta v2.1.20\.\wc3data\gdb\abils.gdb
Openening GDB File C:\Users\Swan\Desktop\Profligacy Development\GMSI beta v2.1.20\.\wc3data\gdb\destrs.gdb
Openening GDB File C:\Users\Swan\Desktop\Profligacy Development\GMSI beta v2.1.20\.\wc3data\gdb\doods.gdb
Openening GDB File C:\Users\Swan\Desktop\Profligacy Development\GMSI beta v2.1.20\.\wc3data\gdb\items.gdb
Openening GDB File C:\Users\Swan\Desktop\Profligacy Development\GMSI beta v2.1.20\.\wc3data\gdb\upgrs.gdb
Openening GDB File C:\Users\Swan\Desktop\Profligacy Development\GMSI beta v2.1.20\.\wc3data\gdb\buffs.gdb
Openening GDB File C:\Users\Swan\Desktop\Profligacy Development\GMSI beta v2.1.20\.\wc3data\gdb\aliases.gdb
Trying to extract war3map.w3a from C:\Users\Swan\Desktop\Profligacy Development\GMSI beta v2.1.20\temp\in\0\profligacy 0.23b.w3x --> found
Trying to extract war3map.w3b from C:\Users\Swan\Desktop\Profligacy Development\GMSI beta v2.1.20\temp\in\0\profligacy 0.23b.w3x --> found
Trying to extract war3map.w3d from C:\Users\Swan\Desktop\Profligacy Development\GMSI beta v2.1.20\temp\in\0\profligacy 0.23b.w3x --> found
Trying to extract war3map.w3t from C:\Users\Swan\Desktop\Profligacy Development\GMSI beta v2.1.20\temp\in\0\profligacy 0.23b.w3x --> found
null
java.lang.NullPointerException
at wcData.objects.WC3DefaultValues.identifierToGameName(WC3DefaultValues.java:304)
at wcData.objects.W3O_File.readObject(W3O_File.java:215)
at wcData.objects.W3O_File.fromFile(W3O_File.java:180)
at wcData.MapHandle.loadObjects(MapHandle.java:133)
at systemCalls.Trap_LoadObjects.apply(Trap_LoadObjects.java:27)
at script.LRfinalTokens.NativeFunctionDefinition.call(NativeFunctionDefinition.java:53)
at script.LRfinalTokens.FunctionCall.eval(FunctionCall.java:75)
at script.LRfinalTokens.SemicolonStatement.eval(SemicolonStatement.java:30)
at script.LRfinalTokens.IfStatement.eval(IfStatement.java:41)
at script.LRfinalTokens.ScriptBracketStatement.eval(ScriptBracketStatement.java:67)
at script.LRfinalTokens.FunctionDefinition.call(FunctionDefinition.java:128)
at script.LRfinalTokens.FunctionCall.eval(FunctionCall.java:75)
at script.LRfinalTokens.ReturnStatement.eval(ReturnStatement.java:41)
at script.LRfinalTokens.ScriptBracketStatement.eval(ScriptBracketStatement.java:67)
at script.LRfinalTokens.FunctionDefinition.call(FunctionDefinition.java:128)
at script.LRfinalTokens.FunctionCall.eval(FunctionCall.java:75)
at script.LRfinalTokens.AssignDefStatement.eval(AssignDefStatement.java:47)
at script.LRhighTokens.StatementList.eval(StatementList.java:49)
at script.ParsedCode.eval(ParsedCode.java:35)
at script.Script.execFile(Script.java:133)
at program.JobExecFile.execute(JobExecFile.java:49)
at program.WorkerThread.run(WorkerThread.java:24)

--- Execution was aborted due to an error ---


Top
 Profile  
 
 Post subject: Re: Errors on every script
PostPosted: Tue Aug 01, 2017 1:17 am 
Offline
YouTD Admin
YouTD Admin

Joined: Sat Jan 16, 2010 2:35 am
Posts: 1886
YouTD Score: 72
Sorry that I didn't notice a post here sooner, but anyways...

It seems like there's some item data in your map that GMSI is unable to parse, it fails at .w3t which is items - the final function in log is 'identifierToGameName'. GMSI always loads everything in a map if it opens one, so all map using scripts would produce an error if any file would fail to load.


I found a map by the name in the log (except 0.22e) and looked at the files in it --- For some reason, items in that map have unit specific data fields on them; the crash occurs at an item I01F (for map version 0.22e) at 'unsf' field, which is 'editor suffix', which items do not (normally) have, and GMSI is unable to handle that.

GMSI doesn't generally work on mutilated map files - protection etc. will likely cause errors.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group