Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem]Error


Eoston^

Rekomendowane odpowiedzi

Opublikowano

Witam Wszystkich .


Kto wie co to jest Error .-> [2013-11-30 14:49:31] ERROR: Client (~Fs//^#FF1e00MalyNike-) triggered serverside event onRequestMapName, but event is not added serverside

To gdzie znajdź problem ?

Opublikowano

Nie powiedziałeś, nawet w jakiej wersji GTA.

Ale to raczej wina tego, że masz jakieś zdarzenie dodane, które nie ma skryptu.

Opublikowano

Multi theft auto . 1.3.4 version.

Zobacz tu

= Multi Theft Auto: San Andreas v1.3.4
==================================================================
= Server name : proba
= Server IP address: 25.66.137.202
= Server port : 22003
=
= Log file : .. 1.3/server/mods/deathmatch/logs/server.log
= Maximum players : 32
= HTTP port : 22005
= Voice Chat : Disabled
= Bandwidth saving : Medium
==================================================================
[2013-11-30 15:54:04] Resources: 115 loaded, 0 failed
[2013-11-30 15:54:05] Starting resources...
[2013-11-30 15:54:06] Server minclientversion is now 1.3.4
[2013-11-30 15:54:06] Server started and is ready to accept connections!
[2013-11-30 15:54:06] To stop the server, type 'shutdown' or press Ctrl-C
[2013-11-30 15:54:06] Type 'help' for a list of commands.
[2013-11-30 15:54:06] Querying MTA master server... success!
[2013-11-30 15:54:10] start: Requested by Console
[2013-11-30 15:54:10] Initiating changemode from 'play' to 'race'
[2013-11-30 15:54:10] start: Resource 'race' start was requested ()
[2013-11-30 15:54:10] Stopping play
[2013-11-30 15:54:10] Stopping freeroam
[2013-11-30 15:54:10] Starting race
[2013-11-30 15:54:10] Starting killmessages
[2013-11-30 15:54:10] Starting scorefps
[2013-11-30 15:54:10] Starting racedelayindicator
[2013-11-30 15:54:10] Starting racetrafficsensor
[2013-11-30 15:54:10] Starting racevoicepack
[2013-11-30 15:54:10] Starting racenospeed
[2013-11-30 15:54:10] Starting reload
[2013-11-30 15:54:10] WARNING: radar client.compiled.lua is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/
[2013-11-30 15:54:10] Starting radar
[2013-11-30 15:54:10] Starting shadercar1
[2013-11-30 15:54:10] Starting shadercar2
[2013-11-30 15:54:10] Starting shadercar3
[2013-11-30 15:54:10] Starting shaderdetail
[2013-11-30 15:54:10] Starting shaderdynamicsky
[2013-11-30 15:54:10] Starting shaderpalette
[2013-11-30 15:54:10] Starting shaderwater
[2013-11-30 15:54:10] Starting infernus
[2013-11-30 15:54:10] Starting gamemodemapname
[2013-11-30 15:54:10] WARNING: distancetohunter hunter.lua is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/
[2013-11-30 15:54:10] Starting distancetohunter
[2013-11-30 15:54:10] Starting infomap
[2013-11-30 15:54:10] Starting pm
[2013-11-30 15:54:10] Starting rgd
[2013-11-30 15:54:10] Starting chaticond
[2013-11-30 15:54:10] Starting spectatorvred
[2013-11-30 15:54:10] Starting mathquestions
[2013-11-30 15:54:10] INFO: Race resource starting
[2013-11-30 15:54:10] Starting race_toptimes
[2013-11-30 15:54:10] startResource: Resource 'race_toptimes' started
[2013-11-30 15:54:10] Starting race_traffic_sensor
[2013-11-30 15:54:10] startResource: Resource 'race_traffic_sensor' started
[2013-11-30 15:54:10] INFO: Race onGamemodeStart
[2013-11-30 15:54:10] Gamemode 'Race' started.
[2013-11-30 15:54:10] startResource: Resource 'race' started
[2013-11-30 15:54:11] WARNING: [DM]BriaN-vol4-Genesis Puma-Markers.compiled.lua is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/
[2013-11-30 15:54:11] Starting [DM]BriaN-vol4-Genesis
[2013-11-30 15:54:11] INFO: onGamemodeMapStart([DM]BriaN-vol4-Genesis)
[2013-11-30 15:54:11] INFO: Stopping map
[2013-11-30 15:54:11] Map '[DM] BriaN Vol.4 - Genesis' started.
[2013-11-30 15:54:11] startResource: Resource '[DM]BriaN-vol4-Genesis' started
|
|
A gdy wejdę na serwerze
|
|

[2013-11-30 15:57:12] CONNECT: ~Fs//^#FF1e00MalyNike- connected (IP: 25.66.137.202 Serial; ) Version: 1.3.4-9.05927.1)
[2013-11-30 15:57:14] JOIN: ~Fs//^#FF1e00MalyNike- joined the game (IP: 25.66.137.202)
[2013-11-30 15:57:20] DIAGNOSTIC: ~Fs//^#FF1e00MalyNike- #1003 CLIENT SCRIPT ERROR: radar\client.compiled.lua is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/
[2013-11-30 15:57:21] ERROR: Client (~Fs//^#FF1e00MalyNike-) triggered serverside event onRequestMapName, but event is not added serverside
[2013-11-30 15:57:22] INFO: No map loaded; showing votemanager
[2013-11-30 15:57:28] Stopping [DM]BriaN_Ft_Dubfire_-_Levitate
[2013-11-30 15:57:28] WARNING: [DM]_BriaN_-_Brutalism_[Final_version]/client.lua(Line 32) [Client] setVehicleFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen.
[2013-11-30 15:57:28] Some files in '[DM]_BriaN_-_Brutalism_[Final_version]' use deprecated functions.
[2013-11-30 15:57:28] Use the 'upgrade' command to perform a basic upgrade of resources.
[2013-11-30 15:57:28] Starting [DM]_BriaN_-_Brutalism_[Final_version]
[2013-11-30 15:57:28] INFO: onGamemodeMapStart([DM]_BriaN_-_Brutalism_[Final_version])
[2013-11-30 15:57:28] Map '[DM] BriaN - Brutalism' started.
[2013-11-30 15:57:29] startResource: Resource '[DM]_BriaN_-_Brutalism_[Final_version]' started
[2013-11-30 15:57:29] INFO: Loaded race mode Destruction derby

Tylko wiem że mam problem radar i distancetohunter. Będę miał nowe

Nie wiem co to jest [2013-11-30 15:57:21] ERROR: Client (~Fs//^#FF1e00MalyNike-) triggered serverside event onRequestMapName, but event is not added serverside





@Editor

Sprobowałem usunąć radar i distancetohunter.

==================================================================
= Multi Theft Auto: San Andreas v1.3.4
==================================================================
= Server name : proba
= Server IP address: 25.66.137.202
= Server port : 22003
=
= Log file : .. 1.3/server/mods/deathmatch/logs/server.log
= Maximum players : 32
= HTTP port : 22005
= Voice Chat : Disabled
= Bandwidth saving : Medium
==================================================================
[2013-11-30 16:21:36] Resources: 113 loaded, 0 failed
[2013-11-30 16:21:36] Starting resources...
[2013-11-30 16:21:37] Server minclientversion is now 1.3.4
[2013-11-30 16:21:37] Querying MTA master server... success!
[2013-11-30 16:21:37] Server started and is ready to accept connections!
[2013-11-30 16:21:37] To stop the server, type 'shutdown' or press Ctrl-C
[2013-11-30 16:21:37] Type 'help' for a list of commands.
[2013-11-30 16:21:41] start: Requested by Console
[2013-11-30 16:21:41] Initiating changemode from 'play' to 'race'
[2013-11-30 16:21:41] start: Resource 'race' start was requested ()
[2013-11-30 16:21:41] Stopping play
[2013-11-30 16:21:41] Stopping freeroam
[2013-11-30 16:21:41] Starting race
[2013-11-30 16:21:41] Starting killmessages
[2013-11-30 16:21:41] Starting scorefps
[2013-11-30 16:21:41] Starting racedelayindicator
[2013-11-30 16:21:41] Starting racetrafficsensor
[2013-11-30 16:21:41] Starting racevoicepack
[2013-11-30 16:21:41] Starting racenospeed
[2013-11-30 16:21:41] Starting reload
[2013-11-30 16:21:41] Starting shadercar1
[2013-11-30 16:21:41] Starting shadercar2
[2013-11-30 16:21:41] Starting shadercar3
[2013-11-30 16:21:41] Starting shaderdetail
[2013-11-30 16:21:41] Starting shaderdynamicsky
[2013-11-30 16:21:41] Starting shaderpalette
[2013-11-30 16:21:41] Starting shaderwater
[2013-11-30 16:21:41] Starting infernus
[2013-11-30 16:21:41] Starting gamemodemapname
[2013-11-30 16:21:41] Starting infomap
[2013-11-30 16:21:41] Starting pm
[2013-11-30 16:21:41] Starting rgd
[2013-11-30 16:21:41] Starting chaticond
[2013-11-30 16:21:41] Starting spectatorvred
[2013-11-30 16:21:41] Starting mathquestions
[2013-11-30 16:21:41] INFO: Race resource starting
[2013-11-30 16:21:41] Starting race_toptimes
[2013-11-30 16:21:41] startResource: Resource 'race_toptimes' started
[2013-11-30 16:21:41] Starting race_traffic_sensor
[2013-11-30 16:21:41] startResource: Resource 'race_traffic_sensor' started
[2013-11-30 16:21:41] INFO: Race onGamemodeStart
[2013-11-30 16:21:41] Gamemode 'Race' started.
[2013-11-30 16:21:41] startResource: Resource 'race' started
[2013-11-30 16:21:41] Starting [DM]#WaNTeD_Ft_BriaN_-_We_Love_Skills
[2013-11-30 16:21:42] INFO: onGamemodeMapStart([DM]#WaNTeD_Ft_BriaN_-_We_Love_Skills)
[2013-11-30 16:21:42] INFO: Stopping map
[2013-11-30 16:21:42] Map '[DM]#WaNTeD Ft. BriaN - We Love Skills' started.
[2013-11-30 16:21:42] startResource: Resource '[DM]#WaNTeD_Ft_BriaN_-_We_Love_Skills' started
[2013-11-30 16:22:08] CONNECT: ~Fs//^#FF1e00MalyNike- connected (IP: 25.66.137.202 Serial: Version: 1.3.4-9.05927.1)
[2013-11-30 16:22:10] JOIN: ~Fs//^#FF1e00MalyNike- joined the game (IP: 25.66.137.202)
[2013-11-30 16:22:14] ERROR: Client (~Fs//^#FF1e00MalyNike-) triggered serverside event onRequestMapName, but event is not added serverside
[2013-11-30 16:22:14] DIAGNOSTIC: ~Fs//^#FF1e00MalyNike- #1000 Invalid file ([DM]#WaNTeD_Ft_BriaN_-_We_Love_Skills) veg_palm02.dff
[2013-11-30 16:22:14] DIAGNOSTIC: ~Fs//^#FF1e00MalyNike- #1002 HTTP server file mismatch ([DM]#WaNTeD_Ft_BriaN_-_We_Love_Skills) music.lua
[2013-11-30 16:22:15] INFO: No map loaded; showing votemanager
[2013-11-30 16:22:21] Stopping [DM]#WaNTeD_Ft_BriaN_-_We_Love_Skills
[2013-11-30 16:22:21] Starting [DM]Pibeee-FT-TulioTC-As-the-world-turn
[2013-11-30 16:22:21] INFO: onGamemodeMapStart([DM]Pibeee-FT-TulioTC-As-the-world-turn)
[2013-11-30 16:22:21] Map '[DM] Pibeee Ft TulioTC - As The World Turn' started.
[2013-11-30 16:22:21] startResource: Resource '[DM]Pibeee-FT-TulioTC-As-the-world-turn' started
[2013-11-30 16:22:21] INFO: Loaded race mode Destruction derby



Wciąż samo ;/

Opublikowano

W końcu znalzałem, ale jak naprawiać ?

local SCREEN_WIDTH, SCREEN_HEIGHT = guiGetScreenSize()

local name, author, lastTimePlayed, spawnPointCount, playedCount, modename
local startTick

local enabled = false

local month = {"Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"}

function timestampToDate(stamp)
local time = getRealTime(stamp)
return string.format("%d %s %02d:%02d",time.monthday,month[time.month+0],time.hour,time.minute)
end

function handleMapInfo(mapInfo)
name = mapInfo.name or "Unknown"
author = mapInfo.author or "N/A"
playedCount = tostring(mapInfo.playedCount or "N/A")

outputChatBox("#ffc200[iNFO] #ff1e00Map Name: #bababa"..name,255,255,255,true)
outputChatBox("#ffc200[iNFO] #ff1e00Map Author: #bababa"..author,255,255,255,true)

startTick = getTickCount()

if not enabled then
addEventHandler("onClientRender",getRootElement(),handleOnRender)
enabled = true
end
end
addEvent("onClientMapStarting",true)
addEventHandler("onClientMapStarting",getRootElement(),handleMapInfo)


local g_Root = getRootElement()
local g_ResRoot = getResourceRootElement(getThisResource())
local screenWidth, screenHeight = guiGetScreenSize() -- Get the screen resolution

local c_Font = "pricedown"
local c_FontScale =1.10
local yo

local mapName

addEvent("onSendMapName", true)
addEventHandler("onSendMapName", g_ResRoot,
function(name)
mapName = name
end
)

addEventHandler("onClientResourceStart", g_ResRoot,
function()
yo = dxGetFontHeight(c_FontScale, c_Font)
triggerServerEvent("onRequestMapName", g_ResRoot)
end
)


addEventHandler("onClientRender", g_Root,
function()
if mapName then
dxDrawText("Current Map: '" .. mapName .."'", 5, screenHeight-yo-2, screenWidth, screenHeight, tocolor(255, 194, 0, 255), c_FontScale, c_Font)
end
end
)

 

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...