Xand3r Posted September 9, 2007 Share Posted September 9, 2007 (edited) LOL.... i don't know how but it looks like i double posted :|... sry!!!!(mod pls del the other ) lets see how much u cand handle it p.s: i only managed to hold on for 10.96 secs snake.rar Edited September 9, 2007 by alexmadman Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro Link to comment Share on other sites More sharing options...
MrCreatoR Posted September 10, 2007 Share Posted September 10, 2007 Nice idea, but it crashes all the time for me (every down move) - AutoIt 3.2.49.P.SAnd as seguestion - make the window bigger, there is no room for big snake - or it's not growing yet? Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team Link to comment Share on other sites More sharing options...
Achilles Posted September 10, 2007 Share Posted September 10, 2007 I'm getting the crash within one second of running the program too. However, looks like it's going to be a great program once it works! I like seeing somewhat original things on this forum (I think snake has been done once before, but not with prospeed)... all these web browsers and notepad replacements... sigh... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
JustinReno Posted September 10, 2007 Share Posted September 10, 2007 Its not a conventional snake game, it just adds snake "heads" to the end until you die to see how long you last. Greate game, I like it. And is a good example of how to use prospeed! I didn't really get into prospeed until I found this game. Nice and simple! Link to comment Share on other sites More sharing options...
Achilles Posted September 10, 2007 Share Posted September 10, 2007 (edited) Its not a conventional snake game, it just adds snake "heads" to the end until you die to see how long you last.Really? I don't get that... What happens for me is that it starts with a snake that is two circles long and then I control the snake for several seconds and then AutoIt crashes. (I did mange to die once by going straight up though... .78 second survival!)EDIT: Btw, the snake stays two circles long the whole game on my computer... Edited September 10, 2007 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
JustinReno Posted September 10, 2007 Share Posted September 10, 2007 Hmm, it got longer for me. What version of Autoit are you using & OS? Link to comment Share on other sites More sharing options...
Xand3r Posted September 10, 2007 Author Share Posted September 10, 2007 try to update your autoit.... Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro Link to comment Share on other sites More sharing options...
Kreatorul Posted September 10, 2007 Share Posted September 10, 2007 I got a crash ... subscript used with non-array variable when moving my "snake" on the inside...I mean....Bha deci ) pe romana e mai simplu. Cand am mers cu rama si am incercat strategic spre interior sa fac patrate pana mor atunci cam la a 2-a ocolire inspre interior mi-a dat crashu in rest daca nu merg spre interior nu imi da...weird Link to comment Share on other sites More sharing options...
Red-Steel Posted September 10, 2007 Share Posted September 10, 2007 It's working but if you survive more than 10 seconds the script actually crash. (81) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: $worm[$EndDim][0]=$x ^ ERROR ->AutoIT3.exe ended.rc:1 Link to comment Share on other sites More sharing options...
crashdemons Posted September 12, 2007 Share Posted September 12, 2007 crashes if I let it get near any of the sides (without touching them).... sometimes.no real error info:>Running:(3.2.4.9):C:\Program Files\AutoIt3\SciTE\..\autoit3.exe "C:\Documents and Settings\Ken\Desktop\New Folder\snake.au3" !>17:37:51 AutoIT3.exe ended.rc:-1073741819+>17:37:52 AutoIt3Wrapper Finished>Exit code: -1073741819 Time: 7.947 My Projects - WindowDarken (Darken except the active window) Yahsmosis Chat Client (Discontinued) StarShooter Game (Red alert! All hands to battlestations!) YMSG Protocol Support (Discontinued) Circular Keyboard and OSK example. (aka Iris KB) Target Screensaver Drive Toolbar Thingy Rollup Pro (Minimize-to-Titlebar & More!) 2D Launcher physics example Ascii Screenshot AutoIt3 Quine Example ("Is a Quine" is a Quine.) USB Lock (Another system keydrive - with a toast.) Link to comment Share on other sites More sharing options...
_Kurt Posted September 12, 2007 Share Posted September 12, 2007 Hello, I am currently fixing up my GUItar Hero project which uses prospeed. I've found out that when it returns:"!>AutoIT3.exe ended.rc:-1073741819", this means that you are using a prospeed function on a variable which isn't a sprite.. This usually happens with stuff like this:For $i = 0 To UBound($MySpriteArray)-1 If HasSpriteArrived($MySpriteArray[$i]) = 1 Then ;... NextoÝ÷ ØÌ ¹ë,Ëajܨ¹ªÞºÈ§©Ú®¶²ÂÊ'µ¨§²Ø^²âµç(ÚèÈhÁƧʬ¶bµúèÊÚ²§È¦¦®±æ®¶sdf÷"b33c¶ÒFòT&÷VæBb33c´×7&FT'&Ó¢bb33c´×7&FT'&²b33c¶ÒfÇC²fwC²gV÷C²gV÷C²FVà¢b57&FT'&fVBb33c´×7&FT'&²b33c¶ÒÒFVâ²ââà¢VæF`¤æWoÝ÷ Ù8b²Z(§¥z-w%¹×éèÊk×¢{k¢[0ØbØ^jºÚÈ l¢Æ²#§¶ÚzWy«)®+^جmë-i×b©è¶«)Þ¶Â)ejË.ëazö«¦åzËkx"±é©·&®¶sdFVÆWFU7&FRb33c´×7&FUf"¢b33c´×7&FUf"ÒgV÷C²gV÷C°These problems might not be the problems within your script, but I'm guessing it is. If I have more time later I will look over the script quickly.Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
WeMartiansAreFriendly Posted September 13, 2007 Share Posted September 13, 2007 Could post a screenshot Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet() Link to comment Share on other sites More sharing options...
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