 |   |  |  |
JASS Functions Approved JASS functions will be located here.
Remember to submit your own resources to the submission forum. |
 |
|
03-12-2008, 07:38 PM
|
#16 (permalink)
|
BBoy Silv
Join Date: Nov 2006
Posts: 867
|
+REPzorz!
Gotta start using this... thanks for making it :)
|
|
|
03-20-2008, 10:53 PM
|
#17 (permalink)
|
BBoy Silv
Join Date: Nov 2006
Posts: 867
|
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.
|
|
|
03-22-2008, 01:50 PM
|
#18 (permalink)
|
User
Join Date: Mar 2005
Posts: 226
|
I remember testing that some months ago and I got 0...
|
|
|
03-25-2008, 07:56 AM
|
#19 (permalink)
|
BBoy Silv
Join Date: Nov 2006
Posts: 867
|
Ok, you're the man...... :)
|
|
|
03-26-2008, 01:14 PM
|
#20 (permalink)
|
iRawr
Join Date: Dec 2005
Posts: 8,882
|
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.
|
|
|
04-01-2008, 02:56 PM
|
#21 (permalink)
|
Map Maker
Join Date: May 2007
Posts: 1,612
|
Guys, this uses vJass rit ?
|
|
|
04-02-2008, 10:54 AM
|
#22 (permalink)
|
User
Join Date: Mar 2005
Posts: 226
|
The first keyword in the system is "library" so I guess it does.
|
|
|
04-02-2008, 06:12 PM
|
#23 (permalink)
|
Map Maker
Join Date: May 2007
Posts: 1,612
|
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 ?
|
|
|
04-02-2008, 06:14 PM
|
#24 (permalink)
|
EmoTauren (-.\\)
Join Date: Nov 2006
Posts: 6,545
|
|
|
|
04-02-2008, 08:44 PM
|
#25 (permalink)
|
Map Maker
Join Date: May 2007
Posts: 1,612
|
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.
|
|
|
04-02-2008, 08:59 PM
|
#26 (permalink)
|
EmoTauren (-.\\)
Join Date: Nov 2006
Posts: 6,545
|
vJASS bug? Try to disable war3err
|
|
|
04-02-2008, 09:53 PM
|
#27 (permalink)
|
Map Maker
Join Date: May 2007
Posts: 1,612
|
Already tried everything ... (or nearly everything, i will soon format my whole computer to try to locate the error)...
|
|
|
04-03-2008, 08:10 PM
|
#28 (permalink)
|
User
Join Date: Mar 2005
Posts: 226
|
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.
|
|
|
04-03-2008, 11:35 PM
|
#29 (permalink)
|
Map Maker
Join Date: May 2007
Posts: 1,612
|
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
|
|
|
04-04-2008, 12:42 PM
|
#30 (permalink)
|
BBoy Silv
Join Date: Nov 2006
Posts: 867
|
Also, Phoenix, don't forget to read the instructions above the code ;)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
[JASS] GetClosestUnit problem
|
Silvenon |
Triggers & Scripts |
33 |
09-13-2007 07:48 PM |
|  |  |  |  |   |  |
|