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 > Resources > Code Resources > Samples
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 04-20-2010, 03:04 AM   #406
Fledermaus
default string
 
Fledermaus's Avatar
 
Join Date: May 2006
Posts: 705

Submissions (1)

Fledermaus is a jewel in the rough (194)Fledermaus is a jewel in the rough (194)Fledermaus is a jewel in the rough (194)

Send a message via MSN to Fledermaus
Default

I think he means how TC's one only takes 1 line to define every single attribute an item can have. God damn is it ugly.
Fledermaus is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 04-21-2010, 09:15 AM   #407
Anachron
User
 
Anachron's Avatar
 
Join Date: Mar 2009
Posts: 1,079

Anachron will become famous soon enough (51)Anachron will become famous soon enough (51)

Default

One line for everything? Dude that sounds horrible.
__________________
CustomInventory [Discussion - Download] - Got Directors Cut!
CustomMissle [Discussion - [Download (not yet)] - In development!
Other systems [Spawn System] [Move System] [CustomBar] [SpellBar]
Anachron is offline   Reply With Quote
Old 05-15-2010, 02:54 PM   #408
vercas
User
 
vercas's Avatar
 
Join Date: Aug 2008
Posts: 107

vercas has little to show at this moment (8)

Send a message via MSN to vercas Send a message via Yahoo to vercas
Default

Sounds horrible but that's my best friend when programming... >.>
__________________

vercas is offline   Reply With Quote
Old 06-28-2010, 03:54 PM   #409
Ignitedstar
Moderator
 
Ignitedstar's Avatar


RP Section Moderator
 
Join Date: Jul 2005
Posts: 1,755

Ignitedstar has a spectacular aura about (102)Ignitedstar has a spectacular aura about (102)Ignitedstar has a spectacular aura about (102)Ignitedstar has a spectacular aura about (102)

Send a message via MSN to Ignitedstar Send a message via Yahoo to Ignitedstar
Default

Quote:
Originally Posted by Fledermaus
I think he means how TC's one only takes 1 line to define every single attribute an item can have. God damn is it ugly.
Really, guys? I tend to like it, because I have some 500+ items that need to be registered. I'd rather see 500 lines of really long code with content separated by commas then about 3000 lines because everything must be done line by line.

EDIT: Don't get me wrong, I can definitely see the advantages of having it the way that Anachron and a lot of other inventory systems do it (line by line). That way, you define only what you need to define and don't need to add lots of needless zeroes (this gets me mad every now and then).
__________________
Current Activity: It's a secret, now.
Evaluation: I actually logged in?!?!
"If I speak in the tongues of men and of angels, but have not love,
I am only a resounding gong or a clanging cymbal.
If I have the gift of prophecy and can fathom all mysteries and all knowledge,
and if I have a faith that can move mountains, but have not love, I am nothing."

1 Corinthians 13:1-2

Current Works:
None.

Last edited by Ignitedstar : 06-28-2010 at 04:06 PM.
Ignitedstar is offline   Reply With Quote
Old 07-26-2010, 02:28 PM   #410
vercas
User
 
vercas's Avatar
 
Join Date: Aug 2008
Posts: 107

vercas has little to show at this moment (8)

Send a message via MSN to vercas Send a message via Yahoo to vercas
Default

It's like an INI file content... Only that newlines are replaced by semicolon!

Edit: Lots of zeros? Just remove the attributes!

Edit 2: Toadcop is alive!!
http://www.hiveworkshop.com/forums/m...ml#post1657359
__________________


Last edited by vercas : 07-26-2010 at 02:31 PM.
vercas is offline   Reply With Quote
Old 07-30-2010, 07:15 PM   #411
Toadcop
BuranX
 
Toadcop's Avatar
 
Join Date: Jul 2006
Posts: 1,886

Submissions (4)

Toadcop is just really nice (299)Toadcop is just really nice (299)

Approved Map: TcXSpell Making Session 10 Winner

Send a message via ICQ to Toadcop
Default

Toadcop is allways watching over you lol... -.- // just don't post,

Quote:
and don't need to add lots of needless zeroes (this gets me mad every now and then).
well "Just remove the attributes!"
+ 0;0;0; = ;;; (non char = 0)

so...

str=20;;; is the same as str=20;0;0;

i don't remember if i allready wrote this BUT the concept of data structure is taken from D2 (diablo 2) files but in my case i don't have static amount of possible fields they are dynamic

example
Code:
Hellfire Torch	100	1		1		110	75	cm2	charm		1	3	5000			flptrch	invtrch	item_gem	12	item_gem	randclassskill		0	6	all-stats		10	20	res-all		10	20	light		8	8	hit-skill	197	5	10	charged	Hydra	10	30																									0

so the actuall bonuses
randclassskill=0;0;6; all-stats=0;10;20; res-all=0;10;20; light=0;8; 8; hit-skill=197;5;10; charged=Hydra;10;30;
__________________
Toadcop is offline   Reply With Quote
Old 07-31-2010, 12:25 PM   #412
vercas
User
 
vercas's Avatar
 
Join Date: Aug 2008
Posts: 107

vercas has little to show at this moment (8)

Send a message via MSN to vercas Send a message via Yahoo to vercas
Default

Will we ever get an update? :D
__________________

vercas is offline   Reply With Quote
Old 08-01-2010, 01:08 AM   #413
Toadcop
BuranX
 
Toadcop's Avatar
 
Join Date: Jul 2006
Posts: 1,886

Submissions (4)

Toadcop is just really nice (299)Toadcop is just really nice (299)

Approved Map: TcXSpell Making Session 10 Winner

Send a message via ICQ to Toadcop
Default

no ofc.
__________________
Toadcop is offline   Reply With Quote
Old 08-01-2010, 11:45 AM   #414
Fledermaus
default string
 
Fledermaus's Avatar
 
Join Date: May 2006
Posts: 705

Submissions (1)

Fledermaus is a jewel in the rough (194)Fledermaus is a jewel in the rough (194)Fledermaus is a jewel in the rough (194)

Send a message via MSN to Fledermaus
Default

You should really add that to the first post so people don't keep asking it.
Fledermaus is offline   Reply With Quote
Old 08-05-2010, 09:07 PM   #415
vercas
User
 
vercas's Avatar
 
Join Date: Aug 2008
Posts: 107

vercas has little to show at this moment (8)

Send a message via MSN to vercas Send a message via Yahoo to vercas
Default

I've managed to get your precompiler working.
All it needs is the .NET Framework.
(It took me some time to figure that out...)
__________________

vercas is offline   Reply With Quote
Old 08-08-2011, 10:00 PM   #416
wohuynia
User
 
Join Date: Jan 2011
Posts: 1

wohuynia has little to show at this moment (0)

Default

Somehow this system doesn't work, i get errors, can't save it -.-
wohuynia is offline   Reply With Quote
Old 09-02-2011, 02:55 PM   #417
Izzy
User
 
Join Date: Nov 2010
Posts: 3

Izzy has little to show at this moment (0)

Default

I don't know if Toadcop still wandering on this thread..??
i just wanna ask him something..
What does ard.j thing doing at his map??(BX-TRSII)
Izzy is offline   Reply With Quote
Old 09-03-2011, 03:43 AM   #418
Nuclear Arbitor
Reputation Leech
 
Nuclear Arbitor's Avatar
 
Join Date: May 2007
Posts: 1,235

Submissions (1)

Nuclear Arbitor has a spectacular aura about (83)Nuclear Arbitor has a spectacular aura about (83)Nuclear Arbitor has a spectacular aura about (83)

Default

send him a PM
Nuclear Arbitor is offline   Reply With Quote
Old 11-14-2011, 10:56 AM   #419
Anchorist
User
 
Join Date: Nov 2011
Posts: 1

Anchorist has little to show at this moment (0)

Thumbs down

Autoreplacer.zip is corrupted, the system is useless, works only as sample or example for future projects.. ;/
Anchorist is offline   Reply With Quote
Old 11-14-2011, 08:57 PM   #420
Nuclear Arbitor
Reputation Leech
 
Nuclear Arbitor's Avatar
 
Join Date: May 2007
Posts: 1,235

Submissions (1)

Nuclear Arbitor has a spectacular aura about (83)Nuclear Arbitor has a spectacular aura about (83)Nuclear Arbitor has a spectacular aura about (83)

Default

well then this should be graveyarded.
Nuclear Arbitor 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:39 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