Jump to content

des erreurs affichées par la console


Recommended Posts

Salut , voila c'que la console m'affiche après avoir démarré le serveur :

 

[2017-10-26 11:48:35] WARNING: DayZ/survivorSystem_client.lua(Line 243) [Client] showPlayerHudComponent is deprecated and may not work in future versions. Please replace with setPlayerHudComponentVisible.
[2017-10-26 11:48:35] WARNING: DayZ/survivorSystem_client.lua(Line 754) [Client] setControlState is deprecated and may not work in future versions. Please replace with setPedControlState.
[2017-10-26 11:48:35] WARNING: DayZ/survivorSystem_client.lua(Line 1039) [Client] getControlState is deprecated and may not work in future versions. Please replace with getPedControlState.

 

Voici la partie de la ligne 243 :

 

function playerStatsClientSite()
    if getElementData(getLocalPlayer(),"logedin") then
        toggleControl ("radar",false)
        showPlayerHudComponent ("clock",false)  ---cette ligne
        showPlayerHudComponent ("radar",false)
        showPlayerHudComponent ("money",false) 
        showPlayerHudComponent ("health",false) 
		showPlayerHudComponent ("area_name",false)
        showPlayerHudComponent ("vehicle_name",false)
        --showPlayerHudComponent ("weapon",false) 
        --showPlayerHudComponent ("ammo",false) 
        showPlayerHudComponent ("breath",false) 
        if getElementData(getLocalPlayer(),"Map") >= 1  then
            toggleControl ("radar",true)
        end
        if getElementData(getLocalPlayer(),"GPS") >= 1  then
            showPlayerHudComponent ("radar",true) 
        end
		if getElementData(getLocalPlayer(),"GPS") >= 1  then
           showPlayerHudComponent ("area_name",false)
        end
        if getElementData(getLocalPlayer(),"Watch") >= 1 then
            showPlayerHudComponent ("clock",true) 
        end
    end
end
setTimer(playerStatsClientSite,1000,0)

 

La ligne 754 :

function playerGetDamageDayZ ( attacker, weapon, bodypart, loss )
    cancelEvent()
    damage = 100
    headshot = false
    if weapon == 37 then
        return
    end
    if getElementData(attacker,"zombie") then
        setElementData(getLocalPlayer(),"blood",getElementData(getLocalPlayer(),"blood")-gameplayVariables["zombiedamage"])
        local number = math.random(1,7)
        if number == 4 then
            setElementData(getLocalPlayer(),"bleeding",getElementData(getLocalPlayer(),"bleeding") + math.floor(loss*10))
        end
    end
    if weapon == 49 then
        if loss > 30 then
		playSound("sounds/brokenbone.mp3")
            setElementData(getLocalPlayer(),"brokenbone",true)
            setControlState ("jump",true)  ----- cette ligne
            setElementData(getLocalPlayer(),"blood",getElementData(getLocalPlayer(),"blood")-math.floor(loss*10))
        end

1039 ligne

fading = 0  --- cette ligne
fading2 = "up" 
local screenWidth,screenHeight = guiGetScreenSize()
local screenW, screenH = guiGetScreenSize()

 Voila :)

Link to comment
  • Moderators

Ce sont des avertissements plutôt et non des erreurs. Les avertissements n'interrompt pas l'exécution des instructions contrairement à une erreur.

Ici les 3 avertissements ne sont pas graves et le script marche très bien. Du moins pour l'instant parce qu'une fonction "deprecated" a pour but d'être supprimée dans une version future de mta (potentiellement dans la 1.6) en faveur d'une autre fonction. Et dans ce cas là, le script ne marchera plus.

Ici les messages sont clair et te disent de remplacer une fonction deprecated par une autre et te disent même à quel endroit le faire:

- Dans survivorSystem_client.lua remplace tous les showPlayerHudComponent par setPlayerHudComponentVisible.

- Dans survivorSystem_client.lua remplace tous les setControlState par setPedControlState.

- Dans survivorSystem_client.lua remplace tous les getControlState par getPedControlState

Tu peux utiliser le remplacement de masse de ton editeur.

Edited by Citizen
Trop gros doigts sur le tel
Link to comment

Voici , d'autre erreur affiché

[2017-10-26 14:50:21] WARNING: [DayZ-MTA]\DayZ\login.lua:512: Bad argument @ 'getAccountData' [Expected account at argument 1, got boolean]
[2017-10-26 14:50:21] WARNING: [DayZ-MTA]\DayZ\login.lua:566: Bad argument @ 'getAccountData' [Expected account at argument 1, got boolean]

 

c'que j'ai 

function createVehicleOnServerStart()
    local vehicleManager = getAccount("vehicleManager","ds4f9$")
    for i = 1, (getAccountData(vehicleManager,"vehicleamount") or 0) do  ------------------- Ligne 512
        wastedVehicle = false
        vehicle = getAccount("vehicle_number_"..i,"ds4f9$")
        if not vehicle then break end
        if getAccountData(vehicle,"isExploded") == true then
            setAccountData(vehicle,"health",1000)
            wastedVehicle = true
        end
        local veh = createVehicle(getAccountData(vehicle,"model"),getAccountData(vehicle,"last_x"),getAccountData(vehicle,"last_y"),getAccountData(vehicle,"last_z"),getAccountData(vehicle,"last_rx"),getAccountData(vehicle,"last_ry"),getAccountData(vehicle,"last_rz"))
        vehCol = createColSphere(getAccountData(vehicle,"last_x"),getAccountData(vehicle,"last_y"),getAccountData(vehicle,"last_z"),4)
        attachElements ( vehCol, veh, 0, 0, 0 )
        setElementData(vehCol,"parent",veh)
        setElementData(veh,"parent",vehCol)
        setElementData(vehCol,"vehicle",true)
        setElementData(vehCol,"MAX_Slots",getAccountData(vehicle,"MAX_Slots"))
        setElementHealth(veh,getAccountData(vehicle,"health"))
        --vehicle_indentifikation
        xxx,yyy,zzz = getAccountData(vehicle,"spawn_x"),getAccountData(vehicle,"spawn_y"),getAccountData(vehicle,"spawn_z")
        setElementData(vehCol,"spawn",{getAccountData(vehicle,"model"),xxx,yyy,zzz})
        if wastedVehicle then
            if getAccountData(vehicle,"model") == 497 then
                item_id = math.random(table.size(hunterSpawns))
                xxx,yyy,zzz = hunterSpawns[item_id][1],hunterSpawns[item_id][2],hunterSpawns[item_id][3]
            end
            if getAccountData(vehicle,"model") == 487 then
                local item_id = math.random(table.size(maverikSpawns))
                x,y,z = maverikSpawns[item_id][1],maverikSpawns[item_id][2],maverikSpawns[item_id][3]
            end
            setElementPosition(veh,xxx,yyy,zzz+1)
            setElementRotation(veh,0,0,0)
            --Engine + Tires + Tank Parts
            local tires,engine,parts = getVehicleAddonInfos (getElementModel(veh))
            setElementData(vehCol,"Tire_inVehicle",math.random(0,tires))
            setElementData(vehCol,"Engine_inVehicle",math.random(0,engine))
            setElementData(vehCol,"Parts_inVehicle",math.random(0,parts))
        end
        --others
        setElementData(vehCol,"fuel",getAccountData(vehicle,"fuel"))
        if not wastedVehicle then
            for i, data in ipairs(vehicleDataTable) do 
                setElementData(vehCol,data[1],getAccountData(vehicle,data[1]))
            end
        else
            if getElementModel(veh) == 433 or getElementModel(veh) == 470 then
                for i,items in ipairs(lootItems["helicrashsides"]) do
                    local randomNumber = math.random(1,10)
                    if randomNumber == 5 then
                        setElementData(vehCol,items[1],math.random(1,2))
                    end
                end
            end    
            setElementData(vehCol,"fuel",10)
        end
    end
    for i = 1, (getAccountData(vehicleManager,"tentamount") or 0) do   -------------- ligne 566
        tentData = getAccount("tent_number_"..i,"ds4f9$")
        if not tentData then break end
        tent = createObject(3243,getAccountData(tentData,"last_x"),getAccountData(tentData,"last_y"),getAccountData(tentData,"last_z"),0,0,(getAccountData(tentData,"last_rz") or 0))
        setObjectScale(tent,1.3)
        tentCol = createColSphere(getAccountData(tentData,"last_x"),getAccountData(tentData,"last_y"),getAccountData(tentData,"last_z"),4)
        attachElements ( tentCol, tent, 0, 0, 0 )
        setElementData(tentCol,"parent",tent)
        setElementData(tent,"parent",tentCol)
        setElementData(tentCol,"tent",true)
        setElementData(tentCol,"vehicle",true)
        setElementData(tentCol,"MAX_Slots",100)
        for i, data in ipairs(vehicleDataTable) do 
            setElementData(tentCol,data[1],getAccountData(tentData,data[1]))
        end
    end
end

 

Link to comment

L'erreur : 

[2017-10-26 15:10:50] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:10:56] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:11:00] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:11:00] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:11:10] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:11:10] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:11:20] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:11:26] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:11:30] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:11:30] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:11:40] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:11:40] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:11:50] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:11:56] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:12:00] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:12:00] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:12:10] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:12:10] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:12:20] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:12:26] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:12:30] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:12:30] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:12:40] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:12:40] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:12:50] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:12:56] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:13:00] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:13:00] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:13:10] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:13:10] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:13:20] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:13:26] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:13:30] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:13:30] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:13:40] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:13:40] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:13:50] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:13:56] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:14:00] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:14:00] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:14:10] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:14:10] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:14:20] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:14:26] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:14:30] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:14:30] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:14:40] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:14:40] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:14:50] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:14:56] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:15:00] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:15:00] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:15:10] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:15:10] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:15:20] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:15:26] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:15:30] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:15:30] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:15:40] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:15:40] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:15:50] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:15:56] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:16:00] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:16:00] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:16:10] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:16:10] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:16:20] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:16:26] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:16:31] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:921: attempt to call global 'getPedControlState' (a nil value)
[2017-10-26 15:16:31] ERROR: [DayZ-MTA]\DayZ\survivorSystem.lua:954: attempt to call global 'getPedControlState' (a nil value)
function checkTemperature2()
    for i,player in ipairs(getElementsByType("player")) do
        if getElementData(player,"logedin") then
            value = 0
            if isElementInWater(player) then
                value = gameplayVariables["temperaturewater"]
            end    
            if getPedControlState (player,"sprint") then   ------- L'erreur 921
                value = value+gameplayVariables["temperaturesprint"]
            end
            addPlayerStats (player,"temperature",value)
        end    
    end
end
setTimer(checkTemperature2,10000,0)
function checkThirsty()
    for i,player in ipairs(getElementsByType("player")) do
        if getElementData(player,"logedin") then
            value = 0
            if getPedControlState (player,"sprint") then --- erreur 954
                value = gameplayVariables["sprintthirst"]
            end    
            addPlayerStats (player,"thirst",value)
        end
    end
end
setTimer(checkThirsty,10000,0)

 Cela m'a spam comme jamais

Link to comment
  • Moderators
57 minutes ago, Yasar said:

survivorSystem.lua

Il fallait pas remplacer dans ce fichier là.

Pour le problème du getAccountData, la procédure d'installation aurait du créer un compte vehiclemanager. Ton problème est qu'il n'existe pas.

Link to comment

Bien , merci je corrige sa tous de suite

Mais du coup l'erreur 

[2017-10-26 17:08:46] WARNING: [DayZ-MTA]\DayZ\login.lua:512: Bad argument @ 'getAccountData' [Expected account at argument 1, got boolean]
[2017-10-26 17:08:46] WARNING: [DayZ-MTA]\DayZ\login.lua:566: Bad argument @ 'getAccountData' [Expected account at argument 1, got boolean]

Comment puis-je la réglé ?

 

Link to comment

Merci ! cela à fonctionné 

J'ai encore quelques erreurs dans la console voila les erreurs

Ce que la console , m'affiche

[2017-10-27 11:41:26] ERROR: [DayZ-MTA]\DayZ\group_system\gang_server.lua:5: exports: Call to non-running server resource (scoreboard) [string "?"]

C'que j'ai 

addEventHandler("onResourceStart", resourceRoot, function()
    local columnName = get("column_name")
    exports.scoreboard:scoreboardAddColumn("gang", root, columnName:len() * 12, columnName)
    executeSQLCreateTable("gangs", "gang_name STRING, gang_leader STRING, gang_members, gang_subleaders STRING")
    executeSQLCreateTable("gang_members", "gang_name STRING, member_account STRING, added_by STRING")
    checkPlayerGroupDetails()    
    for index, player in ipairs(getElementsByType("player")) do
        local gang = getAccountGang(getAccountName(getPlayerAccount(player)))
        setElementData(player, "gang", gang)
        --bindKey(player, get("panel_bind"), "down", showGangPanel)
    end
end)

 

2.

La console

[2017-10-27 11:41:27] WARNING: VSM/Editor_Slots.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8.
[2017-10-27 11:41:27] Some files in 'VSM' use deprecated functions.
[2017-10-27 11:41:27] Use the 'upgrade' command to perform a basic upgrade of resources.
[2017-10-27 11:41:27] ERROR: attempt to call a nil value
[2017-10-27 11:41:27] ERROR: VSM\VSM_Server.lua_VSM:0: call: failed to call 'DayZ:addAddonInfo'
[2017-10-27 11:41:27] WARNING: VSM\VSM_Server.lua_VSM:0: Bad argument @ 'addEventHandler' [Expected element at argument 2, got nil]

je ne sais pas comment convertir en UTF-8

 

 

Link to comment
  • Moderators
8 hours ago, Yasar said:

Merci ! cela à fonctionné 

Super !

1.

8 hours ago, Yasar said:

Call to non-running server resource (scoreboard)

Bah il dit que la ressource scoreboard n'est pas démarrée. Démarre là ? => start scoreboard dans la console serveur.

Pour éviter de devoir le lancer à la main à chaque fois, ajoute le à la fin de ton mtaserver.conf

2. 

8 hours ago, Yasar said:

WARNING: VSM/Editor_Slots.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8.

L'utf-8 est juste un warning, mais pour le régler, ouvre le fichier dans Notepad++ et dans le menu du haut: Encodage => Convertir en UTF-8 et tu sauvegardes.

 

8 hours ago, Yasar said:

Some files in 'VSM' use deprecated functions.

Pour les fonctions en "deprecated" tape la commande upgrade dans la console serveur (il va mettre un peu de temps car il va te le faire pour toutes les ressources).

 

8 hours ago, Yasar said:

ERROR: attempt to call a nil value

Sûrement une méthode "deprecated" qui a été supprimée. La commande upgrade devrait la corriger.

Les erreurs suivantes sont potentiellement provoquées par les problèmes précédents. Donc ils devraient disparaître d'elles-même normalement. Reposte les si ce n'est pas le cas.

J'attends ton retour.

Link to comment
Quote

Pour les fonctions en "deprecated" tape la commande upgrade dans la console serveur (il va mettre un peu de temps car il va te le faire pour toutes les ressources).

Je serai obligé de toujours tapé upgrade ou il y a une autre solution ?

Le scoreboard est bien lancé mais sa me mets quand même cette erreur

 

Link to comment
  • Moderators
1 hour ago, Yasar said:

Je serai obligé de toujours tapé upgrade ou il y a une autre solution ?

Nan upgrade modifie les fichiers, après c'est bon.
 

1 hour ago, Yasar said:

Le scoreboard est bien lancé mais sa me mets quand même cette erreur

Il faut la ressource "scoreboard" de lancée, tu dois avoir une autre ressource pour la scoreboard mais il faut celle là en particulier !

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...