Error: Member redeclared: onInit

Status
Not open for further replies.
Moin moin =)

3 things to say: L o L

I don't get any error at this spell, I can save it, I can host it and I can test it.

But now the rofl: After I cast this spell and it's finished, I get a blue screen from windows ( tested it 3 times ^^ )

You have updated Jass Helper to the last version? ( 0.A.2.B )

Greetings
~ The Bomb King > Dr. Boom
 
Oh, my Jass Helper was out of date. I thought I updated my Jass Helper recently, but it was actually my Grimoire. Fixed.

Thanks, Dr. Boom.
 
Ok, so the compile error message went away, but when someone tries to host the map it says "map not found" or whatever that error is.

How can I fix this? Can I combine the two OnInit functions? One is under a separate scope, iirc.
 
It opens fine on single player.

I bring it up because this is a multiplayer map. It's supposed to be played on BNet, thanks. I've tried both protected and unprotected.

Since I really do have 2 of the methods, can I combine them across scopes? Maybe that's what my question boils down to.
 
I get it's supposed to be played on battle.net, but what you said was that "map could not be found" on battle.net without saying anything about your tests on singleplayer.

If you get an error in multiplayer and not in singleplayer, it's likely because you are using irregular native calls or Reinventing the Craft commands, which are not valid on battle.net.

I have lots of OnInit commands in the same library - two mudule-onInits, a struct onInit and a library onInit and everything is peachy.

Also, that' guy's spell leaks like mad hell, it's going to cause a crash after a while.

He's got a lot of Location(x,y) calls (useless, and he doesn't destroy them)... I mean, holy shit, that really piles up because he even threw one in the periodic method, which is just... obscene!
 
Status
Not open for further replies.
Back
Top