Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > 4Story
You last visited: Today at 15:47

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



help me please?

Discussion on help me please? within the 4Story forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2013
Posts: 41
Received Thanks: 4
help me please?

How make sit bug please?
antifate is offline  
Old 02/11/2017, 20:42   #2
 
AgnarPlay's Avatar
 
elite*gold: 0
Join Date: Aug 2013
Posts: 192
Received Thanks: 121
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;
AgnarPlay is offline  
Old 02/11/2017, 21:03   #3
 
elite*gold: 0
Join Date: Jul 2013
Posts: 41
Received Thanks: 4
y but where change it?
antifate is offline  
Old 02/11/2017, 21:14   #4
 
NavigatorCreed's Avatar
 
elite*gold: 222
Join Date: Jan 2017
Posts: 466
Received Thanks: 317
Quote:
Originally Posted by antifate View Post
y but where change it?
You need to change it in source.
NavigatorCreed is offline  
Old 02/11/2017, 21:32   #5
 
Logtetsch's Avatar
 
elite*gold: 192
Join Date: May 2009
Posts: 2,227
Received Thanks: 3,262
Pretty sure he's asking for which function should contain this code.

KR Logtetsch
Logtetsch is offline  
Old 02/11/2017, 21:46   #6
 
elite*gold: 0
Join Date: Jan 2017
Posts: 721
Received Thanks: 466
Pretty sure answering him won't get him anywhere since he probably doesn't even know what function means.
.Konst is offline  
Thanks
1 User
Old 02/11/2017, 21:49   #7
 
NavigatorCreed's Avatar
 
elite*gold: 222
Join Date: Jan 2017
Posts: 466
Received Thanks: 317
If you know the small part of code you can without problems find the right function etc.
NavigatorCreed is offline  
Old 02/11/2017, 22:08   #8
 
elite*gold: 0
Join Date: Jul 2013
Posts: 41
Received Thanks: 4
I know in sources... but where???
antifate is offline  
Old 02/11/2017, 22:14   #9
 
NavigatorCreed's Avatar
 
elite*gold: 222
Join Date: Jan 2017
Posts: 466
Received Thanks: 317
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
NavigatorCreed is offline  
Old 02/11/2017, 22:46   #10
 
elite*gold: 0
Join Date: Feb 2014
Posts: 344
Received Thanks: 67
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:
1234hans is offline  
Thanks
1 User
Old 02/12/2017, 02:30   #11
 
aiutkapec100's Avatar
 
elite*gold: 3
Join Date: Oct 2015
Posts: 241
Received Thanks: 98
he ask how to make bug or how to fix it ?D
aiutkapec100 is offline  
Old 02/12/2017, 13:13   #12
 
elite*gold: 0
Join Date: Feb 2014
Posts: 344
Received Thanks: 67
Thats the question aiut i wrote how to DO THE B abb
1234hans is offline  
Old 02/12/2017, 14:35   #13
 
elite*gold: 0
Join Date: Jul 2013
Posts: 41
Received Thanks: 4
"how make sit bug" mean only 1 thing.... how put into the server...
antifate is offline  
Old 02/12/2017, 15:12   #14
 
elite*gold: 0
Join Date: Feb 2014
Posts: 344
Received Thanks: 67
Go into the Source? and do what i wrote above you.
1234hans is offline  
Old 02/12/2017, 16:27   #15
 
NavigatorCreed's Avatar
 
elite*gold: 222
Join Date: Jan 2017
Posts: 466
Received Thanks: 317
It's really so hard to open source, find code, replace and rebuild

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;
NavigatorCreed is offline  
Thanks
1 User
Reply




All times are GMT +1. The time now is 15:48.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.