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



Reply
 
Thread Tools Search this Thread
Old 05-16-2009, 11:05 PM   #31
Archmage Owenalacaster
Laughs Derisively
 
Archmage Owenalacaster's Avatar


Project Member: PoC
 
Join Date: Jun 2006
Posts: 649

Submissions (1)

Archmage Owenalacaster is a jewel in the rough (180)Archmage Owenalacaster is a jewel in the rough (180)Archmage Owenalacaster is a jewel in the rough (180)

Race-Building Contest #1 Winner

Default

As far as I'm aware, there are no bugs with the system. But if there are it is imperative that I locate them. Please post the relevant code.
__________________
I enjoy small text.
Resources: Custom Race System
JademusSreg.950, North American region on StarCraft 2
Archmage Owenalacaster is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 05-17-2009, 11:25 AM   #32
BeamTCG
User
 
BeamTCG's Avatar
 
Join Date: Jun 2006
Posts: 23

BeamTCG has little to show at this moment (0)

Default

What 'relevant code' I should post here? Race implemention? if yes it's here.
Collapse JASS:
        set c = CustomRace.create("High Elf",RACE_NIGHTELF,0.9)
        call c.setTownHall('h000')                  
        call c.addWorkerType('h00G',c.NEAR_MINE,5)  
        call c.addHeroType('H00J')                 
        call c.addHeroType('H00I')                
        call c.addHeroType('E001')                  
        call c.addHeroType('H00H') 

About uploading the map, it needs credit and heavy recode. I'm going to post a project here soon after I got my credit list done. (There's plenty of import.)

PS.I'm using normal melee init, is it ok?
BeamTCG is offline   Reply With Quote
Old 05-17-2009, 11:34 AM   #33
Archmage Owenalacaster
Laughs Derisively
 
Archmage Owenalacaster's Avatar


Project Member: PoC
 
Join Date: Jun 2006
Posts: 649

Submissions (1)

Archmage Owenalacaster is a jewel in the rough (180)Archmage Owenalacaster is a jewel in the rough (180)Archmage Owenalacaster is a jewel in the rough (180)

Race-Building Contest #1 Winner

Default

No, this replaces standard melee initialization in every capacity.

Can you specify what error messages are generated?
__________________
I enjoy small text.
Resources: Custom Race System
JademusSreg.950, North American region on StarCraft 2
Archmage Owenalacaster is offline   Reply With Quote
Old 05-17-2009, 12:15 PM   #34
BeamTCG
User
 
BeamTCG's Avatar
 
Join Date: Jun 2006
Posts: 23

BeamTCG has little to show at this moment (0)

Default

I see, thanks.

The generated messages is not error messages but it's something like "You're being revealed unless you build a tree of life" and then "You are not revealed". The second one immediately appeared after the first, and then the first one, and again again again.

Strangely, in another game after, I didn't get anything like that again.

PS. Sorry for some mistake, English is not my main language.
BeamTCG is offline   Reply With Quote
Old 05-17-2009, 12:16 PM   #35
Michael Peppers
Lepus?
 
Michael Peppers's Avatar
 
Join Date: Jan 2009
Posts: 1,306

Michael Peppers is a jewel in the rough (184)Michael Peppers is a jewel in the rough (184)Michael Peppers is a jewel in the rough (184)

Default

Quote:
Originally Posted by BeamTCG
PS.I'm using normal melee init, is it ok?

You mean normal melee init = unmodified Initailization trigger, right?

To use this system properly you have to delete the whole init trigger. action:

Trigger:
Melee Game - Create Starting Units (for all players)

So, explaination: This system goes in conflict with that line, because that does start a reveal check that works only for normal races, and the system blocks it since the race has been registered.


Other than that, I can't find other things that can cause the issue you reported.

And well, if you did delete that line... my bad.

EDIT: Can I make such mistakes? Yes, I can!
__________________
Projects:Tutorials: Competitive AI Step by Step with AI Editor (Pending)
Resources: [AI Script] Michael Peppers's Melee AI template (Pending)

Last edited by Michael Peppers : 05-17-2009 at 12:28 PM.
Michael Peppers is offline   Reply With Quote
Old 05-17-2009, 12:23 PM   #36
BeamTCG
User
 
BeamTCG's Avatar
 
Join Date: Jun 2006
Posts: 23

BeamTCG has little to show at this moment (0)

Default

Quote:
And well, if you did delete that line... my bad.
I did delete it. And you're not bad either.
BeamTCG is offline   Reply With Quote
Old 05-17-2009, 12:24 PM   #37
Archmage Owenalacaster
Laughs Derisively
 
Archmage Owenalacaster's Avatar


Project Member: PoC
 
Join Date: Jun 2006
Posts: 649

Submissions (1)

Archmage Owenalacaster is a jewel in the rough (180)Archmage Owenalacaster is a jewel in the rough (180)Archmage Owenalacaster is a jewel in the rough (180)

Race-Building Contest #1 Winner

Default

Peppers, darnit, don't confuse him. The system replaces the entire melee initialization trigger, not just unit creation. C'mon, you helped test the system.
__________________
I enjoy small text.
Resources: Custom Race System
JademusSreg.950, North American region on StarCraft 2
Archmage Owenalacaster is offline   Reply With Quote
Old 05-17-2009, 12:32 PM   #38
Michael Peppers
Lepus?
 
Michael Peppers's Avatar
 
Join Date: Jan 2009
Posts: 1,306

Michael Peppers is a jewel in the rough (184)Michael Peppers is a jewel in the rough (184)Michael Peppers is a jewel in the rough (184)

Default

Me tried to help, me phailed, me just awake, so... me sleepy.

And yeah, you're right... BTW who knows the code better than the one that coded it?

Sorry, before answering again I'll triple check the system. :)

EDIT: Since this could bring problems to others aswell, I'd say, add it explicitly in your first post. (Bolded, red, size 3-4)
__________________
Projects:Tutorials: Competitive AI Step by Step with AI Editor (Pending)
Resources: [AI Script] Michael Peppers's Melee AI template (Pending)

Last edited by Michael Peppers : 05-17-2009 at 12:51 PM.
Michael Peppers is offline   Reply With Quote
Old 05-17-2009, 03:37 PM   #39
BeamTCG
User
 
BeamTCG's Avatar
 
Join Date: Jun 2006
Posts: 23

BeamTCG has little to show at this moment (0)

Default

Quote:
Originally Posted by Michael Peppers
EDIT: Since this could bring problems to others aswell, I'd say, add it explicitly in your first post. (Bolded, red, size 3-4)
Agreed.

How can I implement AI for computer player using this system? Or I have to add some extra lines of code into the core system?

One more question, is it possible to change player icon in score-screen without replacing the old one?

PS.I'm wondering why this system doesn't get approved.
__________________

~Anime Addiction~
BeamTCG is offline   Reply With Quote
Old 05-17-2009, 03:48 PM   #40
Michael Peppers
Lepus?
 
Michael Peppers's Avatar
 
Join Date: Jan 2009
Posts: 1,306

Michael Peppers is a jewel in the rough (184)Michael Peppers is a jewel in the rough (184)Michael Peppers is a jewel in the rough (184)

Default

Quote:
Originally Posted by BeamTCG
How can I implement AI for computer player using this system? Or I have to add some extra lines of code into the core system?

I'll skip this question, better wait for Archmage or Alevice to answer this time. :)

Quote:
Originally Posted by BeamTCG
One more question, is it possible to change player icon in score-screen without replacing the old one?

No... possible to do only by hacking the game files, and... that's not legal...

Quote:
Originally Posted by BeamTCG
PS.I'm wondering why this system doesn't get approved.

We too. :/
__________________
Projects:Tutorials: Competitive AI Step by Step with AI Editor (Pending)
Resources: [AI Script] Michael Peppers's Melee AI template (Pending)
Michael Peppers is offline   Reply With Quote
Old 05-17-2009, 03:51 PM   #41
Rising_Dusk
Obscurity, the Art


Projects Director
Project Leader: OD
 
Join Date: Feb 2006
Posts: 9,727

Submissions (27)

Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)

Hero Contest #3 - 1st PlaceApproved Map: Desert of ExileApproved Map: Advent of the ZenithHero Contest #2 - 1st PlaceHero Contest - Third place>

Send a message via AIM to Rising_Dusk Send a message via MSN to Rising_Dusk
Default

Quote:
Originally Posted by Michael Peppers
We too. :/
Because regardless if it works, it has to be properly reviewed first. A custom race system is a big thing to review, so I suspect it may be awhile. :P
__________________
Rising_Dusk is offline   Reply With Quote
Old 05-17-2009, 07:57 PM   #42
Archmage Owenalacaster
Laughs Derisively
 
Archmage Owenalacaster's Avatar


Project Member: PoC
 
Join Date: Jun 2006
Posts: 649

Submissions (1)

Archmage Owenalacaster is a jewel in the rough (180)Archmage Owenalacaster is a jewel in the rough (180)Archmage Owenalacaster is a jewel in the rough (180)

Race-Building Contest #1 Winner

Default

The system does not currently support AI, though a future version will.

Until the system does support AI, I'd suggest running a trigger for AI after 1 second. I would not advise tampering with the system unless you're secure in your understanding.
__________________
I enjoy small text.
Resources: Custom Race System
JademusSreg.950, North American region on StarCraft 2
Archmage Owenalacaster is offline   Reply With Quote
Old 06-11-2009, 07:39 AM   #43
Archmage Owenalacaster
Laughs Derisively
 
Archmage Owenalacaster's Avatar


Project Member: PoC
 
Join Date: Jun 2006
Posts: 649

Submissions (1)

Archmage Owenalacaster is a jewel in the rough (180)Archmage Owenalacaster is a jewel in the rough (180)Archmage Owenalacaster is a jewel in the rough (180)

Race-Building Contest #1 Winner

Default

I've updated my script in preparation of the new patch. The r2I function exploited the return bug. By the end of the month, I expect to update the demo map, and add AI support.
__________________
I enjoy small text.
Resources: Custom Race System
JademusSreg.950, North American region on StarCraft 2
Archmage Owenalacaster is offline   Reply With Quote
Old 07-10-2009, 11:10 PM   #44
Alevice
It feels good
 
Alevice's Avatar
 
Join Date: Mar 2006
Posts: 1,305

Alevice is a jewel in the rough (190)Alevice is a jewel in the rough (190)Alevice is a jewel in the rough (190)

Default

The month ended fucker.
__________________
_-|-_

Alevice.jones is SC2 Beta, losers.

Check out my never updated deviantart gallery!!

Kalimdor Raiders (Race Contest #1) Pastebin Page
Cavern Crawlers (Race Contest #2) Pastebin Page
Airship Race Motherfuckers!
Quote:
Originally Posted by http://ajaxian.com/archives/would-you-like-a-_-with-that-new-library-gives-js-what-it-should-have#comment-276203
- Dont solve problems that dont exist.
- Improve the wheel, dont reinvent it.
- Port the wheel if it doesnt exist in your environment.
- Integrate the wheel into your project.
- Make sure you can replace your wooden wheel for a rubber one if someone else invents it.
Alevice is offline   Reply With Quote
Old 07-11-2009, 12:18 AM   #45
Archmage Owenalacaster
Laughs Derisively
 
Archmage Owenalacaster's Avatar


Project Member: PoC
 
Join Date: Jun 2006
Posts: 649

Submissions (1)

Archmage Owenalacaster is a jewel in the rough (180)Archmage Owenalacaster is a jewel in the rough (180)Archmage Owenalacaster is a jewel in the rough (180)

Race-Building Contest #1 Winner

Default

Accurate observation. I guess I'll make those changes I intended... soon.
__________________
I enjoy small text.
Resources: Custom Race System
JademusSreg.950, North American region on StarCraft 2
Archmage Owenalacaster 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 10:32 AM.


Donate

Affiliates
The Hubb http://bylur.com - Warcraft, StarCraft, Diablo and DotA Blog & Forums The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

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