Jump to content

123fbalp123fb

Inactive Member
  • Posts

    35
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by 123fbalp123fb

  1. 42 minutes ago, Kraaz said:

    Maybe you have forgot an #endif 

    #if defined(__PRIVATE_SHOP_SEARCH_NEED_ITEM__) && !defined(__NEW_PRIVATE_SHOP_SEARCH_SYSTEM__)
    		ch->ChatPacket(CHAT_TYPE_COMMAND, "ShopSearchBuy");
    #if defined(__NEW_PRIVATE_SHOP_SEARCH_SYSTEM__)
    		ch->ChatPacket(CHAT_TYPE_COMMAND, "NewShopSearchBuy %d", shopPos);
    #endif
    
    changeeeeeeeeee
    	
    #if defined(__PRIVATE_SHOP_SEARCH_NEED_ITEM__) && !defined(__NEW_PRIVATE_SHOP_SEARCH_SYSTEM__)
    		ch->ChatPacket(CHAT_TYPE_COMMAND, "ShopSearchBuy");
    #elseif defined(__NEW_PRIVATE_SHOP_SEARCH_SYSTEM__)
    		ch->ChatPacket(CHAT_TYPE_COMMAND, "NewShopSearchBuy %d", shopPos);
    #endif
    

     

    Problem Gone ?

    • Good 1
  2. spacer.png

     

    spacer.png

     

    	ch->SetOfflineShopOwner(pkChrShop);
    	pkShop->SetGuestMap(ch);
    	int32_t returnHeader = pkShop->Buy(ch, shopItemPos, item_id, item_price);
    
    	if (SHOP_SUBHEADER_GC_OK == returnHeader)
    	{
    #if defined(__PRIVATE_SHOP_SEARCH_NEED_ITEM__) && !defined(__NEW_PRIVATE_SHOP_SEARCH_SYSTEM__)
    		ch->ChatPacket(CHAT_TYPE_COMMAND, "ShopSearchBuy");
    #if defined(__NEW_PRIVATE_SHOP_SEARCH_SYSTEM__)
    		ch->ChatPacket(CHAT_TYPE_COMMAND, "NewShopSearchBuy %d", shopPos);
    #endif
    		ch->SetOfflineShop(NULL);
    		ch->SetOfflineShopOwner(NULL);
    		pkShop->RemoveGuestMap(ch);
    	}
    	else
    	{
    #if defined(__PRIVATE_SHOP_SEARCH_NEED_ITEM__) && !defined(__NEW_PRIVATE_SHOP_SEARCH_SYSTEM__)
    		ch->ChatPacket(CHAT_TYPE_COMMAND, "ShopSearchError %d", returnHeader);
    #if defined(__NEW_PRIVATE_SHOP_SEARCH_SYSTEM__)
    		ch->ChatPacket(CHAT_TYPE_COMMAND, "NewShopBuyError %d", returnHeader);
    		if (returnHeader == SHOP_SUBHEADER_GC_SOLD_OUT)
    			ch->ChatPacket(CHAT_TYPE_COMMAND, "NewShopSearchBuy %d", shopPos);
    		else if (returnHeader == SHOP_SUBHEADER_GC_REMOVED_FROM_SHOP)
    			ch->ChatPacket(CHAT_TYPE_COMMAND, "NewShopSearchRemoved %d", shopPos);
    		else if (returnHeader == SHOP_SUBHEADER_GC_PRICE_CHANGED) {
    			long long newPrice = pkShop->GetOfflineShopItemPrice(shopItemPos);
    			ch->ChatPacket(CHAT_TYPE_COMMAND, "NewShopSearchPriceChanged %d %lld", shopPos, newPrice);
    		}
    #endif
    		ch->SetOfflineShop(NULL);
    		ch->SetOfflineShopOwner(NULL);
    		pkShop->RemoveGuestMap(ch);
    	}
    }
    #endif

     

  3. I added a system and made changes in char_battle.cpp but not in these lines. I compare these lines with my "clean files", it's the same. I am comparing with other server files, they are the same as lines 1-1. I didn't make any changes in "CQuestManager", why did it give this error?

     

    spacer.png

  4. Thanks for sharing. I have tried to add many times for wing animations but I always get an error. I couldn't do it. Is there anyone who can do it if I give my clean files? (scale sash added)

     

    clean source codes required;

    This is the hidden content, please

    This is the hidden content, please

    ===============================================================

     

    Errors I get while adding;

    spacer.png

    spacer.png

    @ Tatsumaru @ B4RC0D3

    • Metin2 Dev 8
    • Think 1
    • Good 2
    • Love 1
    • Love 3
  5. 57 minutes ago, ASIKOO said:

    Yes, it's me.

    You can write in your native language, however you must also translate your message into English. I'm French, I understand English and French. I can neither read nor write Turkish.

    Don't worry... But, the goal is that the forum can be understood by everyone ?

    Let's say I understand Turkish and French, but I cannot understand and write English. What will happen now? There should be no such rules in a place with a website. You're answering like I'm cursing. Translations are available everywhere. Posting in English, French or Arabic in any Turkish forum is OK and not Prohibited. I'm having trouble understanding this forum ?‍♂️

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