HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

GUI Helper plugin (WEH)

01-02-2007, 04:27 AM#1
Themis
since the use when i downloaded WE Helper + Jasshelper i was amazed that this was possible.

However at the same time i was thinking to create a new GUI for WE.
As the time flows and my project is finally looking like something i was beginning to think that this new interface could probably work as a plug in for WEH.

Now i know lots of you jassers think that GUI sucks because:
- You can't parse.
- Useless BJ functions.
- Instead of natives BJ functions.
- Missing natives.
- etc..

However a lot of this can change..
For more details about my plug in please follow this link:
http://www.thehelper.net/forums/showthread.php?t=47871

Mainly it will have:
- Controlled loops (Loop, exitwhen boolexpr - operator - boolexpr, endloop)
- Smart functions (Leakless functions that are used often)
- Useless BJ functions removed (Take a good look at the create timer TheHelper.net)
- Mainly a better and a organized WEU.
- With the use of globals endglobals of Jasshelper, functions can be limitless
- When i know how to create natives this plug in will be way better.
- Etc..

However i do have programming skills, but compare to the "big" guys i'm nothing.
I have a little experience in Delphi (Object pascal) but not good enough to create such a plug in.
In fact i know how to create windows.. but compiling them into an exe beats me.. i always get errors..

However i am not sure to create this for WEH only, this mainly depends on you.

The main idea of this is when installing this plug in + jass helper you don't have to copy functions i made to the map header.
It would copy it automatically to it when the map saves. but it will not appear in the map header itself.
unused functions will of course be removed when the map saves.. or just advertise Vexorians map protector with it, that does basically the same..

If someone wants to make this include as a plug in for WEH this idea go's on.
Else it would be for WE only.

Remember this might not help you.. and it would devenitly piss Vexorian off. But it will help 1000ths of other people who don't know jass.
01-02-2007, 12:02 PM#2
Vexorian
Helping somebody to stay with GUI is not really helping him. But I am not sure how exactly are you going to do this?
01-02-2007, 12:28 PM#3
Themis
Basically I've taken a good look at the list files of WEU it explained a lot, and how to do things.

Creating a folder named "UI" in your wc3 directory place the files in there and voilla.
So it shouldn't be a plug in that requires hard coding. but the Interface needs some good attention.

However you're right on thing, helping people to use GUI is not really helping them. But on the other hand. Not everybody is "Like us".
They want to create a map but don't even know what and where "control panel" is, or (Real story) that he didn't know what OS he was running on.

This brings people closer to jass but i can't interface the thing that jass makes way better. Control of where the code go's (Parsing).

If people want to learn a language its up to them but this is at least 1 step in the good direction when people create a lot less leakless maps.
01-02-2007, 12:28 PM#4
Zoxc
I guess he will just replace functions with real jass code... like "call GUILoopStart()" to "loop"

You should use WE Helper since it makes it easy for you to inject mpqs and adding a preprocessor. Also I think my defines will help you alot.
01-02-2007, 12:30 PM#5
Vexorian
I think he will use WEHelper.

...

Whatever, I think that he needs only to use defines, he will just need a preprocessor to add the defines. Or could even ask the user to add a line of //! import that contains the defines
01-02-2007, 12:34 PM#6
Themis
Quote:
Originally Posted by Zoxc
I guess he will just replace functions with real jass code... like "call GUILoopStart()" to "loop"

You should use WE Helper since it makes it easy for you to inject mpqs and adding a preprocessor. Also I think my defines will help you alot.

A lot more crap will disappear..
GetLastCreatedEffect()...wtf?
bj_GetLastCreatedEffect is the same thing without calling a function..

And i guess with injecting MPQ's i can add a file with the functions i made?
But, can it select within the MPQ, to delete unused functions.
01-02-2007, 04:24 PM#7
wyrmlord
You could also change the text that is displayed to the users to the actual JASS functions, and then have what they are in GUI as a hint. I would suggest allowing the users to create handles and set them to a variable all in the same line. Also, make sure to remove the DoNothing function and all that other useless stuff.

Quote:
Originally Posted by Themis
When i know how to create natives this plug in will be way better.

You do know you cannot play a map over battle.net using custom natives unless those that you are playing with have them too, right? Those people would need to download something else in order to be able to play the map with the custom natives in it.
01-02-2007, 06:46 PM#8
Themis
Quote:
Originally Posted by wyrmlord
You could also change the text that is displayed to the users to the actual JASS functions, and then have what they are in GUI as a hint. I would suggest allowing the users to create handles and set them to a variable all in the same line. Also, make sure to remove the DoNothing function and all that other useless stuff.



You do know you cannot play a map over battle.net using custom natives unless those that you are playing with have them too, right? Those people would need to download something else in order to be able to play the map with the custom natives in it.

ALL the useless stuff will be removed. Try to read at www.TheHelper.net.
And functions it is.
01-02-2007, 09:24 PM#9
Av3n
Honestly I not much of an programmer but some (an little) of your functions are actually already included in the normal WE

-Av3n
01-02-2007, 09:52 PM#10
Themis
Quote:
Originally Posted by Av3n
Honestly I not much of an programmer but some (an little) of your functions are actually already included in the normal WE

-Av3n

But the things in the TE now create leaks, mine doesn't.