theguy0000 Posted November 24, 2006 Posted November 24, 2006 Error!?? First error I found: I chose pieces and named both player. I click on roll. I clicked on buy curent property. I clicked on Add House. I didn't have enough money or because I don't own all 3 properties, it didn't work. Game Froze. Second error I found: I landed on Chance the second time i played. I click on End Turn. Was I supposed to click on the Chance Card pile? There should be some kind of notification to tell you that you're on Chance and you must draw a card, and the End Turn button shouldn't work until you've drawn... or do the cards not currently work? Maybe a GUI that pops up with a picture of a random card, then it maybe it makes the $Card1 variable equal 1 so it knows not to use that card again until all of the card variables equal one (just an example variable I haven't viewed source). Third error I found: Not sure where this one came from? (Look at attached image) EDIT: Can't upload image... Dunno why? [Error] AutoIt Error Line 0 (File "C:\Documents and Settings\..... Monopoly Game\Board.exe") If $numofhouses1 <= $numofhouses2 And $numofhouses1 <= $numofhouses3 Then If ^ERROR Error: Variable used without being declared. [/error]dude you posted 4 times lol The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN
Kickassjoe Posted November 24, 2006 Author Posted November 24, 2006 That's what I said... How does everyone like it? What goes around comes around... Payback's a bitch.
McGod Posted November 24, 2006 Posted November 24, 2006 Past Go doesnt work, and after like 2 turns on community chest I got my answers. and i cant make any money [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u]
Kickassjoe Posted November 24, 2006 Author Posted November 24, 2006 Past Go doesnt workForgot about that part. I will work on that.and after like 2 turns on community chest I got my answers. and i cant make any moneyWhat the hell does that mean?? Turns take like 2 seconds... Community chest doesn't work yet. What goes around comes around... Payback's a bitch.
LostUser Posted November 24, 2006 Posted November 24, 2006 Cool. This is probably getting you some good programming practice. Now...here is what happens when I play... I landed on Chance a number of times and did not get a card. I landed on Short Line and bought the property but it showed I bought Pennsylvania Ave instead. I also noticed if the window size is changed it moves the pieces. When I rolled from Short Line I got 4+4 and landed on Community Chest but should have landed on Baltic Ave...unless of course I was actually on Penn. Ave. which seems likely since the game let me buy Penn Ave when I was on Short Line. Suggestions: Can you make it so that each player can only have one specific piece? It got confusing with the computer and me having the same piece...or give them different colors if they have to be the same. Could you have a log window that would display [player] - [What that player did]. It might help make sense of some of the odd things happen but I have to play it more to get the gist. I seem to draw a community chest card when landing on chance or I don't get a chance or community chest card at all sometimes. I got an error after about 4 moves and not buying any property...don't know how to attach the window screen print so will type it. *************************************************** AutoIt Error Line 0 (File "[file path to board.exe]") If $currentproperties[$propertynum]=0 Then Return 0 If $currentproperties[^ERROR Error: Array variable subscript badly formed *************************************************** Also, (not trying to be a spoil sport) I'd be cautious about the copyrights...I don't know if there are any issues in this area since it is free. I will quit posting errors and let you catch up. Again...Nice idea for practice programming. Be open minded but not gullible.A hammer sees everything as a nail ... so don't be A tool ... be many tools.
Kickassjoe Posted November 24, 2006 Author Posted November 24, 2006 Also, (not trying to be a spoil sport) I'd be cautious about the copyrights...I don't know if there are any issues in this area since it is free.I thought of that, but then, looked up copyrights (I forgot where exactly), and found that you can use any copyrighted picture that you want in your program as long as you are not making a profit off of the picture (A.K.A. selling your program that has a copyrighted picture), and I have edited the picture to make it look better. *************************************************** AutoIt Error Line 0 (File "[file path to board.exe]") If $currentproperties[$propertynum]=0 Then Return 0 If $currentproperties[^ERROR Error: Array variable subscript badly formed *************************************************** Being looked into right now! I landed on Chance a number of times and did not get a card.I will update the first post in a few minutes, The _Drawchance function was not being called in _SpecialEvent the right way, which I thought I had fixed before. I landed on Short Line and bought the property but it showed I bought Pennsylvania Ave instead. I also noticed if the window size is changed it moves the pieces. When I rolled from Short Line I got 4+4 and landed on Community Chest but should have landed on Baltic Ave...unless of course I was actually on Penn. Ave. which seems likely since the game let me buy Penn Ave when I was on Short Line. Never had that happen to me... but personally, I thought I had perfected the rolling of the dice ... so I don't even look at them anymore. :"> What goes around comes around... Payback's a bitch.
Kickassjoe Posted November 25, 2006 Author Posted November 25, 2006 (edited) *************************************************** AutoIt Error Line 0 (File "[file path to board.exe]") If $currentproperties[$propertynum]=0 Then Return 0 If $currentproperties[^ERROR Error: Array variable subscript badly formed *************************************************** I think, that was caused by $propertynum being 40 or over, if it was, it is now fixed. Updating now. EDIT: that doesn't seem to be the problem. EDIT2: WOW, I just realized that $currentproperties isn't an array..... Updating. Edited November 25, 2006 by Kickassjoe What goes around comes around... Payback's a bitch.
dnsi Posted November 25, 2006 Posted November 25, 2006 The Newer update... There was an error that says:End IF with no matching IF... My Programs:Flip-Flop File Encryption SysyemMULTIPLAYER-SOCKETSERVERHide An Archive In A Picture
Kickassjoe Posted November 26, 2006 Author Posted November 26, 2006 The Newer update...There was an error that says:End IF with no matching IF...FixedValuater: Which XSkin do you think I should use? What goes around comes around... Payback's a bitch.
Valuater Posted November 28, 2006 Posted November 28, 2006 Nice job so far... still get a few errors, but i know you are working on it as for XSkin... I think thias game needs the largest screen area available and XSkin would decrease the visual size of the "board", thus for this game i dont htink XSkin is the way to go.... maybe background colors and pics would be the best here keep up the good work 8)
Kickassjoe Posted November 28, 2006 Author Posted November 28, 2006 I was thinking of making a save / load game feature... I almost have it done, but it is in my programming binder at school (programming is what gets me through the school day!) I was also thinking that I could make the skin user-defined. make a "Skin" button, make a gui with a list of all of the available skins... and then depending on which one is chosen... add $xpos and $ypos to all of the gui buttons/labels/imgs, and make $xpos and $ypos however much room is needed to show the whole XSkin. I can always put a scrollbar in there if needed (it probably wont be with the new board, you can actually tell how much everything costs!), and I was thinking of making the board rotatable anyways . What goes around comes around... Payback's a bitch.
Valuater Posted November 28, 2006 Posted November 28, 2006 rotatable sounds cool... I will keep an eye on this to see what you come-up with 8)
Kickassjoe Posted November 28, 2006 Author Posted November 28, 2006 Now that I think about it... rotatable board would be very hard, almost not worth the effort. But, I have nothing else to do tomorrow, so it might be done. Rotating the picture would be easy, all of the labels being right after that is the hard part. Would have to delete all of the labels/imgs, and make them again... in the right spots...(I might work on it through algebra, science, and high lang. tomorrow, maybe not science, because my sience teacher expects me to not know what hes talking about (he calls on me whenever he thinks I'm not paying attention, I wish he would die)) What goes around comes around... Payback's a bitch.
theguy0000 Posted November 30, 2006 Posted November 30, 2006 Monoploy in autoit is sick :|in a good way or bad way? The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN
Cyber Posted November 30, 2006 Posted November 30, 2006 FANTASTIC!! Console Browse: Navigate on the WEB in a textual consoleMultiPing!: Show computer on the lan and/or show the local/remote task, ALL animated!KillaWin: Event executingCryptPage: Crypt your webpage and show only with key
Kickassjoe Posted December 1, 2006 Author Posted December 1, 2006 (edited) in a good way or bad way?I was gonna ask that same question!@Valuater: After I started to program a rotatable board, I realized that I would have to redo every function that I had made, that had anything to do with a position on the GUI, and when I can just make a scrollbar.. It just isn't worth it. Making it rotatable just to look at, without any actions after the rotation would be easy, but I don't see the point in that... Edited December 1, 2006 by Kickassjoe What goes around comes around... Payback's a bitch.
Kickassjoe Posted December 1, 2006 Author Posted December 1, 2006 Update 1.19! What goes around comes around... Payback's a bitch.
Valuater Posted December 1, 2006 Posted December 1, 2006 I was gonna ask that same question!@Valuater: After I started to program a rotatable board, I realized that I would have to redo every function that I had made, that had anything to do with a position on the GUI, and when I can just make a scrollbar.. It just isn't worth it. Making it rotatable just to look at, without any actions after the rotation would be easy, but I don't see the point in that...I agree...and i thought that might be difficult alsomaybe just keep the board where it is and get all the functions as close to a the original game as possible8)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now