16.05.2015, 16:55
So I complied My Gamemode and I got 146 warnings and 4 errors and I fixed the errors and I re-compiled it and I ignored the warnings but when I start the server It says ''Quering failed'' then Later on it started but as soon as I connect the server crashes and here are the
Server logs :
Compiler warnings :
Server logs :
Код:
SA-MP Dedicated Server ---------------------- v0.3.7, ©2005-2015 SA-MP Team [11:39:52] filterscripts = "" (string) [11:39:52] [11:39:52] Server Plugins [11:39:52] -------------- [11:39:52] Loading plugin: streamer.so [11:39:52] *** Streamer Plugin v2.6.1 by Incognito loaded *** [11:39:52] Loaded. [11:39:52] Loading plugin: sscanf.so [11:39:52] [11:39:52] =============================== [11:39:52] sscanf plugin loaded. [11:39:52] © 2009 Alex "******" Cole [11:39:52] 0.3d-R2 500 Players "dnee" [11:39:52] =============================== [11:39:52] Loaded. [11:39:52] Loading plugin: mysql.so [11:39:52] > MySQL plugin R7 successfully loaded. [11:39:52] Loaded. [11:39:52] Loading plugin: audio.so [11:39:52] Failed (plugins/audio.so: ELF load command past end of file) [11:39:52] Loading plugin: crashdetect.so [11:39:52] CrashDetect v4.12 is OK. [11:39:52] Loaded. [11:39:52] Loading plugin: dns.so [11:39:52] *** DNS Plugin v2.4 by Incognito loaded *** [11:39:52] Loaded. [11:39:52] Loaded 5 plugins. [11:39:53] [11:39:53] Filterscripts [11:39:53] --------------- [11:39:53] Loaded 0 filterscripts. [11:39:53] [11:39:53] [11:39:53] [11:39:53] ======================================= [11:39:53] | | [11:39:53] | YSI version 1.06.0002 | [11:39:53] | By Alex "******" Cole | [11:39:53] | | [11:39:53] ======================================= [11:39:53] [11:39:53] [11:39:53] [11:39:53] [11:40:58] Number of vehicle models: 0 [11:40:58] [11:40:58] ========================================== [11:40:58] | | [11:40:58] | A new version (v3.09.0684) of YSI is | [11:40:58] | available from: | [11:40:58] | | [11:40:58] | www.y-less.com/YSI/YSI_1.0.zip | [11:40:58] | | [11:40:58] | Changelog: | [11:40:58] | | [11:40:58] | 3.00.0000: | [11:40:58] | | [11:40:58] | YSI 3.0 released! Now includes the | [11:40:58] | "y_text" library for better messages, | [11:40:58] | and a reworked "y_classes" library. | [11:40:58] | Largely documented here | [11:40:58] | "http://forum.sa-mp.com/showthread.php | [11:40:58] | ?t=321092". | [11:40:58] | | [11:40:58] | 3.01.0002: | [11:40:58] | | [11:40:58] | Small fixes to "y_text" and | [11:40:58] | "y_classes". | [11:40:58] | | [11:40:58] | 3.09.0684: | [11:40:58] | | [11:40:58] | Reverted to old download location. | [11:40:58] | Improved (and fixed) version checks; | [11:40:58] | added y_bitmap, y_areas, y_races, | [11:40:58] | y_zonenames, better documentation; | [11:40:58] | MANY other bug fixes - see the github | [11:40:58] | repository for more details: | [11:40:58] | | [11:40:58] ========================================== [11:40:58] [11:48:50] [connection] 199.188.236.232:53057 requests connection cookie. [11:48:51] Incoming connection: 199.188.236.232:53057 id: 0 [11:48:52] [join] Staden has joined the server (0:199.188.236.232) [11:48:52] [debug] Server crashed while executing WCRP.amx [11:48:52] [debug] AMX backtrace: [11:48:52] [debug] #0 native mysql_real_escape_string () [b741e140] from mysql.so [11:48:52] [debug] #1 00072148 in ?? (0x00000000) from WCRP.amx [11:48:52] [debug] #2 00053820 in public adminOnPlayerConnect (0x00000000) from WCRP.amx [11:48:52] [debug] #3 00283e10 in public OnPlayerConnectEx (0x00000000) from WCRP.amx [11:48:52] [debug] #4 00283d68 in public S@@_OnPlayerConnect (0x00000000) from WCRP.amx [11:48:52] [debug] #5 native CallLocalFunction () [080df4c0] from samp03svr [11:48:52] [debug] #6 00017250 in public SSCANF_OnPlayerConnect (0x00000000) from WCRP.amx [11:48:52] [debug] #7 native CallLocalFunction () [080df4c0] from samp03svr [11:48:52] [debug] #8 00007f7c in public Itter_OnPlayerConnect (0x00000000) from WCRP.amx [11:48:52] [debug] #9 native CallLocalFunction () [080df4c0] from samp03svr [11:48:52] [debug] #10 000071d4 in public Streamer_OnPlayerConnect (0x00000000) from WCRP.amx [11:48:52] [debug] #11 00006cec in public OnPlayerConnect (0x00000000) from WCRP.amx [11:48:52] [debug] Native backtrace: [11:48:52] [debug] #0 b6459a5b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [11:48:52] [debug] #1 b6452852 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [11:48:52] [debug] #2 b645335c in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [11:48:52] [debug] #3 b645386e in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [11:48:52] [debug] #4 b645976d in ?? () from plugins/crashdetect.so [11:48:52] [debug] #5 b77c6600 in ?? () [11:48:52] [debug] #6 b754ea11 in ?? () from /lib/libc.so.6 [11:48:52] [debug] #7 b751923f in _IO_vfprintf () from /lib/libc.so.6 [11:48:52] [debug] #8 b75cf704 in __vsnprintf_chk () from /lib/libc.so.6 [11:48:52] [debug] #9 b74246b2 in _Z13stringvprintfPKcPc () from plugins/mysql.so [11:48:52] [debug] #10 b741ccfa in _ZN7Natives5DebugEPcz () from plugins/mysql.so [11:48:52] [debug] #11 b74161c5 in _ZN13CMySQLHandler9EscapeStrESsPc () from plugins/mysql.so [11:48:52] [debug] #12 b741e235 in _ZN7Natives26n_mysql_real_escape_stringEP6tagAMXPi () from plugins/mysql.so [11:48:52] [debug] #13 080950b4 in ?? () from ./samp03svr [11:48:52] [debug] #14 b645010c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [11:48:52] [debug] #15 b6455348 in ?? () from plugins/crashdetect.so [11:48:52] [debug] #16 b645bdb5 in amx_Exec () from plugins/crashdetect.so [11:48:52] [debug] #17 b64526ab in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [11:48:52] [debug] #18 b6455149 in ?? () from plugins/crashdetect.so [11:48:52] [debug] #19 080df762 in ?? () from ./samp03svr [11:48:52] [debug] #20 080950b4 in ?? () from ./samp03svr [11:48:52] [debug] #21 b645010c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [11:48:52] [debug] #22 b6455348 in ?? () from plugins/crashdetect.so [11:48:52] [debug] #23 b645bdb5 in amx_Exec () from plugins/crashdetect.so [11:48:52] [debug] #24 b64526ab in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [11:48:52] [debug] #25 b6455149 in ?? () from plugins/crashdetect.so [11:48:52] [debug] #26 080df762 in ?? () from ./samp03svr [11:48:52] [debug] #27 080950b4 in ?? () from ./samp03svr [11:48:52] [debug] #28 b645010c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [11:48:52] [debug] #29 b6455348 in ?? () from plugins/crashdetect.so [11:48:52] [debug] #30 b645bdb5 in amx_Exec () from plugins/crashdetect.so [11:48:52] [debug] #31 b64526ab in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [11:48:52] [debug] #32 b6455149 in ?? () from plugins/crashdetect.so [11:48:52] [debug] #33 080df762 in ?? () from ./samp03svr [11:48:52] [debug] #34 080950b4 in ?? () from ./samp03svr [11:48:52] [debug] #35 b645010c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [11:48:52] [debug] #36 b6455348 in ?? () from plugins/crashdetect.so [11:48:52] [debug] #37 b645bdb5 in amx_Exec () from plugins/crashdetect.so [11:48:52] [debug] #38 b64526ab in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [11:48:52] [debug] #39 b6455149 in ?? () from plugins/crashdetect.so [11:48:52] [debug] #40 080a5019 in ?? () from ./samp03svr [11:48:52] [debug] #41 080d056f in ?? () from ./samp03svr [11:48:52] [debug] #42 080b50b2 in ?? () from ./samp03svr [11:48:52] [debug] #43 08071d38 in ?? () from ./samp03svr [11:48:52] [debug] #44 08071e32 in ?? () from ./samp03svr [11:48:52] [debug] #45 0807bc20 in ?? () from ./samp03svr [11:48:52] [debug] #46 080ae9fd in ?? () from ./samp03svr [11:48:52] [debug] #47 080aebc2 in ?? () from ./samp03svr [11:48:52] [debug] #48 080a9e9a in ?? () from ./samp03svr [11:48:52] [debug] #49 b74ebd36 in __libc_start_main () from /lib/libc.so.6 [11:48:52] [debug] #50 0804b4e1 in ?? () from ./samp03svr
Код:
wcrp\admin.pwn(635) : warning 213: tag mismatch wcrp\admin.pwn(772) : warning 217: loose indentation wcrp\admin.pwn(788) : warning 217: loose indentation wcrp\admin.pwn(1759) : warning 217: loose indentation wcrp\admin.pwn(2101) : warning 217: loose indentation wcrp\admin.pwn(2686) : warning 216: nested comment wcrp\admin.pwn(2852) : warning 217: loose indentation wcrp\admin.pwn(4123) : warning 213: tag mismatch wcrp\admin.pwn(4126) : warning 213: tag mismatch wcrp\admin.pwn(4137) : warning 213: tag mismatch wcrp\admin.pwn(4138) : warning 213: tag mismatch wcrp\admin.pwn(4139) : warning 213: tag mismatch wcrp\admin.pwn(4141) : warning 213: tag mismatch wcrp\admin.pwn(5911) : warning 203: symbol is never used: "playerid" wcrp\account.pwn(1503) : warning 217: loose indentation wcrp\account.pwn(1492) : warning 204: symbol is assigned a value that is never used: "costlevel" wcrp\rp.pwn(273) : warning 209: function "UpDateContactList" should return a value wcrp\rp.pwn(1470) : warning 204: symbol is assigned a value that is never used: "isajail" wcrp\vehicles.pwn(2524) : warning 217: loose indentation wcrp\vehicles.pwn(2525) : warning 217: loose indentation wcrp\vehicles.pwn(2575) : warning 217: loose indentation wcrp\vehicles.pwn(2582) : warning 217: loose indentation wcrp\vehicles.pwn(2583) : warning 217: loose indentation wcrp\vehicles.pwn(3678) : warning 216: nested comment wcrp\vehicles.pwn(4075) : warning 204: symbol is assigned a value that is never used: "driver" wcrp\business.pwn(870) : warning 217: loose indentation wcrp\business.pwn(2083) : warning 217: loose indentation wcrp\business.pwn(2084) : warning 217: loose indentation wcrp\business.pwn(2085) : warning 217: loose indentation wcrp\business.pwn(2086) : warning 217: loose indentation wcrp\business.pwn(2087) : warning 217: loose indentation wcrp\business.pwn(2178) : warning 217: loose indentation wcrp\interiors.pwn(278) : warning 209: function "interiorTryEnterExit" should return a value wcrp\jobs.pwn(237) : warning 217: loose indentation wcrp\jobs.pwn(440) : warning 217: loose indentation wcrp\jobs.pwn(2161) : warning 217: loose indentation wcrp\jobs.pwn(2190) : warning 219: local variable "vehicleid" shadows a variable at a preceding level wcrp\factions\leo.pwn(484) : warning 204: symbol is assigned a value that is never used: "rank" wcrp\factions\leo.pwn(483) : warning 204: symbol is assigned a value that is never used: "faction" wcrp\factions\news.pwn(8) : warning 204: symbol is assigned a value that is never used: "fid" wcrp\factions.pwn(178) : warning 219: local variable "query" shadows a variable at a preceding level wcrp\factions.pwn(187) : warning 217: loose indentation wcrp\mapping.pwn(386) : warning 217: loose indentation wcrp\mapping.pwn(416) : warning 217: loose indentation wcrp\mapping.pwn(417) : warning 217: loose indentation wcrp\mapping.pwn(666) : warning 217: loose indentation wcrp\mapping.pwn(1227) : warning 217: loose indentation wcrp\mapping.pwn(1367) : warning 217: loose indentation wcrp\mapping.pwn(2798) : warning 216: nested comment wcrp\mapping.pwn(2801) : warning 217: loose indentation wcrp\mapping.pwn(3166) : warning 216: nested comment wcrp\mapping.pwn(3175) : warning 217: loose indentation wcrp\mapping.pwn(3300) : warning 217: loose indentation wcrp\mapping.pwn(3665) : warning 217: loose indentation wcrp\mapping.pwn(4299) : warning 217: loose indentation wcrp\mapping.pwn(4361) : warning 217: loose indentation wcrp\mapping.pwn(4386) : warning 217: loose indentation wcrp\mapping.pwn(4704) : warning 217: loose indentation wcrp\mapping.pwn(7794) : warning 217: loose indentation wcrp\mapping.pwn(7916) : warning 216: nested comment wcrp\mapping.pwn(7917) : warning 217: loose indentation wcrp\mapping.pwn(7950) : warning 216: nested comment wcrp\forumsync.pwn(31) : warning 203: symbol is never used: "email" wcrp\forumsync.pwn(31) : warning 203: symbol is never used: "pass" wcrp\forumsync.pwn(31) : warning 203: symbol is never used: "username" wcrp\forumsync.pwn(31) : warning 203: symbol is never used: "playerid" wcrp\forumsync.pwn(38) : warning 203: symbol is never used: "pass" wcrp\forumsync.pwn(38) : warning 203: symbol is never used: "playerid" wcrp\forumsync.pwn(92) : warning 203: symbol is never used: "newusername" wcrp\forumsync.pwn(92) : warning 203: symbol is never used: "oldusername" wcrp\forumsync.pwn(92) : warning 203: symbol is never used: "playerid" wcrp\sqlqueries.pwn(360) : warning 217: loose indentation wcrp\sqlqueries.pwn(365) : warning 217: loose indentation wcrp\sqlqueries.pwn(349) : warning 203: symbol is never used: "pagelimit" wcrp\sqlqueries.pwn(349) : warning 203: symbol is never used: "page" wcrp\sqlqueries.pwn(393) : warning 217: loose indentation wcrp\sqlqueries.pwn(442) : warning 235: public function lacks forward declaration (symbol "OnSQLQueryAdmin") wcrp\sqlqueries.pwn(471) : warning 202: number of arguments does not match definition wcrp\sqlqueries.pwn(471) : warning 202: number of arguments does not match definition wcrp\sqlqueries.pwn(492) : warning 235: public function lacks forward declaration (symbol "OnSQLQueryHelper") wcrp\sqlqueries.pwn(521) : warning 202: number of arguments does not match definition wcrp\sqlqueries.pwn(521) : warning 202: number of arguments does not match definition wcrp\sqlqueries.pwn(573) : warning 202: number of arguments does not match definition wcrp\sqlqueries.pwn(573) : warning 202: number of arguments does not match definition wcrp\cartoys.pwn(96) : warning 217: loose indentation wcrp\cartoys.pwn(100) : warning 203: symbol is never used: "inputtext" wcrp\cartoys.pwn(409) : warning 203: symbol is never used: "CRY" wcrp\cartoys.pwn(409) : warning 203: symbol is never used: "CRX" wcrp\cheats.pwn(18) : warning 203: symbol is never used: "reason" wcrp\cheats.pwn(61) : warning 203: symbol is never used: "inputtext" wcrp\cheats.pwn(76) : warning 203: symbol is never used: "oldkeys" D:\SAMP\CGRP\Server files\WCRP.pwn(1149) : warning 219: local variable "query" shadows a variable at a preceding level D:\SAMP\CGRP\Server files\WCRP.pwn(1240) : warning 217: loose indentation D:\SAMP\CGRP\Server files\WCRP.pwn(1247) : warning 217: loose indentation D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "EventOnPlayerDeath" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "IsEventAdmin" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "IsFlyCar" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "LookupPlayerIP" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "NumPlayerRentCars" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "RPTestLabels" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "SendMsgToRadioSnoopers" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "ShowAllNameTagsForPlayer" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "SyncWarns" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "authorizeWepDamage" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "canUseDrugCommand" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "damageSystemOnPlayerDeath" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "damageSystemOnPlayerTakeDamage" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "damageSystemOnPlayerUpdate" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "decideWepAssign" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "deleteRadioURLPVars" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "diseaseCheck" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "doBankSettlement" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "doDiseaseEffect" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "doWepDamage" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "dropPlayerFromBike" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "endRace" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "factorBulletPower" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "factorBulletSpeed" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "fpscamkeysOnPlayerKeyState" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "getBasketTeam" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "getCraftCooldownTime" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "getDrugCooldownTime" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "getMaxRoundsToHurt" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "getPlayerCustomRadioURL" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "getPlayerNumAjails" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "getPlayerRadioStreamingID" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "getVehicleReclaimPrice" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "hasOOCTag" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "infectNearbyPlayers" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "isBankInNegative" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "isPlayerOnGround" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "isRaceActive" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "isSwitchingChars" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "isValidShootingDistance" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "onSetCustomRadioURL" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "playerGetsDisease" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "revertWepDamageBeforeDamage" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "sendAreaSound" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "sendGunSoundToInteriors" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "sendTourettesMessage" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "setAttackerID" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "setPlayerCustomRadioURL" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "setPlayerHurt" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "truckjob" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "tryToApplyHurt" D:\SAMP\CGRP\Server files\WCRP.pwn(1302) : warning 203: symbol is never used: "wobbleScreenForPlayer" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 146 Warnings.