Filterscript Error!!
#1

Hi. i tried to compile this script by rootcause,
i get many errors. i didnot change anything, but still having errors. please help me what is i wrong doing?


ERRORS:::
Код:
C:\SAMP\Server\filterscripts\lumberjack.pwn(137) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(155) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(198) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(231) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(293) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(300) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(363) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(504) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(530) : error 025: function heading differs from prototype
C:\SAMP\Server\filterscripts\lumberjack.pwn(530) : error 017: undefined symbol "objectid"
C:\SAMP\Server\filterscripts\lumberjack.pwn(532) : error 010: invalid function or declaration
C:\SAMP\Server\filterscripts\lumberjack.pwn(534) : error 010: invalid function or declaration
C:\SAMP\Server\filterscripts\lumberjack.pwn(537) : error 010: invalid function or declaration
C:\SAMP\Server\filterscripts\lumberjack.pwn(544) : error 021: symbol already defined: "SetDynamicObjectPos"
C:\SAMP\Server\filterscripts\lumberjack.pwn(547) : error 021: symbol already defined: "Streamer_SetFloatData"
C:\SAMP\Server\filterscripts\lumberjack.pwn(551) : error 025: function heading differs from prototype
C:\SAMP\Server\filterscripts\lumberjack.pwn(551) : error 021: symbol already defined: "stmt_bind_value"
C:\SAMP\Server\filterscripts\lumberjack.pwn(552) : error 021: symbol already defined: "stmt_bind_value"
C:\SAMP\Server\filterscripts\lumberjack.pwn(553) : error 021: symbol already defined: "stmt_bind_value"
C:\SAMP\Server\filterscripts\lumberjack.pwn(554) : error 021: symbol already defined: "stmt_bind_value"
C:\SAMP\Server\filterscripts\lumberjack.pwn(555) : error 021: symbol already defined: "stmt_bind_value"
C:\SAMP\Server\filterscripts\lumberjack.pwn(556) : error 021: symbol already defined: "stmt_bind_value"
C:\SAMP\Server\filterscripts\lumberjack.pwn(557) : error 021: symbol already defined: "stmt_bind_value"
C:\SAMP\Server\filterscripts\lumberjack.pwn(558) : error 021: symbol already defined: "stmt_execute"
C:\SAMP\Server\filterscripts\lumberjack.pwn(560) : error 010: invalid function or declaration
C:\SAMP\Server\filterscripts\lumberjack.pwn(563) : error 010: invalid function or declaration
C:\SAMP\Server\filterscripts\lumberjack.pwn(565) : error 021: symbol already defined: "id"
C:\SAMP\Server\filterscripts\lumberjack.pwn(565) : error 008: must be a constant expression; assumed zero
C:\SAMP\Server\filterscripts\lumberjack.pwn(572) : error 010: invalid function or declaration
C:\SAMP\Server\filterscripts\lumberjack.pwn(580) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(598) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(624) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(626) : error 017: undefined symbol "Logs"
C:\SAMP\Server\filterscripts\lumberjack.pwn(672) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(695) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(706) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(729) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(759) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(804) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(817) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(843) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(875) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(899) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(932) : warning 219: local variable "id" shadows a variable at a preceding level
C:\SAMP\Server\filterscripts\lumberjack.pwn(353) : warning 204: symbol is assigned a value that is never used: "UpdateTree"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


22 Errors.
Reply
#2

did you download all the required files?

Quote:

#include <evf> // by Emmet_ - https://sampforum.blast.hk/showthread.php?tid=486060
#include <izcmd> // by Yashas - https://sampforum.blast.hk/showthread.php?tid=576114
#include <progress2> // by [HLF]Southclaw - https://sampforum.blast.hk/showthread.php?tid=537468
#include <sqlitei> // by Slice - https://sampforum.blast.hk/showthread.php?tid=303682
#include <sscanf2> // by ****** - https://sampforum.blast.hk/showthread.php?tid=602923
#include <streamer> // by Incognito - https://sampforum.blast.hk/showthread.php?tid=102865
#include <YSI\y_iterate> // by ****** - https://sampforum.blast.hk/showthread.php?tid=570884
Reply
#3

Yeah i did download them all. but still it gave same errors... also evf.inc is not working good and SQLite also crashes my FS. if i remove SQLite, it does not crashed but gives errors of SQLite(of cource if i remove include file, it will give errors..)

please help.
Reply
#4

Help me pls
Reply
#5

please you can request his help in his thread here https://sampforum.blast.hk/showthread.php?tid=608851

this is section of your own scripts not copyed scripts
Reply
#6

Quote:
Originally Posted by TitanX
Посмотреть сообщение
please you can request his help in his thread here https://sampforum.blast.hk/showthread.php?tid=608851

this is section of your own scripts not copyed scripts
if you see last page, there are many complaints already there and no one is solved it.
Reply
#7

Quote:
Originally Posted by TitanX
Посмотреть сообщение
please you can request his help in his thread here https://sampforum.blast.hk/showthread.php?tid=608851

this is section of your own scripts not copyed scripts
You mustn't understand the concept of help...



Before you go through with the below suggestions or information, you _NEED_ to try get those includes working, as they are likely to cause some of the errors that come from below. The warnings are just warnings, the errors though are what's stopping it compiling. You can run with errors, it may lead to unexpected results, but errors will not allow it to compile at all.


Most of these errors are basic errors.

Код:
local variable "id" shadows a variable at a preceding level
means new id; is defined above the section of code where it's used at. You can either delete the one at the top of the script, or go through and remove each one that is erroring subsequently.

Код:
function heading differs from prototype
Means the definition of the function, is different to the public line.

Код:
error 017: undefined symbol "objectid"
objectid isn't defined. (You need new objectid; in the script)

Код:
invalid function or declaration
Means the function on that line, isn't "made"... More than likely through an include failing to be included.

Код:
symbol already defined: "SetDynamicObjectPos"
symbol already defined: "Streamer_SetFloatData"
symbol already defined: "stmt_bind_value"
means the functions are being defined, when they've already been defined.

Код:
undefined symbol "Logs"
Logs isn't defined. ( new Logs; )

Код:
symbol is assigned a value that is never used: "UpdateTree"
You have new UpdateTree; yet don't use it. This is more likely a timer variable.
Reply
#8

Thanks for giving your answer time for a long answer for my help. now, if i had scripted it i would have solved errors but but i have not done it. i am a beginor at scripting so i will try to do it my self, but if i dont able to, please help me then.

Thanks, rep+
Reply
#9

The problem is solved this way: https://forum.sa-mp.com/showpost.php...7&postcount=56
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)