(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.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 10-24-2007, 11:21 AM   #16 (permalink)
 
Silvenon's Avatar

BBoy Silv
 
Join Date: Nov 2006
Posts: 866

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


I may use this crap some time...... :)
__________________
PurgeandFire111: Then you can delete the sound and whala... You have the label,filepath, and other parameters.
Silvenon: It's voila, not whala, you... stupidhead :)
PurgeandFire111: Yeah, I was in a rush. =( *cry*
Herman: Voila is an instrument that I quit playing in 6th grade, whala works just fine if not better
PurgeandFire111: No, viola is an instrument. Stupidhead... =D
Silvenon is offline  
Old 10-25-2007, 06:43 AM   #17 (permalink)
 
PurgeandFire111's Avatar

User Title
 
Join Date: Nov 2006
Posts: 1,029

PurgeandFire111 is a jewel in the rough (155)


Lol... Panda, I didn't even know you still played Warcraft... Anyways, looks pretty good to me. Gj.
__________________
Vote For The Hive Workshop!
Funny but the TRUTH! :
Quote:
Originally Posted by Sopho
Unprotecting maps is not right its like crime and YOU GO MAKE YOUR OWN MAP AND BE HAPPY! Don't be gay n00b!

1. You can if it is yours but you should not if it is not. It is like stealing information and using it as if it is your own. It si gay stuff and people who unprotect maps are gay themselves.
PurgeandFire111 is offline  
Old 10-28-2007, 12:51 AM   #18 (permalink)
Spell and Map Moderator
 
Dr Super Good's Avatar

The Helpful Personage
 
Join Date: Jan 2005
Posts: 4,261

Dr Super Good is a name known to all (690)Dr Super Good is a name known to all (690)Dr Super Good is a name known to all (690)Dr Super Good is a name known to all (690)


Something looks wrong with the test results.
When using multiple handles the other systems spead up while yours went slower. What happens if even more handles are used for the test, surely then the results could end up with your system being slower than the others?
Dr Super Good is offline  
Old 10-28-2007, 02:00 AM   #19 (permalink)
 
PandaMine's Avatar

User
 
Join Date: Sep 2007
Posts: 58

PandaMine has little to show at this moment (24)PandaMine has little to show at this moment (24)PandaMine has little to show at this moment (24)


Its nothing wrong, my system is still much faster. What multiple handle test does is create 10000 handles, and attaches a struct to each handle. This would be the least likely way the system is going to be used, it is more common that people will attach a struct to the same handle (such as a timer) and retrieve it numerouse times that way. The multiple handle test isnt really an accurate representation, as the majority of people when attaching/retrieving handles are concerned about how fast they retrieve the struct off a single handle (i.e. a periodic timer)

Even then the system is still a massive 35% faster on around 15000 different handles, if you had that many handles and attached a struct to every one of those handles then something weird is going on in your map
PandaMine is offline  
Old 11-09-2007, 12:12 PM   #20 (permalink)
 
Silvenon's Avatar

BBoy Silv
 
Join Date: Nov 2006
Posts: 866

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


You put //! runtextmacro HSAS(...) instead of //! runtextmacro HSAS_Static(...)
Running the textmacro makes a library, right? Then we can have two statics with the same number right, because the library puts it in the map header and it is reachable from anywhere, making it not private.

So if we have 4 or more spells in the map, we have to have more than 3 statics (you said we need 2-3 max).
__________________
PurgeandFire111: Then you can delete the sound and whala... You have the label,filepath, and other parameters.
Silvenon: It's voila, not whala, you... stupidhead :)
PurgeandFire111: Yeah, I was in a rush. =( *cry*
Herman: Voila is an instrument that I quit playing in 6th grade, whala works just fine if not better
PurgeandFire111: No, viola is an instrument. Stupidhead... =D
Silvenon is offline  
Old 11-09-2007, 11:17 PM   #21 (permalink)
 
PandaMine's Avatar

User
 
Join Date: Sep 2007
Posts: 58

PandaMine has little to show at this moment (24)PandaMine has little to show at this moment (24)PandaMine has little to show at this moment (24)


U can make as many as you want. Its that if you make too many the code in ur map can get kinda long, but in terms of memory and lagging it does nothing. If you have 4 spells in a map then you only need 1 static library. You only need more then 1 static library if you want to attach MORE then 1 struct to a handle
PandaMine is offline  
Old 11-10-2007, 02:34 PM   #22 (permalink)
 
Silvenon's Avatar

BBoy Silv
 
Join Date: Nov 2006
Posts: 866

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


You can use the same static library for multiple spells?

You said that if you need to attach more than 1 struct to a handle you can make a dynamic library, right? Then you only need one static and one dynamic library in a map.

Why is textmacro HSAS_Static run inside the library and HSAS_Dynamic outside it?

Isn't the purpose in these stuff to avoid game cache?
__________________
PurgeandFire111: Then you can delete the sound and whala... You have the label,filepath, and other parameters.
Silvenon: It's voila, not whala, you... stupidhead :)
PurgeandFire111: Yeah, I was in a rush. =( *cry*
Herman: Voila is an instrument that I quit playing in 6th grade, whala works just fine if not better
PurgeandFire111: No, viola is an instrument. Stupidhead... =D
Silvenon is offline  
Old 11-11-2007, 11:50 AM   #23 (permalink)
 
PandaMine's Avatar

User
 
Join Date: Sep 2007
Posts: 58

PandaMine has little to show at this moment (24)PandaMine has little to show at this moment (24)PandaMine has little to show at this moment (24)


It only resorts to gamecache if you have somehow used up 26000 handles and havent nulled them. Yes you can use the same static library for many spells, its only when you need to attach multiple structs to a single handle i.e. attach multiple structs to a timer for a spell. However in 90% of situations you will never need to attach more then a single struct to a single handle
PandaMine is offline  
Old 11-12-2007, 04:46 PM   #24 (permalink)
 
Silvenon's Avatar

BBoy Silv
 
Join Date: Nov 2006
Posts: 866

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


Ok, thanks.

needmorecharacters
__________________
PurgeandFire111: Then you can delete the sound and whala... You have the label,filepath, and other parameters.
Silvenon: It's voila, not whala, you... stupidhead :)
PurgeandFire111: Yeah, I was in a rush. =( *cry*
Herman: Voila is an instrument that I quit playing in 6th grade, whala works just fine if not better
PurgeandFire111: No, viola is an instrument. Stupidhead... =D
Silvenon is offline  
Old 04-11-2008, 07:13 AM   #25 (permalink)
 
PandaMine's Avatar

User
 
Join Date: Sep 2007
Posts: 58

PandaMine has little to show at this moment (24)PandaMine has little to show at this moment (24)PandaMine has little to show at this moment (24)


HSAS v3.40 came out, it now includes debugging options and the ability to scope static/dynamic libraries (local,public and global). Press re-read the usage trigger for more information
PandaMine is offline  
Old 05-03-2008, 06:31 AM   #26 (permalink)
 
PandaMine's Avatar

User
 
Join Date: Sep 2007
Posts: 58

PandaMine has little to show at this moment (24)PandaMine has little to show at this moment (24)PandaMine has little to show at this moment (24)


HSAS v3.50 has just been released, you can now specify the limit instead of using the arbitrary 24570 enforced limit in previous versions, refer to the usage manual for more information
PandaMine is offline  
Old 05-05-2008, 11:38 PM   #27 (permalink)
 
PurgeandFire111's Avatar

User Title
 
Join Date: Nov 2006
Posts: 1,029

PurgeandFire111 is a jewel in the rough (155)


So these tests are accurate right? Would you suggest me to use this over ABC and HAIL?
__________________
Vote For The Hive Workshop!
Funny but the TRUTH! :
Quote:
Originally Posted by Sopho
Unprotecting maps is not right its like crime and YOU GO MAKE YOUR OWN MAP AND BE HAPPY! Don't be gay n00b!

1. You can if it is yours but you should not if it is not. It is like stealing information and using it as if it is your own. It si gay stuff and people who unprotect maps are gay themselves.
PurgeandFire111 is offline  
Old 05-06-2008, 09:49 AM   #28 (permalink)
 
Silvenon's Avatar

BBoy Silv
 
Join Date: Nov 2006
Posts: 866

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


That's what I was wondering, what to use?? I don't know anymore.
Silvenon is offline  
Old 05-12-2008, 09:32 AM   #29 (permalink)
 
PandaMine's Avatar

User
 
Join Date: Sep 2007
Posts: 58

PandaMine has little to show at this moment (24)PandaMine has little to show at this moment (24)PandaMine has little to show at this moment (24)


I suggest you use HSAS, since you can specify any limit you want and it is much faster then either ABC or HAIL (ABC doesn't even attach to units anymore).

As long as you clean up the handle leaks most of the time you will be good to go
PandaMine is offline  
Old 05-16-2008, 04:31 PM   #30 (permalink)
 
Silvenon's Avatar

BBoy Silv
 
Join Date: Nov 2006
Posts: 866

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


That's what I wanted to hear, I didn't want to use systems from that guy anymore..... I just don't like him.
Silvenon is offline  
Closed Thread

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] Jass Cinematic system help LordHunter Triggers & Scripts 4 03-25-2008 06:23 AM
Jass Cinematic System Help LordHunter Cinematics 5 03-25-2008 01:37 AM
[JASS] Pandamines 3 array Handle system Herman Triggers & Scripts 5 03-24-2008 05:32 PM
[Jass] Save/Load System Rheias "Graveyard" 0 12-24-2007 06:36 PM
Requesting special JASS system Drain Pipe Requests 0 10-15-2006 12:21 AM

All times are GMT. The time now is 07:37 AM.






Your link here 
Arts and Entertainment Articles | Xecuter 3 Mod Chip | Debt Consolidation | MPAA | Guitar Lesson
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle