garofolo 12 Posted February 28, 2015 Share Posted February 28, 2015 ServerSideOpen "common/item_length.h" and search:ITEM_SOCKET_MAX_NUM = 3,Replace with:ITEM_SOCKET_MAX_NUM = 4,Now open "db/Cache.cpp" and search: if (isSocket) { iLen += snprintf(szColumns + iLen, sizeof(szColumns) - iLen, ", socket0, socket1, socket2"); iValueLen += snprintf(szValues + iValueLen, sizeof(szValues) - iValueLen, ", %lu, %lu, %lu", p->alSockets[0], p->alSockets[1], p->alSockets[2]); iUpdateLen += snprintf(szUpdate + iUpdateLen, sizeof(szUpdate) - iUpdateLen, ", socket0=%lu, socket1=%lu, socket2=%lu", p->alSockets[0], p->alSockets[1], p->alSockets[2]); } Replace with: if (isSocket) { iLen += snprintf(szColumns + iLen, sizeof(szColumns) - iLen, ", socket0, socket1, socket2, socket3"); iValueLen += snprintf(szValues + iValueLen, sizeof(szValues) - iValueLen, ", %lu, %lu, %lu, %lu", p->alSockets[0], p->alSockets[1], p->alSockets[2], p->alSockets[3]); iUpdateLen += snprintf(szUpdate + iUpdateLen, sizeof(szUpdate) - iUpdateLen, ", socket0=%lu, socket1=%lu, socket2=%lu, socket3=%lu", p->alSockets[0], p->alSockets[1], p->alSockets[2], p->alSockets[3]); 1 Link to comment Share on other sites More sharing options...
Premium Galet 510 Posted February 28, 2015 Premium Share Posted February 28, 2015 Thanks ! Link to comment Share on other sites More sharing options...
Krusty 32 Posted March 1, 2015 Share Posted March 1, 2015 Is this full serverside? Link to comment Share on other sites More sharing options...
Benhero 23 Posted March 1, 2015 Share Posted March 1, 2015 I think not.... Greatz Link to comment Share on other sites More sharing options...
Originale 134 Posted March 1, 2015 Share Posted March 1, 2015 add this to the source client: GameLibItemData.h change ITEM_SOCKET_MAX_NUM = 3, to ITEM_SOCKET_MAX_NUM = 4, Link to comment Share on other sites More sharing options...
Nixo 5 Posted March 20, 2015 Share Posted March 20, 2015 and in dump_proto source it's easy to change too.I knowed that 1 month ago.That same is with applytypes Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now