-
Posts
161 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by AlexxD
-
Python part I think
-
1102 14:30:01894 :: uiTaskBar.py: inconsistent use of tabs and spaces in indentation 1102 14:30:01958 :: uiDragonSoul.py: inconsistent use of tabs and spaces in indentation 1102 14:30:02020 :: uiSystem.py: inconsistent use of tabs and spaces in indentation 1102 14:30:02080 :: uiQuest.py: inconsistent use of tabs and spaces in indentation RO: Asta imi da de gandit, rescrie partea Python si spune-mi daca ai rezolvat ceva. EN: At python part I'm thinkin' that you've mistake something, check it out again.
-
You have COSTUME_MOUNT subtype at any of your items?
-
If you have COSTUME_MOUNT enabled, put in gametype.h, this: const DWORD c_New_Equipment_Start = c_Equipment_Start + 22; like this: const DWORD c_New_Equipment_Start = c_Equipment_Start + 23; And let me explain you why. You have start index at costume system 19. Costume body = slot 19, costume hair 20. After, belt/ring system starts at index 21, but if you add shoulders + mount at costume system, 19 + 4 = 23. So, belt system start index will be 23 from now, untill you'll add some new slots to costume system. I hope that you'll learn C++ very soon.
-
Metin2 Files + Client with(out) source
AlexxD replied to Myth's topic in Paid Support / Searching / Recruiting
Right there, https://www.virustotal.com/tr/file/9cf344c9aaa03ca70a8db08cc8edb976ffef39397f0a85c4c414651bef933a57/analysis/1445373402/ and add game files; https://www.virustotal.com/tr/file/5cb5fbe17ebc708726fba06381090312d205fa97795f0767860a171887f3ca3b/analysis/1445373729/ Sorry for that. Game seems to be good, mysql is virused.. I'll fix that in 2 minutes for you. There you go: MYSQL VIRUSTOTAL -
Metin2 Files + Client with(out) source
AlexxD replied to Myth's topic in Paid Support / Searching / Recruiting
You know that there's a big GOOGLE site? Ah, I've forgot, it's too hard, or you're new in this domain. :3 Here you are, mega links: GAME MYSQL - I don't have data for this, you can reset password with VirtualBox, Putty, etc. CLIENT These are from 28.07.2014, in romanian language. I don't have source, for these.. if you don't search that, you can tell me, and I'll remove that. -
Hi folks, today I came here with a problem.. Yesterday I deleted all Wolfman/Lycan files from my client/source/serverfiles, and I have a little problem.. Now, when I login, everytime I need to select my empire, and after I press 'Choose', I see my characters in the new empire.. :/ Is there somebody who knows why? [Hidden Content]
-
You can put REAL_TIME limit in item_proto.txt, man, if you're saying that.. Yes but in client dosen't see this time You can put it in item_proto client too, I just say.. Items with type 33 doesn`t have a time. You can put REAL_TIME limit in item_proto.txt, man, if you're saying that.. Yes but in client dosen't see this time You can put it in item_proto client too, I just say.. I have in item_proto good real time but items with type 33 dosen't see time. With type 16 time is good ;] Hmm, maybe in uitooltip.py you need to find ITEM_TYPE_UNIQUE or something like that, and make a line with ITEM_TYPE_RING.
-
You can put REAL_TIME limit in item_proto.txt, man, if you're saying that.. Yes but in client dosen't see this time You can put it in item_proto client too, I just say..
-
You can put REAL_TIME limit in item_proto.txt, man, if you're saying that..
-
What are you saying?
-
That's right too
-
Hi devs, I saw some topics with 'How to block two same items with type 33?' and I said that I can help everyone to resolv that (if you put special rings with type 33) 1. Go to your source(game) and open char_item.cpp 2. Find: if (item->GetWearFlag() & WEARABLE_UNIQUE) 3. Put this code after if (item->GetType() & ITEM_RING) { if ((GetWear(WEAR_RING1) && GetWear(WEAR_RING1)->IsSameSpecialGroup(item)) || (GetWear(WEAR_RING2) && GetWear(WEAR_RING2)->IsSameSpecialGroup(item))) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can't put two same items in the same time.")); return false; } }
-
Block 2 items with type 33
AlexxD replied to JarajTo's topic in Community Support - Questions & Answers
1. Open char_item.cpp and after if (item->GetWearFlag() & WEARABLE_UNIQUE) { if ((GetWear(WEAR_UNIQUE1) && GetWear(WEAR_UNIQUE1)->IsSameSpecialGroup(item)) || (GetWear(WEAR_UNIQUE2) && GetWear(WEAR_UNIQUE2)->IsSameSpecialGroup(item))) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("같은 종류의 유니크 아이템 두 개를 동시에 장착할 수 없습니다.")); return false; } if (marriage::CManager::instance().IsMarriageUniqueItem(item->GetVnum()) && !marriage::CManager::instance().IsMarried(GetPlayerID())) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("결혼하지 않은 상태에서 예물을 착용할 수 없습니다.")); return false; } } put this: if (item->GetType() & ITEM_RING) { if ((GetWear(WEAR_RING1) && GetWear(WEAR_RING1)->IsSameSpecialGroup(item)) || (GetWear(WEAR_RING2) && GetWear(WEAR_RING2)->IsSameSpecialGroup(item))) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can't put two same items in the same time.")); return false; } } Try it. -
then in AbstractPlayer.h you need to find GetStatus(DWORD dwType) = 0; then replace with virtual long long GetStatus(DWORD dwType) = 0; then in PythonPlayer.cpp you need to replace int CPythonPlayer::GetStatus(DWORD dwType) with long long CPythonPlayer::GetStatus(DWORD dwType) after that in PythonPlayerModule.cpp put that: PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { long long gold = CPythonPlayer::Instance().GetStatus(POINT_GOLD); return Py_BuildValue("K", gold); } that's not the full tutorial, but it's ok.
-
do you have python27?
-
PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return Py_BuildValue("K", CPythonPlayer::Instance().GetStatus(POINT_GOLD)); } Use K value if you have python27.
-
In char.h you need to find CHARACTER::GetAllowedGold() and it have INT value. change with long long
-
syserr?
-
Hi devs, a few days ago I started modifying gold max from int value which is 2.147kkk to long long/unsigned long long value whick is 922kkkkk and to put limit from config to 20-30kkk.. When I login to client, the gold is good, like this: [Hidden Content] But when I buy or drop yang: [Hidden Content] The question is, where I need to modify in binary/game to refresh status good? Thanks
-
Well done my friends. I resolved my problem. Thank you guys for your replies, that was from uiTooltip.py but not in real_time function.. At item.TYPE_USE i put "ITEM_TYPE_USE or ITEM_TYPE_COSTUME == something" and from there was the problem. Again, thanks.
-
Show me char_item.cpp, or give me it, and then I'll fix it.
-
Tell me more about this 'safebox' in arena pvp. :/
-
1.Decrypt root 2.In interfacemodule.py 3.Search def ToggleInventoryWindow(self): 4.There need to be your problem.