Login
Register
Menu
Home
Forum
JassDoc
Types
Functions
Variables
Help
Chat
Media
Search
Search posts
WC3 Modding Information Center
For your WC3 needs...
WC3 Modding Information Center
Forum
Warcraft (WC3) Modding
Warcraft III Resources
WC3 Editing Tools
Jasshelper 2014-03-10
Warcraft III:
Maps
Models
Skins
Icons
Spells / Systems
Tools
Tutorials
Snippets
JASS vJASS Spells and Systems
Tutorials
Chat @Discord
vJASS & Zinc Documentation
For the latest documentation about how it works vJASS and Zinc language layers for Warcraft III, please follow these links:
Jasshelper documentation
-
Zinc documentation
-
WC3 Optimizer documentation
Jasshelper 2014-03-10
WC3 Editing Tools
Started by
Glowackos
Views
11283
Replies
2
Users
3
1
1
1
Pages:
1
Go Down
0 Members and 1 Guest are viewing this topic.
Rating
Average Score
- 5 / 5
«
Created: April 09, 2016, 07:12:10 PM by moyack
»
Glowackos
Lurker - level 3
Posts:
5
WC3 Models: 0
WC3 Tutorials: 0
WC3 Tools: 0
WC3 Maps: 0
WC3 Skins: 0
WC3 Icons: 0
WC3 Spells: 0
Reputation:
0
User
Jasshelper 2014-03-10
on:
November 27, 2014, 09:39:52 AM
Version:
2014-03-10
Keywords:
Jasshelper, Glowackos, Bugfix
Operating System (OS):
Windows XP
Windows Vista
Windows 7
Windows 8
Tool Category:
Jass Scripting, World Editor (WE) Add on or plugin
Rating:
5
DOWNLOAD
«
Created: April 09, 2016, 07:21:09 PM by moyack
»
«
Last Edit: June 08, 2017, 07:32:37 AM by moyack
»
Code: jass
//=====================================
// Jasshelper 2014-03-10 Changelog
//=====================================
* Fixed a bug with deallocate on extended structs that used
onDestroy
.
* Increased the stacksize
in
pjass.exe
This is a bugfix I posted a while ago, but it got deleted with the forum update, so posting here again.
Basically, for some reason there's two struct writers in the code, which get along pretty well for the most part, creating little more than a bit of bloatcode in the worst case. However, when using extended struct allocation (eg. struct MyStruct[32000]), the wrong struct writer occasionally* writes the deallocate function, failing to properly handle instances above the 8191, resulting in leaked, inde-struct-ible struct instances. Re-iterating: anything with an index above 8191 cannot be deallocated.
*It actually depends on the properties of the previous struct that was written, since some variable doesn't get updated. IIRC this was tied to whether or not the struct was using its own onDestroy() method or not. (I don't quite remember anymore; it was a while ago)
This update ensures only one of the writers (the proper one) writes all of the deallocation functions, addressing the bug described above, along with reducing some of the bloat code. There's still much more to be culled (whoever wrote the new struct writer should've properly removed the old one..), but this would require more time, and possibility introduce new bugs. The important part is that the bug is fixed, and that the remaining bloatcode isn't causing any grief.
Lucky you! This package contains a two-in-one bundle!
I've also increased the stacksize of the included pjass.exe. This will likely have no effect for most of you, but it will allow very big maps to get parsed, rather than throwing a stack overflow error when you try to click save in JNGP. The map I'm working on requires this; who knows maybe there are others out there who will find it useful?
The attached zip file contains all of the source code, so feel free to do a diff against the previous version if you have any questions, queries of quandaries. (I probably won't be able to help much as I don't really remember much about this anymore.)
«
Last Edit: June 08, 2017, 07:32:37 AM by moyack
»
moyack
Site Owner
Administrator
Posts:
970
WC3 Models: 20
WC3 Tutorials: 17
WC3 Tools: 19
WC3 Maps: 12
WC3 Skins: 0
WC3 Icons: 1
WC3 Spells: 16
Reputation:
1153
Site Admin - I love fix things
Re: Jasshelper 2014-03-10
Reply #1 on:
November 28, 2014, 07:55:47 AM
Awesome modification
In the upcoming version of JNGP, I'll include this modification into the system.
Thanks for reuploading it
WC3 Modding Information Center
doom97
Lurker - level 2
Posts:
2
WC3 Models: 0
WC3 Tutorials: 0
WC3 Tools: 0
WC3 Maps: 0
WC3 Skins: 0
WC3 Icons: 0
WC3 Spells: 0
Reputation:
0
User
Re: Jasshelper 2014-03-10
Reply #2 on:
November 23, 2020, 10:31:12 AM
como uso el jasshelper. Ayuda por favor
Print
Pages:
1
Go Up
« previous
next »
WC3 Modding Information Center
Forum
Warcraft (WC3) Modding
Warcraft III Resources
WC3 Editing Tools
Jasshelper 2014-03-10
Random Tools
A new TESH Syntax Highlighter for Warcraft 3
Views: 7237
Replies: 2
Posted by
looking_for_help
March 28, 2017, 10:53:33 PM
vrJASS
Views: 7598
Replies: 2
Posted by
Ruke
June 02, 2016, 11:00:57 PM
Oinkerwinkle's Animation Transferer
Views: 1709
Replies: 0
Posted by
Oinkerwinkle
January 07, 2012, 12:53:18 AM
Magos' War3 Model Editor
Views: 31533
Replies: 4
Posted by
magos
August 28, 2011, 11:16:11 PM
GMSI
Views: 3935
Replies: 0
Posted by
gekko
November 20, 2010, 09:02:36 PM
PortaMx-SEF 1.54
|
PortaMx © 2008-2015
,
PortaMx corp.
Search
Username
Password
Always stay logged in
Forgot your password?