wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > Warcraft Editing Tools
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 11-28-2007, 04:27 PM   #631
masda70
User
 
Join Date: Nov 2003
Posts: 233

Submissions (1)

masda70 has a spectacular aura about (128)

Default

Do you still have plans to add the //!define feature?
masda70 is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 11-28-2007, 05:35 PM   #632
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

I have plans for a lot of things, but now that I officially dropped WEHelper support I guess it is a good idea to include it.
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 11-28-2007, 05:42 PM   #633
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

That would be nice, it would inline integer constants before wc3optimizer...
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote
Old 11-29-2007, 03:25 AM   #634
Malf
I LIKE PIZZA! | >
 
Malf's Avatar
 
Join Date: Sep 2007
Posts: 625

Submissions (2)

Malf has a spectacular aura about (92)Malf has a spectacular aura about (92)Malf has a spectacular aura about (92)Malf has a spectacular aura about (92)

Send a message via AIM to Malf
Default

Please let scopes have initializers. I don't want my Blackhole spell being turned into a library just so it can be initialized without WE dependency / rely on that stupid InitTrig function.
__________________
Malf is offline   Reply With Quote
Old 11-29-2007, 03:51 AM   #635
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

What's exactly the problem with it being a library though? You may work around with an struct initializer.

scopes having initializers would take their applications outside their scope (err) could think on something else though.
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 11-29-2007, 08:16 AM   #636
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

Quote:
Originally Posted by Malf
Please let scopes have initializers. I don't want my Blackhole spell being turned into a library just so it can be initialized without WE dependency / rely on that stupid InitTrig function.

Why don't you just use:
public function InitTrig takes nothing returns nothing
It is independent of WE and it initializes everything you put inside it...
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote
Old 11-29-2007, 09:46 AM   #637
PitzerMike
Alcopops
 
PitzerMike's Avatar


Tools & Tutorials Moderator
 
Join Date: Jan 2003
Posts: 2,794

Submissions (12)

PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)

Approved Map: Pitzer's Minesweeper

Default

Lazy bastard, just replace 0..MAX_PATH with 0..32768 in winexec.pas
I've recompiled and tested it without problems and this is the correct command line limit according to MSDN.
__________________
Zoom (requires log in)
PitzerMike is offline   Reply With Quote
Old 11-29-2007, 10:27 AM   #638
Malf
I LIKE PIZZA! | >
 
Malf's Avatar
 
Join Date: Sep 2007
Posts: 625

Submissions (2)

Malf has a spectacular aura about (92)Malf has a spectacular aura about (92)Malf has a spectacular aura about (92)Malf has a spectacular aura about (92)

Send a message via AIM to Malf
Default

Shit, cohadar's teh right.. OMGOMGDOTAOMG!!!!!1111111
__________________
Malf is offline   Reply With Quote
Old 11-29-2007, 12:33 PM   #639
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

Is there any other way to make member functions overridable(virtual) except making a base interface that defines them?
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote
Old 11-29-2007, 03:23 PM   #640
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

AAAAAAAAAAAAAAAAA BUGGGGZZZZZZZZZZZZ

Expand JASS:

And don't you dare telling me that is how it is supposed to work....

EDIT: Simply include a virtual keyword in vJass.... virtual jass lol
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.

Last edited by cohadar : 11-29-2007 at 03:26 PM.
cohadar is offline   Reply With Quote
Old 11-30-2007, 08:47 PM   #641
rain9441
User
 
Join Date: Jan 2007
Posts: 195

rain9441 will become famous soon enough (61)rain9441 will become famous soon enough (61)rain9441 will become famous soon enough (61)

Default

Collapse JASS:
struct A
endstruct

struct AB extends A
endstruct

struct ABC extends AB
    integer array fun[5]
endstruct

Causes compilation errors, something in s__ABC__allocate having an undeclared function: sc__AB_destroy(this)

Only seems to happen when you have a struct extending a struct that is extending a struct and add an array member to it. Putting fun in struct A or AB works fine though.

This is probably a good thing because if i understand correctly you can only have 8191/n of struct A if struct ABC has an array of size n. It took me a bit to track down the cause of the error but in the end it was because I had a expiremethod->MagicTimer->SomeStruct->SomeOtherStruct inheritance model and SomeOtherStruct had an array member. Now I'll just give SomeOtherStruct a member of SomeThirdStruct which contains an array member, otherwise I was cutting the limit of MagicTimers by 1/n.
rain9441 is offline   Reply With Quote
Old 12-01-2007, 03:02 AM   #642
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

Quote:
InitTrig It is independent of WE
It isn't.



Quote:
This is probably a good thing because if i understand correctly you can only have 8191/n of struct A if struct ABC has an array of size n. It took me a bit to track down the cause of the error but in the end it was because I had a expiremethod->MagicTimer->SomeStruct->SomeOtherStruct inheritance model and SomeOtherStruct had an array member. Now I'll just give SomeOtherStruct a member of SomeThirdStruct which contains an array member, otherwise I was cutting the limit of MagicTimers by 1/n.
It is actually not like that, I had to work around a lot of things which made the code over complicated but it is worth it in the sense that extending stuff and adding an array member is not going to hurt the parent's max ids. The draw back is that by going the complicated way it is more likely to introduce bugs...


Quote:
And don't you dare telling me that is how it is supposed to work....

EDIT: Simply include a virtual keyword in vJass.... virtual jass lol

It is a bug.
--
virtual is not going to happen.

Guess I'll have to make yet another bug fixing version, if anyone has more bugs to report I suggest doing so quickly.

Quote:
I've recompiled and tested it without problems and this is the correct command line limit according to MSDN.
I am not sure if it would work correctly in pre XP windows, not like I care too much about those windows users, I don't care much about the users that use post XP versions either.

I am not sure if I'll allow external calls to be that long though, even after fixing the bug with winexec, I think that such an external call requiring long commands is "cute" at best, although I see it more as a sign that the user should probably be using a file to communicate with the tool rather than the whole command line. If anything I should allow multi line external calls to at least enforce some readability...

Quote:
Lazy bastard, just replace 0..MAX_PATH with 0..32768
I guess it is 0..32767

I guess it should work, thanks mostly to the abomination null terminated strings are, worse case scenario this causes a crash in windows 98 (who cares?)
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 12-01-2007, 02:11 PM   #643
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

Yet another bug fix release.
Vexorian is offline   Reply With Quote
Old 12-01-2007, 04:15 PM   #644
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

Btw, jasshelper online readme has not been updated for zillion years.

Quote:
* Scopes and libraries may now use numbers in their names (Still not _).
yeeeeeeeeeeeeeeeeeeeey
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.

Last edited by cohadar : 12-01-2007 at 04:16 PM.
cohadar is offline   Reply With Quote
Old 12-01-2007, 09:02 PM   #645
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

I know, but until ssh access is restored I can't update it and I can't finish the scripts section either...
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 06:56 AM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2020, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services