HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

1.21 issues

04-17-2007, 08:53 PM#1
crazedcougar
Hi

I'm trying to start editing again for the first time in a few months, and I've run into the problems with WEHelper and 1.21. All the threads say to switch to Jass NewGen Pack, but I've got a couple questions still. Will it work with WEU maps? If not, are WEU and Jass NewGen Pack able to be installed simultaneously?

Also: Can it test map in windowed mode?

Thanks!
04-17-2007, 09:00 PM#2
Vexorian
Yes, Yes, Yes.
04-17-2007, 09:40 PM#3
crazedcougar
excellent, very cool.

what does
double free of group in "GetUnitsOfTypeIdAll"
mean? It shows up in red as a message to players whilst playing my map.
04-17-2007, 10:07 PM#4
Vexorian
To players? All of them are using grimoire to play your map?

And it is odd, considering that the function is this:

Collapse JASS:
function GetUnitsOfTypeIdAll takes integer unitid returns group
    local group   result = CreateGroup()
    local group   g      = CreateGroup()
    local integer index

    set index = 0
    loop
        set bj_groupEnumTypeId = unitid
        call GroupClear(g)
        call GroupEnumUnitsOfPlayer(g, Player(index), filterGetUnitsOfTypeIdAll)
        call GroupAddGroup(g, result)

        set index = index + 1
        exitwhen index == bj_MAX_PLAYER_SLOTS
    endloop
    call DestroyGroup(g)

    return result
endfunction


for it to be doing double frees then there should be an evil handle corruption bug in your map...
04-17-2007, 10:30 PM#5
crazedcougar
Handle corruption? Sounds fun.

What would the effects be? What could be causing them? How do I fix them?

Edit: Now I'm getting seemly random compile errors when I try and save. In Step 2 (structs) it notices that
Code:
function Trig_Theory_Initialization_Func0230!3003003001 takec nothing returns boolean
    rtturn ( GetGameSpeed() == MAP_SPTED_FAST )
endfunction
has "takes" misspelled "takec"

I didn't even write the function!
04-17-2007, 10:36 PM#6
Vexorian
that's outstandingly odd, GUI is generating corrupted Jass code.

Have you checked your computer's RAM lately?
04-17-2007, 11:04 PM#7
crazedcougar
Half an hour later, it saves with no issues. I suspect a hardware problem here, I've been experiencing other oddities and many crashes. :-( I have however checked my ram and vaccumed my case, and that helped somewhat. Is it possible there was residual damage from overheating?
04-17-2007, 11:06 PM#8
Vexorian
Google for memtest and let it do the tests until it gets like 300% , if it finds an error replace your RAM chips ASAP. A wrong RAM chip caused me a lot of issues, RAM errors are issues that just get worse and worse with time.