United Warcraft 3 map hacking!
It is currently June 5th, 2020, 5:59 am

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: July 20th, 2018, 8:46 pm 

Joined: June 23rd, 2018, 11:27 am
Posts: 10
So I have a map with copied code in the world editor.

It's throwing me errors for two functions which appear in the trigger editor (code I copied):
config, and InitCustomTeams.

These two functions are also added automatically to the script from what I understand. When an error is thrown, it's for "Symbol already defined" (and this causes more errors).

problem is, each pair of functions (config in the code and auto-added config; InitCustomTeams in the code and auto-added one) are very similar, but very slightly different.

I've tried to delete one of them (InitCustomTeams), but now I'm getting an error that it's not defined (it's called in the auto-generated code, as well as the one that's part of the trigger, both in config I think).

So I either get that it's defined too many times, or not at all.

How the hell do I get out of this? which version of the code do I need? is the auto-added code the default or is there some way to control it? because it's almost identical to what was in the original war3map.j but a bit different.

I would guess that the added code is created based on war3map.w3i since it contains the player aliance/start positions that are in the data, but I don't want to replace it with an empty one because then I wouldn't be able to debug the code in the ShapeCraft world editor...

Thank you!

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 8 guests

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® Forum Software © phpBB Group


Privacy Policy Statement
Impressum (German)