Jump to content
  • 0

Infinite item


Noob1337

Question

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0
  • Contributor

Char_item.cpp

71084:

Spoiler

Look for:

								case USE_CHANGE_ATTRIBUTE :
									if (item2->GetAttributeSetIndex() == -1)
									{
										ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 변경할 수 없는 아이템입니다."));
										return false;
									}

Scroll down to this case's bottom and you'll find this:

item->SetCount(item->GetCount() - 1);

Remove it, or If you have multiple changer and want only 71084 to be infinite then do this:

if (item->GetID() != 71084)
{
	item->SetCount(item->GetCount() - 1);
}

 

71085:

Spoiler

Look for:

								case USE_ADD_ATTRIBUTE :
									if (item2->GetAttributeSetIndex() == -1)
									{
										ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 변경할 수 없는 아이템입니다."));
										return false;
									}

Scroll down to this case's bottom (It's a few line higher then bottom this time) and you'll find this:

item->SetCount(item->GetCount() - 1);

Remove it, or If you have multiple adder and want only 71085 to be infinite then do this:

if (item->GetID() != 71085)
{
	item->SetCount(item->GetCount() - 1);
}

 

I recommend that you learn a little programming basic , because minor modifications like this do not require serious knowledge.

Edited by TMP4
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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.