Discord: https://discord.gg/z4rndWJzwq
 
HomeUseful information for Helbreath beginnersStatistics overviewSearchMemberlistGalleryRulesRegisterLog in

Post new topic   This topic is locked: you cannot edit posts or make replies.
 

 No me funciona el INSERT - Tomar Pots HP

Go down 
2 posters
AuthorMessage
Juansourse


Juansourse

Silver
Earned after your first post and comment.

Likes : 0

No me funciona el INSERT - Tomar Pots HP Empty
#1PostSubject: No me funciona el INSERT - Tomar Pots HP   No me funciona el INSERT - Tomar Pots HP 999107/3/2020, 6:03 pm

Estimado buenas tardes, logre levantar mi server local, ahora tengo el problema de que cuando quiero aumentar mi HP con pots.
hay 2 formas, con INSERT o haciendo doble click en la pots. Por ambos caminos consume la pots e informa que lo hizo por pantalla, pero no me aumenta el HP.


Les dejo el codigo que veo en el archivo Game.ccp



case VK_INSERT:

if (m_iHP <= 0) return;

if (m_bItemUsingStatus == TRUE)

{ AddEventList(USE_RED_POTION1, 10);

return;

}

if (m_bIsDialogEnabled[27] == TRUE)

{ AddEventList(USE_RED_POTION2, 10);

return;

}

for (i = 0; i < DEF_MAXITEMS; i++)

if ( (m_pItemList[i] != NULL) && (m_bIsItemDisabled[i] != TRUE) &&

(m_pItemList[i]->m_sSprite == 6) && (m_pItemList[i]->m_sSpriteFrame == 1))

{ bSendCommand(MSGID_COMMAND_COMMON, DEF_COMMONTYPE_REQ_USEITEM, NULL, i, NULL, NULL, NULL);

m_bIsItemDisabled[i] = TRUE;

m_bItemUsingStatus = TRUE;

return;

}



for (i = 0; i < DEF_MAXITEMS; i++)

if ( (m_pItemList[i] != NULL) && (m_bIsItemDisabled[i] != TRUE) &&

(m_pItemList[i]->m_sSprite == 6) && (m_pItemList[i]->m_sSpriteFrame == 2))

{ bSendCommand(MSGID_COMMAND_COMMON, DEF_COMMONTYPE_REQ_USEITEM, NULL, i, NULL, NULL, NULL);

m_bIsItemDisabled[i] = TRUE;

m_bItemUsingStatus = TRUE;

return;

}

break;




Espero que se entienda y me puedan ayudar.

Desde ya muchas gracias,
Back to top Go down
Juansourse


Juansourse

Silver
Earned after your first post and comment.

Likes : 0

No me funciona el INSERT - Tomar Pots HP Empty
#2PostSubject: Re: No me funciona el INSERT - Tomar Pots HP   No me funciona el INSERT - Tomar Pots HP 999107/3/2020, 9:30 pm

Tampoco encuentro en Game.ccp donde se indica los drops de cada NCP
Back to top Go down
LifeX


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

No me funciona el INSERT - Tomar Pots HP Empty
#3PostSubject: Re: No me funciona el INSERT - Tomar Pots HP   No me funciona el INSERT - Tomar Pots HP 999107/4/2020, 5:31 am

I have fix your problem for the INSERT.

[You must be registered and logged in to see this link.]

And also the function you need for drops is at 

void CGame::NpcDeadItemGenerator(int iNpcH, short sAttackerH, char cAttackerType)
Back to top Go down
Juansourse


Juansourse

Silver
Earned after your first post and comment.

Likes : 0

No me funciona el INSERT - Tomar Pots HP Empty
#4PostSubject: Re: No me funciona el INSERT - Tomar Pots HP   No me funciona el INSERT - Tomar Pots HP 999107/5/2020, 1:09 am

Nuevamente muchísimas gracias por la ayuda.
Back to top Go down
LifeX


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

No me funciona el INSERT - Tomar Pots HP Empty
#5PostSubject: Re: No me funciona el INSERT - Tomar Pots HP   No me funciona el INSERT - Tomar Pots HP 999107/6/2020, 11:21 am

Most welcome. Kindly post in that thread if u see any problems.

I will closed this topic.
Back to top Go down
Sponsored content






No me funciona el INSERT - Tomar Pots HP Empty
#6PostSubject: Re: No me funciona el INSERT - Tomar Pots HP   No me funciona el INSERT - Tomar Pots HP 99910

Back to top Go down
 
No me funciona el INSERT - Tomar Pots HP
Back to top 
Page 1 of 1

Permissions in this forum:You can reply to topics in this forum
JoinHelbreath.net :: General :: Help Zone✅-
Post new topic   This topic is locked: you cannot edit posts or make replies.Jump to: