GTA Közösség - A magyar GTA fórum

San Andreas Multiplayer (SA-MP) => SA-MP: Szerverfejlesztés => Segítségkérés => A témát indította: Denzel - 2013. Október 20. - 22:23:06

Cím: Érdekes hiba...Pedig minden rendben
Írta: Denzel - 2013. Október 20. - 22:23:06
Nos azért fordulok ebbe a topikba segítség kérésért mert valami a módemnak nem nagyon tetszik és nem tudom mi lehet a baja  :-\\

Eddig semmi baja nem volt, futott rendesen és mikor le akartam AMX-elni egy fejlesztés után ezeket a sorokat dobta ki:

 
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(8184) : warning 204: symbol is assigned a value that is never used: \"string\"
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(8183) : warning 204: symbol is assigned a value that is never used: \"pName\"
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(24382) : error 021: symbol already defined: \"strtok\"
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(24397) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(25414) : warning 235: public function lacks forward declaration (symbol \"OnPropUpdate\")
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(25886) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(25945) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27203) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27231) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27242) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27334) : warning 217: loose indentation
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27339) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27523) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27550) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27580) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27588) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27622) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27630) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27663) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27708) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27764) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27822) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27830) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27865) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(27873) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(28100) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(28154) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(28466) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(28520) : error 047: array sizes do not match, or destination array is too small
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(28575) : error 047: array sizes do not match, or destination array is too small
Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
 
26 Errors.

 
És hát igazából ezekben a sorokban semmi féle baj nincs például az egyik ilyen script:
 
strtok(const string[], &index)
{                          //((EZ A 24382. SOR MOST IRTAM IDE))
new length = strlen(string);
while ((index < length) && (string[index] <= \' \'))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > \' \') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}

 
Remélem valaki segít várom a válaszokat elõre is köszönöm  :)

Jóéjszakát! :)
Cím: Érdekes hiba...Pedig minden rendben
Írta: Cappsy - 2013. Október 20. - 22:27:35
C:\\Users\\Bebi\\Desktop\\Syber RPG 0.3 X (RAVENS by DENZEL)\\gamemodes\\SyberRPG.pwn(24382) : error 021: symbol already defined: \"strtok\"

 
Ez vajon mi lehet? -.-
Cím: Érdekes hiba...Pedig minden rendben
Írta: Denzel - 2013. Október 20. - 22:46:43
Mi a baj vele? :o
Cím: Érdekes hiba...Pedig minden rendben
Írta: ZyZu. - 2013. Október 20. - 22:59:11
[mod]http://sampforum.hu/index.php?topic=26421.0[/mod]