gta-open icon indicating copy to clipboard operation
gta-open copied to clipboard

Can't Compile - Followed SAMPCTL instructions

Open DJShocker opened this issue 4 years ago • 8 comments

PS C:\Users\Administrator\Desktop\gta-open-master> sampctl package run
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\user-interface\ui_time-left.inc:63 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\user-interface\ui_money-notification.inc:55 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\account\account_stats.inc:115 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\player\player_spawn-protection.inc:13 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\player\attachment\attachment.inc:290 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\player\job\job_rapist-impl.inc:79 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\player\vehicle\vehicle_impl.inc:235 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\admin\admin_cmd-atm.inc:26 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\burglary_system.inc:278 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\burglary_system.inc:290 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\burglary_system.inc:319 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\burglary_system.inc:325 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\burglary_system.inc:331 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\tower_system.inc:103 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\tower_system.inc:115 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\tower_system.inc:127 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\jailcell_system.inc:36 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\crack_system.inc:176 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\weed_system.inc:77 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\car_crusher.inc:155 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\atm_robbery.inc:129 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\jobs\trucker.inc:147 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\jobs\trucker.inc:153 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\jobs\trucker.inc:159 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\jobs\trucker.inc:165 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\jobs\pizza_delivery.inc:154 (error) function with tag result used before definition, forcing reparse

DJShocker avatar Jan 01 '22 06:01 DJShocker

Have you ran "ensure" and the "build" command before running?

ItsStev avatar Jan 01 '22 14:01 ItsStev

Have you ran "ensure" and the "build" command before running?

Correct. Here's the SS image

DJShocker avatar Jan 01 '22 18:01 DJShocker

So any ideas? Do I need a specific sampctl version or what am I missing.

DJShocker avatar Jan 02 '22 01:01 DJShocker

So any ideas? Do I need a specific sampctl version or what am I missing.

Hi, This seems to be an issue with the latest y_timers, I am pending reply from Y_Less.

PatrickGTR avatar Jan 03 '22 13:01 PatrickGTR

So any ideas? Do I need a specific sampctl version or what am I missing.

Hi, This seems to be an issue with the latest y_timers, I am pending reply from Y_Less.

Oh thank you lol this was my first time using sampctl and I thought I did something wrong.

DJShocker avatar Jan 03 '22 14:01 DJShocker

So any ideas? Do I need a specific sampctl version or what am I missing.

Hi, This seems to be an issue with the latest y_timers, I am pending reply from Y_Less.

Oh thank you lol this was my first time using sampctl and I thought I did something wrong.

Hi, I have got a response back. I don't have time right now.

There was a change in y_timers and broke some lines in the code.

The timers must be declared before calling them. If you can do the fixes, I would really appreciate it! Otherwise you will be waiting for me & when I have time.

PatrickGTR avatar Jan 03 '22 22:01 PatrickGTR

I'm not a pro-level scripter, but I have some knowledge. I'll see what I can do. Also, Tell Y_Less to stop breaking stuff! :-p

DJShocker avatar Jan 03 '22 22:01 DJShocker

For me, it works because you need to put the functions at the very top of the script because they used an older version of the compiler.

s4marium avatar May 21 '23 07:05 s4marium