Arkaico
-
Posts
6 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Arkaico
-
-
Hi,
Today I tried to implement a taskbar, the problem is that I can not remove an image from the taskbar.
https://metin2.download/picture/3CR8G85UYvcrxP24oSEhs5n74s5B8bAv/.png
Would anyone know how to remove it?
-
Hi! I have a problem when i go to compile src.
https://metin2.download/picture/2DOGYH0ezPaWUfNMlKNX45BqDmJMyq4O/.png
how to fix it? Thanks!
-
hace 1 minuto, Kenny1337 dijo:
check name
./qc achievementsystem.quest
OMG, sorry! Go foolish mistake, apologize for the inconvenience
-
hace 13 minutos, diosmx9 dijo:
Check that the name of the quest is well written, that is what that problem is about
The name of the quest: https://metin2.download/picture/DTwSrqfmMJO04SXO6GH57F51Xxmqjb7h/.png
Quest: https://metin2.download/picture/7p0kuqaNmpTws55KmvAgQBPPMDqUR2i5/.png
Error: https://metin2.download/picture/08sE0WznDA6EcS7s353LXuEBAb2FKWA8/.png
Quest complete:
quest achievementsystem begin
state start begin
when login begin
cmdchat("ACHIEVEMENTS QID#"..q.getcurrentquestindex())
achievements.check_if_first()
achievements.create_categorys()
achievements.load_achievements()
achievements.load_last_finished_achievements()
achievements.set_achievementshop_categories()
achievements.load_achievementshop_items()
loop_timer('achievements_level_flogin_check', 5)
loop_timer('achievementstime_achievements_flogin_check', 1)
end
when logout or disconnect begin
cleartimer('time_achievements')
end
when button begin
cmdchat('ACHIEVEMENTS INPUT#1')
local ashop = split(input(cmdchat('ACHIEVEMENTS SEND#')), '#')
cmdchat('ACHIEVEMENTS INPUT#0')
if ashop[1] == 'BUY_ITEM' then
achievements.buy_achievementshop_item(tonumber(ashop[2]), tonumber(ashop[3]))
end
end
when levelup begin
local info_level = achievements.get_next_achievement("level", 'Level')
if type(info_level) ~= 'table' then return end
cmdchat(string.format('ACHIEVEMENTS UPDATE_ACHIEVEMENT#%d#%d', 1, pc.get_level()))
cmdchat('ACHIEVEMENTS REFRESH_ACHIEVEMENTS#')
if pc.get_level() >= info_level[1] then
achievements.set_finished(1, info_level[1], info_level[2], 0)
achievements.set_ap(info_level[2])
achievements.setf("level", achievements.getf("level")+1)
end
end
when kill with not npc.is_pc() and not npc.is_boss() and not npc.is_metin() begin
local npcRace = npc.get_race()
local achievementMobInfo,mobInfo,mobKills = achievements.getAchievementInfo(npcRace, 'Mobs'),achievements.getf(string.format("mob_info_%d", npcRace))+1,achievements.getf(string.format("mob_kills_%d", npcRace))+1
if table.getn(achievementMobInfo) < mobInfo then return end
cmdchat('ACHIEVEMENTS UPDATE_ACHIEVEMENT#2#'..mobKills..'#'..npcRace)
cmdchat('ACHIEVEMENTS REFRESH_ACHIEVEMENTS#')
achievementMobInfo = achievementMobInfo[mobInfo]
achievements.setf(string.format("mob_kills_%d", npcRace), mobKills)
if mobKills >= achievementMobInfo[1] then
achievements.set_finished(2, achievementMobInfo[1], achievementMobInfo[2], npcRace)
achievements.set_ap(achievementMobInfo[2])
achievements.setf(string.format("mob_info_%d", npcRace), mobInfo)
end
end
when kill with npc.is_boss() begin
local npcRace = npc.get_race()
local achievementBossInfo,bossInfo,bossKills = achievements.getAchievementInfo(npcRace, 'Bosses'),achievements.getf(string.format("boss_info_%d", npcRace))+1,achievements.getf(string.format("boss_kills_%d", npcRace))+1
if table.getn(achievementBossInfo) < bossInfo then return end
cmdchat('ACHIEVEMENTS UPDATE_ACHIEVEMENT#3#'..bossKills..'#'..npcRace)
cmdchat('ACHIEVEMENTS REFRESH_ACHIEVEMENTS#')
achievementBossInfo = achievementBossInfo[bossInfo]
achievements.setf(string.format("boss_kills_%d", npcRace), bossKills)
if bossKills >= achievementBossInfo[1] then
achievements.set_finished(3, achievementBossInfo[1], achievementBossInfo[2], npcRace)
achievements.set_ap(achievementBossInfo[2])
achievements.setf(string.format("boss_info_%d", npcRace), bossInfo)
end
end
when kill with npc.is_metin() begin
local npcRace = npc.get_race()
local achievementMetinInfo,metinInfo,metinKills = achievements.getAchievementInfo(npcRace, 'Metins'),achievements.getf(string.format("metin_info_%d", npcRace))+1,achievements.getf(string.format("metin_kills_%d", npcRace))+1
if table.getn(achievementMetinInfo) < metinInfo then return end
cmdchat('ACHIEVEMENTS UPDATE_ACHIEVEMENT#4#'..metinKills..'#'..npcRace)
cmdchat('ACHIEVEMENTS REFRESH_ACHIEVEMENTS#')
achievementMetinInfo = achievementMetinInfo[metinInfo]
achievements.setf(string.format("metin_kills_%d", npcRace), metinKills)
if metinKills >= achievementMetinInfo[1] then
achievements.set_finished(4, achievementMetinInfo[1], achievementMetinInfo[2], npcRace)
achievements.set_ap(achievementMetinInfo[2])
achievements.setf(string.format("metin_info_%d", npcRace), metinInfo)
end
endwhen kill with npc.is_pc() begin
local pvp,info_pvp = achievements.getf("pc_kills")+1,achievements.get_next_achievement("pvp", 'Pvp')
achievements.setf("pc_kills", pvp)
if type(info_pvp) ~= 'table' then return end
cmdchat(string.format('ACHIEVEMENTS UPDATE_ACHIEVEMENT#%d#%d', 6, pvp))
cmdchat('ACHIEVEMENTS REFRESH_ACHIEVEMENTS#')
if pvp >= info_pvp[1] then
achievements.set_finished(6, info_pvp[1], info_pvp[2], 0)
achievements.set_ap(info_pvp[2])
achievements.setf("pvp", achievements.getf("pvp")+1)
end
endwhen time_achievements.timer begin
chat('time_achievements: 180sec')
local info_time = achievements.get_next_achievement("time", 'PlayedTime')
if type(info_time) ~= 'table' then return end
cmdchat(string.format('ACHIEVEMENTS UPDATE_ACHIEVEMENT#%d#%d', 5, pc.get_playtime()))
cmdchat('ACHIEVEMENTS REFRESH_ACHIEVEMENTS#')
if pc.get_playtime() >= info_time[1] then
achievements.set_finished(5, info_time[1], info_time[2], 0)
achievements.set_ap(info_time[2])
achievements.setf("time", achievements.getf("time")+1)
end
end
when achievementstime_achievements_flogin_check.timer begin
cleartimer('achievementstime_achievements_flogin_check') loop_timer('achievementstime_achievements_flogin_check', 10)
local info_time = achievements.get_next_achievement("time", 'PlayedTime')
if type(info_time) ~= 'table' then cleartimer('achievementstime_achievements_flogin_check') loop_timer('time_achievements', 60*3) return end
if pc.get_playtime() >= info_time[1] then
achievements.set_finished(5, info_time[1], info_time[2], 0)
achievements.set_ap(info_time[2])
achievements.setf("time", achievements.getf("time")+1)
end
end
when achievements_level_flogin_check.timer begin
local info_level = achievements.get_next_achievement("level", 'Level')
if type(info_level) ~= 'table' then cleartimer('achievements_level_flogin_check') return end
if pc.get_level() >= info_level[1] then
achievements.set_finished(1, info_level[1], info_level[2], 0)
achievements.set_ap(info_level[2])
achievements.setf("level", achievements.getf("level")+1)
end
endend
end -
Hi!
Fisrt, sorry for my bad english
Second, i have a problem with a quest.
https://metin2.download/picture/zg3KoM9s7gXM6A8bbgG3EX4xXMdwm69R/.png
If you can help me by skype, because the quest is a payment system.
Thanks!
Error with Translate.lua
in Community Support - Questions & Answers
Posted
Hello! I translated the file translate.lua, turkey to spanish, but when i upload the new file translated, i have this error in syserr (db):
SYSERR: Nov 22 04:38:01.485854 :: socket_accept: accept: Software caused connection abort (fd 19)
Anyone know how to solve it?
EDIT: When I change the new file for the old file, the servers runs without problems.