Maty Vega
Silver 4
Earned by having 12 posts & comments.
Likes : 1
| #1Subject: Quest en un 475 4/10/2017, 12:48 am | |
| Hola buenas noches
quisiera hacer un sistema de quest en mi HB si alguien me puede ayudar les dejo aca mis dudas:
1-Cuando edito "Quest" en los files ,no quiero que me de contri ball sino un item EJ : Demon Slayer ,ej :Matando 10 slime en aresden te de DemonSlayer
No se ,si se modifica en el client o en el HG ,no tengo ni idea..
Cuando agrego las cosas en los Contects en el gordo me aparece toda la lista de numeros y no me deja sacar la quest..
Gracias de ante mano |
|
Centuu.-
Diamond 1
Earned by having 144 posts & comments.
Civilian
Granted to members for high engagement.
Full Hero
Granted to members for great contributions.
Great Mentor
Granted to veteran members who exhibit helpful and sportsmanlike behavior.
Moderator
Earned by becoming a board moderator.
Likes : 17
| #2Subject: Re: Quest en un 475 4/10/2017, 2:44 am | |
| En el HG Server, en la función CGame::_iTalkToNpcResult_Cityhall modifica - Code:
-
m_pClientList[iClientH]->m_iContribution += m_pQuestConfigList[m_pClientList[iClientH]->m_iQuest]->m_iContribution; Por esto - Code:
-
class CItem * pItem; int iEraseReq; pItem = new class CItem; _bInitItemAttr(pItem, 616); // 616 = ID DemonSlayer _bAddClientItemList(iClientH, pItem, &iEraseReq); SendItemNotifyMsg(iClientH, DEF_NOTIFY_ITEMOBTAINED, pItem, NULL);
Eso es para que te de un item, después deberías ver específicamente a qué quest corresponde.. |
|
Maty Vega
Silver 4
Earned by having 12 posts & comments.
Likes : 1
| #3Subject: Re: Quest en un 475 4/10/2017, 3:34 am | |
| |
|
LifeX
Diamond 1
Earned by having 144 posts & comments.
Civilian
Granted to members for high engagement.
Great Mentor
Granted to veteran members who exhibit helpful and sportsmanlike behavior.
Moderator
Earned by becoming a board moderator.
Likes : 26
| #4Subject: Re: Quest en un 475 4/10/2017, 6:58 am | |
| Best you dont play with the codes if you are not familiar.
Its better if you change quest prize, and let contrib be as it is. |
|
Sponsored content
| #5Subject: Re: Quest en un 475 | |
| |
|