Register for free, and make this box disappear!

Welcome to the BF Forums! Register Now, It's Free!


Welcome to the BF Forums; your source for the latest video game news, strategies, discussions, and resources. Join over 66,000 like-minded gamers to chat about your interests in our community.

You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free. Whatever your game interest may be, you'll find information here where people realize that games are more than just poker online.


Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
BattleForums.com Blizzard Gaming Forums > Warcraft > Warcraft General > Warcraft Maps and Modifications

We're Half-Way There!! - BF Lotto: $50 Ebay or Amazon Gift Card - A Single Click is All It Takes...

Reply
 
Thread Tools Display Modes
Old 11-21-2004, 01:05 AM   #1 (permalink)
BattleForums Newbie
 
Join Date: Nov 2004
Age: 27
Posts: 17
warchess advanced v3

I've got a chess map for warcraft 3 called warchess advanced. Something is wrong with it because when I go to make my first move, it tells me that the other person forfeit and the other person sees me as the one that forfeit. There's got to be something wrong in the triggering, but the author of the map says it's a great map that works great. The triggers are the most advanced I've seen, so if anyone can help me figure out what's wrong with the map that would be great. BTW it's for ROC.
flatleyld is offline   Reply With Quote
Beitrag Sponsored Links

__________________
Ads suck! Take 2 minutes to register for your free account, and GET RID OF THESE ADS!
Old 11-23-2004, 05:56 PM   #2 (permalink)
 
Chris's Avatar
 
Join Date: May 2003
Location: Temple Prime, Sarajevo
Age: 22
Posts: 16,127
Declare two variables, both integers using the Nature of Truth in C logic. This means that If any variable is 1, its considered true, if its 0, then its false! Declare the variables as 1 at the start. If the player left the game, make a trigger that reduces it to 0 THEN display that message!!!. The reason warchess is so complicated is because you need a trigger for every possible move, piece, and when to declare checkmate and shit -_-;. I would assume the map is 1000+ triggers or so
__________________



One Vision. One Purpose.
Through leadership in Kane, we seek a new Tiberium future.
Our stealth and advanced weaponry will bring swift death to any who oppose us.
PEACE THRU POWER!


Warlock-Rauteus - Zy-el Necromancer - Level 143 of 10000

My Personal Blog Page - Updated every Friday
Join the Phantasy Star Online sensation - ChrisH36
Chris is online now   Reply With Quote
Old 11-26-2004, 04:12 AM   #3 (permalink)
BattleForums Senior Member
 
tassadar920's Avatar
 
Join Date: May 2003
Location: My house
Posts: 2,048
Uhh... anybody who uses integers to do true/false statements are severly retarded...

Try using a boolean...
__________________
: )
tassadar920 is offline   Reply With Quote
Old 11-26-2004, 11:43 PM   #4 (permalink)
BattleForums Addict
 
Icedragon's Avatar
 
Join Date: Aug 2002
Location: The Swiming Pools
Age: 20
Posts: 834
Tassadar a integer of 1 and 0 are true and false if its one it true and 0 is false apperntly you havnt did any basic or C programming
__________________
I Will Rise from the Depths and be HEARD!
Icedragon is offline   Reply With Quote
Old 11-27-2004, 04:08 AM   #5 (permalink)
BattleForums Senior Member
 
tassadar920's Avatar
 
Join Date: May 2003
Location: My house
Posts: 2,048
Integers are numbers.. 0,1,2,3... booleans are a true/false statement, I program in c# also.
__________________
: )
tassadar920 is offline   Reply With Quote
Old 11-27-2004, 05:01 AM   #6 (permalink)
BattleForums Addict
 
Icedragon's Avatar
 
Join Date: Aug 2002
Location: The Swiming Pools
Age: 20
Posts: 834
I know that this is going off topic but In Basic Bololeans can be controled by the by numbers as any number greater than 1 will be true 0 will be false
__________________
I Will Rise from the Depths and be HEARD!
Icedragon is offline   Reply With Quote
Old 11-27-2004, 04:14 PM   #7 (permalink)
BattleForums Senior Member
 
tassadar920's Avatar
 
Join Date: May 2003
Location: My house
Posts: 2,048
In general in c# integers are integers, they have nothing to do with booleans. Everything is related to integers when you get down ot it, and a boolean is in fact an integer 0/1, but over the integer outside of it they named it a boolean to make it easier to read and understand.

there are booleans in warcraft 3, and they're less complex than integers are to keep track of because you cant switch their value instead of worrying about a mistake in computation occurring.

Either way let's stop hijacking the thread.
__________________
: )
tassadar920 is offline   Reply With Quote
Old 11-27-2004, 06:58 PM   #8 (permalink)
BattleForums Addict
 
Icedragon's Avatar
 
Join Date: Aug 2002
Location: The Swiming Pools
Age: 20
Posts: 834
If i had the map i would surrly try to help maybe you should post the map so we could take a look at it if your problem isnt fixed
__________________
I Will Rise from the Depths and be HEARD!
Icedragon is offline   Reply With Quote
Old 11-28-2004, 04:01 AM   #9 (permalink)
 
Chris's Avatar
 
Join Date: May 2003
Location: Temple Prime, Sarajevo
Age: 22
Posts: 16,127
Quote:
Originally Posted by tassadar920
Uhh... anybody who uses integers to do true/false statements are severly retarded...

Try using a boolean...
Oh yeah, lets see you do C code with arrays and chars for the true and false. Dumbest idea since sliced bread, true and false with integers makes life easier for anyone too. You can use either two to work true and false statements. But I prefer working with numbers!
__________________



One Vision. One Purpose.
Through leadership in Kane, we seek a new Tiberium future.
Our stealth and advanced weaponry will bring swift death to any who oppose us.
PEACE THRU POWER!


Warlock-Rauteus - Zy-el Necromancer - Level 143 of 10000

My Personal Blog Page - Updated every Friday
Join the Phantasy Star Online sensation - ChrisH36
Chris is online now   Reply With Quote
Old 11-28-2004, 09:46 PM   #10 (permalink)
BattleForums Senior Member
 
tassadar920's Avatar
 
Join Date: May 2003
Location: My house
Posts: 2,048
In original c integers for true/false worked fine, in newer languages booleans are used more.

Even though when compiled they end up as 0 and 1 in the way wya end. oO
__________________
: )
tassadar920 is offline   Reply With Quote
Old 11-29-2004, 07:01 AM   #11 (permalink)
 
Chris's Avatar
 
Join Date: May 2003
Location: Temple Prime, Sarajevo
Age: 22
Posts: 16,127
Still you can use either for true and false.

Boolean > Make the value True or False

Integer > If 0, then do the actions that are false. If 1, then do the true actions.

Either one will work, its up to you to decide what works best.
__________________



One Vision. One Purpose.
Through leadership in Kane, we seek a new Tiberium future.
Our stealth and advanced weaponry will bring swift death to any who oppose us.
PEACE THRU POWER!


Warlock-Rauteus - Zy-el Necromancer - Level 143 of 10000

My Personal Blog Page - Updated every Friday
Join the Phantasy Star Online sensation - ChrisH36
Chris is online now   Reply With Quote
Old 11-30-2004, 12:27 AM   #12 (permalink)
BattleForums Newbie
 
Join Date: Nov 2004
Age: 27
Posts: 17
Here's the map. Let me know if you guys can help me fix it to get it to work.
Attached Files
File Type: w3m (2)WarChess Advanced v3.0.w3m (66.8 KB, 1 views)
flatleyld is offline   Reply With Quote
Old 12-02-2004, 02:45 AM   #13 (permalink)
BattleForums Addict
 
Icedragon's Avatar
 
Join Date: Aug 2002
Location: The Swiming Pools
Age: 20
Posts: 834
ok it should be fixed there was a trigger that said to ignore the conditons when it ran you should cange that so it checks conditions ok there 1 TFT version i dont know why but ok and 1 ROC version they should work now
Attached Files
File Type: w3x (2)WarChess Advanced v3.0.w3x (68.4 KB, 3 views)
File Type: w3m (2)WarChess Advanced v3.0.w3m (67.7 KB, 4 views)
__________________
I Will Rise from the Depths and be HEARD!

Last edited by Icedragon; 12-02-2004 at 02:52 AM.
Icedragon is offline   Reply With Quote
Old 12-03-2004, 06:01 PM   #14 (permalink)
 
Chris's Avatar
 
Join Date: May 2003
Location: Temple Prime, Sarajevo
Age: 22
Posts: 16,127
Finally, a game I can play with my friend over the internet to show off my awesomeness ^_^.
__________________



One Vision. One Purpose.
Through leadership in Kane, we seek a new Tiberium future.
Our stealth and advanced weaponry will bring swift death to any who oppose us.
PEACE THRU POWER!


Warlock-Rauteus - Zy-el Necromancer - Level 143 of 10000

My Personal Blog Page - Updated every Friday
Join the Phantasy Star Online sensation - ChrisH36
Chris is online now   Reply With Quote
Old 12-03-2004, 11:29 PM   #15 (permalink)
BattleForums Addict
 
SoNiC_tHe_IgEl's Avatar
 
Join Date: Aug 2003
Location: Germany
Age: 19
Posts: 505
have fun
__________________
OMFG ROFL U ARE GAY
SoNiC_tHe_IgEl is offline   Reply With Quote
Old 12-06-2004, 07:59 PM   #16 (permalink)
BattleForums Newbie
 
Join Date: Nov 2004
Age: 27
Posts: 17
I've tried the one you said was fixed, and the same problem exists. When I make my first move, the piece doesn't move, and the screen flashes white kinda, and then stalls out, and you can't move anything. Something is weird here, and I wish I was smart enough to figure out the triggers. I'm such a fricken NOOB! :bugeyes
flatleyld is offline   Reply With Quote
Old 12-06-2004, 08:25 PM   #17 (permalink)
 
Chris's Avatar
 
Join Date: May 2003
Location: Temple Prime, Sarajevo
Age: 22
Posts: 16,127
Maybe you shouldn't play around with other people's maps and email the creator what happened, noob. IT shouldnt flash white unless A) your graphics card sucks B) A transition is interfering with the game. C) You are a dumbass and you use the T/f or int variable to a previously declared variable. FOR GOD SAKES MAN MAKE YOUR OWN AND STOP PLAYING AROUND WITH PEOPLES MAPS!
__________________



One Vision. One Purpose.
Through leadership in Kane, we seek a new Tiberium future.
Our stealth and advanced weaponry will bring swift death to any who oppose us.
PEACE THRU POWER!


Warlock-Rauteus - Zy-el Necromancer - Level 143 of 10000

My Personal Blog Page - Updated every Friday
Join the Phantasy Star Online sensation - ChrisH36
Chris is online now   Reply With Quote
Old 12-07-2004, 08:27 AM   #18 (permalink)
BattleForums Newbie
 
Join Date: Nov 2004
Age: 27
Posts: 17
First of all, I'm not trying to "mess" with the authors map. I'm trying to fix it so I can play the fricken thing. Hence, the reason why I'm on this forum. If you're such a punk to not offer some help, don't bother responding. As to the flash of white, it's nothing to do with my video card, it's part of the map. So if anyone who is willing to help someone, that just wants to play the game, I would be grateful.
flatleyld is offline   Reply With Quote
Old 12-07-2004, 06:22 PM   #19 (permalink)
 
Chris's Avatar
 
Join Date: May 2003
Location: Temple Prime, Sarajevo
Age: 22
Posts: 16,127
Fine, there should be a trigger in the game that creates a transition. Find it, and delete it if it is not important. IF it is, then just remove the flash. IT probably occured from a previous trigger because something must have caused it to run without checking the Conditions first. There is a function for that (Trigger - Run Trigger (ignoring conditions)).

IF you want to keep it, make it so that it runs when 0 units are on the board (I assume there is a board in the map). That way, you get a funky white kladeioscopic experience because you lost horribly . There, satisfied :dance ?

BTW. I bring up a hurtful but valid point, email the author or message him and tell him something went wrong and let him know to look into it. Sorry for offending ya bro! :wavey
__________________



One Vision. One Purpose.
Through leadership in Kane, we seek a new Tiberium future.
Our stealth and advanced weaponry will bring swift death to any who oppose us.
PEACE THRU POWER!


Warlock-Rauteus - Zy-el Necromancer - Level 143 of 10000

My Personal Blog Page - Updated every Friday
Join the Phantasy Star Online sensation - ChrisH36

Last edited by Chris; 12-07-2004 at 07:27 PM.
Chris is online now   Reply With Quote
Old 12-08-2004, 06:28 AM   #20 (permalink)
BattleForums Newbie
 
Join Date: Nov 2004
Age: 27
Posts: 17
Thanks, I'll give it a try, and I'll look for the authors e-mail. I've been wondering if the map will only work on TFT, because I only have ROC. Maybe I'll get TFT for Christmas, that would be great. Thanks for all of your help.
flatleyld is offline   Reply With Quote
 
Reply

Get rid of all these ads! Take 30 seconds to register.

« unit change? | some trigger help »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off


All times are GMT +1. The time now is 06:29 AM.



Powered by vBulletin® Version 3.7.2 | Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0