-
Posts
20 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by FALLEN1
-
-
Hello guys,
I'm trying to implement renewal mount system but I'm facing the following problem. I've tried to do some checks, but I can't figure out what the game's refresh function is (I suspect this is where the whole problem comes from). If you have any ideas where I could look or any hints, I would be grateful. Thanks in advance!
https://metin2.download/picture/F2sMWopulw417q8kv4YK3S8c83ohNko7/.gif -
quest change_items begin state start begin when kill or login or logout or levelup begin if pc.count_item(30132) >= 10 then pc.remove_item(30132, 10) pc.give_item2(30013) end -- if end -- when end -- state end -- quest
-
0430 19:51:21645 :: uiInventory.py(line:534) __LoadWindow InventoryWindow.LoadWindow.BindObject - <type 'exceptions.AttributeError'>:'InventoryWindow' object has no attribute 'EventProgress' 0430 19:51:21646 :: ============================================================================================================ 0430 19:51:21646 :: Abort!!!!
any ideea?
-
Hi guys,
Someone know what function is for skill slots on offcial pet system ?
I have a little problem with skills, when reach last evolution ( lv 80) unlocked 3 slots every time, and i wanna unlock random 1, 2 or 3 slots
Ty -
Hello guys
I've got a problem with adding points to berserker skill, the + sign is visible but it dosen';t add no points, do you guys have any idea where to look for the possible issue?No errors in sysser client/sv/db
-
Can anybody god me adapt this function, if the character is warrior, and has body ability P and body ability is active, return false?
bool CActorInstance::IsPushing() { return m_PhysicsObject.isBlending(); }
Thanks!
-
I solved, in packet_info.cpp i put false.
-
Hi guys, i have a problem when i create a new character on sv, i have this visual aura and another's skill's on wrong character and dew up
https://metin2.download/picture/242ESnPTljc1HQYeZwVNsb7JFcbfBlUt/.png
https://metin2.download/picture/wbxE5B9VuDEEUo1K2M4yy2FiZIon1gTT/.png
https://metin2.download/picture/CHuXOcPIcbqdvgb5KS479UL08B5tLV2d/.png
i dont anything on sysser
Some ideas pls ?
-
#BUMP
i pay for fix -
-
Hy guys, i have this problem when i try to add a new system on my source game, some1 can give me a idee or solution ? I read a lot of topics and i am out of ideas...
SYSERR: Jan 8 10:32:39 :: buffer_read_proceed: buffer_proceed: length argument bigger than buffer (length: 38, buffer: 37)
SYSERR: Jan 8 10:32:46 :: Process: UNKNOWN HEADER: 201, LAST HEADER: 0(0), REMAIN BYTES: 39, fd: 22
Ty
-
Hy guys !
I have a problem with cube renewal
So,
First i modify in cuberenewal.cpp/ cuberenewal.h on source game this function
iEmptyPos = ch->GetEmptyDragonSoulInventory(pItem
into this
iEmptyPos = ch->GetEmptyDragonSoulInventory(dwVnum, bSubType, bSize)
Bcs i cant compiled, now my server is working but when i try to crafting something is throwing me back to login,
All error i have is this
SYSERR: Jan 3 14:18:05 :: Process: UNKNOWN HEADER: 174, LAST HEADER: 0(0), REMAIN BYTES: 28, fd: 22
But in my packet.h ( binary and source) i dont have this value ( 174 )
Some ideas?
Ty :3
-
Hi guys
I try to add sasii switchbot but i when compile the launcher i get this errors
https://metin2.download/picture/cym7Z4A5at604xe8vMJNp72fqmb18CP0/.png
Well, i know is undefinited header but how i should define ?
-
Hi guys
I have a question
Where i should go to edit this ?
https://metin2.download/picture/OI7KQ13LMHLdo1q3F2QvFEJUUlvF1QRS/.png
I tried on tooltip.py but edit just on information on item ...
https://metin2.download/picture/78T6tiFH8tRgwKvZvKv45R97a0882CWC/.png
- 1
-
14 hours ago, Chief said:
Database player.item_proto for all Costume -> magic_pct set from 0 to 100.
Hm, i know that, but i want to put add when i didnt have bns, i fixed with costume and hair but still doesn't work with costume_weapon
When i put add on costume weapon, take my 76043 but didnt put or show bonus.#ifdef __COSTUME_ATTR_SYSTEM__
case USE_COSTUME_ENCHANT:
case USE_COSTUME_TRANSFORM:
{
LPITEM item2;
if (!IsValidItemPosition(DestCell) || !(item2 = GetItem(DestCell)))
return false;
if (item2->IsEquipped())
{
BuffOnAttr_RemoveBuffsFromItem(item2);
}
if (item2->IsExchanging() || item2->IsEquipped())
return false;
// if (item2->GetType() != ITEM_COSTUME)
if (item2->GetType() != ITEM_COSTUME || item2->GetSubType() == COSTUME_SASH)
{
ChatPacket(CHAT_TYPE_INFO,("Acest item nu este un costum."));
return false;
}
// if (item2->GetAttributeCount() == 0)
// {
// ChatPacket(CHAT_TYPE_INFO,("<Sistem>Pe acest costum nu poti adauga bonusuri!"));
// return false;
// }
switch (item->GetSubType())
{
case USE_COSTUME_ENCHANT:
{
int aiChangeProb[ITEM_ATTRIBUTE_MAX_LEVEL] = {100, 10, 5, 0, 0};
item2->ChangeAttribute(aiChangeProb);
ChatPacket(CHAT_TYPE_INFO,("Bonusul a fost schimbat."));
{
char buf[21];
snprintf(buf, sizeof(buf), "%u", item2->GetID());
LogManager::instance().ItemLog(this, item, "USE_COSTUME_ENCHANT", buf);
}
item->SetCount(item->GetCount() - 1);
}
break;
// case USE_COSTUME_TRANSFORM:
// {
// item2->ClearAttribute();
case USE_COSTUME_TRANSFORM:
{
if (item2->GetAttributeCount() == 4)
{
ChatPacket(CHAT_TYPE_INFO,("Nu poti adauga bonus pe acest costum."));
return false;
}
item2->ClearAttribute();
int iCostumePercent = number(1, 3);
for (int i = 0; i < iCostumePercent; ++i)
{
item2->AddAttribute();
}
int aiChangeProb[ITEM_ATTRIBUTE_MAX_LEVEL] = {100, 10, 5, 0, 0};
item2->ChangeAttribute(aiChangeProb);
ChatPacket(CHAT_TYPE_INFO,("Bonusul a fost inlocuit cu succes."));
{
char buf[21];
snprintf(buf, sizeof(buf), "%u", item2->GetID());
LogManager::instance().ItemLog(this, item, "USE_COSTUME_TRANSFORM", buf);
}
item->SetCount(item->GetCount() - 1);
}
break;
}
}
break;
#endif -
Hi
I have add/switch for costume but not for all costumes works.
What i should edit to work for all costumes?
I have added talismans, how could I make an add and change especially for them?
Ty -
Hello guys, i have this problem when i start the server,. i tried to reset pw on mysql, to change user and pw and nothing...
And i tried to give all acces on this user
PUBLIC_IP: 188.212.100.58 interface em0
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
cannot open direct sql connection to host: localhost user: mysql db: common
cannot start server while no common sql connected
HOSTNAME: channel1
Edit
I find this in sysser on database
SYSERR: Mar 12 09:02:56 :: pid_init:
Start of pid: 1174
SYSERR: Mar 12 09:02:57 :: Process: FDWATCH: peer null in event: ident 20
SYSERR: Mar 12 09:02:57 :: socket_bind: bind: Address already in use
SYSERR: Mar 12 09:02:57 :: pid_deinit:
End of pid
SYSERR: Mar 12 09:03:03 :: pid_init:
Start of pid: 1189
SYSERR: Mar 12 09:03:03 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='188.212.100.58')
SYSERR: Mar 12 09:03:03 :: socket_bind: bind: Address already in use
SYSERR: Mar 12 09:03:03 :: pid_deinit:
End of pid
SYSERR: Mar 12 09:03:08 :: pid_init:
Start of pid: 1198
SYSERR: Mar 12 09:03:13 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Lost connection to MySQL server during query
query: SELECT MAX(id) FROM item WHERE id >= 50000001 and id <= 60000000
SYSERR: Mar 12 09:03:13 :: InitializeTables: InitializeItemTable FAILED
SYSERR: Mar 12 09:03:13 :: Initialize: Table Initialize FAILED
SYSERR: Mar 12 09:03:13 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
query: SELECT COUNT(*) FROM item WHERE id >= 50000001 AND id <= 60000000
SYSERR: Mar 12 09:03:13 :: pid_deinit:
End of pid
SYSERR: Mar 12 09:03:13 :: Process: FDWATCH: peer null in event: ident 20
SYSERR: Mar 12 09:03:13 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
query: SELECT MAX(id) FROM item WHERE id >= 30000001 and id <= 40000000
SYSERR: Mar 12 09:03:13 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
query: SELECT COUNT(*) FROM item WHERE id >= 30000001 AND id <= 40000000
SYSERR: Mar 12 09:03:13 :: Process: FDWATCH: peer null in event: ident 21
SYSERR: Mar 12 09:03:18 :: pid_init:
Start of pid: 1213
SYSERR: Mar 12 09:04:59 :: DirectQuery: MySQL connection was reconnected. querying locale set
SYSERR: Mar 12 09:04:59 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='188.212.100.58')
SYSERR: Mar 12 09:04:59 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='188.212.100.58')
SYSERR: Mar 12 09:05:04 :: pid_init:
Start of pid: 1463
SYSERR: Mar 12 09:05:04 :: socket_bind: bind: Address already in use
SYSERR: Mar 12 09:05:04 :: pid_deinit:
End of pid
SYSERR: Mar 12 09:05:09 :: pid_init:
Start of pid: 1471
SYSERR: Mar 12 09:05:10 :: DirectQuery: MySQL connection was reconnected. querying locale set
SYSERR: Mar 12 09:05:10 :: Process: FDWATCH: peer null in event: ident 6
SYSERR: Mar 12 09:05:10 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='188.212.100.58')
SYSERR: Mar 12 09:05:11 :: socket_bind: bind: Address already in use
SYSERR: Mar 12 09:05:11 :: pid_deinit:
End of pid
SYSERR: Mar 12 09:05:18 :: pid_init:
Start of pid: 1477
SYSERR: Mar 12 09:05:18 :: socket_bind: bind: Address already in use
SYSERR: Mar 12 09:05:18 :: pid_deinit:
End of pid
SYSERR: Mar 12 09:05:25 :: pid_init:
Start of pid: 1483
SYSERR: Mar 12 09:05:25 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
query: SELECT MAX(id) FROM item WHERE id >= 110000001 and id <= 120000000
SYSERR: Mar 12 09:05:25 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
query: SELECT COUNT(*) FROM item WHERE id >= 110000001 AND id <= 120000000
SYSERR: Mar 12 09:05:25 :: Process: FDWATCH: peer null in event: ident 6
SYSERR: Mar 12 09:05:25 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
query: SELECT MAX(id) FROM item WHERE id >= 90000001 and id <= 100000000
SYSERR: Mar 12 09:05:25 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
query: SELECT COUNT(*) FROM item WHERE id >= 90000001 AND id <= 100000000
SYSERR: Mar 12 09:05:25 :: Process: FDWATCH: peer null in event: ident 20
SYSERR: Mar 12 09:05:30 :: socket_bind: bind: Address already in use
SYSERR: Mar 12 09:05:30 :: pid_deinit:
End of pid
SYSERR: Mar 12 09:05:30 :: DirectQuery: MySQL connection was reconnected. querying locale set
SYSERR: Mar 12 09:05:30 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='188.212.100.58')
SYSERR: Mar 12 09:05:30 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='188.212.100.58')
SYSERR: Mar 12 09:05:35 :: pid_init:
Start of pid: 1504
SYSERR: Mar 12 09:05:35 :: socket_bind: bind: Address already in use
SYSERR: Mar 12 09:05:35 :: pid_deinit:
End of pid
SYSERR: Mar 12 09:05:41 :: pid_init:
Start of pid: 1509
SYSERR: Mar 12 09:05:41 :: DirectQuery: MySQL connection was reconnected. querying locale set
SYSERR: Mar 12 09:05:41 :: Process: FDWATCH: peer null in event: ident 20
SYSERR: Mar 12 09:05:41 :: socket_bind: bind: Address already in use
SYSERR: Mar 12 09:05:41 :: pid_deinit:
End of pid
SYSERR: Mar 12 09:05:41 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='188.212.100.58')
SYSERR: Mar 12 09:05:46 :: pid_init:
Start of pid: 1517
SYSERR: Mar 12 09:05:47 :: socket_bind: bind: Address already in use
SYSERR: Mar 12 09:05:47 :: pid_deinit:
End of pid
SYSERR: Mar 12 09:05:55 :: pid_init:
Start of pid: 1523
SYSERR: Mar 12 09:05:55 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
query: SELECT MAX(id) FROM item WHERE id >= 130000001 and id <= 140000000
SYSERR: Mar 12 09:05:55 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
query: SELECT COUNT(*) FROM item WHERE id >= 130000001 AND id <= 140000000
SYSERR: Mar 12 09:05:55 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
query: SELECT MAX(id) FROM item WHERE id >= 170000001 and id <= 180000000
SYSERR: Mar 12 09:05:55 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
query: SELECT COUNT(*) FROM item WHERE id >= 170000001 AND id <= 180000000
SYSERR: Mar 12 09:05:55 :: Process: FDWATCH: peer null in event: ident 6
SYSERR: Mar 12 09:05:55 :: Process: FDWATCH: peer null in event: ident 20
SYSERR: Mar 12 09:06:00 :: socket_bind: bind: Address already in use
SYSERR: Mar 12 09:06:00 :: pid_deinit:
End of pid
SYSERR: Mar 12 09:06:00 :: DirectQuery: MySQL connection was reconnected. querying locale set
SYSERR: Mar 12 09:06:00 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='188.212.100.58')
SYSERR: Mar 12 09:06:00 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='188.212.100.58')
SYSERR: Mar 12 09:06:05 :: pid_init:
Start of pid: 1541
SYSERR: Mar 12 09:06:05 :: socket_bind: bind: Address already in use
SYSERR: Mar 12 09:06:05 :: pid_deinit:
End of pid
SYSERR: Mar 12 09:06:12 :: pid_init:
Start of pid: 1549
SYSERR: Mar 12 09:06:13 :: socket_bind: bind: Address already in use
SYSERR: Mar 12 09:06:13 :: pid_deinit:
End of pid
SYSERR: Mar 12 09:06:23 :: pid_init:
Start of pid: 1553
SYSERR: Mar 12 09:06:29 :: pid_init:
Start of pid: 1568
SYSERR: Mar 12 09:06:29 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='188.212.100.58')
SYSERR: Mar 12 09:06:29 :: socket_bind: bind: Address already in use
SYSERR: Mar 12 09:06:29 :: pid_deinit:
End of pid
SYSERR: Mar 12 09:06:32 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='188.212.100.58')
SYSERR: Mar 12 09:06:35 :: pid_init:
Start of pid: 1575
SYSERR: Mar 12 09:06:35 :: Process: FDWATCH: peer null in event: ident 20
SYSERR: Mar 12 09:06:36 :: __GetAdminInfo: __GetAdminInfo() ==> DirectQuery failed(SELECT mID,mAccount,mName,mContactIP,mServerIP,mAuthority FROM gmlist WHERE mServerIP='ALL' or mServerIP='188.212.100.58')
SYSERR: Mar 12 09:06:36 :: socket_bind: bind: Address already in use
SYSERR: Mar 12 09:06:36 :: pid_deinit:
End of pid
SYSERR: Mar 12 09:06:41 :: pid_init:
Start of pid: 1579
SYSERR: Mar 12 09:06:43 :: socket_bind: bind: Address already in use
SYSERR: Mar 12 09:06:43 :: pid_deinit:
End of pidThanks
- 1
ShopEx Buffer Overflow Fix
in Bug Fixes
Posted
What did you mean with
TEMP_BUFFER buf(16 * 1024);? I mean, why 16 * 1024?
And in this case:
char temp[8096 * SHOP_TAB_COUNT_MAX];
I should put 16 * 1024 or should increase?