help me please?

02/11/2017 18:26 antifate#1
How make sit bug please?
02/11/2017 20:42 AgnarPlay#2
Quote:
Originally Posted by antifate View Post
How make sit bug please?
case TKEY_MODE :
if( m_pSESSION &&
!m_pMainChar->IsDead() && !m_pMainChar->IsDown() && !m_pMainChar->IsFall() &&
!m_pMainChar->IsJump() && !m_pMainChar->m_bPrivateShop && !m_pMainChar->GetRidingPet() )
{
if( m_pMainChar->m_bMode == MT_BATTLE )
{
LoopSkillOFF();
m_pSESSION->SendCS_CHGMODE_REQ(MT_NORMAL);
}

BYTE bActionID;
if( m_pMainChar->m_bAction == TA_SITDOWN )
bActionID = TA_STAND;
else
bActionID = TA_SIT;

TACTION vActionID = m_pMainChar->FindActionID(
bActionID,
m_pMainChar->GetWeaponID(m_pMainChar->m_bMode));

SendCS_ACTION_REQ(
m_pMainChar->m_dwID,
m_pMainChar->m_bType,
bActionID,
vActionID.m_dwActID,
vActionID.m_dwAniID,
m_pMainWnd->m_bChannel,
m_vMAP.m_wMapID, 0);
}

break;
02/11/2017 21:03 antifate#3
y but where change it?
02/11/2017 21:14 NavigatorCreed#4
Quote:
Originally Posted by antifate View Post
y but where change it?
You need to change it in source.
02/11/2017 21:32 Logtetsch#5
Pretty sure he's asking for which function should contain this code.

KR Logtetsch
02/11/2017 21:46 .Konst#6
Pretty sure answering him won't get him anywhere since he probably doesn't even know what function means.
02/11/2017 21:49 NavigatorCreed#7
If you know the small part of code you can without problems find the right function etc.
02/11/2017 22:08 antifate#8
I know in sources... but where???
02/11/2017 22:14 NavigatorCreed#9
Quote:
Originally Posted by antifate View Post
I know in sources... but where???
I suggest you to leave it, if you can't use " ctrl + f " to find it by yourself:)
02/11/2017 22:46 1234hans#10
For real no one is able to help you. Open Source and Search for BYTE bActionID; (SEARCH OPTION: CURRENT PROJEKT). I hope you got it now.

And do it like this: [Only registered and activated users can see links. Click Here To Register...]
02/12/2017 02:30 aiutkapec100#11
he ask how to make bug or how to fix it ?:DD
02/12/2017 13:13 1234hans#12
Thats the question aiut :D i wrote how to DO THE B abb :D
02/12/2017 14:35 antifate#13
"how make sit bug" mean only 1 thing.... how put into the server...
02/12/2017 15:12 1234hans#14
Go into the Source? and do what i wrote above you.
02/12/2017 16:27 NavigatorCreed#15
It's really so hard to open source, find code, replace and rebuild :facepalm:

Go to the TClient source open TClientGame.cpp, replace the code and rebuild TClient.

Your code :
Code:
	case TKEY_MODE				:
		if( m_pSESSION &&
			!m_pMainChar->IsDead() && !m_pMainChar->IsDown() && !m_pMainChar->IsFall() && 
			!m_pMainChar->IsJump() && !m_pMainChar->m_bPrivateShop && !m_pMainChar->GetRidingPet() )
		{
			if( m_pMainChar->m_bMode == MT_BATTLE )
			{
				LoopSkillOFF();
				m_pSESSION->SendCS_CHGMODE_REQ(MT_NORMAL);
			}

			BYTE bActionID;
			if( m_pMainChar->m_bAction == TA_SITDOWN )
			{

				m_pMainChar->SetTAction(TA_STAND);
				StopMoveMainChar();
				bActionID = TA_STAND;
			}
			else
			{

				m_pMainChar->SetTAction(TA_STAND);
				StopMoveMainChar();
				bActionID = TA_SIT;
			}

			TACTION vActionID = m_pMainChar->FindActionID(
					bActionID,
					m_pMainChar->GetWeaponID(m_pMainChar->m_bMode));

			SendCS_ACTION_REQ(
				m_pMainChar->m_dwID,
				m_pMainChar->m_bType,
				bActionID,
				vActionID.m_dwActID,
				vActionID.m_dwAniID,
				m_pMainWnd->m_bChannel,
				m_vMAP.m_wMapID, 0);
		}

		break;
You need to replace with this one :
Code:
case TKEY_MODE				:
		if( m_pSESSION &&
			!m_pMainChar->IsDead() && !m_pMainChar->IsDown() && !m_pMainChar->IsFall() && 
			!m_pMainChar->IsJump() && !m_pMainChar->m_bPrivateShop && !m_pMainChar->GetRidingPet() )
		{
			if( m_pMainChar->m_bMode == MT_BATTLE )
			{
				LoopSkillOFF();
				m_pSESSION->SendCS_CHGMODE_REQ(MT_NORMAL);
			}

			BYTE bActionID;
			if( m_pMainChar->m_bAction == TA_SITDOWN )
			{

				bActionID = TA_STAND;
			}
			else
			{

				bActionID = TA_SIT;
			}

			TACTION vActionID = m_pMainChar->FindActionID(
					bActionID,
					m_pMainChar->GetWeaponID(m_pMainChar->m_bMode));

			SendCS_ACTION_REQ(
				m_pMainChar->m_dwID,
				m_pMainChar->m_bType,
				bActionID,
				vActionID.m_dwActID,
				vActionID.m_dwAniID,
				m_pMainWnd->m_bChannel,
				m_vMAP.m_wMapID, 0);
		}

		break;