SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 08/05/2020, 06:24 AM   #1
TheBoss9
Little Clucker
 
Join Date: Aug 2017
Posts: 3
Reputation: 0
Default Tons of problems

So, I'm having a bunch of problems with this script I just got a hold of. It was last used in I think 2011 or anywhere between then and 2015 or so, so it's a relatively old script that I'm very well aware is mostly outdated. I'm still rummaging around it to remove unnecessary features and whatnot, but my main concern right now is all of the errors I'm getting when I compile the script. I'll post them below. If anyone can help me out, I'd appreciate it.

Quote:
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(228 2) : error 017: undefined symbol "ColorsMenu"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(111 96) : error 017: undefined symbol "LoadRefinery"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(111 97) : error 017: undefined symbol "LoadEdenGasStation"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(111 98) : error 017: undefined symbol "LoadTruck"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(325 45) : warning 216: nested comment
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(366 46) : error 017: undefined symbol "ResetPlayerWeaponsEx"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(367 31) : error 017: undefined symbol "ResetPlayerWeaponsEx"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(367 62) : error 017: undefined symbol "ResetPlayerWeaponsEx"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(380 01) : error 017: undefined symbol "SaveRefinery"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(380 02) : error 017: undefined symbol "SaveTruck"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(380 38) : error 017: undefined symbol "SaveEdenGasStation"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(380 39) : error 017: undefined symbol "SaveTruck"
C:\Users\Stefan\Desktop\UARP\gamemodes\uarp.pwn(38 046) : error 017: undefined symbol "SaveIdleGasStation"
C:\Users\Stefan\Desktop\UARP\gamemodes\uarp.pwn(38 047) : error 017: undefined symbol "SaveTruck"
C:\Users\Stefan\Desktop\UARP\gamemodes\uarp.pwn(38 054) : error 017: undefined symbol "SaveVineGasStation"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(380 55) : error 017: undefined symbol "SaveTruck"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(380 62) : error 017: undefined symbol "SaveHoroGasStation"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(380 63) : error 017: undefined symbol "SaveTruck"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(381 52) : error 017: undefined symbol "GetPlayerID2"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(381 59) : error 017: undefined symbol "GetPlayerID2"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(381 66) : error 017: undefined symbol "GetPlayerID2"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(381 73) : error 017: undefined symbol "GetPlayerID2"
C:\Users\Admin\Desktop\UARP\gamemodes\urap.pwn(381 80) : error 017: undefined symbol "GetPlayerID2"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(381 87) : error 017: undefined symbol "GetPlayerID2"
C:\Users\Admin\Desktop\UARP\gamemodes\urap.pwn(381 94) : error 017: undefined symbol "GetPlayerID2"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(382 01) : error 017: undefined symbol "GetPlayerID2"
C:\Users\Admin\Desktop\UARP\gamemodes\uarp.pwn(382 08) : error 017: undefined symbol "GetPlayerID2"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
I'm not exactly familiar with scripting at all and I just know the bare minimum basics (removing parts of the code, renaming things, etc). If someone could help teach me how to figure this stuff out, I would also greatly appreciate it.
TheBoss9 is offline   Reply With Quote
Old 08/05/2020, 07:38 AM   #2
DIRTYBYT3
Big Clucker
 
DIRTYBYT3's Avatar
 
Join Date: Sep 2018
Location: https://discord.gg/mVYChzq
Posts: 159
Reputation: 14
Default Re: Tons of problems

check the folder of includes maybe this is your problem.
__________________
DIRTYBYT3 is offline   Reply With Quote
Old 08/05/2020, 09:47 AM   #3
TheBoss9
Little Clucker
 
Join Date: Aug 2017
Posts: 3
Reputation: 0
Default Re: Tons of problems

Quote:
Originally Posted by DIRTYBYT3 View Post
check the folder of includes maybe this is your problem.
Which include do you think it might be? Or should I just go through every include anyways and make sure it's up to date?
TheBoss9 is offline   Reply With Quote
Old 08/05/2020, 10:51 AM   #4
Huemerson
Little Clucker
 
Huemerson's Avatar
 
Join Date: Apr 2018
Location: Brasil - Minas Gerais
Posts: 36
Reputation: 1
Default Re: Tons of problems

You need to define the variables that have the error [new], and then see if there are other errors ...
Huemerson is offline   Reply With Quote
Old 08/05/2020, 11:21 AM   #5
TheBoss9
Little Clucker
 
Join Date: Aug 2017
Posts: 3
Reputation: 0
Default Re: Tons of problems

Quote:
Originally Posted by Huemerson View Post
You need to define the variables that have the error [new], and then see if there are other errors ...
How exactly do I do that?
TheBoss9 is offline   Reply With Quote
Old 08/05/2020, 08:50 PM   #6
cipi89
Little Clucker
 
Join Date: Sep 2018
Posts: 30
Reputation: 3
Default Re: Tons of problems

Quote:
Originally Posted by Huemerson View Post
You need to define the variables that have the error [new], and then see if there are other errors ...
That is most definitely not the case. Undefined symbols he's getting aren't variables and cannot be defined by "new". Those are obv some sort of functions.

My guess is your script has lack of closed brackets. ( "}" )
Usually it crashes the compiler and doesn't show any errors/warnings but there are indeed cases where it shows undefined functions like in your case.
cipi89 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tons of Errors system39 Scripting Help 9 18/03/2019 11:13 AM
[Ajuda] 3 tons de cinza pdonald Português/Portuguese 8 06/08/2017 07:15 PM
Tried to upgrade from dini to MySQL - Tons and tons of errors Vlad64 Scripting Help 5 09/11/2014 01:49 PM
tons of errors Jhony_Blaze Scripting Help 2 29/07/2013 09:00 AM
Tons of errors.. _Vortex Help Archive 20 06/09/2009 12:23 AM


All times are GMT. The time now is 02:00 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.