[C++]Fix bug biolog Vegas

Aici poți găsi sisteme complete, verificate și recomandate de echipa 4Metin.
Avatar utilizator
F. Gabriel
Administrator
Administrator
Mesaje: 497
Membru din: Lun Aug 01, 2022 10:23 am
Localitate: Tecuci
Status: Retras
Multumiri acordate: 17
Multumiri primite: 271
Contact:

[C++]Fix bug biolog Vegas

Mesaj de F. Gabriel »

Caută în biolog.cpp:

Cod: Selectaţi tot

ch->SetBiologState("biolog_lv92.used_window", 1);
Adaugă sub:

Cod: Selectaţi tot

ch->SetBiologState("biolog_lv92.reward", 1);
Sub întreaga structură a funcției if, adaugă:

Cod: Selectaţi tot

	if (pSelectReward[0] != 0 && ch->GetBiologState(pTableStringGlobal[3][8]) == 1)
	{
		if (!strcmp(iReward, "92_reward_1") && pSelectReward[0] != 0){
			return ch->ChatPacket(CHAT_TYPE_INFO, "<Biolog> Misiune indisponibilă.");
		}
		if (!strcmp(iReward, "92_reward_2") && pSelectReward[0] != 0){
			return ch->ChatPacket(CHAT_TYPE_INFO, "<Biolog> Misiune indisponibilă.");
		}
		if (!strcmp(iReward, "92_reward_3") && pSelectReward[0] != 0){
			return ch->ChatPacket(CHAT_TYPE_INFO, "<Biolog> Misiune indisponibilă.");
		}
	}
Imagine

Caută funcția:

Cod: Selectaţi tot

ch->SetBiologState("biolog_lv94.used_window", 1);
Adaugă sub:

Cod: Selectaţi tot

ch->SetBiologState("biolog_lv94.reward", 1);
Sub întreaga structură a funcției if, adaugă:

Cod: Selectaţi tot

	if (pSelectReward[1] != 0 && ch->GetBiologState(pTableStringGlobal[3][9]) == 1)
	{
		if (!strcmp(iReward, "94_reward_1") && pSelectReward[0] != 0){
			return ch->ChatPacket(CHAT_TYPE_INFO, "<Biolog> Teapa, dc incerci buguri?.");
		}
		if (!strcmp(iReward, "94_reward_2") && pSelectReward[0] != 0){
			return ch->ChatPacket(CHAT_TYPE_INFO, "<Biolog> Teapa, dc incerci buguri?.");
		}
		if (!strcmp(iReward, "94_reward_3") && pSelectReward[0] != 0){
			return ch->ChatPacket(CHAT_TYPE_INFO, "<Biolog> Teapa, dc incerci buguri?.");
		}
	}
Imagine
Imagine

Hosting Metin2 by OVINETWORK.RO

Trebuie să lași un mesaj pentru a vedea linkul.

This topic has 6 replies.


Scrie răspuns