antiblock
https://arwen2.global/
  • Chatbox

    You don't have permission to chat.
    Load More
Sign in to follow this  
-Dash_

[Source]Recursos E Bug Fixe's C++ Game E Db - Parte 1

5 posts in this topic

antiblock
Cyphriun

Kkkkk....

Share this post


Link to post
Share on other sites

Kkkkk....

 

I don't get it... é fake?

Share this post


Link to post
Share on other sites

Boas CG,

 

Estarei postando alguns recursos e como corrigir alguns bug's na Source do Game e db.

 

-> Tópico Source Game e db.

-> Tópico Source Cliente - binário.

 

1. Ativar bônus 6-7 (Europa, Singapore, Vietnam)

  • Abra char_item.cpp (game/src)

    Localize:

if (LC_IsEurope() || LC_IsSingapore() || LC_IsVietnam())
	return false;

    Comente ou delete as linhas.

     3F656sY.png

 

2. Chance de acoplamento das jóias.

  • Abra char_item.cpp (game/src)

     Localize:

if (number(1, 100) <= 30)

     Edite "30" ao valor que deseja. 

     Exemplo, 100%

      pnnqiyH.png

 

3. Remover taxa de 3%

  • Abra shop.cpp e shop_manager.cpp (game/src)

     Localize:

iVal = 3;

    Edite "3" para "0".

     WOVhR7k.png

 

4. Habilitar preço de itens 0 gold nos NPC's.

  • Abra shop.cpp (game/src)

    Localize:

if (r_item.price <= 0)

    Edite "<=" para "<"

     3ri6Z0c.png

 

5. Habilitar Esfera da Benção(70024) e Ferro Eterno(70035) para ser vendido nos NPC's.

  • Abra shop.cpp (game/src)

    Localize:

	if (!m_pkPC)
	{
		if (quest::CQuestManager::instance().GetEventFlag("hivalue_item_sell") == 0)
		{
			//ĂŕşąŔÇ ±¸˝˝ && ¸¸łâÇŃö ŔĚşĄĆ® 
			if (item->GetVnum() == 70024 || item->GetVnum() == 70035)
			{
				return SHOP_SUBHEADER_GC_END;
			}
		}
	}

   Edite para:

	if (!m_pkPC)
	{
		if (item->GetVnum() == 70024 || item->GetVnum() == 70035)
		{
			return SHOP_SUBHEADER_GC_END;
		}
	}

     Jeqmqqq.png

  

   Localize:

		//HIVALUE_ITEM_EVENT
		if (quest::CQuestManager::instance().GetEventFlag("hivalue_item_sell") == 0)
		{
			//ĂŕşąŔÇ ±¸˝˝ && ¸¸łâÇŃö ŔĚşĄĆ® 
			if (item.vnum == 70024 || item.vnum == 70035)
			{				
				continue;
			}
		}
		//END_HIVALUE_ITEM_EVENT

  Edite para:

		//HIVALUE_ITEM_EVENT
			if (item.vnum == 70024 || item.vnum == 70035)
			{				
				continue;
			}
		//END_HIVALUE_ITEM_EVENT

   EGdG7EI.png

 

 

É isso ai pessoal, em breve postarei mais! 

 

Créditos TheSLZ (epvp) e a mim! ;)

 

Obs: É bem provável que consiga postar a Parte 2 na segunda ou terça-feira. 

Existem 2:

 

if (LC_IsEurope() || LC_IsSingapore() || LC_IsVietnam())

    return false;

 

Devo comentar as 2 para ativar os 6/7 add?

Share this post


Link to post
Share on other sites

100% testado e aprovado.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this