Jump to content

dangkyokhoang

Members
  • Posts

    15
  • Joined

  • Last visited

dangkyokhoang's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. yes. i have => found no error, but i still get error while compiling i don't know if it is related there but google chrome have become idle since i got this error. chrome doesn't load anything, especially newtab
  2. i tried compiling my script on other computer, no error (=> my icon file is not corrupt or damaged) (chắc viết bằng tiếng anh không sao đâu nhỉ? )
  3. "problem occurs when i compile any script" - i've said before. but if you want, here is my code #NoTrayIcon #Au3Stripper_Off #AutoIt3Wrapper_Res_FileVersion=0.0.0.0 #AutoIt3Wrapper_res_description=sometxt #AutoIt3Wrapper_res_legalcopyright=sometxt #AutoIt3Wrapper_Res_Comment=sometxt #AutoIt3Wrapper_res_language=1066 #AutoIt3Wrapper_icon=xetang.ico #AutoIt3Wrapper_OutFile=xe tăng bắn nhau.exe #Au3Stripper_on #Au3Stripper_Parameters=/SF=1 #Au3Stripper_Parameters=/SV=1 #Au3Stripper_Parameters=/RM Const $pi=3.1416 Const $g=10; const $hstg=0.07; const $k_luc=120; Local $goc=30; $gui = GUICreate('xe tăng bắn nhau', 1000,600) GUISetBkColor(0xfffffff) $ban=GUICtrlCreateLabel('bắn', 0,0,0,0) GUICtrlSetState(-1,32) $tang=GUICtrlCreateLabel('tăng góc',0,0) GUICtrlSetState(-1,32) $giam=GUICtrlCreateLabel('giảm góc',0,0) GUICtrlSetState(-1,32) $trai=GUICtrlCreateLabel('sang trái',0,0) GUICtrlSetState(-1,32) $phai=GUICtrlCreateLabel('sang phải',0,0) GUICtrlSetState(-1,32) $luc_prog=GUICtrlCreateProgress(0,500,1000,20) $the_luc=GUICtrlCreateProgress(0,10,1000,20) GUICtrlSetData(-1,100) dim $a[5][2]=[['{space}',$ban],['{up}',$tang],['{down}',$giam],['{left}',$trai],['{right}',$phai]] GUISetAccelerators($a) $a=0 $xe1=GUICtrlCreatePic('0xetang30.bmp',50, 400, 132,89) GUISetState() While 1 Switch GUIGetMsg() Case -3 Exit Case $ban Local $luc = 1; for $i=1 to 100 GUICtrlSetData($luc_prog,$i) If GUIGetMsg() =$ban Then $luc=$i/100 ExitLoop EndIf Sleep(10) Next Local $goc_rad=$goc/180*$pi;chuyển sang radian Local $v0=$k_luc*$luc; Local $p_bandau $ctrlpos=ControlGetPos($gui,'',$xe1) Switch $goc Case 15 dim $p_bandau[2]=[130,24] Case 30 dim $p_bandau[2]=[129,14] Case 45 dim $p_bandau[2]=[119,5] Case 60 dim $p_bandau[2]=[109,-5] EndSwitch $p_bandau[0]+=$ctrlpos[0] $p_bandau[1]+=$ctrlpos[1] Local $timer,$t,$toado,$dan $dan=GUICtrlCreatePic('dan.bmp',$p_bandau[0],$p_bandau[1],10,10) GUICtrlSetBkColor(-1,0) $timer=TimerInit() $t=0 While 1 Dim $toado[2]=[$p_bandau[0]+($v0*cos($goc_rad))*$t,$p_bandau[1]-($v0*sin($goc_rad)*$t-$g*$t*$t/2)] If $toado[1] >= 480 or $toado[1] >1000 Then ExitLoop GUICtrlSetPos($dan,$toado[0],$toado[1]) Sleep(10); $t=TimerDiff($timer)/1000/$hstg WEnd GUICtrlDelete($dan) $timer=0 $tgcd=0 $t=0 $p_bandau=0 $ctrlpos=0 $luc=0 GUICtrlSetData($the_luc,100) Case $giam If $goc<>15 Then $goc-=15 GUICtrlSetImage($xe1,'xetang'&$goc&'.bmp') EndIf Case $tang If $goc<>60 Then $goc+=15 GUICtrlSetImage($xe1,'xetang'&$goc&'.bmp') EndIf Case $trai $n_tl=GUICtrlRead($the_luc) If $n_tl > 0 Then $ctrlpos=ControlGetPos($gui,'',$xe1) If $ctrlpos[0]>10 Then ControlMove($gui,'',$xe1, $ctrlpos[0]-10,400) GUICtrlSetData($the_luc,$n_tl-10) EndIf EndIf Case $phai $n_tl=GUICtrlRead($the_luc) If $n_tl > 0 Then $ctrlpos=ControlGetPos($gui,'',$xe1) If $ctrlpos[0]<400 Then ControlMove($gui,'',$xe1, $ctrlpos[0]+10,400) GUICtrlSetData($the_luc,$n_tl-10) EndIf EndIf EndSwitch WEnd
  4. i've tried but still getting error
  5. i've tried all i can:compiling directly, reinstalling autoit, doing a system restore T_T i think my mom should by a new computer
  6. sorry i meant: "(i got this msg when compiling by running aut2exe manually and) i also got this msg when compiling from scite"
  7. normally, there was a temp file created in @UserProfileDirLocal SettingsApplication DataAutoIt v3Aut2exe but here, "the target exe wasn't created"
  8. i also got this msg when compiling from scite
  9. yes, but no changed compiling my script on other computer is normal my computer seems to have too many errors T_T thank you all
  10. MBALZESHARI: problem occurs when i compile any script @@ i will check but maybe i have to restore my computer T_T
  11. i tried compiling directly from Aut2Exe but i still got error i have no AV noone changed admin rights it was yesterday that i compiled script normally it was not until today that i got this problem
  12. I have a script working normaly but I got an error when compiling it this is what the result is: >"D:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /prod /in "D:\...\Game_stripped.au3" +>18:07:48 Starting AutoIt3Wrapper v.2.2.0.0 SciTE v.3.4.1.0 Keyboard:00000409 OS:WIN_XP/Service Pack 2 CPU:X86 OS:X86 Environment(Language:0409) +> SciTEDir => D:\Program Files\AutoIt3\SciTE UserDir => C:\Documents and Settings\Admin\Local Settings\Application Data\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Documents and Settings\Admin\Local Settings\Application Data\AutoIt v3\SciTE >Running AU3Check (3.3.10.2) from:D:\Program Files\AutoIt3 input:D:\...\Game_stripped.au3 +>18:07:48 AU3Check ended.rc:0 >Running:(3.3.10.2):D:\Program Files\AutoIt3\aut2exe\aut2exe.exe /in "D:\...\Game_stripped.au3" /out "C:\Documents and Settings\Admin\Local Settings\Application Data\AutoIt v3\Aut2exe\~AU3ibpbsoh.exe" /nopack /icon "D:\...\sauchin.ico" /comp 2 !>18:07:51 Aut2exe.exe ended errors because the target exe wasn't created, abandon build. (C:\Documents and Settings\Admin\Local Settings\Application Data\AutoIt v3\Aut2exe\~AU3ibpbsoh.exe)rc:9999 +>18:07:51 AutoIt3Wrapper Finished. >Exit code: 0 Time: 4.439
×
×
  • Create New...