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 > Triggers & Scripts
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 12-12-2011, 12:56 PM   #1
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 Jasshelper testing scripts.

As you may probably know I have taken over development of jasshelper.

To insure that stuff remain backwards compatible I need to make a set of test files.

Basically I am collecting inputwar3map.j files and then comparing outputwar3map.j generated with old jasshelper with the one I am working on.
(automatic batch diff)

If you want to make sure I don't break any of your favorite jass stuff please attach some inputwar3map.j files.

EDIT:
This is very serious people.
I cannot change anything in code unless I have those tests because Vex did not make any tests at all.
The more complicated files you send me the better. (using many systems with crazy syntax)
If you have privacy issues send me those files with PM.

I expect older wc3c members to step up with this.

EDIT2:
After you compile a map you can find your inputwar3map.j file here:
jassnewgenpack5d\logs\inputwar3map.j
Actually this is wrong because inputwar3map.j is passed through preprocessor.
if you submit something do File->Export Script from WE.
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.

Last edited by cohadar : 12-12-2011 at 04:02 PM.
cohadar is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 12-12-2011, 02:37 PM   #2
BBQ
User
 
Join Date: May 2011
Posts: 85

Submissions (2)

BBQ will become famous soon enough (30)BBQ will become famous soon enough (30)

Default

I'm at school right now so I can't provide you with any definite scripts, but you may want to begin by testing the XE demo map (it should have virtually everything), the BonusMod system (nice use of inheritance and typeids) and some crazy-ass save/load system (read: Nestharus' Encoder).

Last edited by BBQ : 12-12-2011 at 02:37 PM.
BBQ is offline   Reply With Quote
Old 12-12-2011, 03:41 PM   #3
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

Ah ofc, submissions section, great idea.
I probably did not think of it because I can't see forum buttons
Fuck the censorship, seriously.

EDIT:
Ok so I tested these maps
Abuff 1.8
BonusMod 3.3.1
xe 0.9
4vsUndead

And the only thing not working with modified compiler is 4vsUndead.

EDIT:
and the reason it is not working is because I used this BJ
Collapse JASS:
function GetUnitAbilityLevelSwapped takes integer abilcode, unit whichUnit returns integer
    return GetUnitAbilityLevel(whichUnit, abilcode)
endfunction

and this one is not in the Blizzard.j or common.j ????
Does blizzard have special script file for BJs ?
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.

Last edited by cohadar : 12-12-2011 at 06:49 PM.
cohadar is offline   Reply With Quote
Old 12-12-2011, 07:12 PM   #4
Troll-Brain
User
 
Join Date: Oct 2006
Posts: 1,490

Submissions (1)

Troll-Brain has a spectacular aura about (134)

Default

If it's not a joke i think the most up-to-date blizzard.j is inside the archive war3patch.mpq (or in an other .mpq).

And it is definetly in the latest blizzard.j, and probably also in many older ones.
__________________
Cool != Useful
Troll-Brain is offline   Reply With Quote
Old 12-12-2011, 07:22 PM   #5
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

Love you.
That was it, I used old blizzard.j when I was doing testing from console.

Should have suspected because all was working ok from NewGen WE. (because it extracts them directly from war3patch.mpq)

I am the only person using blizzards shiny new BJs :)

EDIT:
All test compiled ok, I have a safety net, time to hack the shit out of jasshelper.
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.

Last edited by cohadar : 12-12-2011 at 07:27 PM.
cohadar is offline   Reply With Quote
Old 12-16-2011, 04:27 AM   #6
PurgeandFire111
User
 
PurgeandFire111's Avatar
 
Join Date: Dec 2006
Posts: 253

PurgeandFire111 will become famous soon enough (58)PurgeandFire111 will become famous soon enough (58)

Default

Quote:
Originally Posted by cohadar
Ah ofc, submissions section, great idea.
I probably did not think of it because I can't see forum buttons
Fuck the censorship, seriously.

Change the theme. (bottom left corner) It will make life easier.
PurgeandFire111 is offline   Reply With Quote
Old 12-19-2011, 06:43 PM   #7
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

New jasshelper released. (with for and while loops)

@moyack
O Brother, Where Art Thou?
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar 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 09:51 PM.


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

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