HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

hero selection system problem

04-05-2006, 06:46 PM#1
Luzif3r
I wanted to throw together a very basic hero arena for a friend of mine and remembered the fantastic system you created.
I didnt touch the editor for a couple of years and first werent very sure if i did everything right. But i now believe i did everything right, even tried it on a backup and the editor still gives me like 200 compile errors and here i am now and im stumped and asking for help.
I can attach the map if you like and im sorry if i am not very specific but the editor isnt either.

04-05-2006, 06:53 PM#2
Vexorian
if backup still gives errors then it is an external error that isn't related to selection system
04-05-2006, 06:57 PM#3
Luzif3r
so do i have to remake the map entirely?

edit: that makes me a sad panda
edit2: send
04-05-2006, 07:02 PM#4
Vexorian
Well I don't know exactly what the problem is so I can't answer that question, but most likely the answer is NO.

maybe send it to me by email? You can see my email by looking at my profile
04-05-2006, 08:21 PM#5
Vexorian
got the map, and I get no errors when saving the map? I even enabled the selection system trigger and was able to save the map.

anything that could explain this?

Maybe you don't have latest war3 patch? Also are you using a crack for world editor?
04-05-2006, 08:36 PM#6
Luzif3r
No i got the latest patch and i am using the original editor.

edit: anyway maybe sending me back the saved map. i have no other idea :(
edit2: ok i found some WEIRD shit here. im saving with all that errors then just start the map an everything works flawlessly.
edit3: I isolated the problem, i think..
Here:
function hss_Message takes integer i returns string
return GetAbilityEffectById(hss_ChooseHeroSpellId(),EFFECT_TYPE_SPECIAL,i)
endfunction

GetAbilityEffectById seems to be unknown and putting it as a comment(dunno whats that really called in english) resolves most of the errors. I didnt even find that function anywhere in c.j or b.j. Mabye im kust stupid. Its late here. Good night and thank you nonetheless.

edit4: screw that. i dont know HOW but i saved the map with a new name. Copied it over again and now it works without any errors. Thanks for being so patient and helpful. my friend really likes your system. Cu in a couple years if you are still around here.
04-06-2006, 02:18 PM#7
Vexorian
GetAbilityEffectById is a function that came with one of the patches