-
Posts
15 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by ilgryu
-
-
If you are using .txt -> item_name.txt from host if ur using .sql then you have item_proto in client
Example:
VNUM LOCALE_NAME
1 LuNa
2 English Version
10 Sword+0- 1
-
can u please post mob_proto here? thanks
-
https://metin2.download/picture/I3bQPJGgZkZbIkc6V7EBQepqeifNrxV3/.png I have this weird Color to every single quest... (And also login) do u guys know from where it can be? i check the quest nothing special with it its in all the quests not just this.
And also if u have the background quest (The imagine for background quest)
-
#Solve
switch (item->GetVnum()) { case 71051 : // Add 6/7 { LPITEM item2; if (!IsValidItemPosition(DestCell) || !(item2 = GetInventoryItem(wDestCell))) return false; if (item2->IsExchanging() == true) return false; if (item2->IsEquipped()) { ChatPacket(CHAT_TYPE_INFO, "You cannot Change Equipped BNS"); return false; } if (item2->GetType() == ITEM_COSTUME) return false; if (item2->AddRareAttribute() == true) { ChatPacket(CHAT_TYPE_INFO, "Change Succesfull!"); int iAddedIdx = item2->GetRareAttrCount() + 4; char buf[21]; snprintf(buf, sizeof(buf), "%u", item2->GetID()); item->SetCount(item->GetCount() - 1); } else { ChatPacket(CHAT_TYPE_INFO, "You cannot change more bns"); } return true; } break; case 71052 : // Change 6/7 { LPITEM item2; if (!IsValidItemPosition(DestCell) || !(item2 = GetItem(DestCell))) return false; if (item2->IsExchanging() == true) return false; if (item2->IsEquipped()) { ChatPacket(CHAT_TYPE_INFO, "You cannot Change Equipped BNS"); return false; } if (item2->GetType() == ITEM_COSTUME) return false; if (item2->ChangeRareAttribute() == true) { ChatPacket(CHAT_TYPE_INFO, "Change SuccesFull"); char buf[21]; snprintf(buf, sizeof(buf), "%u", item2->GetID()); item->SetCount(item->GetCount() - 1); } else { ChatPacket(CHAT_TYPE_INFO, "You cannot change more bns"); } return true; } break; }
this is what i come with and also i put in txt instead of USE_SPECIAL i put USE_ADD_ATTRIBUTE on both. You can close this topic thanks!
-
Cand u show us ur item_proto and item_name ? I would like to see the lines you try to modify , or what you want to add .
-
i have the same problem i did not fix it yet aswell maby for you its gonna work if u just put this code in
Quotecase 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; -
Hi there , i have a problem with 6/7 i try to add them in char_item.cpp
case 71051 : // Add 6/7 { LPITEM item2; if (!IsValidItemPosition(DestCell) || !(item2 = GetInventoryItem(wDestCell))) return false; if (item2->IsExchanging() == true) return false; if (item2->IsEquipped()) { ChatPacket(CHAT_TYPE_INFO, "You cannot Change Equipped BNS"); return false; } if (item2->AddRareAttribute() == true) { ChatPacket(CHAT_TYPE_INFO, "Change Succesfull!"); int iAddedIdx = item2->GetRareAttrCount() + 4; char buf[21]; snprintf(buf, sizeof(buf), "%u", item2->GetID()); item->SetCount(item->GetCount() - 1); } else { ChatPacket(CHAT_TYPE_INFO, "You cannot change more bns"); } } break; case 71052 : // Change 6/7 { LPITEM item2; if (!IsValidItemPosition(DestCell) || !(item2 = GetItem(DestCell))) return false; if (item2->IsExchanging() == true) return false; if (item2->IsEquipped()) { ChatPacket(CHAT_TYPE_INFO, "You cannot Change Equipped BNS"); return false; } if (item2->ChangeRareAttribute() == true) { ChatPacket(CHAT_TYPE_INFO, "Change SuccesFull"); char buf[21]; snprintf(buf, sizeof(buf), "%u", item2->GetID()); item->SetCount(item->GetCount() - 1); } else { ChatPacket(CHAT_TYPE_INFO, "You cannot change more bns"); } } break;
i added in char_item.cpp i use . USE_SPECIAL witch is in my Protoreader.cpp but dose not work at all any help?
this is the item_proto.txt (i use txt not sql)
71051 재경비서 ITEM_USE USE_ADD_ATTRIBUTE2 1 DROP | SELL | GIVE | MYSHOP ITEM_STACKABLE | LOG NONE NONE 100000 150000 0 0 0 LIMIT_NONE 0 LIMIT_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 0 0 0 0 0 0 0 0 0 71052 재가비서 ITEM_USE USE_CHANGE_ATTRIBUTE2 1 DROP | SELL | GIVE | MYSHOP ITEM_STACKABLE | LOG NONE NONE 100000 100000 0 0 0 LIMIT_NONE 0 LIMIT_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 0 0 0 0 0 0 0 0 0
Thanks!
-
2 hours ago, Gurgarath said:
Can you please give me the answer so that you won't get a warning?
Yes , It was because of my source was corupt before compiling so i was need to take the normal one non modify and put it back.
And also set latina_1 in navicat to work restart and that is it.
- 1
-
On 2/22/2020 at 6:51 PM, ilovegreendays said:
Thx, but i want to know why my code didnt work
ah Yes u make a lots of mistake but i can show u what Follow this!
So take ur original introempire.py (with 3 kingdoms)
and search for
net.EMPIRE_B : uiScriptLocale.EMPIREDESC_B,
and delet it
after this search for
self.empireAreaCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 }
and delete: net.EMPIRE_B:0.0,
search for
self.empireArea[net.EMPIRE_B] = GetObject("EmpireArea_B"
and delete it
Search for the line
def ClickLeftButton(self):
self.empireID-=1
if self.empireID<1:
self.empireID=3and instead of self.empireID=3 Put 2 (The number)
Search for the line
self.OnSelectEmpire(self.empireID)
def ClickRightButton(self):
self.empireID+=1
if self.empireID>3:
self.empireID=1and againe instead of if self.empireid>3: put 2 (the same like before)
And the last search for :
self.empireID=app.GetRandom(1, 3) And instead of 3 put 2
self.empireID=app.GetRandom(1, 2) Should look like this
After u done this u have the problem with selecting no?
Go to -> selectempirewindow.py and search for this -> "name" : "EmpireFlag_B" <- and delete it.
Go to -> uiscript and delete the description of B - chunjoo
and i think that is it of course u need to go to the source of the game and modify there but idk yet..... i`m not that good at the Source ....
Just follow what i left here and if is something wrong let me know
-
ah yes {
"name" : "buttonboard",
"type" : "board",
"style" : ("attach",),
"x" : 0,
"y" : 50,
"width" : 50,
"height" : 261+35,##menu yukseklik
"children" :
[X for left right
Y for down up
https://pastebin.com/mCFnRpjC here is full one.
- 1
-
Can u post the inventory window.py here? use paste bin
-
i slove it can sombody just close this? ty.
-
In inventorywindow.py u have the sistem there .
like this:
go to locale_xx.epk -> locale -> xx -> uit -> inventorywindow.py
And it that folder u have the names of buttons for example
"default_image" : "d:/ymir work/ui/public/minimize_button_01.sub" ," its the img of one of the buttons on ur inventorty search there and come with a replay if u find it.
-
Hi guys i`m new at this kind of stuff i have source client/game everything the game moving good but i can not create a guild is say that i need to wait 1 day even with new character/account
Here is some sysser.
https://pastebin.com/GL0VRTGn ch1
https://pastebin.com/NPi8HYwa s_ch1
https://pastebin.com/4Zgs4QCv special_ch (ch99)
SYSERR: Mar 10 15:56:52 :: pid_init:
Start of pid: 981 (auth)SYSERR: Mar 10 15:56:50 :: pid_init:
Start of pid: 977SYSERR: Mar 10 16:03:23 :: Process: FDWATCH: peer null in event: ident 20
SYSERR: Mar 10 16:03:29 :: Process: FDWATCH: peer null in event: ident 21
SYSERR: Mar 10 16:03:33 :: Process: FDWATCH: peer null in event: ident 23 (DataBase)dose somebody knows why?
Quest and login color weird...
in Community Support - Questions & Answers
Posted
#Solve
in quest lib you have say_yellow and also every single quest i had say_yellow instead of white.... so yeah