Whats wrong with GM?
#1

Guys i was looking forward to use raven's RP script as a base to script my server but when i compiled it's given larp.pwn it gives me following errors please can you say how do i solve them? this is that larp.pwn

this is page of it https://drive.******.com/file/d/0B04...ew?usp=sharing << find my larp here

and here are those 26 errors:
Код:
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(6899) : warning 209: function "Streamer_OnPlayerDisconnect" should return a value
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(25115) : error 021: symbol already defined: "strtok"
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(25130) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(26655) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(26715) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(26768) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(27436) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(27495) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28176) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28204) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28215) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28275) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28544) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28571) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28601) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28609) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28643) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28651) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28684) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28729) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28792) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28850) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28858) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28893) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(28901) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(29128) : error 047: array sizes do not match, or destination array is too small
C:\GTLS\Samp servers\Raven' s Roleplay\gamemodes\larp.pwn(29182) : error 047: array sizes do not match, or destination array is too small

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
so this is it any help would be greatful.. i will surely rep+ the helper..

26 Errors.
Reply
#2

Well, I tried to edit it, but the script uses outdated shiet such as strtok, strcmp, even OnPlayerDisconnect doesn't have a "return 1" lol...
I suggest you download another gamemode, one that's been created not too long ago and uses sscanf, streamer, zcmd(or ycmd) etc.
Reply
#3

Quote:
Originally Posted by Smileys
Well, I tried to edit it, but the script uses outdated shiet such as strtok, strcmp, even OnPlayerDisconnect doesn't have a "return 1" lol...
I suggest you download another gamemode, one that's been created not too long ago and uses sscanf, streamer, zcmd(or ycmd) etc.
i will try another GM but still is there any chance to convert this server in new one?
Reply
#4

It'll take a while to convert it, seeing as it was probably coded for 0.3a or something.
Reply
#5

lmao That GM is full of bugs :P
Reply
#6

Quote:
Originally Posted by Luis-
It'll take a while to convert it, seeing as it was probably coded for 0.3a or something.
Thanks buddy!! take your own time i am not in hurry mean while i will also try to convert it and will do some other things..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)