Jump to content
  • 0
Kyoya G

Custom Quest Sprites (alt+u)

Question

Hello, 

I added some custom quests and they were ok, but the sprites and the count(how many monster or item left) didnt work.

I added by following some topics here but they were very old so Im not sure if its rigth.

I did it by modifying these files:

- quest_db.conf:

{
	Id: 20017
	Name: "Treinamento Inicial"
},

 

- questid2display.txt:

20017#Treinamento Inicial#SG_FEEL#QUE_NOIMAGE#
Prove que voce e capaz de ser treinado por mim, mate 10 Esporos e volte para falar comigo!#
Mate 10 Esporos.#

 

-  ep_141quest_list.lub (data\luafiles514\lua files\quest):

{
													name =[[Treinamento Inicial]],
													scrfilename = [[epsoid141Quest]],
													questID = 20017,
												},

 

- epsoid141_list.lub (data\luafiles514\lua files\quest\questinfo):

[20017] = {
				NPCToName = "Tayen",
				NPCToMap = "payon",
				NPCToSpr = "F_ORIENT_03",
				NPCToX = 166,
				NPCToY = 101,
				NPCFromName = "Tayen",
				NPCFromMap = "payon",
				NPCFromSpr = "F_ORIENT_03",
				NPCFromX = 166,
				NPCFromY = 101,
				Item = "",
				PrizeItem = "",
				Title = "Treinamento Inicial",
				Info = "Prove que voc??capaz de ser treinado por mim, mate 10 Esporos e volte para falar comigo!",
				Hunt1 = "< link = \"ESPORO\">Esporo<\\end> x 10 ",
				Hunt2 = "",
				Hunt3 = "",
				Time = "0",
				LV = "0",
			},

 

Here is the result:      (missing sprite and the count of how many esporos I need to kill)

https://1.bp.blogspot.com/-qvZjAaEsSQA/W25wj6qtcQI/AAAAAAAAlAU/Aniv9kZUvPoo94JXoi8R2c6kjQRynwG8QCLcBGAs/s1600/sprite.png

 

Did I do it rigth? Is it missing any file?

How can I add the sprites?

Thanks

Edited by Kyoya G

Share this post


Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 1

My mistake, it seems that's correct name.

Which client are you using? (By the looks of screenshot, it seems it isn't reading Lua file).

Share this post


Link to post
Share on other sites
  • 1

as for the count, you need to add a target and the count in quest_db.conf

 

{
	Id: 20017
	Name: "Treinamento Inicial"
	Targets: (
	{
		MobId: 1002
		Count: 10
	},
},

for your lua file, I'm pretty sure it's not read. Try putting it into the official one and if it works, check your custom settings.

Share this post


Link to post
Share on other sites
  • 0
4 hours ago, Dastgir said:

You mentioned file name as "epsoid141_list"  pretty sure that's not the name in kRO

Yes, I edited it because is the only file there:

(data\luafiles514\lua files\quest\ep_141quest_list.lub)   and    (data\luafiles514\lua files\quest\questinfo\epsoid141_list)

 

Should I create a new file with my custom quests?

Share this post


Link to post
Share on other sites
  • 0
11 hours ago, Dastgir said:

My mistake, it seems that's correct name.

Which client are you using? (By the looks of screenshot, it seems it isn't reading Lua file).

Im using kRO 2018.03.27 client. 

My hexed is 2016-07-06Ragexe.

Yes, my Iteminfo is lub too. Seems its not reading lua files. Do you think it is a problem?

Thanks~

 

7 hours ago, Ridley said:

as for the count, you need to add a target and the count in quest_db.conf

 


{
	Id: 20017
	Name: "Treinamento Inicial"
	Targets: (
	{
		MobId: 1002
		Count: 10
	},
},

for your lua file, I'm pretty sure it's not read. Try putting it into the official one and if it works, check your custom settings.

Yeees, it worked, the count is working now, thank you so much.

But I still with the sprites(navigation) problems. As you said it seems that my quest lub files arent read.

I took a look into kRO data quest files and I think they arent read too, seems like only questid2display.txt(in my data) and quest.conf(in my client) are read.

Is there a way to make it read those files or it is my client that dont accept npc quest sprites?

Share this post


Link to post
Share on other sites
  • 0
6 minutes ago, Kyoya G said:

Im using kRO 2018.03.27 client. 

My hexed is 2016-07-06Ragexe.

Yes, my Iteminfo is lub too. Seems its not reading lua files. Do you think it is a problem?

Thanks~

 

Yeees, it worked, the count is working now, thank you so much.

But I still with the sprites(navigation) problems. As you said it seems that my quest lub files arent read.

I took a look into kRO data quest files and I think they arent read too, seems like only questid2display.txt(in my data) and quest.conf(in my client) are read.

Is there a way to make it read those files or it is my client that dont accept npc quest sprites?

For newish client like early 2018(ragexeRE) clients you can edit System/OngoingQuestInfoList_Sakray.lub, I guess quest lub which you are currently editing was introduced on early 2013.

The file you are editing does not show npc image if it's on progress, you have added it in ep14.1, so if you check there, it would show npc I suppose(if those Lua/lub is even read by 2016 client)

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, Dastgir said:

For newish client like early 2018(ragexeRE) clients you can edit System/OngoingQuestInfoList_Sakray.lub, I guess quest lub which you are currently editing was introduced on early 2013.

The file you are editing does not show npc image if it's on progress, you have added it in ep14.1, so if you check there, it would show npc I suppose(if those Lua/lub is even read by 2016 client)

I looked for that file but I only found System/OngoingQuestInfoList.lub and I edited it, but it still doesn't work. 

I guess that, as you mentioned, those lub files(data/luafiles514/luafiles/quest) are not even being read by my 2018 client.

I noticed that not only the sprites are not working but also the navigation, as you can see here: 

Spoiler

asdasd.png

 

 

Besides that I also noticed that even the original quests sprites are not working too, only the navigation, as you can see here:

Spoiler

asdasdasdasdasd.png

 

 

I dont know if Im rigth but I think those sprites are related with navigation system.

I guess the problem is with my client, hexed, or translated data and system versions...

Could you recommend me a client/hexed version and translation that the npc quests sprites and navigation system works??

Thanks for helping me~

Share this post


Link to post
Share on other sites
  • 0

if you using 2016 exe, then you must use lua/txt and other files from 2016 version. 2018 files with outdated client exe may not works.

 

Share this post


Link to post
Share on other sites
  • 0
10 hours ago, 4144 said:

if you using 2016 exe, then you must use lua/txt and other files from 2016 version. 2018 files with outdated client exe may not works.

 

which files? 

I tried every kind of file about quests that I found in my exe...

Should I update my exe or take a older version client?

thanks...

Share this post


Link to post
Share on other sites
  • 0

all files. you should find official kro files for exact client exe version. If versions bit different you still may have some errors.

After if all works without errors, you can mod data, add / remove files etc.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.