Jump to content

TryHard

Inactive Member
  • Posts

    11
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by TryHard

  1. Hello guys , I need help to solve a bug in split inventory 
    when upgrade inventory is full , and I exchange with some one  and take upgrade item , its doesn't say ( no space )
    its say exchange done , other player will take my items and I don't receive his item cause upgrade inv. is full
    how can I fix it ?

    if you don't understand me , my problem is the same with this (look to link) but in split inv. , I try to edit CheckSpace part but its still same bug 😕 


     

  2. 4 hours ago, DemOnJR said:

    Working.

    If someone have the button .sub i need it idk why the tga is not working for me, thanks.

      Hide contents

     

    spacer.png

    spacer.png

     

     



    just rename tga files , change big letters to small like that

     

    before : 

     

    RemoteShop_Button_01.tga

     

    after :

     

    remoteshop_button_01.tga

     

    ( do that to all tga )

  3. Hello guys ,,, 

     

    I make an item , when I use it , I can open NPC shop :

    			when 71000.use begin
                                setskin(NOWINDOW)
                                npc.open_shop(9001)

     

    but shop doesn't open , its open only when I'm close to NPC
     

    this is NPC open shop function in source , I try to edit but It doesn't work

    	ALUA(npc_open_shop)
    	{
    		int iShopVnum = 0;
    
    		if (lua_gettop(L) == 1)
    		{
    			if (lua_isnumber(L, 1))
    				iShopVnum = (int) lua_tonumber(L, 1);
    		}
    
    		if (CQuestManager::instance().GetCurrentNPCCharacterPtr())
    			CShopManager::instance().StartShopping(CQuestManager::instance().GetCurrentCharacterPtr(), CQuestManager::instance().GetCurrentNPCCharacterPtr(), iShopVnum);
    		return 0;
    	}


    any one know how I can solve it ?

    I try to edit npc_vnum in shop table but it doesn't work too

     



     

  4. please check when compile server src if you have this warning (its happen when I add this system and I have marty src )
     

    shop.cpp: In member function 'virtual bool CShop::AddGuest(LPCHARACTER, DWORD, bool)':
    shop.cpp:527:33: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'TPacketGCShopStart' {aka 'struct packet_shop_start'}; use assignment or value-initialization instead [-Wclass-memaccess]
      memset(&pack2, 0, sizeof(pack2));
                                     ^
    In file included from packet_info.h:4,
                     from input.h:4,
                     from desc.h:5,
                     from shop.cpp:7:
    packet.h:1376:16: note: 'TPacketGCShopStart' {aka 'struct packet_shop_start'} declared here
     typedef struct packet_shop_start
                    ^~~~~~~~~~~~~~~~~


     

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