(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Resources > JASS Functions

JASS Functions Approved JASS functions will be located here.
Remember to submit your own resources to the submission forum.

Reply
 
LinkBack Thread Tools Display Modes
Old 03-12-2008, 07:38 PM   #16 (permalink)
 
Silvenon's Avatar

BBoy Silv
 
Join Date: Nov 2006
Posts: 867

Silvenon is on a distinguished road (81)Silvenon is on a distinguished road (81)


+REPzorz!

Gotta start using this... thanks for making it :)
Silvenon is offline   Reply With Quote
Old 03-20-2008, 10:53 PM   #17 (permalink)
 
Silvenon's Avatar

BBoy Silv
 
Join Date: Nov 2006
Posts: 867

Silvenon is on a distinguished road (81)Silvenon is on a distinguished road (81)


Quote:
// Without the divison by 10000, d could potentially
// become so big that wc3 doesnt support it anymore
// and it would become 0.
Actually, it would become negative, at least that's what PP told me.
Silvenon is offline   Reply With Quote
Old 03-22-2008, 01:50 PM   #18 (permalink)

User
 
Join Date: Mar 2005
Posts: 226

DiscipleOfLife is on a distinguished road (71)DiscipleOfLife is on a distinguished road (71)


I remember testing that some months ago and I got 0...
__________________
DiscipleOfLife is offline   Reply With Quote
Old 03-25-2008, 07:56 AM   #19 (permalink)
 
Silvenon's Avatar

BBoy Silv
 
Join Date: Nov 2006
Posts: 867

Silvenon is on a distinguished road (81)Silvenon is on a distinguished road (81)


Ok, you're the man...... :)
Silvenon is offline   Reply With Quote
Old 03-26-2008, 01:14 PM   #20 (permalink)

iRawr
 
Join Date: Dec 2005
Posts: 8,882

PurplePoot is a name known to all (710)PurplePoot is a name known to all (710)PurplePoot is a name known to all (710)PurplePoot is a name known to all (710)

Respected User: This user has been given the respected user award. Map Development Mini-Contest #1 Winner: Stand of the Elements 

Quote:
Actually, it would become negative, at least that's what PP told me.
Usually in an overflow things become negative, because of the way negative numbers are stored in binary the biggest possible number (1111111etc) of any size must be negative.

Unless, of course, Wc3 handles things weirdly and just wipes the number if it overflows.
PurplePoot is offline   Reply With Quote
Old 04-01-2008, 02:56 PM   #21 (permalink)
 
Flame_Phoenix's Avatar

Map Maker
 
Join Date: May 2007
Posts: 1,612

Flame_Phoenix has a spectacular aura about (135)Flame_Phoenix has a spectacular aura about (135)Flame_Phoenix has a spectacular aura about (135)Flame_Phoenix has a spectacular aura about (135)


Guys, this uses vJass rit ?
__________________
Check out my tutorials at:
1-Creating a Hero Tavern
2-Complete Icon Tutorial - ALL about Icons
Check out all my current spells at here
This spells belong to my project
Castle vs Castle Flame Edition and I hope you all enjoy it.
Flame_Phoenix is offline   Reply With Quote
Old 04-02-2008, 10:54 AM   #22 (permalink)

User
 
Join Date: Mar 2005
Posts: 226

DiscipleOfLife is on a distinguished road (71)DiscipleOfLife is on a distinguished road (71)


The first keyword in the system is "library" so I guess it does.
__________________
DiscipleOfLife is offline   Reply With Quote
Old 04-02-2008, 06:12 PM   #23 (permalink)
 
Flame_Phoenix's Avatar

Map Maker
 
Join Date: May 2007
Posts: 1,612

Flame_Phoenix has a spectacular aura about (135)Flame_Phoenix has a spectacular aura about (135)Flame_Phoenix has a spectacular aura about (135)Flame_Phoenix has a spectacular aura about (135)


Is there a way to create a similar system without using vJass !? I know I could convert it, but that wouldn't be much efficient rit ?
__________________
Check out my tutorials at:
1-Creating a Hero Tavern
2-Complete Icon Tutorial - ALL about Icons
Check out all my current spells at here
This spells belong to my project
Castle vs Castle Flame Edition and I hope you all enjoy it.
Flame_Phoenix is offline   Reply With Quote
Old 04-02-2008, 06:14 PM   #24 (permalink)
 
HappyTauren's Avatar

EmoTauren (-.\\)
 
Join Date: Nov 2006
Posts: 6,545

HappyTauren is a splendid one to behold (946)HappyTauren is a splendid one to behold (946)HappyTauren is a splendid one to behold (946)HappyTauren is a splendid one to behold (946)


Dude. Just use vJASS.
__________________
HappyTauren is offline   Reply With Quote
Old 04-02-2008, 08:44 PM   #25 (permalink)
 
Flame_Phoenix's Avatar

Map Maker
 
Join Date: May 2007
Posts: 1,612

Flame_Phoenix has a spectacular aura about (135)Flame_Phoenix has a spectacular aura about (135)Flame_Phoenix has a spectacular aura about (135)Flame_Phoenix has a spectacular aura about (135)


Dude, my map can't use vJAss. VJass has a bug that prevents that. I already spoke to Vexorian and his team, they say they make no idea why that doesn't run. So therefore i can not use vJAss. That is why I am asking for help here.
__________________
Check out my tutorials at:
1-Creating a Hero Tavern
2-Complete Icon Tutorial - ALL about Icons
Check out all my current spells at here
This spells belong to my project
Castle vs Castle Flame Edition and I hope you all enjoy it.
Flame_Phoenix is offline   Reply With Quote
Old 04-02-2008, 08:59 PM   #26 (permalink)
 
HappyTauren's Avatar

EmoTauren (-.\\)
 
Join Date: Nov 2006
Posts: 6,545

HappyTauren is a splendid one to behold (946)HappyTauren is a splendid one to behold (946)HappyTauren is a splendid one to behold (946)HappyTauren is a splendid one to behold (946)


vJASS bug? Try to disable war3err
__________________
HappyTauren is offline   Reply With Quote
Old 04-02-2008, 09:53 PM   #27 (permalink)
 
Flame_Phoenix's Avatar

Map Maker
 
Join Date: May 2007
Posts: 1,612

Flame_Phoenix has a spectacular aura about (135)Flame_Phoenix has a spectacular aura about (135)Flame_Phoenix has a spectacular aura about (135)Flame_Phoenix has a spectacular aura about (135)


Already tried everything ... (or nearly everything, i will soon format my whole computer to try to locate the error)...
__________________
Check out my tutorials at:
1-Creating a Hero Tavern
2-Complete Icon Tutorial - ALL about Icons
Check out all my current spells at here
This spells belong to my project
Castle vs Castle Flame Edition and I hope you all enjoy it.
Flame_Phoenix is offline   Reply With Quote
Old 04-03-2008, 08:10 PM   #28 (permalink)

User
 
Join Date: Mar 2005
Posts: 226

DiscipleOfLife is on a distinguished road (71)DiscipleOfLife is on a distinguished road (71)


Untill you do that you can use the freshly coded "without vJass" version.

I haven't tested if it works in game. I only renamed the global variables to use udg_GCU prefix, as well as removed all private keywords and the library so I highly doubt that it wouldn't work :).

EDIT: About efficiency which you were wondering:

The no-vJass version is almost identical to the vJass version. The only difference that affects performance is that the vJass version uses a precomputed boolexpr while the no-vJass version doesn't. This difference shouldn't be anything to worry about.
__________________
DiscipleOfLife is offline   Reply With Quote
Old 04-03-2008, 11:35 PM   #29 (permalink)
 
Flame_Phoenix's Avatar

Map Maker
 
Join Date: May 2007
Posts: 1,612

Flame_Phoenix has a spectacular aura about (135)Flame_Phoenix has a spectacular aura about (135)Flame_Phoenix has a spectacular aura about (135)Flame_Phoenix has a spectacular aura about (135)


wOW, THX really =)
That will certainly prove useful for my lighting spells =) It has more logic to affect a close unit than a random unit 500 meters away :p

Thx

+ rep
__________________
Check out my tutorials at:
1-Creating a Hero Tavern
2-Complete Icon Tutorial - ALL about Icons
Check out all my current spells at here
This spells belong to my project
Castle vs Castle Flame Edition and I hope you all enjoy it.
Flame_Phoenix is offline   Reply With Quote
Old 04-04-2008, 12:42 PM   #30 (permalink)
 
Silvenon's Avatar

BBoy Silv
 
Join Date: Nov 2006
Posts: 867

Silvenon is on a distinguished road (81)Silvenon is on a distinguished road (81)


Also, Phoenix, don't forget to read the instructions above the code ;)
Silvenon is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[JASS] GetClosestUnit problem Silvenon Triggers & Scripts 33 09-13-2007 07:48 PM

All times are GMT. The time now is 12:34 AM.






Your link here 
Loans | Debt Management | Credit Card Consolidation | Ringtones | Mortgages
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle