Guten Tag,
ich versuche derzeit ein altes Script wieder zum laufen zu bringen. Beim starten kommt folgende Log:
Code
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[13:50:25] filterscripts = "" (string)
[13:50:25]
[13:50:25] Server Plugins
[13:50:25] --------------
[13:50:25] Loading plugin: fixes2
[13:50:25]
[13:50:25] ===============================
[13:50:25] fixes plugin loaded.
[13:50:25] (c) 2012 Alex "Y_Less" Cole
[13:50:25] ===============================
[13:50:25] Loaded.
[13:50:25] Loading plugin: nativechecker
[13:50:25] Loaded.
[13:50:25] Loading plugin: mysql
[13:50:25] >> plugin.mysql: R39-2 successfully loaded.
[13:50:25] Loaded.
[13:50:25] Loaded 3 plugins.
[13:50:25]
[13:50:25] Filterscripts
[13:50:25] ---------------
[13:50:25] Loaded 0 filterscripts.
[13:50:25] Error: Function not registered: 'Streamer_CallbackHook'
[13:50:25] Error: Function not registered: 'SSCANF_Init'
[13:50:25] Error: Function not registered: 'SSCANF_Join'
[13:50:25] Error: Function not registered: 'SSCANF_Leave'
[13:50:25] Error: Function not registered: 'mysql_debug'
[13:50:25] Error: Function not registered: 'MapAndreas_Init'
[13:50:25] Error: Function not registered: 'mysql_function_query'
[13:50:25] Error: Function not registered: 'CreateDynamic3DTextLabel'
[13:50:25] Error: Function not registered: 'CreateDynamicPickup'
[13:50:25] Error: Function not registered: 'CreateDynamicObject'
[13:50:25] Error: Function not registered: 'AttachDynamicObjectToVehicle'
[13:50:25] Error: Function not registered: 'SetDynamicObjectMaterialText'
[13:50:25] Error: Function not registered: 'GetDynamicObjectRot'
[13:50:25] Error: Function not registered: 'SetDynamicObjectRot'
[13:50:25] Error: Function not registered: 'DestroyDynamicObject'
[13:50:25] Error: Function not registered: 'DestroyDynamic3DTextLabel'
[13:50:25] Error: Function not registered: 'mysql_close'
[13:50:25] Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[13:50:25] Error: Function not registered: 'DestroyDynamicPickup'
[13:50:25] Error: Function not registered: 'TogglePlayerDynamicCP'
[13:50:25] Error: Function not registered: 'CreateDynamicCP'
[13:50:25] Error: Function not registered: 'GetDynamicObjectPos'
[13:50:25] Error: Function not registered: 'MoveDynamicObject'
[13:50:25] Error: Function not registered: 'Streamer_CountVisibleItems'
[13:50:25] Error: Function not registered: 'sscanf'
[13:50:25] Error: Function not registered: 'mysql_format'
[13:50:25] Error: Function not registered: 'mysql_free_result'
[13:50:25] Error: Function not registered: 'MapAndreas_FindZ_For2DCoord'
[13:50:25] Error: Function not registered: 'SetDynamicObjectMaterial'
[13:50:25] Error: Function not registered: 'mysql_real_escape_string'
[13:50:25] Error: Function not registered: 'mysql_insert_id'
[13:50:25] Error: Function not registered: 'cache_get_row'
[13:50:25] Error: Function not registered: 'TogglePlayerAllDynamicCPs'
[13:50:25] Error: Function not registered: 'cache_get_data'
[13:50:25] Error: Function not registered: 'cache_get_field_content'
[13:50:25] Error: Function not registered: 'mysql_connect'
[13:50:25] Error: Function not registered: 'mysql_ping'
[13:50:25] Error: Function not registered: 'DestroyDynamicCP'
[13:50:25] Error: Function not registered: 'Streamer_Update'
[13:50:25] Script[gamemodes/Roleplay.amx]: Run time error 19: "File or function is not found"
[13:50:25] Number of vehicle models: 0
Alles anzeigen
Mein Gamemode spukt folgende Warnings aus (mir ist bewusst, dass da bestimmt Includes fehlen nur nicht welche.):
Code
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(5934) : warning 205: redundant code: constant expression is zero
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(5934) : warning 215: expression has no effect
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(5941) : warning 202: number of arguments does not match definition
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(7316) : warning 202: number of arguments does not match definition
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(7316) : warning 202: number of arguments does not match definition
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(7316) : warning 202: number of arguments does not match definition
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(7316) : warning 202: number of arguments does not match definition
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(7316) : warning 202: number of arguments does not match definition
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(14873) : error 035: argument type mismatch (argument 3)
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(16183) : error 017: undefined symbol "mysql_free_result"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(30348) : error 017: undefined symbol "mysql_free_result"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(31137) : error 017: undefined symbol "mysql_free_result"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(62557) : error 035: argument type mismatch (argument 3)
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(62591) : error 035: argument type mismatch (argument 3)
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(64199) : error 035: argument type mismatch (argument 3)
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(67902) : error 017: undefined symbol "mysql_free_result"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(82606) : error 017: undefined symbol "mysql_insert_id"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(83607) : error 017: undefined symbol "mysql_insert_id"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(83631) : error 017: undefined symbol "mysql_insert_id"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(85682) : error 017: undefined symbol "mysql_ping"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(85692) : error 017: undefined symbol "mysql_ping"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(100578) : error 035: argument type mismatch (argument 3)
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(101628) : error 035: argument type mismatch (argument 3)
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(101680) : error 035: argument type mismatch (argument 3)
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(101691) : error 035: argument type mismatch (argument 3)
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(106967) : warning 203: symbol is never used: "zeit"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(106967) : warning 203: symbol is never used: "ban"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(106967) : warning 203: symbol is never used: "playerid"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(107662) : error 017: undefined symbol "mysql_free_result"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(107741) : error 017: undefined symbol "mysql_free_result"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(107744) : error 017: undefined symbol "mysql_free_result"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(111552) : error 035: argument type mismatch (argument 3)
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(113470) : error 035: argument type mismatch (argument 3)
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(113481) : error 035: argument type mismatch (argument 3)
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(114581) : error 017: undefined symbol "mysql_free_result"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(114663) : error 017: undefined symbol "mysql_free_result"
C:\Users\Olli\Desktop\rp2\gamemodes\Roleplay.pwn(114689) : error 017: undefined symbol "mysql_free_result"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Alles anzeigen
Vllt könnt ihr mir anhand der Errors auch sagen, welche MySQL Version verwendet wurde. Dabei war R7, damit gab es aber auch nur Probleme.