Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

6-7 Bon


Rekomendowane odpowiedzi

Opublikowano

Siemka, mam problem z 6-7 bonusem dodałem na serwer i do clienta wszystko git ale jak nakładam go na np zbroje to bon sie nie dodaje...

 

d09c0ccf76c1690071245a92a334f749.gif

 

Zapytania

71051	Ĺš¤Ŕç°ˇşńĽ­	6-7 Bon	3	10	0	1	33152	24576	0		50000000	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	-1	-1	-1	-1	-1	0	0	0


71052	Ĺš¤Ŕç°ćşńĽ­	Zmiana 6-7 Bonu	3	10	0	1	33152	24576	0		15000000	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	-1	-1	-1	-1	-1	0	0	0

Wykonam strony internetowe dla serwerów TeamSpeak3 i Firm.

 

Więcej informacji pw/gg 52020431

Opublikowano

<Item vnum="71051" name="'ňء¤Ŕç°ˇşńĽ­'" gb2312name="Magiczny Przedmiot" type="3" subtype="10" weight="0" size="1" antiflag="33152" flag="24576" wearflag="0" immuneflag="0" gold="0" buy_price="0" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
    <Item vnum="71052" name="'ňء¤Ŕç°ćşńĽ­'" gb2312name="Ulepszony Przedmiot" type="3" subtype="10" weight="0" size="1" antiflag="33152" flag="24576" wearflag="0" immuneflag="0" gold="0" buy_price="0" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
    

 

 

 

serwerowe item_proto na dodanie i zmiankę 6/7....

 

INSERT INTO `item_proto` VALUES ('71051', 0xF2D8A1A4C0E7B0A1BAF1BCAD202020202020202020202020, 0x362D3720426F6E, '3', '10', '0', '1', '0', '24576', '0', '', '1000000', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', '-1', '-1', '-1', '-1', '-1', '0', '0', '0');
INSERT INTO `item_proto` VALUES ('71052', 0xF2D8A1A4C0E7B0E6BAF1BCAD202020202020202020202020, 0x5A6D69616E6120362D3720426F6E75, '3', '10', '0', '1', '0', '24576', '0', '', '1000000', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', '-1', '-1', '-1', '-1', '-1', '0', '0', '0');

 

masz proto clientowe i ssh :) Mi na terenzo poszlo-powodzenia! :) 

Opublikowano

w char_item.cpp zmień z tego

							case 71051 : // 진재가
								{
									// 유럽, 싱가폴, 베트남 진재가 사용금지
									if (LC_IsEurope() || LC_IsSingapore() || LC_IsVietnam())
										return false;

									LPITEM item2;

									if (!IsValidItemPosition(DestCell) || !(item2 = GetInventoryItem(wDestCell)))
										return false;

									if (item2->IsExchanging() == true)
										return false;

									if (item2->GetAttributeSetIndex() == -1)
									{
										ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 변경할 수 없는 아이템입니다."));
										return false;
									}

									if (item2->AddRareAttribute() == true)
									{
										ChatPacket(CHAT_TYPE_INFO, LC_TEXT("성공적으로 속성이 추가 되었습니다"));

										int iAddedIdx = item2->GetRareAttrCount() + 4;
										char buf[21];
										snprintf(buf, sizeof(buf), "%u", item2->GetID());

										LogManager::instance().ItemLog(
												GetPlayerID(),
												item2->GetAttributeType(iAddedIdx),
												item2->GetAttributeValue(iAddedIdx),
												item->GetID(),
												"ADD_RARE_ATTR",
												buf,
												GetDesc()->GetHostName(),
												item->GetOriginalVnum());

										item->SetCount(item->GetCount() - 1);
									}
									else
									{
										ChatPacket(CHAT_TYPE_INFO, LC_TEXT("더 이상 이 아이템으로 속성을 추가할 수 없습니다"));
									}
								}
								break;

							case 71052 : // 진재경
								{
									// 유럽, 싱가폴, 베트남 진재가 사용금지
									if (LC_IsEurope() || LC_IsSingapore() || LC_IsVietnam())
										return false;

									LPITEM item2;

									if (!IsValidItemPosition(DestCell) || !(item2 = GetItem(DestCell)))
										return false;

									if (item2->IsExchanging() == true)
										return false;

									if (item2->GetAttributeSetIndex() == -1)
									{
										ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 변경할 수 없는 아이템입니다."));
										return false;
									}

									if (item2->ChangeRareAttribute() == true)
									{
										char buf[21];
										snprintf(buf, sizeof(buf), "%u", item2->GetID());
										LogManager::instance().ItemLog(this, item, "CHANGE_RARE_ATTR", buf);

										item->SetCount(item->GetCount() - 1);
									}
									else
									{
										ChatPacket(CHAT_TYPE_INFO, LC_TEXT("변경 시킬 속성이 없습니다"));
									}
								}
								break;

na to

							case 71051 : // 진재가
								{
									// 유럽, 싱가폴, 베트남 진재가 사용금지
									//if (LC_IsEurope() || LC_IsSingapore() || LC_IsVietnam())
										//return false;

									LPITEM item2;

									if (!IsValidItemPosition(DestCell) || !(item2 = GetInventoryItem(wDestCell)))
										return false;

									if (item2->IsExchanging() == true)
										return false;

									if (item2->GetAttributeSetIndex() == -1)
									{
										ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 변경할 수 없는 아이템입니다."));
										return false;
									}

									if (item2->AddRareAttribute() == true)
									{
										ChatPacket(CHAT_TYPE_INFO, LC_TEXT("성공적으로 속성이 추가 되었습니다"));

										int iAddedIdx = item2->GetRareAttrCount() + 4;
										char buf[21];
										snprintf(buf, sizeof(buf), "%u", item2->GetID());

										LogManager::instance().ItemLog(
												GetPlayerID(),
												item2->GetAttributeType(iAddedIdx),
												item2->GetAttributeValue(iAddedIdx),
												item->GetID(),
												"ADD_RARE_ATTR",
												buf,
												GetDesc()->GetHostName(),
												item->GetOriginalVnum());

										item->SetCount(item->GetCount() - 1);
									}
									else
									{
										ChatPacket(CHAT_TYPE_INFO, LC_TEXT("더 이상 이 아이템으로 속성을 추가할 수 없습니다"));
									}
								}
								break;

							case 71052 : // 진재경
								{
									// 유럽, 싱가폴, 베트남 진재가 사용금지
									//if (LC_IsEurope() || LC_IsSingapore() || LC_IsVietnam())
										//return false;

									LPITEM item2;

									if (!IsValidItemPosition(DestCell) || !(item2 = GetItem(DestCell)))
										return false;

									if (item2->IsExchanging() == true)
										return false;

									if (item2->GetAttributeSetIndex() == -1)
									{
										ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 변경할 수 없는 아이템입니다."));
										return false;
									}

									if (item2->ChangeRareAttribute() == true)
									{
										char buf[21];
										snprintf(buf, sizeof(buf), "%u", item2->GetID());
										LogManager::instance().ItemLog(this, item, "CHANGE_RARE_ATTR", buf);

										item->SetCount(item->GetCount() - 1);
									}
									else
									{
										ChatPacket(CHAT_TYPE_INFO, LC_TEXT("변경 시킬 속성이 없습니다"));
									}
								}
								break;
Opublikowano

­

 

Up nie działa... pracuje na src jbc

 

To na SRC musisz 'aktywowac' ten 6/7 bonus.

 

 

w char_item.cpp szukasz

if (LC_IsEurope() || LC_IsSingapore() || LC_IsVietnam())
    return false;
 
i zmieniasz na
 
//if (LC_IsEurope() || LC_IsSingapore() || LC_IsVietnam())
   // return false;
 
 
lub usuwasz te 2 linijki
 
Opublikowano

 

­

 

 

To na SRC musisz 'aktywowac' ten 6/7 bonus.

 

 

w char_item.cpp szukasz

if (LC_IsEurope() || LC_IsSingapore() || LC_IsVietnam())
    return false;
 
i zmieniasz na
 
//if (LC_IsEurope() || LC_IsSingapore() || LC_IsVietnam())
   // return false;
 
 
lub usuwasz te 2 linijki
 

 

nie tylko na src ale wczesniejsze wersje byly juz udostepniane z difem na to albo dif byl latwy do znalezienia.

Opublikowano

­

 

nie tylko na src ale wczesniejsze wersje byly juz udostepniane z difem na to albo dif byl latwy do znalezienia.

 

Ale przecież autor tematu napisał, że robi na src to mu dałem na src.

Opublikowano

­

 

 

Ale przecież autor tematu napisał, że robi na src to mu dałem na src.

ale ja mowie ogolnie bo moze kiedys ktos bd na innym game taki problem mial i wyszuka mu ten temat to zeby nie myślal ze tylko na src to zablokowane jest.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...