Jump to content
  • 0

Adding Achievement


Question

Posted (edited)

Hmm dont know if im posting in the right section. Sorry if im not.

Well, im trying to adding custom Achievements and I succeeded in it except for one detail: i cant complete the achievement and collect rewards xD

7a32f3434acc294924de6634d6e5892c.png

As you guys can see in the print, i added the Achievement "Beta Tester" in Quest-Other Tab. The condition to complete is simple get a item that worthy more than 3kk (course theres an item with that value ID: 6024) but when i get the item im only capable of completing the other similar achievements.

achievement_db.yml ->

  - ID: 240500
    Group: "AG_GET_ITEM"
    Name: "Beta Tester"
    Condition: " ARG0 >= 3000000 "
    Score: 30

achievement_list.lub ->

	[240500] = {
		UI_Type = 0,
		group = "GET_ITEM",
		major = 1,
		minor = 2,
		title = "Beta Tester",
		content = {
			summary = "Receba o pacote Beta!",
			details = "Receba o pacote beta e utilize o diamante.",
		},
		resource = {
			[1] = {
				text = "Beta Tester",
			},
		},
		reward = {
			title = 1034,
		},
		score = 30,
	}
}

What im doing wrong?

And theres a "Title" db to edit/create titles? (i know they can be added by the data/lua files but i cant equip ? )

Edited by Rizta

3 answers to this question

Recommended Posts

  • 0
Posted (edited)
23 hours ago, Rizta said:

Yeah, already do it, but, i can view n select the title but cant equip. ?

- ID: 240500
    Group: "AG_GET_ITEM"
    Name: "Jogador BETA"
    Condition: " ARG0 >= 3000000 "
    Reward:
      TitleID: 1035
    Score: 30
[240500] = {
		UI_Type = 0,
		group = "GET_ITEM",
		major = 1,
		minor = 2,
		title = "Jogador BETA",
		content = {
			summary = "Seja BETA",
			details = "Teste o servidor em sua segunda fase.",
		},
		resource = { [1] = { text = "Dado aos Jogadores que ajudaram o servidor em sua fase BETA. Obrigado!" } },
		reward = { title = 1035 },
		score = 30,
	}
	[1035] = "BETA"

Rt9B2GR.png

friend,
I have no idea what version of rAthena you are using, or what date you are using, but I just got the same lines as the one you sent in the above Quote and works perfectly as you can see.

Edit: In your 'achievement_db' file, the 'Reward:' and 'TitleID: ID'

Edited by Mahiro
  • 0
Posted
7 hours ago, Mahiro said:

Here a tutorial:

Here to add a custom title:

data\luafiles514\lua files\datainfo\titletable.lub

Yeah, already do it, but, i can view n select the title but cant equip. ?

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

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