Jump to content

DonEow

Member
  • Posts

    4
  • Joined

  • Last visited

  • Feedback

    0%

DonEow's Achievements

Contributor

Contributor (5/16)

  • Dedicated
  • Reacting Well
  • One Year In
  • First Post
  • Conversation Starter

Recent Badges

0

Reputation

  1. I've changed it but it doesn't work. I've linked the code on the change attribute for vnum 71151. I've tried everything I can from my knowledge. Is there anything on here that looks odd to u that I need to change? And how would u change it if (item->GetVnum() == 71151 || item->GetVnum() == 76023) { if ((item2->GetType() == ITEM_WEAPON) || (item2->GetType() == ITEM_ARMOR && item2->GetSubType() == ARMOR_BODY)) { bool bCanUse = true; for (int i = 0; i < ITEM_LIMIT_MAX_NUM; ++i) { if (item2->GetLimitType(i) == LIMIT_LEVEL && item2->GetLimitValue(i) > 40) { bCanUse = false; break; } } if (false == bCanUse) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("���� �������� ���� ����� �Ұ����մϴ�.")); break; } } else { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("����� ���ʿ��� ��� �����մϴ�.")); break; } } item2->ChangeAttribute(); } ChatPacket(CHAT_TYPE_INFO, LC_TEXT("�Ӽ��� �����Ͽ����ϴ�.")); { char buf[21]; snprintf(buf, sizeof(buf), "%u", item2->GetID()); LogManager::instance().ItemLog(this, item, "CHANGE_ATTRIBUTE", buf); } item->SetCount(item->GetCount() - 1);
  2. Hey. I've searched the site for removing the permanent switchers/adders. From the guides to make an item permanent, they say I need to edit this if (!g_bUnlimitedAddAttributes) item->SetCount(item->GetCount() - 1); break; How do I edit this in char_item to make them lose 1 when used? Do I just delete the column, or? Appreciate all help ?
  3. I have made my own server that me and my friends will be playing on. But how do I share my client with friends so they connect to my game? I have port forwarded and added the public ip to the client but it still doesnt work. It's 40k serverfiles
  4. Version of Files : XXX My brother and I made a server that works fine for now. Our problem is that we dont know how to make accounts for Our server (server haven't been published) Anyone who can make a tutorial for us? Thx beforehand.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.