DasKuchen
Inactive Member-
Posts
25 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by DasKuchen
-
i want to define a new refine scroll i added in char_item.cpp "NEW_REFINE_SCROLL = 7," in "enum_RefineScrolls" i also added it in "bool CHARACTER::DoRefineWithScroll" but if i want to upgrade with a scroll value0 = 7 it wont work the refine window wont popup
-
Hello guy´s we have a problem sometimes the Metin2 Client closes with the error Unknown Packet header, the problem is the Packet header dont exists in packet.h what can we do ? (we think the packet header is dynamic or something) if some can help us we are willing to pay some money Skype: epvpdaskuchen
-
Metin2 already defined a function for this i think in prototype.py or something.
-
struct FDungeonPIDCollector { std::vector <DWORD> vecPIDs; FDungeonPIDCollector() { } void operator () (LPCHARACTER ch) { vecPIDs.push_back(ch->GetPlayerID()); } }; int dungeon_get_member_pids(lua_State *L) { CQuestManager & q = CQuestManager::instance(); LPCHARACTER ch = q.GetCurrentCharacterPtr(); LPDUNGEON pDungeon = q.GetCurrentDungeon(); if (NULL == pDungeon) { return 0; } FDungeonPIDCollector f; pDungeon->ForEachMember(f); for (std::vector <DWORD>::iterator it = f.vecPIDs.begin(); it != f.vecPIDs.end(); it++) { lua_pushnumber(L, *it); } return f.vecPIDs.size(); } I just changed the party.get_member_pids function to get all members of a dungeon but dont know if it works. Would be nice if somebody can check this. Try to put this in: questlua_dungeon.cpp
-
How To Search word in all Metin2 Quests and Files
DasKuchen replied to thesvan's topic in Guides & HowTo
Is there an easy way to seach and replace? (Freebsd) For example change config options -
I seached for a function but than i saw this entry in party.h and cant believe that its so easy
-
How to fix the new slots?
DasKuchen replied to DasKuchen's topic in Community Support - Questions & Answers
I cant use a ring in these slots. -
open party.h search for: PARTY_MAX_MEMBER you will find this: enum // unit : minute { PARTY_ENOUGH_MINUTE_FOR_EXP_BONUS = 60, // ÆÄƼ °á¼º ÈÄ 60ºÐ ÈÄ ºÎÅÍ Ãß°¡ °æÇèÄ¡ º¸³Ê½º PARTY_HEAL_COOLTIME_LONG = 60, PARTY_HEAL_COOLTIME_SHORT = 30, PARTY_MAX_MEMBER = 8, PARTY_DEFAULT_RANGE = 5000, }; Just change PARTY_MAX_MEMBER = 8, 8 to whatever do you want
-
How can i fix these slots: I cant use a mount but there are 4 slots to use.
-
[Problem]Start a Server with the new Game
DasKuchen replied to DasKuchen's topic in Community Support - Questions & Answers
I allready installed mysql55 client so i cant install mysql51 and i think mysql55 is more secure. I installed devil but i get the same error. -
Error: Starte DB-Server... Shared object "libmysqlclient.so.15" not found, required by "dbcache" Starte Auth-Server... Shared object "libIL.so.2" not found, required by "game_actual" Starte Channel 1 ... Shared object "libIL.so.2" not found, required by "game_actual" Shared object "libIL.so.2" not found, required by "game_actual" Shared object "libIL.so.2" not found, required by "game_actual" Shared object "libIL.so.2" not found, required by "game_actual" Shared object "libIL.so.2" not found, required by "game_actual" Shared object "libIL.so.2" not found, required by "game_actual" Shared object "libIL.so.2" not found, required by "game_actual" Shared object "libIL.so.2" not found, required by "game_actual" Shared object "libIL.so.2" not found, required by "game_actual" Shared object "libIL.so.2" not found, required by "game_actual" Shared object "libIL.so.2" not found, required by "game_actual" Shared object "libIL.so.2" not found, required by "game_actual" Starte Channel 99... Shared object "libIL.so.2" not found, required by "game_actual" Informations: DB: 40146 Gamecore: 40250 Freebsd 9.2 64bit
-
[SEARCH]Current German Item and Mob Proto.sql
DasKuchen replied to Despero's topic in Community Support - Questions & Answers
Is there any converter to convert these .txt to .sql? -
Gold to long long [Some problems]
DasKuchen replied to Saddler's topic in Community Support - Questions & Answers
You changed GOLD_MAX = in length.h ? -
[SEARCH]Current German Item and Mob Proto.sql
DasKuchen replied to Despero's topic in Community Support - Questions & Answers
[Hidden Content] This is the offical locale_de.eix / .epk -
[SEARCH]Current German Item and Mob Proto.sql
DasKuchen replied to Despero's topic in Community Support - Questions & Answers
@Sanchez can i send locale_de.epk and eix to you ? And you convert it? (because i think the pack files where protected) -
Instead of this: // if (IsPolymorphed()) // { // DWORD dwMobVnum = GetPolymorphVnum(); // const CMob * pMob = CMobManager::instance().Get(dwMobVnum); // int iAtt = 0; // int iDef = 0; // if (pMob) // { // iAtt = GetLevel() * 2 + GetPolymorphPoint(POINT_ST) * 2; // // lev + con // iDef = GetLevel() + GetPolymorphPoint(POINT_HT) + pMob->m_table.wDef; // } // SetPoint(POINT_ATT_GRADE, iAtt); // SetPoint(POINT_DEF_GRADE, iDef); // SetPoint(POINT_MAGIC_ATT_GRADE, GetPoint(POINT_ATT_GRADE)); // SetPoint(POINT_MAGIC_DEF_GRADE, GetPoint(POINT_DEF_GRADE)); // } // else if (IsPC())You can write this: /* if (IsPolymorphed()) { DWORD dwMobVnum = GetPolymorphVnum(); const CMob * pMob = CMobManager::instance().Get(dwMobVnum); int iAtt = 0; int iDef = 0; if (pMob) { iAtt = GetLevel() * 2 + GetPolymorphPoint(POINT_ST) * 2; // lev + con iDef = GetLevel() + GetPolymorphPoint(POINT_HT) + pMob->m_table.wDef; } SetPoint(POINT_ATT_GRADE, iAtt); SetPoint(POINT_DEF_GRADE, iDef); SetPoint(POINT_MAGIC_ATT_GRADE, GetPoint(POINT_ATT_GRADE)); SetPoint(POINT_MAGIC_DEF_GRADE, GetPoint(POINT_DEF_GRADE)); } else if (IsPC()) */But thanks for sharing.
-
PHP - Logging | CreateLog | ItemIMG
DasKuchen replied to Dumik's topic in Web Development & Scripts / Systems
Here is my function to get the image of an item: function MakeItemImage($vnum) { $ItemType = mysql_result(mysql_query("SELECT type FROM player.item_proto WHERE vnum='".mysql_real_escape_string($vnum)."' LIMIT 1"),0); if ($vnum >= 11971 && $vnum <= 11974){return $vnum;} // Kingarmour fix if ($ItemType == 1 || $ItemType == 2){ $vnum = substr($vnum,0,strlen($vnum)-1); $vnum .= "0"; if (strlen($vnum) < 5){ $Differenz = (5-strlen($vnum)); $Nullen = ""; for ($i = 1; $i <= $Differenz; $i++) { $Nullen .= "0"; } $vnum = $Nullen.$vnum; } } return $vnum; } How to use: $vnum = 149; if (file_exists("is_img/".MakeItemImage($vnum).".png"){ echo '<img src="is_img/'.MakeItemImage($vnum).'.png"/>'; } else{ echo '<img src="is_img/fail.png/>"'; }