Author Topic: Compile Problem  (Read 3449 times)

0 Members and 1 Guest are viewing this topic.

Offline nikobg

  • Street Thug
  • *
  • Posts: 9
    • View Profile
Compile Problem
« on: December 07, 2012, 07:48:38 pm »
I tried to compile my script to .amx when suddenly....
Quote
C:\Users\niko\Desktop\VCMP - Pawno\include\dutils.inc(199) : error 021: symbol already defined: "SetPlayerMoney"
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(208) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(570) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(574) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(608) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(689) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(689) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(705) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(716) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(720) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(743) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(747) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(762) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(762) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(811) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(856) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(908) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(927) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(951) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(951) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(968) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(996) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(1018) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(1018) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(1034) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(1034) : error 047: array sizes do not match, or destination array is too small

Compilation aborted.Pawn compiler 3.0.3367         Copyright (c) 1997-2005, ITB CompuPhase


26 Errors.

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: Compile Problem
« Reply #1 on: December 07, 2012, 08:00:17 pm »
Simple check the script  and find all returns if got
[pawn]}
return 1
}
}[/pawn]
Delete one }
Another problem is if one command not have } example
 }
return 1
else if "bla bla bla"

And you have 2 public setplayermoney delete one
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline nikobg

  • Street Thug
  • *
  • Posts: 9
    • View Profile
Re: Compile Problem
« Reply #2 on: December 07, 2012, 08:23:16 pm »
Simple check the script  and find all returns if got
[pawn]}
return 1
}
}[/pawn]
Delete one }
Another problem is if one command not have } example
 }
return 1
else if "bla bla bla"

And you have 2 public setplayermoney delete one

i have setplayermoney all over my script...and my script is big

Offline stormeus

  • VC:MP Developer
  • VC:MP Veteran
  • *
  • Posts: 1122
    • View Profile
Re: Compile Problem
« Reply #3 on: December 09, 2012, 01:36:20 am »
We can't find the problem if you don't post the relevant code.

D:\igri\vc\SERVERs\gamemodes\Niko.pwn(208) : error 047: array sizes do not match, or destination array is too small
Post line 208.

D:\igri\vc\SERVERs\gamemodes\Niko.pwn(570) : error 047: array sizes do not match, or destination array is too small
Post line 570.

D:\igri\vc\SERVERs\gamemodes\Niko.pwn(574) : error 047: array sizes do not match, or destination array is too small
Post line 574.

D:\igri\vc\SERVERs\gamemodes\Niko.pwn(608) : error 047: array sizes do not match, or destination array is too small
Post line 608.

etc.
Do not PM me for support.




Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: Compile Problem
« Reply #4 on: December 09, 2012, 02:18:07 am »
We can't find the problem if you don't post the relevant code.

D:\igri\vc\SERVERs\gamemodes\Niko.pwn(208) : error 047: array sizes do not match, or destination array is too small
Post line 208.

D:\igri\vc\SERVERs\gamemodes\Niko.pwn(570) : error 047: array sizes do not match, or destination array is too small
Post line 570.

D:\igri\vc\SERVERs\gamemodes\Niko.pwn(574) : error 047: array sizes do not match, or destination array is too small
Post line 574.

D:\igri\vc\SERVERs\gamemodes\Niko.pwn(608) : error 047: array sizes do not match, or destination array is too small
Post line 608.

etc.

I think are just some small strings.

Change them to  256 .
(256 = 1kb)

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.