DarkMaster 3 Posted October 5, 2018 Eu preciso de ajuda o pergaminho do aprimoramento está infinito e eu quero tirar alguém pode ajudar? Alguém pode dar uma força ? Share this post Link to post Share on other sites
0 Karbust 1,143 Posted October 6, 2018 source game/char_item.cpp -> procuras pelos ID's (ou pelo subtype, não sei os nomes brasileiros) 6/7 procuras pelos ID's dos itens, 1/4 pelos subtypes... 1 DarkMaster reacted to this Share this post Link to post Share on other sites
0 DarkMaster 3 Posted October 6, 2018 1 hora atrás, Karbust™ # PT disse: source game/char_item.cpp -> procuras pelos ID's (ou pelo subtype, não sei os nomes brasileiros) 6/7 procuras pelos ID's dos itens, 1/4 pelos subtypes... Obrigado irei tentar ! Share this post Link to post Share on other sites
0 hades1997 32 Posted October 6, 2018 case 71051 : { LPITEM item2; if (!IsValidItemPosition(DestCell) || !(item2 = GetInventoryItem(wDestCell))) return false; if (ITEM_COSTUME == item2->GetType()) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 변경할 수 없는 아이템입니다.")); return false; } if (item2->IsExchanging() || item2->IsEquipped()) 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 : { LPITEM item2; if (!IsValidItemPosition(DestCell) || !(item2 = GetItem(DestCell))) return false; Hades if (ITEM_COSTUME == item2->GetType()) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 변경할 수 없는 아이템입니다.")); return false; } if (item2->IsExchanging() || item2->IsEquipped()) 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; Share this post Link to post Share on other sites
0 DarkMaster 3 Posted October 7, 2018 21 horas atrás, hades1997 disse: case 71051 : { LPITEM item2; if (!IsValidItemPosition(DestCell) || !(item2 = GetInventoryItem(wDestCell))) return false; if (ITEM_COSTUME == item2->GetType()) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 변경할 수 없는 아이템입니다.")); return false; } if (item2->IsExchanging() || item2->IsEquipped()) 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 : { LPITEM item2; if (!IsValidItemPosition(DestCell) || !(item2 = GetItem(DestCell))) return false; Hades if (ITEM_COSTUME == item2->GetType()) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 변경할 수 없는 아이템입니다.")); return false; } if (item2->IsExchanging() || item2->IsEquipped()) 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; Onde muda isso ? Share this post Link to post Share on other sites
0 Karbust 1,143 Posted October 7, 2018 Em 06/10/2018 at 01:43, Karbust™ # PT disse: source game/char_item.cpp -> procuras pelos ID's (ou pelo subtype, não sei os nomes brasileiros) 6/7 procuras pelos ID's dos itens, 1/4 pelos subtypes... Share this post Link to post Share on other sites
0 DarkMaster 3 Posted October 7, 2018 12 horas atrás, Karbust™ # PT disse: Pode me ajudar a encontrar se não for pedir muito. please Share this post Link to post Share on other sites
0 Karbust 1,143 Posted October 7, 2018 Em 06/10/2018 at 01:43, Karbust™ # PT disse: source game/char_item.cpp -> procuras pelos ID's (ou pelo subtype, não sei os nomes brasileiros) 6/7 procuras pelos ID's dos itens, 1/4 pelos subtypes... Tu já leste o que disse? É na source do game, tipo, se não sabes como encontrar, então não vale a pena usares a source (se é que a usas)... Share this post Link to post Share on other sites
0 DarkMaster 3 Posted October 8, 2018 sim. Porem não sei o que source. provavelmente não uso ! sou novato nos metins. mas agradeço a ajuda! vou atras de aprender ! tem alguma relação com VS ? Share this post Link to post Share on other sites
0 Karbust 1,143 Posted October 8, 2018 3 horas atrás, DarkMaster disse: sim. Porem não sei o que source. provavelmente não uso ! sou novato nos metins. mas agradeço a ajuda! vou atras de aprender ! tem alguma relação com VS ? A source do cliente é para o visual studio, a do game compilas no FreeBSD... Share this post Link to post Share on other sites
0 DarkMaster 3 Posted October 9, 2018 18 horas atrás, Karbust™ # PT disse: A source do cliente é para o visual studio, a do game compilas no FreeBSD... Obrigado Karbust Share this post Link to post Share on other sites
Eu preciso de ajuda o pergaminho do aprimoramento está infinito e eu quero tirar alguém pode ajudar?
Alguém pode dar uma força ?
Share this post
Link to post
Share on other sites