I'm encountering persistent issues with quest display and functionality on my rAthena. Despite trying various troubleshooting steps, I haven't been able to resolve the problem. Any insights or guidance would be greatly appreciated!
Problem Description:
When players attempt to accept or view the progress of certain quests, the client displays the following error pop-ups:
GetOngoingRewardInfo: [string "buf"]:24: attempt to index field '?' (a nil value)
GetOngoingDescription: [string "buf"]:14: attempt to index field '?' (a nil value)
GetOngoingQuestInfoByID: [string "buf"]:2: attempt to index field '?' (a nil value)
(Ive tried with Pupa Quest and when users enter Endless Tower)
Additionally, when I try to open the quest window in-game, I see the message "Unknown Quest ID = 60110". This specifically occurs with Quest ID 60110 (Hunting Pupa), and potentially others if they share similar data structure issues.
My Setup:
Emulator: rAthena (Source commit around May 10, 2025).
Client: kRO (Fully updated to 2025, matching the EXE date).
EXE: May 10, 2025 version.
GRF: Using a custom GRF that includes the luafiles5 directory, where client-side Lua files are stored.
Troubleshooting Steps Taken (Unsuccessful):
questinfo.lub Synchronization: I downloaded a fresh kRO client (updated to 2025) and copied OngoingQuestInfoList.lub, OngoingQuestInfoList_True.lub, RecommendedQuestInfoList.lub, and RecommendedQuestInfoList_True.lub from its data\luafiles5\datainfo directory into my custom GRF. This did not resolve the errors.
File Renaming: I also attempted renaming OngoingQuestInfoList_Sakray.lub and OngoingQuestInfoList_True.lub (I'm not entirely sure if these were the exact files, but it was part of a troubleshooting attempt based on old guides) without any change in behavior.
Manual questinfo.lub Editing: For QuestID = 60110 (Hunting Pupa), I manually added all missing fields (RewardEXP, RewardJEXP, Description, RewardItemList, etc.) into its definition within my data\luafiles5\datainfo\questinfo.lub file (inside my GRF). I made sure to set non-nil default values (e.g., {} for empty tables, 0 for numbers), but the errors persist.
Server-Side Verification: The QuestID = 60110 is correctly identified and configured on the server-side (db/re/quest.txt and the associated NPC script). The issue appears to be client-side data interpretation.
Relevant Client-Side Lua Files:
Here is the content of my QuestInfo_f.lub (located in the client GRF):
Lua
-- Function #0
GetOngoingQuestInfoByID = function(questID)return GetOngoingSimpleView(questID), QuestInfoList[questID].Title, QuestInfoList[questID].IconName, QuestInfoList[questID].Summary, QuestInfoList[questID].NpcSpr, QuestInfoList[questID].NpcNavi, QuestInfoList[questID].RewardEXP, QuestInfoList[questID].RewardJEXP, QuestInfoList[questID].NpcPosX, QuestInfoList[questID].NpcPosY, GetCoolTimeQuest(questID)
end-- Function #1
GetCoolTimeQuest = function(questID)local desc = QuestInfoList[questID].CoolTimeQuest
ifnil == desc thenreturn0endreturn desc
end-- Function #2
GetOngoingDescription = function(questID)local desc = QuestInfoList[questID].Description
ifnil == desc thenreturnendfor k, v inpairs(desc) do
AddOngoingDescription(questID, v)
endreturnend-- Function #3
GetOngoingRewardInfo = function(questID)local reward = QuestInfoList[questID].RewardItemList
ifnil == reward thenreturnendfor k, v inpairs(QuestInfoList[questID].RewardItemList) do
AddOngoingRewardInfo(questID, v.ItemID, v.ItemNum)
endreturnend-- ... (rest of the functions like RecommendedQuestInfoLoad, etc.)
My Current (Corrected) QuestID = 60110 Definition in questinfo.lub (after manual additions):
Lua
[60110] = {
Title = "Hunting Pupa",
Description = {
"Halgus asked you to clear the field of 50 Pupa and he will give you a small reward. ^FF0000Chrysalis cannot be turned in while this quest is active.^000000"
},
Summary = "",
IconName = "", -- Added
NpcSpr = "", -- Added
NpcNavi = "", -- Added
RewardEXP = 0, -- Added
RewardJEXP = 0, -- Added
NpcPosX = 0, -- Added
NpcPosY = 0, -- Added
CoolTimeQuest = 0, -- Added
RewardItemList = {} -- Added (or with actual item data if applicable)
},
Any guidance on what might be causing these "nil value" errors or why the client reports "Unknown Quest ID" despite the server having the quest identified would be greatly appreciated. Could it be a GRF priority issue, a client-side Lua script version mismatch, or something else entirely?
Question
JoseRicart
Hello everyone,
I'm encountering persistent issues with quest display and functionality on my rAthena. Despite trying various troubleshooting steps, I haven't been able to resolve the problem. Any insights or guidance would be greatly appreciated!
Problem Description:
When players attempt to accept or view the progress of certain quests, the client displays the following error pop-ups:
GetOngoingRewardInfo: [string "buf"]:24: attempt to index field '?' (a nil value)
GetOngoingDescription: [string "buf"]:14: attempt to index field '?' (a nil value)
GetOngoingQuestInfoByID: [string "buf"]:2: attempt to index field '?' (a nil value)
(Ive tried with Pupa Quest and when users enter Endless Tower)
Additionally, when I try to open the quest window in-game, I see the message "Unknown Quest ID = 60110". This specifically occurs with Quest ID 60110 (Hunting Pupa), and potentially others if they share similar data structure issues.
My Setup:
Emulator: rAthena (Source commit around May 10, 2025).
Client: kRO (Fully updated to 2025, matching the EXE date).
EXE: May 10, 2025 version.
GRF: Using a custom GRF that includes the
luafiles5
directory, where client-side Lua files are stored.Troubleshooting Steps Taken (Unsuccessful):
questinfo.lub
Synchronization: I downloaded a fresh kRO client (updated to 2025) and copiedOngoingQuestInfoList.lub
,OngoingQuestInfoList_True.lub
,RecommendedQuestInfoList.lub
, andRecommendedQuestInfoList_True.lub
from itsdata\luafiles5\datainfo
directory into my custom GRF. This did not resolve the errors.File Renaming: I also attempted renaming
OngoingQuestInfoList_Sakray.lub
andOngoingQuestInfoList_True.lub
(I'm not entirely sure if these were the exact files, but it was part of a troubleshooting attempt based on old guides) without any change in behavior.Manual
questinfo.lub
Editing: ForQuestID = 60110
(Hunting Pupa), I manually added all missing fields (RewardEXP
,RewardJEXP
,Description
,RewardItemList
, etc.) into its definition within mydata\luafiles5\datainfo\questinfo.lub
file (inside my GRF). I made sure to set non-nil
default values (e.g.,{}
for empty tables,0
for numbers), but the errors persist.Server-Side Verification: The
QuestID = 60110
is correctly identified and configured on the server-side (db/re/quest.txt
and the associated NPC script). The issue appears to be client-side data interpretation.Relevant Client-Side Lua Files:
Here is the content of my
QuestInfo_f.lub
(located in the client GRF):My Current (Corrected)
QuestID = 60110
Definition inquestinfo.lub
(after manual additions):Any guidance on what might be causing these "nil value" errors or why the client reports "Unknown Quest ID" despite the server having the quest identified would be greatly appreciated. Could it be a GRF priority issue, a client-side Lua script version mismatch, or something else entirely?
Thank you in advance for your time and help!
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.