Page 1 of 2

Ahhhhhh! So annoying!

Posted: Sun Aug 23, 2015 2:25 pm
by BLAZING_INDICA
Okay, here's the issue. Every time I try to compile a qb-script I get a dump file instead of a qb file.

Re: Ahhhhhh! So annoying!

Posted: Sun Aug 23, 2015 6:19 pm
by Kenny
BLAZING_INDICA wrote:Okay, here's the issue. Every time I try to compile a qb-script I get a dump file instead of a qb file.

show script

Re: Ahhhhhh! So annoying!

Posted: Sun Aug 23, 2015 8:23 pm
by WhoElseButMe
The dump file is the temp version of the compiled script so where it ends will be the last working location before the error.

Re: Ahhhhhh! So annoying!

Posted: Mon Aug 24, 2015 12:58 am
by BLAZING_INDICA

Code: Select all

#/ QB Script version 2
%include "game.qb_table.qbi"   #/ Table file

:u(02:00000001)$load_icon_properties$ = :s{
   :u(02:00000004)$x$ = %f(50.000000)
   :u(02:00000005)$y$ = %f(50.000000)
   :u(02:00000006)$anim_delay$ = %i(16,00000010)
   :u(02:00000007)$images$ = :a{
      :u(02:00000008)%s(33,"images/panelsprites/wheel_001.png")
      :u(02:00000009)%s(33,"images/panelsprites/wheel_002.png")
      :u(02:0000000a)%s(33,"images/panelsprites/wheel_003.png")
      :u(02:0000000b)%s(33,"images/panelsprites/wheel_004.png")
      :u(02:0000000c)%s(33,"images/panelsprites/wheel_005.png")
      :u(02:0000000d)%s(33,"images/panelsprites/wheel_006.png")
      :u(02:0000000e):a}
:u(02:0000000f):s}
:u(02:00000010)$game_menu_properties$ = :s{
   :u(02:00000012)$x$ = %f(150.000000)$y$ = %f(90.000000)$w$ = %f(320.000000)$h$ = %f(336.000000)
   :u(02:00000013)$just_center_x$
   :u(02:00000014)$just_center_y$
:u(02:00000015):s}
:u(02:00000016)$EnteringStatsMenuFromGameFlow$ = %i(0,00000000)
:u(02:00000018)function $PauseMusicAndStreams$
   :u(02:0000001a)$PauseMusic$%i(1,00000001)
   :u(02:0000001c)$PauseStream$%i(1,00000001)
:u(02:0000001d)endfunction
:u(02:0000001e)function $UnPauseMusicAndStreams$
   :u(02:00000020)$PauseMusic$%i(0,00000000)
   :u(02:00000022)$PauseStream$%i(0,00000000)
:u(02:00000023)endfunction
:u(02:00000024)function $do_backend_retry$
   :u(02:00000026)$GoalManager_UninitializeAllGoals$
   :u(02:0000002a)doIf $InNetGame$
      :u(02:0000002b)$ResetProSetFlags$
   :u(02:0000002c)endif
   :u(02:0000002d)call $SpawnScript$ arguments
      $do_screen_freeze$
:u(02:0000002e)endfunction
:u(02:0000002f)function $do_screen_freeze$
   :u(02:00000031)$kill_net_panel_messages$
   :u(02:00000032)$PauseGame$
   :u(02:00000033)doIf $InNetGame$
      :u(02:00000034)call $exit_pause_menu$ arguments
         $menu_id$ = $pause_menu$
      :u(02:00000035)$force_close_rankings$
      :u(02:00000036)$destroy_onscreen_keyboard$
      :u(02:00000037)$StartNetworkLobby$
   :u(02:00000038)doElse
      :u(02:00000039)call $exit_pause_menu$ arguments
         $menu_id$ = $pause_menu$
      :u(02:0000003a)$force_close_rankings$
      :u(02:0000003b)call $SetGameType$ arguments
         $freeskate2p$
      :u(02:0000003c)$SetCurrentGameType$
   :u(02:0000003d)endif
   :u(02:0000003e)$Wait$%i(2,00000002)$gameframe$
   :u(02:0000003f)$unpausegame$
   :u(02:00000041)$retry$
:u(02:00000042)endfunction
:u(02:00000043)function $do_backend_end_run$
   :u(02:00000044)doIf $InSplitScreenGame$
      :u(02:00000045)$UseBothPadsInFrontEnd$
   :u(02:00000046)endif
   :u(02:00000047)$EndRun$
:u(02:00000048)endfunction
:u(02:00000049)function $Paused_menu_backevent$
   :u(02:0000004b)doIf call $CareerLevelIs$ arguments
         $LevelNum_Tutorials$
      :u(02:0000004c)$PauseStream$%i(0,00000000)
   :u(02:0000004d)doElse
      :u(02:0000004e)$UnPauseMusicAndStreams$
   :u(02:0000004f)endif
:u(02:00000050)endfunction
:u(02:00000051)function $do_backend_continue$
   :u(02:00000054)doIf call $CareerLevelIs$ arguments
         $LevelNum_Tutorials$
      :u(02:00000055)$PauseStream$%i(0,00000000)
   :u(02:00000056)doElse
      :u(02:00000057)$UnPauseMusicAndStreams$
   :u(02:00000058)endif
:u(02:0000005a)endfunction
:u(02:0000005d)function $do_backend_continue_delay$
   :u(02:00000060)$Wait$%f(0.200000)$seconds$
:u(02:00000069)endfunction
:u(02:0000006a)function $View_Goal_movies$
   :u(02:0000006d)$printf$%s(38,"viewing movies -----------------------")
   :u(02:0000006e)call $SpawnSkaterScript$ arguments
      $StartRunScript$$params$ = :s{$from_menu$:s}
:u(02:00000073)endfunction
:u(02:00000074)function $View_ListAllGoals$
:u(02:00000076)endfunction
:u(02:00000078)function $ResetLevelGoals$
   :u(02:0000007e)call $UnSetGoal$ arguments
      $goal$ = $GOAL_HIGHSCORE$
   :u(02:0000007f)call $UnSetGoal$ arguments
      $goal$ = $GOAL_PROSCORE$
   :u(02:00000080)call $UnSetGoal$ arguments
      $goal$ = $GOAL_SICKSCORE$
   :u(02:00000081)call $UnSetGoal$ arguments
      $goal$ = $GOAL_SKATE$
   :u(02:00000082)call $UnSetGoal$ arguments
      $goal$ = $GOAL_TRICKSPOT$
   :u(02:00000083)call $UnSetGoal$ arguments
      $goal$ = $GOAL_TAPE$
   :u(02:00000084)call $UnSetGoal$ arguments
      $goal$ = $GOAL_SCRIPTED1$
   :u(02:00000085)call $UnSetGoal$ arguments
      $goal$ = $GOAL_SCRIPTED2$
   :u(02:00000086)call $UnSetGoal$ arguments
      $goal$ = $GOAL_SCRIPTED3$
   :u(02:00000087)call $UnSetFlag$ arguments
      $flag$ = $GOAL_STAT_POINT1$
   :u(02:00000088)call $UnSetFlag$ arguments
      $flag$ = $GOAL_STAT_POINT2$
   :u(02:00000089)call $UnSetFlag$ arguments
      $flag$ = $GOAL_STAT_POINT3$
   :u(02:0000008a)call $UnSetFlag$ arguments
      $flag$ = $GOAL_STAT_POINT4$
   :u(02:0000008b)call $UnSetFlag$ arguments
      $flag$ = $GOAL_STAT_POINT5$
   :u(02:0000008c)call $UnSetFlag$ arguments
      $flag$ = $GOAL_STAT_POINTS$
   :u(02:0000008d)call $UnSetFlag$ arguments
      $flag$ = $GOAL_DECK$
   :u(02:0000008e)$LaunchLocalMessage$%s(11,"Goals reset")
   :u(02:00000090)doIf call $CareerLevelIs$ arguments
         $LevelNum_Canada$
      :u(02:00000091)call $UnSetFlag$ arguments
         $flag$ = $LEVEL_FLAG_AJC_CAN_LOG_LOADER_SEQUENCE_PLAYED_ALREADY$
      :u(02:00000092)call $UnSetFlag$ arguments
         $flag$ = $LEVEL_FLAG_AJC_CAN_LOG_LOADER_IS_UP$
      :u(02:00000093)call $SetFlag$ arguments
         $flag$ = $LEVEL_FLAG_AJC_CAN_LOG_LOADER_IS_DOWN$
   :u(02:00000094)endif
   :u(02:00000095)doIf call $CareerLevelIs$ arguments
         $LevelNum_Ship$
      :u(02:00000096)call $UnSetFlag$ arguments
         $flag$ = $BDJ_SHP_POOL$
      :u(02:00000097)call $UnSetFlag$ arguments
         $flag$ = $BDJ_SHP_FERRY$
      :u(02:00000098)call $UnSetFlag$ arguments
         $flag$ = $BDJ_SHP_NETS$
      :u(02:00000099)$BDJ_SHP_RestartSetup$
   :u(02:0000009a)endif
:u(02:0000009b)endfunction
:u(02:0000009c)function $do_end_comp$
   :u(02:0000009f)$EndCompetition$
:u(02:000000a0)endfunction
:u(02:000000a1)function $test_fragmentation$
   :u(02:000000a3)while
      
      :u(02:000000a4)$Wait$%f(0.050000)$second$
      :u(02:000000a5)$printf$%s(17,"Launching Message")
   :u(02:000000a6)loop_to
:u(02:000000a8)endfunction
:u(02:000000a9)function $RefreshGameMenu_Replay$
   :u(02:000000ac)$PauseMusicAndStreams$
   :u(02:000000ad)call $AddLine$ arguments
      $parent$ = $game_menu$$id$ = $backend_continue$$text$ = %s(8,"Continue")$target$ = %s(19,"do_backend_continue")$kill_menu$
   :u(02:000000ae)call $AddLine$ arguments
      $parent$ = $end_run_menu$$id$ = $backend_watchreplay$$text$ = %s(14,"Restart Replay")$target$ = %s(19,"WatchEndOfRunReplay")$kill_menu$
   :u(02:000000af)doIf call $ReplayModeEquals$ arguments
         $REPLAY_MODE_PLAY_AFTER_RUN$
      :u(02:000000b0)call $AddLine$ arguments
         $parent$ = $game_menu$$id$ = $backend_retry$$text$ = %s(5,"Retry")$target$ = %s(16,"do_backend_retry")$kill_menu$
      :u(02:000000b1)call $AddLine$ arguments
         $parent$ = $game_menu$$id$ = $save_replay_from_pause$$text$ = %s(11,"Save Replay")$link$ = %s(17,"_EndRunSaveReplay")
      :u(02:000000b2)call $AddLine$ arguments
         $parent$ = $game_menu$$id$ = $exit_replay_from_pause$$text$ = %s(4,"Exit")$link$ = %s(23,"ExitReplayAfterEndOfRun")
   :u(02:000000b3)doElse
      :u(02:000000b4)call $AddLine$ arguments
         $parent$ = $game_menu$$id$ = $exit_replay_from_pause$$text$ = %s(4,"Exit")$link$ = %s(15,"ExitSavedReplay")
   :u(02:000000b5)endif
:u(02:000000b6)endfunction
:u(02:000000b7)function $RefreshGameMenu$
   :u(02:000000ba)$printf$%s(10,"refreshing")
   :u(02:000000bb)$helper_select_choose_back_centered$
   :u(02:000000bc)doIf $InNetGame$
   :u(02:000000bd)doElse
      :u(02:000000be)$PauseMusicAndStreams$
   :u(02:000000bf)endif
   :u(02:000000c0)call $AddLine$ arguments
      $parent$ = $game_menu$$id$ = $backend_continue$$text$ = %s(8,"Continue")$target$ = %s(19,"do_backend_continue")$kill_menu$
   :u(02:000000c1)doIf $IsCareerMode$
      :u(02:000000c2)doIf call $GetFlag$ arguments
            $flag$ = $GOAL_MID_GOAL$
         :u(02:000000c3)call $AddLine$ arguments
            $parent$ = $game_menu$$id$ = $end_current_goal$$text$ = %s(20,"End Current Goal Try")$target$ = %s(18,"ResetAllOfTheGoals")$kill_menu$
      :u(02:000000c4)endif
      :u(02:000000c5)call $AddLine$ arguments
         $parent$ = $game_menu$$id$ = $retry_current_goal$$text$ = %s(15,"Retry Last Goal")$target$ = %s(16,"RetryCurrentGoal")$kill_menu$
      :u(02:000000c6)call $AddLine$ arguments
         $parent$ = $game_menu$$id$ = $backend_end_run$$text$ = %s(15,"goto Skate shop")$target$ = %s(18,"do_backend_end_run")$kill_menu$
   :u(02:000000c7)doElse
      :u(02:000000c8)call $AddLine$ arguments
         $parent$ = $game_menu$$id$ = $backend_retry$$text$ = %s(5,"Retry")$target$ = %s(16,"do_backend_retry")$kill_menu$
   :u(02:000000c9)endif
   :u(02:000000ca)doIf $InSplitScreenGame$
      :u(02:000000cc)call $DestroyElement$ arguments
         $id$ = $goto_trickset_menu$
   :u(02:000000cd)doElse
   :u(02:000000ce)endif
   :u(02:000000d0)doIf $IsCareerMode$
      :u(02:000000d1)call $AddLine$ arguments
         $parent$ = $game_menu$$id$ = $ListAllGoals$$text$ = %s(18,"View Current Goals")$target$ = %s(17,"View_ListAllGoals")$kill_menu$
      :u(02:000000d2)doIf $CD$
         :u(02:000000d3)call $DestroyElement$ arguments
            $id$ = $backend_resetgoals$
      :u(02:000000d4)doElse
         :u(02:000000d5)call $AddLine$ arguments
            $parent$ = $game_menu$$id$ = $backend_resetgoals$$text$ = %s(17,"Reset Level Goals")$target$ = %s(15,"ResetLevelGoals")$kill_menu$
      :u(02:000000d6)endif
   :u(02:000000d7)doElse
      :u(02:000000d8)call $DestroyElement$ arguments
         $id$ = $backend_resetgoals$
      :u(02:000000d9)call $DestroyElement$ arguments
         $id$ = $ListAllGoals$
   :u(02:000000da)endif
                        :u(02:000000db)call $AddLine$ arguments
      $parent$ = $game_menu$$id$ = $indica_menu_ID$$text$ = %s(11,"Indica Menu")$link$ = $create_indica_menu$
   :u(02:000000db)call $AddLine$ arguments
      $parent$ = $game_menu$$id$ = $backend_sound_options$$text$ = %s(13,"Sound Options")$link$ = $sfx_menu_container$
   :u(02:000000dd)call $DestroyElement$ arguments
      $id$ = $backend_cheat_menu$
   :u(02:000000df)doIf $InNetGame$
   :u(02:000000e0)doElse
      :u(02:000000e1)doIf call $GetGlobalFlag$ arguments
            $flag$ = $CHEAT_UNLOCKED_1$
         :u(02:000000e2)call $AddLine$ arguments
            $parent$ = $game_menu$$id$ = $backend_cheat_menu$$text$ = %s(6,"Cheats")$link$ = $cheat_menu$
      :u(02:000000e3)endif
   :u(02:000000e4)endif
   :u(02:000000e5)doIf $CD$
      :u(02:000000e7)call $DestroyElement$ arguments
         $id$ = $goto_restart_menu$
      :u(02:000000e8)call $DestroyElement$ arguments
         $id$ = $game_menu_debug$
   :u(02:000000e9)doElse
      :u(02:000000ea)call $AddLine$ arguments
         $parent$ = $game_menu$$id$ = $goto_restart_menu$$text$ = %s(15,"Skip to Restart")$link$ = $restart_menu$
      :u(02:000000eb)call $AddLine$ arguments
         $parent$ = $game_menu$$id$ = $game_menu_debug$$text$ = %s(10,"debug menu")$link$ = $debug_main_menu$
   :u(02:000000ec)endif
   :u(02:000000ed)doIf $IsCompetition$
      :u(02:000000ee)call $AddLine$ arguments
         $parent$ = $game_menu$$id$ = $end_comp$$text$ = %s(15,"End Competition")$target$ = %s(11,"do_end_comp")$kill_menu$
   :u(02:000000ef)doElse
      :u(02:000000f0)call $DestroyElement$ arguments
         $id$ = $end_comp$
   :u(02:000000f1)endif
   :u(02:000000f2)call $SelectElement$ arguments
      $id$ = $backend_continue$
   :u(02:000000f3)doIf call $CareerLevelIs$ arguments
         $LevelNum_Tutorials$
      :u(02:000000f5)doIf call $GetFlag$ arguments
            $flag$ = $TUTORIAL_RUNNING$
         :u(02:000000f6)call $AddLine$ arguments
            $parent$ = $game_menu$$id$ = $end_tutorial_item$$text$ = %s(14,"Tutorials Menu")$target$ = %s(18,"EndCurrentTutorial")$kill_menu$
      :u(02:000000f7)endif
      :u(02:000000f8)call $DestroyElement$ arguments
         $id$ = $goto_trickset_menu$
      :u(02:000000fa)call $DestroyElement$ arguments
         $id$ = $backend_cheat_menu$
      :u(02:000000fb)call $DestroyElement$ arguments
         $id$ = $backend_retry$
      :u(02:000000fc)call $DestroyElement$ arguments
         $id$ = $goto_restart_menu$
      :u(02:000000fd)call $DestroyElement$ arguments
         $id$ = $game_menu_debug$
      :u(02:000000fe)call $DestroyElement$ arguments
         $id$ = $backend_end_run$
   :u(02:000000ff)doElse
   :u(02:00000100)endif
:u(02:00000101)endfunction
:u(02:00000102)function $EndofRun_helper$
   :u(02:00000104)$helper_hide$
   :u(02:00000105)call $FireMenuEvent$ arguments
      $Type$ = $SHOW$$id$ = $helper_menu_1$$target$ = $helper_menu_1$
   :u(02:00000106)call $FireMenuEvent$ arguments
      $Type$ = $SHOW$$id$ = $helper_menu_2$$target$ = $helper_menu_2$
   :u(02:00000107)call $helper_set_positions$ arguments
      $x1$ = %i(190,000000be)$x2$ = %i(330,0000014a)
   :u(02:00000108)call $SetMenuElementText$ arguments
      $id$ = $helper_menu_1$%s(9,"¡¥ Select")
   :u(02:00000109)call $SetMenuElementText$ arguments
      $id$ = $helper_menu_2$%s(8,"¬ Accept")
:u(02:0000010a)endfunction
:u(02:0000010b)function $Refresh_EndofRunMenu$
   :u(02:0000010e)$EndofRun_helper$
   :u(02:0000010f)doIf $InNetGame$
   :u(02:00000111)doElse
      :u(02:00000112)$PauseMusicAndStreams$
   :u(02:00000113)endif
   :u(02:00000114)doIf $IsCareerMode$
      :u(02:00000115)doIf call $GetGlobalFlag$ arguments
            $flag$ = $JUST_UNLOCKED_LEVEL$
         :u(02:00000118)call $SelectElement$ arguments
            $id$ = $backend_change_level$
      :u(02:00000119)doElse
         :u(02:0000011a)call $SelectElement$ arguments
            $id$ = $backend_retry2$
      :u(02:0000011b)endif
   :u(02:0000011c)doElse
      :u(02:0000011d)call $SelectElement$ arguments
         $id$ = $backend_retry2$
   :u(02:0000011e)endif
   :u(02:0000011f)doIf $IsCompetition$
      :u(02:00000120)call $AddLine$ arguments
         $parent$ = $end_run_menu$$id$ = $backend_retry2$$text$ = %s(12,"Restart Comp")$target$ = %s(16,"do_backend_retry")$kill_menu$
   :u(02:00000121)doElse
      :u(02:00000122)call $AddLine$ arguments
         $parent$ = $end_run_menu$$id$ = $backend_retry2$$text$ = %s(5,"Retry")$target$ = %s(16,"do_backend_retry")$kill_menu$
   :u(02:00000123)endif
   :u(02:00000124)doIf $InSplitScreenGame$
      :u(02:00000126)call $AddLine$ arguments
         $parent$ = $end_run_menu$$id$ = $gameoptions_item$$text$ = %s(12,"Game options")$link$ = $splitscreen_setup_menu$
   :u(02:00000127)doElse
      :u(02:00000128)call $DestroyElement$ arguments
         $id$ = $gameoptions_item$
   :u(02:00000129)endif
   :u(02:0000012a)doIf $IsCareerMode$
      :u(02:0000012d)doIf $IsCompetition$
         :u(02:0000012e)call $DestroyElement$ arguments
            $id$ = $backend_watchreplay$
      :u(02:0000012f)doElse
         :u(02:00000130)call $AddLine$ arguments
            $parent$ = $end_run_menu$$id$ = $backend_watchreplay$$text$ = %s(12,"Watch Replay")$target$ = %s(19,"WatchEndOfRunReplay")$kill_menu$
      :u(02:00000131)endif
   :u(02:00000132)doElse
      :u(02:00000133)doIf call $GameModeEquals$ arguments
            $is_singlesession$
         :u(02:00000134)doIf $IsCustomPark$
            :u(02:00000135)call $DestroyElement$ arguments
               $id$ = $backend_watchreplay$
         :u(02:00000136)doElse
            :u(02:00000137)call $AddLine$ arguments
               $parent$ = $end_run_menu$$id$ = $backend_watchreplay$$text$ = %s(12,"Watch Replay")$target$ = %s(19,"WatchEndOfRunReplay")$kill_menu$
         :u(02:00000138)endif
      :u(02:00000139)doElse
         :u(02:0000013a)call $DestroyElement$ arguments
            $id$ = $backend_watchreplay$
      :u(02:0000013b)endif
   :u(02:0000013c)endif
   :u(02:0000013d)doIf call $IsTrue$ arguments
         $ShouldDisableReplays$
      :u(02:00000140)call $DestroyElement$ arguments
         $id$ = $backend_watchreplay$
   :u(02:00000141)endif
   :u(02:00000142)doIf $IsCareerMode$
      :u(02:00000145)doIf $IsCompetition$
         :u(02:00000146)call $DestroyElement$ arguments
            $id$ = $view_goals_movies_element$
      :u(02:00000147)doElse
         :u(02:00000148)call $AddLine$ arguments
            $parent$ = $end_run_menu$$id$ = $view_goals_movies_element$$text$ = %s(16,"View Goal Movies")$target$ = %s(16,"View_Goal_movies")$kill_menu$
      :u(02:00000149)endif
   :u(02:0000014a)doElse
      :u(02:0000014b)call $DestroyElement$ arguments
         $id$ = $view_goals_movies_element$
   :u(02:0000014c)endif
   :u(02:0000014d)doIf $InSplitScreenGame$
      :u(02:0000014e)call $DestroyElement$ arguments
         $id$ = $goto_trickset_menu$
   :u(02:0000014f)doElse
   :u(02:00000150)endif
   :u(02:00000151)doIf $IsCareerMode$
      :u(02:00000152)call $AddLine$ arguments
         $parent$ = $end_run_menu$$id$ = $backend_change_level$$text$ = %s(12,"Change Level")$link$ = $career_change_level_menu$
   :u(02:00000153)doElse
      :u(02:00000154)call $AddLine$ arguments
         $parent$ = $end_run_menu$$id$ = $backend_change_level$$text$ = %s(12,"Change Level")$link$ = $change_level_menu$
   :u(02:00000155)endif
   :u(02:00000156)doIf $IsCustomPark$
      :u(02:00000157)call $DestroyElement$ arguments
         $id$ = $backend_change_level$
   :u(02:00000158)endif
   :u(02:00000159)doIf $InSplitScreenGame$
      :u(02:0000015a)call $DestroyElement$ arguments
         $id$ = $goto_trickset_menu$
      :u(02:0000015b)call $DestroyElement$ arguments
         $id$ = $save_game$
   :u(02:0000015c)doElse
      :u(02:0000015d)call $AddLine$ arguments
         $parent$ = $end_run_menu$$id$ = $goto_trickset_menu$$text$ = %s(11,"Edit Tricks")$link$ = $trick_menu_container$
      :u(02:0000015e)call $AddLine$ arguments
         $parent$ = $end_run_menu$$id$ = $save_game$$text$ = %s(9,"Save game")$target$ = %s(10,"InGameSave")
   :u(02:0000015f)endif
   :u(02:00000160)call $DestroyElement$ arguments
      $id$ = $endrun_cheat_menu$
   :u(02:00000162)doIf $InNetGame$
   :u(02:00000163)doElse
      :u(02:00000164)doIf call $GetGlobalFlag$ arguments
            $flag$ = $CHEAT_UNLOCKED_1$
         :u(02:00000165)call $AddLine$ arguments
            $parent$ = $end_run_menu$$id$ = $endrun_cheat_menu$$text$ = %s(6,"Cheats")$link$ = $cheat_menu$
      :u(02:00000166)endif
   :u(02:00000167)endif
   :u(02:00000168)call $AddLine$ arguments
      $parent$ = $end_run_menu$$id$ = $main_menu$$text$ = %s(4,"Quit")$link$ = $quitgame_yesno_menu$
   :u(02:00000170)doIf $CD$
      :u(02:00000171)call $DestroyElement$ arguments
         $id$ = $backend_debug_menu$
      :u(02:00000172)call $DestroyElement$ arguments
         $id$ = $backend_change_test_level$
   :u(02:00000173)doElse
      :u(02:00000174)call $AddLine$ arguments
         $parent$ = $end_run_menu$$id$ = $backend_debug_menu$$text$ = %s(10,"Debug Menu")$link$ = $debug_main_menu$
      :u(02:00000175)call $AddLine$ arguments
         $parent$ = $end_run_menu$$id$ = $backend_change_test_level$$text$ = %s(17,"Change Test Level")$link$ = $test_level_menu$
   :u(02:00000176)endif
:u(02:00000177)endfunction
:u(02:00000179)function $goto_skateshop$
   :u(02:0000017b)call $Change$ arguments
      $AutoLinkToCareerScreen$ = %i(1,00000001)
   :u(02:0000017e)$chosen_leave_server$
:u(02:0000017f)endfunction
:u(02:00000180)function $InGameEndMemCardSaveLoad$
   :u(02:00000182)call $SwitchToMenu$ arguments
      $menu$ = $end_run_menu$
:u(02:00000183)endfunction
:u(02:00000189)function $_InGameEndMemCardSaveLoad$
   :u(02:0000018b)call $SpawnScript$ arguments
      $InGameEndMemCardSaveLoad$$params$ =  isNull
:u(02:0000018c)endfunction
:u(02:0000018d)function $InGameSave$
   :u(02:0000018f)$helper_hide$
   :u(02:00000190)call $SpawnScript$ arguments
      $SaveOptionsAndPros$$params$ = :s{$EndScr$ = $InGameEndMemCardSaveLoad$:s}
:u(02:00000191)endfunction
:u(02:00000192)function $Continue_to_endofrun$
   :u(02:00000194)call $SwitchToMenu$ arguments
      $menu$ = $end_run_menu$
:u(02:00000195)endfunction
:u(02:00000196)function $front_end_set_inactive$
   :u(02:00000198)$FrontEndSetInactive$
   :u(02:00000199)doIf call $CareerLevelIs$ arguments
         $LevelNum_Tutorials$
      :u(02:0000019b)$PauseStream$%i(0,00000000)
   :u(02:0000019c)doElse
      :u(02:0000019d)$UnPauseMusicAndStreams$
   :u(02:0000019e)endif
:u(02:0000019f)endfunction
:u(02:000001a0)function $Select_No$
   :u(02:000001a2)call $SelectElement$ arguments
      $id$ = $quit_no$
   :u(02:000001a3)$helper_select_choose_back_centered$
:u(02:000001a4)endfunction
:u(02:000001a5)function $Server_Select_No$
   :u(02:000001a7)call $SelectElement$ arguments
      $id$ = $server_quit_no$
   :u(02:000001a8)$helper_select_choose_back_centered$
:u(02:000001a9)endfunction
:u(02:000001aa)function $Client_Select_No$
   :u(02:000001ac)call $SelectElement$ arguments
      $id$ = $client_quit_no$
   :u(02:000001ad)$helper_select_choose_back_centered$
:u(02:000001ae)endfunction
:u(02:000001af)function $populate_goals_menu$
   :u(02:000001b1)call $DestroyElement$ arguments
      $id$ = $level2$
   :u(02:000001b4)call $DestroyElement$ arguments
      $id$ = $level3$
   :u(02:000001b5)call $DestroyElement$ arguments
      $id$ = $level4$
   :u(02:000001b6)call $DestroyElement$ arguments
      $id$ = $level5$
   :u(02:000001b7)call $DestroyElement$ arguments
      $id$ = $level6$
   :u(02:000001b8)call $DestroyElement$ arguments
      $id$ = $level7$
   :u(02:000001b9)call $DestroyElement$ arguments
      $id$ = $level8$
   :u(02:000001ba)call $DestroyElement$ arguments
      $id$ = $level9$
   :u(02:000001bb)call $GetGoalsCompleted$ arguments
      $LevelNum_Foundry$
   :u(02:000001bd)call $AddLine$ arguments
      $parent$ = $career_level_goals$$id$ = $level1$$text$ = %GLOBAL%$GoalsCompleted$
   :u(02:000001be)call $GetGoalsCompleted$ arguments
      $LevelNum_Canada$
   :u(02:000001c0)doIf call $GetGlobalFlag$ arguments
         $flag$ = $LEVEL_UNLOCKED_CANADA$
      :u(02:000001c1)call $AddLine$ arguments
         $parent$ = $career_level_goals$$id$ = $level2$$text$ = %GLOBAL%$GoalsCompleted$
   :u(02:000001c2)doElse
      :u(02:000001c3)call $AddLine$ arguments
         $parent$ = $career_level_goals$$id$ = $level2$$text$ = %GLOBAL%$GoalsCompleted$$static$
   :u(02:000001c4)endif
   :u(02:000001c5)call $GetGoalsCompleted$ arguments
      $LevelNum_Rio$
   :u(02:000001c7)doIf call $GetGlobalFlag$ arguments
         $flag$ = $LEVEL_UNLOCKED_RIO$
      :u(02:000001c8)call $AddLine$ arguments
         $parent$ = $career_level_goals$$id$ = $level3$$text$ = %GLOBAL%$BestMedal$
   :u(02:000001c9)doElse
      :u(02:000001ca)$printf$%s(49,"--------------------- Printing best medal for Rio")
      :u(02:000001cb)call $AddLine$ arguments
         $parent$ = $career_level_goals$$id$ = $level3$$text$ = %GLOBAL%$BestMedal$$static$
   :u(02:000001cc)endif
   :u(02:000001cd)call $GetGoalsCompleted$ arguments
      $LevelNum_Suburbia$
   :u(02:000001cf)doIf call $GetGlobalFlag$ arguments
         $flag$ = $LEVEL_UNLOCKED_SUBURBIA$
      :u(02:000001d0)call $AddLine$ arguments
         $parent$ = $career_level_goals$$id$ = $level4$$text$ = %GLOBAL%$GoalsCompleted$
   :u(02:000001d1)doElse
      :u(02:000001d2)call $AddLine$ arguments
         $parent$ = $career_level_goals$$id$ = $level4$$text$ = %GLOBAL%$GoalsCompleted$$static$
   :u(02:000001d3)endif
   :u(02:000001d4)call $GetGoalsCompleted$ arguments
      $LevelNum_Airport$
   :u(02:000001d6)doIf call $GetGlobalFlag$ arguments
         $flag$ = $LEVEL_UNLOCKED_AIRPORT$
      :u(02:000001d7)call $AddLine$ arguments
         $parent$ = $career_level_goals$$id$ = $level5$$text$ = %GLOBAL%$GoalsCompleted$
   :u(02:000001d8)doElse
      :u(02:000001d9)call $AddLine$ arguments
         $parent$ = $career_level_goals$$id$ = $level5$$text$ = %GLOBAL%$GoalsCompleted$$static$
   :u(02:000001da)endif
   :u(02:000001db)call $GetGoalsCompleted$ arguments
      $LevelNum_SkaterIsland$
   :u(02:000001dd)doIf call $GetGlobalFlag$ arguments
         $flag$ = $LEVEL_UNLOCKED_SKATERISLAND$
      :u(02:000001de)call $AddLine$ arguments
         $parent$ = $career_level_goals$$id$ = $level6$$text$ = %GLOBAL%$BestMedal$
   :u(02:000001df)doElse
      :u(02:000001e0)call $AddLine$ arguments
         $parent$ = $career_level_goals$$id$ = $level6$$text$ = %GLOBAL%$BestMedal$$static$
   :u(02:000001e1)endif
   :u(02:000001e2)call $GetGoalsCompleted$ arguments
      $LevelNum_LA$
   :u(02:000001e4)doIf call $GetGlobalFlag$ arguments
         $flag$ = $LEVEL_UNLOCKED_LOSANGELES$
      :u(02:000001e5)call $AddLine$ arguments
         $parent$ = $career_level_goals$$id$ = $level7$$text$ = %GLOBAL%$GoalsCompleted$
   :u(02:000001e6)doElse
      :u(02:000001e7)call $AddLine$ arguments
         $parent$ = $career_level_goals$$id$ = $level7$$text$ = %GLOBAL%$GoalsCompleted$$static$
   :u(02:000001e8)endif
   :u(02:000001e9)call $GetGoalsCompleted$ arguments
      $LevelNum_Tokyo$
   :u(02:000001eb)doIf call $GetGlobalFlag$ arguments
         $flag$ = $LEVEL_UNLOCKED_TOKYO$
      :u(02:000001ec)call $AddLine$ arguments
         $parent$ = $career_level_goals$$id$ = $level8$$text$ = %GLOBAL%$BestMedal$
   :u(02:000001ed)doElse
      :u(02:000001ee)call $AddLine$ arguments
         $parent$ = $career_level_goals$$id$ = $level8$$text$ = %GLOBAL%$BestMedal$$static$
   :u(02:000001ef)endif
   :u(02:000001f0)doIf call $GetGlobalFlag$ arguments
         $flag$ = $SPECIAL_HAS_SEEN_SHIP$
      :u(02:000001f2)call $GetGoalsCompleted$ arguments
         $LevelNum_Ship$
      :u(02:000001f3)doIf call $GetGlobalFlag$ arguments
            $flag$ = $LEVEL_UNLOCKED_SHIP$
         :u(02:000001f4)call $AddLine$ arguments
            $parent$ = $career_level_goals$$id$ = $level9$$text$ = %GLOBAL%$GoalsCompleted$
      :u(02:000001f5)doElse
         :u(02:000001f6)call $AddLine$ arguments
            $parent$ = $career_level_goals$$id$ = $level9$$text$ = %GLOBAL%$GoalsCompleted$$static$
      :u(02:000001f7)endif
   :u(02:000001f8)doElse
      :u(02:000001f9)call $DestroyElement$ arguments
         $id$ = $level9$
   :u(02:000001fa)endif
:u(02:000001fb)endfunction
:u(02:000001fc)function $populate_level_menu$
   :u(02:00000201)$helper_hide$
   :u(02:00000202)call $helper_select_choose_back$ arguments
      $x1$ = %i(167,000000a7)$x2$ = %i(282,0000011a)$x3$ = %i(392,00000188)
   :u(02:00000203)doIf $IsCareerMode$
      :u(02:00000206)$populate_goals_menu$
      :u(02:00000207)$GetNextLevelRequirements$
      :u(02:00000208)doIf call $GetGlobalFlag$ arguments
            $flag$ = $SPECIAL_HAS_SEEN_SHIP$
         :u(02:00000209)call $DestroyElement$ arguments
            $id$ = $next_level_at$
         :u(02:0000020a)doIf call $GetGlobalFlag$ arguments
               $flag$ = $LEVEL_UNLOCKED_SHIP$
            :u(02:0000020b)call $AddLine$ arguments
               $parent$ = $career_change_level_menu$$id$ = $next_level_at$$text$ = %s(19,"All levels unlocked")$static$$drawer$ = $main_smaller$$lock_layout$$y$ = %i(220,000000dc)
         :u(02:0000020c)doElse
            :u(02:0000020d)call $AddLine$ arguments
               $parent$ = $career_change_level_menu$$id$ = $next_level_at$$text$ = %GLOBAL%$NextLevelRequirements$$static$$drawer$ = $main_smaller$$lock_layout$$y$ = %i(220,000000dc)
         :u(02:0000020e)endif
      :u(02:0000020f)doElse
         :u(02:00000210)call $AddLine$ arguments
            $parent$ = $career_change_level_menu$$id$ = $next_level_at$$text$ = %GLOBAL%$NextLevelRequirements$$static$$drawer$ = $main_smaller$$lock_layout$$y$ = %i(201,000000c9)
      :u(02:00000211)endif
   :u(02:00000212)doElse
      :u(02:00000213)call $DestroyElement$ arguments
         $id$ = $next_level_at$
   :u(02:00000214)endif
   :u(02:00000215)call $VerifyParam$ arguments
      $param$ = $parent_menu$$func$ = $populate_level_menu$ isNull
   :u(02:00000216)call $VerifyParam$ arguments
      $param$ = $choose_script$$func$ = $populate_level_menu$ isNull
   :u(02:00000217)call $ForEachIn$ arguments
      $master_level_list$$do$ = $add_level_menu_item$$params$ = :s{$mask$ = $regular_level$$target_script$ = %GLOBAL%$choose_script$$parent_menu$ = %GLOBAL%$parent_menu$:s}
:u(02:00000218)endfunction
:u(02:00000219)function $toggle_player_names$
   :u(02:0000021b)$TogglePlayerNames$
:u(02:0000021c)endfunction
:u(02:0000021d)function $toggle_scores$
   :u(02:0000021f)$ToggleScores$
:u(02:00000220)endfunction
:u(02:00000221)function $enter_observer_mode$
   :u(02:00000223)$EnterObserverMode$
:u(02:00000224)endfunction
:u(02:00000225)function $enter_chat_mode$
:u(02:00000227)endfunction
:u(02:00000228)function $back_to_main$
   :u(02:0000022a)$printf$%s(20,"running back_to_main")
   :u(02:0000022b)call $LaunchMenuScreen$ arguments
      $screen$ = $main_menu$
:u(02:0000022c)endfunction
:u(02:0000022d)function $change_airtricks1$
   :u(02:0000022f)call $Change$ arguments
      $Air_CircleL$ = $Trick_Stiffy$
:u(02:00000230)endfunction
:u(02:00000232)function $change_airtricks2$
   :u(02:00000234)call $Change$ arguments
      $Air_CircleR$ = $Trick_Judo$
:u(02:00000235)endfunction
:u(02:00000237)function $change_airtricks3$
   :u(02:00000239)call $Change$ arguments
      $Airtricks$ = $Airtricks3$
   :u(02:0000023a)call $Change$ arguments
      $JumpTricks$ = $Jumptricks3$
:u(02:0000023b)endfunction
:u(02:0000023c)function $entered_chat_message$
   :u(02:0000023e)call $GetTextElementString$ arguments
      $id$ = $keyboard_current_string$
   :u(02:0000023f)call $SendChatMessage$ arguments
      $string$ = %GLOBAL%$string$
   :u(02:00000240)$destroy_onscreen_keyboard$
:u(02:00000241)endfunction
:u(02:00000242)function $menu_entered_chat_message$
   :u(02:00000244)$entered_chat_message$
   :u(02:00000245)$create_pause_menu$
:u(02:00000246)endfunction
:u(02:00000247)function $cancel_chat_menu$
   :u(02:00000249)$destroy_onscreen_keyboard$
   :u(02:0000024a)$create_pause_menu$
:u(02:0000024b)endfunction
:u(02:0000024c)function $launch_chat_keyboard$
   :u(02:0000024e)call $DestroyScreenElement$ arguments
      $id$ = $current_menu_anchor$
   :u(02:0000024f)$remove_pause_menu_textures_from_vram$
   :u(02:00000250)call $create_onscreen_keyboard$ arguments
      $allow_cancel$$keyboard_cancel_script$ = $cancel_chat_menu$$keyboard_done_script$ = $menu_entered_chat_message$$keyboard_title$ = %s(13,"ENTER MESSAGE")$min_length$ = %i(0,00000000)$max_length$ = %i(50,00000032)
:u(02:00000251)endfunction
:u(02:00000252)function $enter_kb_chat$
   :u(02:00000254)call $create_onscreen_keyboard$ arguments
      $allow_cancel$$no_buttons$$keyboard_done_script$ = $entered_chat_message$$keyboard_title$ = %s(13,"ENTER MESSAGE")$min_length$ = %i(1,00000001)$max_length$ = %i(50,00000032)
:u(02:00000255)endfunction
:u(02:00000256)function $send_chat_message$
   :u(02:00000258)$printf$%s(23,"Sending chat message...")
   :u(02:00000259)$SendChatMessage$ isNull
:u(02:0000025a)endfunction
:u(02:0000025b)function $PreRunQueuedScripts$
   :u(02:0000025d)$SetSlomo$%f(100.000000)
:u(02:0000025e)endfunction
:u(02:0000025f)function $PostRunQueuedScripts$
   :u(02:00000261)$SetSlomo$%i(1,00000001)
:u(02:00000262)endfunction
:u(02:00000263):end


#/ END


Search for sound options, just above that is where I made my changes.

Also, I got this script form THPS4. However, this is the tutorial I'm following.
---> http://thmods.com/forum/viewtopic.php?f=18&t=6 <--- As you can see this tutorial is for THPS3, so I don't know if maybe that has something to do with it?

Re: Ahhhhhh! So annoying!

Posted: Mon Aug 24, 2015 1:08 am
by BLAZING_INDICA
Hello, I tried to look at the bottom of the dump file, but it's just a bunch of gibberish. I can't understand what it is saying.

Re: Ahhhhhh! So annoying!

Posted: Mon Aug 24, 2015 5:32 am
by WhoElseButMe
Please wrap code blocks with the code tag.
Hello, I tried to look at the bottom of the dump file, but it's just a bunch of gibberish. I can't understand what it is saying.

You need to view it in a hex editor and know a little bit about the bytecode but it isn't as hard as I made it sound.
Could you upload the dump file, please

What version of roq compiler are you using? You should be using 2.1

Re: Ahhhhhh! So annoying!

Posted: Mon Aug 24, 2015 6:04 am
by BLAZING_INDICA
Okay, so I couldn't attach the dump file, because the extension dump is not allowed.
However, I will paste the code for it here.

  <ÓÉ |é#s HB êÙ$ HB àùT  •Aà " images/panelsprites/wheel_001.png  " images/panelsprites/wheel_002.png 
" images/panelsprites/wheel_003.png  " images/panelsprites/wheel_004.png  " images/panelsprites/wheel_005.png 
" images/panelsprites/wheel_006.png    
½!& |é#s CêÙ$ ´Bíôœã  Cù”n ¨C óƒqÌ e³v»  ’äܦ  #ww› 
™]Ë  º1T  $ #5.ª 
™]Ë " º1T # $$ #;Î& (ƒG* %éoÚ¡+ ‚Ù$±, (- 6㶞Ž¼4¡. $/ #Ž¼4¡1  ‰B 2 ïO•3 %éoÚ¡4 •ÿí(3Èñ/&5 ÷´}=6 ¦Î7 .»©8 &9 •ÿí(3Èñ/&: ÷´}=; s¥ôÖf]\< oä= (> |‚ ß7ü? ßqšXA ®ÑB $C #bND %`~¸œE pšF (G u+H $I #`älK %€1ÿˍÉO L º1T M &N 5.ªO (P $Q #÷‚å×T %€1ÿˍÉO U º1T V &W 5.ªX (Z $] #H•¶#` |‚ÍÌL>ö)Ði $j #¦K÷m Æè-' viewing movies ----------------------- n gÞ£…3d ñ1pl÷s $t #qÜYv $x #¡g~  ùÐ2Ñ#Ûòã9  ùÐ2Ñ#ò˜ô€  ùÐ2Ñ#Êx­e  ùÐ2Ñ#L˜Ðl‚  ùÐ2Ñ#"Æêƒ  ùÐ2Ñ#¼$„  ùÐ2Ñ#iâk…  ùÐ2Ñ#Ó³b†  ùÐ2Ñ#Eƒea‡ ”ùøe .Ti*ˆ ”ùøe .îS`³‰ ”ùøe .xcgÄŠ ”ùøe .ÛöZ‹ ”ùøe .MÆ-Œ ”ùøe .è"»² ”ùøe .jŒc®Ž 뾂
 Goals reset  %€1ÿËË.$¿‘ ”ùøe .·G
’ ”ùøe .g’‰â“ WÈe .Xš” (• %€1ÿËWÙQá– ”ùøe .ƒRn— ”ùøe .W«í˜ ”ùøe .à=÷™ ¾nªš (› $œ #äF˜yŸ ¸{ö'  $¡ #ÅQ#£ ¤ |‚ÍÌL=–îàI¥ Æè- Launching Message ¦ !¨ $© # ïŽõ¬ ww›­ ûÕ@°ŸqÂ@©ïi¯˜Æ@w4“þ8XtÄ Continue А¹ do_backend_continue FÝ® ûÕ@°ŸqÂÅGǯ˜Æ@D`R
8XtÄ Restart Replay А¹ WatchEndOfRunReplay Fݯ %ýëRÑÿü¸I° ûÕ@°ŸqÂ@©ïi¯˜Æ@ùû”t8XtÄ Retry А¹ do_backend_retry Fݱ ûÕ@°ŸqÂ@©ïi¯˜Æ@ƒ.Ú8XtÄ Save Replay fSÉ _EndRunSaveReplay ² ûÕ@°ŸqÂ@©ïi¯˜Æ@Ƽ¨8XtÄ Exit fSÉ ExitReplayAfterEndOfRun ³ &´ ûÕ@°ŸqÂ@©ïi¯˜Æ@Ƽ¨8XtÄ Exit fSÉ ExitSavedReplay µ (¶ $· #¤¿}º Æè- refreshing » Èà+d¼ %éoÚ¡½ &¾ ww›¿ (À ûÕ@°ŸqÂ@©ïi¯˜Æ@w4“þ8XtÄ Continue А¹ do_backend_continue FÝÁ %11‡} %Š¾Yˆe .›(ُà ûÕ@°ŸqÂ@©ïi¯˜Æ@ü 8XtÄ End Current Goal Try А¹ ResetAllOfTheGoals FÝÄ (Å ûÕ@°ŸqÂ@©ïi¯˜Æ@>
çT8XtÄ Retry Last Goal А¹ RetryCurrentGoal FÝÆ ûÕ@°ŸqÂ@©ïi¯˜Æ@™ á8XtÄ goto Skate shop А¹ do_backend_end_run FÝÇ &È ûÕ@°ŸqÂ@©ïi¯˜Æ@ùû”t8XtÄ Retry А¹ do_backend_retry FÝÉ (Ê %`~¸œÌ “«¯˜Æ@k–»·Í &Î (Ð %11‡}Ñ ûÕ@°ŸqÂ@©ïi¯˜Æ@A¼½8XtÄ View Current Goals А¹ View_ListAllGoals FÝÒ %%p)ºÓ “«¯˜Æ@á^.°Ô &Õ ûÕ@°ŸqÂ@©ïi¯˜Æ@á^.°8XtÄ Reset Level Goals А¹ ResetLevelGoals fSɝFÝÖ (× &Ø “«¯˜Æ@á^.°Ù “«¯˜Æ@A¼½Ú (Û ûÕ@°ŸqÂ@©ïi¯˜Æ@

Also, I am not quite sure what version I'm using. I just downloaded the qb explorer form this site, if that helps?

Re: Ahhhhhh! So annoying!

Posted: Mon Aug 24, 2015 10:59 pm
by WhoElseButMe
NO I need the file, use an upload site to upload it too. Plain text does nothing for me it is the hex code I need.

Re: Ahhhhhh! So annoying!

Posted: Tue Aug 25, 2015 1:19 am
by Morten1337
lmao

Re: Ahhhhhh! So annoying!

Posted: Tue Aug 25, 2015 1:27 am
by BLAZING_INDICA

Re: Ahhhhhh! So annoying!

Posted: Tue Aug 25, 2015 1:31 am
by BLAZING_INDICA
@Morten1337, What is so funny? :D

Re: Ahhhhhh! So annoying!

Posted: Tue Aug 25, 2015 4:15 am
by WhoElseButMe
It breaks @ :u(02:000000db) the first db and this $id$ = (right here in this checksum is the error)
also the script you're trying to compile isn't the same one you posted a few messages back because of this
$target$ = %s(15,"ResetLevelGoals")$kill_menu$ (is in the post you made)
and this is in the dump you uploaded
$target$ = %s(15,"ResetLevelGoals")$link$ = $9D1B46DD$ (that last link must be some made up name because it can't be found)

How do you expect people to help you when you're providing misinformation.

Re: Ahhhhhh! So annoying!

Posted: Tue Aug 25, 2015 4:55 am
by BLAZING_INDICA
I apologize, that is something I added after the fact, and forgot.

Re: Ahhhhhh! So annoying!

Posted: Tue Aug 25, 2015 5:08 am
by BLAZING_INDICA
u(02:000000db) the first db and this $id$ =, where is this located, and what does it mean? Sorry if this is annoying. :/

Re: Ahhhhhh! So annoying!

Posted: Tue Aug 25, 2015 5:37 am
by WhoElseButMe
BLAZING_INDICA wrote:u(02:000000db) the first db and this $id$ =, where is this located, and what does it mean? Sorry if this is annoying. :/

That is in your script
u(?) is a new line the value in it is a line number
so search your script for u(02:000000db) and on that line look for $id$ =
what follows is the error