Jump to content

Recommended Posts

  • 1 month later...

hello guys, i have a problem with this system...

i can't open the tradehouse window

CHANNEL1 SYSSER:

SYSERR: Apr 21 05:59:49 :: RunState: LUA_ERROR: locale/mexico/quest/object/state/mb_igshop:1406: attempt to index local `igshop' (a nil value)
SYSERR: Apr 21 05:59:49 :: WriteRunningStateToSyserr: LUA_ERROR: quest mb_igshop.start click
SYSERR: Apr 21 06:00:03 :: RunState: LUA_ERROR: locale/mexico/quest/object/state/mb_igshop:1406: attempt to index local `igshop' (a nil value)
SYSERR: Apr 21 06:00:03 :: WriteRunningStateToSyserr: LUA_ERROR: quest mb_igshop.start click
SYSERR: Apr 21 13:18:53 :: RunState: LUA_ERROR: locale/mexico/quest/object/state/mb_igshop:1406: attempt to index local `igshop' (a nil value)
SYSERR: Apr 21 13:18:53 :: WriteRunningStateToSyserr: LUA_ERROR: quest mb_igshop.start click

 

 

please anyone help me :o3

Link to comment
https://metin2.dev/topic/8244-tradehouse/page/5/#findComment-69051
Share on other sites

  • Premium

Nice build.

BUT!

I think that the player should like/dislike this system.

WHY?

Metin2 players thoughts .. "if there are a lot markets in the plaza, this server is surely good".

I Used the action house in the past, and a loss of markets in the plaza said to the player that the server was going down.

Not true..couse the markets were in the action house but the other player cannot see them without using the action house.

In you want to focus your server market, be sure to use only 1 market method.

Action house or plaza market?

 

BTW, nice system and i've to repeat another time, nice build!

 

 

  • Love 1

.png

Link to comment
https://metin2.dev/topic/8244-tradehouse/page/5/#findComment-69248
Share on other sites

  • 4 weeks later...

Thanks for this system, i apreciated

but i some problems my first problem is when i try to search one time to trade ( on sell items ), the system can't search the item, i have tryed with some names of items, but sho's no results, and when i searh for a item or person with item, the person show's but the item not..

Link to comment
https://metin2.dev/topic/8244-tradehouse/page/5/#findComment-71477
Share on other sites

  • 2 weeks later...

SYSERR: Jul 15 06:19:46 :: RunState: LUA_ERROR: locale/france/quest/igshop.lua:15: attempt to index field `?' (a nil value)
SYSERR: Jul 15 06:19:46 :: WriteRunningStateToSyserr: LUA_ERROR: quest mb_igshop.start click

 

function get_coins()
    local coins = game.mysql_query("SELECT "..igshop_coins_column_name.." FROM "..igshop_account_database_name.."."..igshop_account_table_name.." WHERE id = "..tonumber(pc.get_account_id()).." LIMIT 1")
    if coins == nil then
        syschat("IGSHOP_MYSQL_READING_ERROR!_RET_ZERO")
        return 0
    end
    return tonumber(coins[1][1])
end

 

lign 15 = tonumber

Link to comment
https://metin2.dev/topic/8244-tradehouse/page/5/#findComment-72620
Share on other sites

  • 10 months later...
  • 7 months later...
  • 5 months later...
  • Premium
2 hours ago, Cunoo said:

image.thumb.png.5628720daba3388b78873406cdbc364b.png

Hello can you help me with this please ?

This means that the quest cant connect to the mysql OR you dont have coins column in the account table.

The one and only UI programming guideline

Link to comment
https://metin2.dev/topic/8244-tradehouse/page/5/#findComment-103494
Share on other sites

2 hours ago, masodikbela said:

This means that the quest cant connect to the mysql OR you dont have coins column in the account table.

Can you give me code for coins in account table? type (int, etc) length?
But this is maybe my problem.. I add this column in db account.account just bad settings..

Link to comment
https://metin2.dev/topic/8244-tradehouse/page/5/#findComment-103495
Share on other sites

  • Premium

You can give it int, or you can change the column name in the system, if you use different column for coins in your website.

  • Love 1

The one and only UI programming guideline

Link to comment
https://metin2.dev/topic/8244-tradehouse/page/5/#findComment-103499
Share on other sites

  • 2 weeks later...

Hi.

 

game.py error: 

0722 15:00:20345 ::   File "networkModule.py", line 245, in SetGamePhase

0722 15:00:20345 ::   File "system.py", line 130, in __pack_import

0722 15:00:20345 ::   File "
0722 15:00:20345 :: game.py
0722 15:00:20345 :: ", line 
0722 15:00:20345 :: 726
0722 15:00:20345 :: 

0722 15:00:20345 ::     
0722 15:00:20345 :: if constInfo.INPUT_IGNORE == 1:

0722 15:00:20345 ::     
0722 15:00:20345 ::  
0722 15:00:20345 :: ^

0722 15:00:20345 :: IndentationError
0722 15:00:20345 :: : 
0722 15:00:20345 :: expected an indented block
0722 15:00:20345 :: 

 

What is the problem?

I try but not work.

Link to comment
https://metin2.dev/topic/8244-tradehouse/page/5/#findComment-103807
Share on other sites

  • 3 months later...
  • Premium
10 minutes ago, rawn3cr0 said:

@masodikbelaHow i can convert this system to save in sql table in db? no txt in quest

You can't. Originally it was made this way because using sql queries in quest was too expensive... This whole thing is outdated right now so it would be better to refactor this system.

The one and only UI programming guideline

Link to comment
https://metin2.dev/topic/8244-tradehouse/page/5/#findComment-107921
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

1128 00:07:48238 :: IGSHOP_ADDTOTEMPSLOT 2 27994 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1128 00:07:48239 :: Traceback (most recent call last):

1128 00:07:48239 ::   File "ui.py", line 1673, in OnOverInItem

1128 00:07:48239 ::   File "ui.py", line 87, in __call__

1128 00:07:48239 ::   File "ui.py", line 78, in __call__

1128 00:07:48239 ::   File "igshop.py", line 383, in OverInItem

1128 00:07:48239 ::   File "uiToolTip.py", line 1106, in AddItemData

1128 00:07:48239 ::   File "uiToolTip.py", line 1501, in __AdjustMaxWidth

1128 00:07:48240 ::   File "uiToolTip.py", line 1513, in __AdjustAttrMaxWidth

1128 00:07:48240 :: IndexError
1128 00:07:48240 :: : 
1128 00:07:48240 :: list index out of range
1128 00:07:48240 ::

what i have to change in uitooltip.py....?

because i cant sell any item...

> RunState: LUA_ERROR: locale/romania/quest/object/state/mb_igshop:606: attempt to call field `remove' (a nil value)

>>  if pc . count_item ( itemVnum ) ~= pc . getqf ( "itemcount" ) then syschat ( loadLang ( 36 ) ) return end 
      if item . get_cell ( ) ~= cell then syschat ( loadLang ( 36 ) ) return end 
      for i = 1 , itemCount begin 
      item . select_cell ( cell ) 
      item . remove ( ) --------- error
      end 

Link to comment
https://metin2.dev/topic/8244-tradehouse/page/5/#findComment-109152
Share on other sites

15 hours ago, Apofis said:

1128 00:07:48238 :: IGSHOP_ADDTOTEMPSLOT 2 27994 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1128 00:07:48239 :: Traceback (most recent call last):

1128 00:07:48239 ::   File "ui.py", line 1673, in OnOverInItem

1128 00:07:48239 ::   File "ui.py", line 87, in __call__

1128 00:07:48239 ::   File "ui.py", line 78, in __call__

1128 00:07:48239 ::   File "igshop.py", line 383, in OverInItem

1128 00:07:48239 ::   File "uiToolTip.py", line 1106, in AddItemData

1128 00:07:48239 ::   File "uiToolTip.py", line 1501, in __AdjustMaxWidth

1128 00:07:48240 ::   File "uiToolTip.py", line 1513, in __AdjustAttrMaxWidth

1128 00:07:48240 :: IndexError
1128 00:07:48240 :: : 
1128 00:07:48240 :: list index out of range
1128 00:07:48240 ::

what i have to change in uitooltip.py....?

because i cant sell any item...

> RunState: LUA_ERROR: locale/romania/quest/object/state/mb_igshop:606: attempt to call field `remove' (a nil value)

>>  if pc . count_item ( itemVnum ) ~= pc . getqf ( "itemcount" ) then syschat ( loadLang ( 36 ) ) return end 
      if item . get_cell ( ) ~= cell then syschat ( loadLang ( 36 ) ) return end 
      for i = 1 , itemCount begin 
      item . select_cell ( cell ) 
      item . remove ( ) --------- error
      end 

the fix for LUA error....> questlua_item.cpp:

add:   

 

int item_remove(lua_State* L)
    {
        CQuestManager& q = CQuestManager::instance();
        LPITEM item = q.GetCurrentItem();
        if (item != NULL) {
            if (q.GetCurrentCharacterPtr() == item->GetOwner()) {
                ITEM_MANAGER::instance().RemoveItem(item);
            } else {
                sys_err("Tried to remove invalid item %p", get_pointer(item));
            }
            q.ClearCurrentItem();
        }

        return 0;
    }

and to the end of fille in >void RegisterITEMFunctionTable():

{ "remove",        item_remove        },

Link to comment
https://metin2.dev/topic/8244-tradehouse/page/5/#findComment-109170
Share on other sites

Who can help me fix this error? thank you in advance:
8 hours ago, Apofis said:

the fix for LUA error....> questlua_item.cpp:

add:   

 

int item_remove(lua_State* L)
    {
        CQuestManager& q = CQuestManager::instance();
        LPITEM item = q.GetCurrentItem();
        if (item != NULL) {
            if (q.GetCurrentCharacterPtr() == item->GetOwner()) {
                ITEM_MANAGER::instance().RemoveItem(item);
            } else {
                sys_err("Tried to remove invalid item %p", get_pointer(item));
            }
            q.ClearCurrentItem();
        }

        return 0;
    }

and to the end of fille in >void RegisterITEMFunctionTable():

{ "remove",        item_remove        },

Who can help me fix this error? thank you in advance:

1128 00:07:48238 :: IGSHOP_ADDTOTEMPSLOT 2 27994 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1128 00:07:48239 :: Traceback (most recent call last):

1128 00:07:48239 ::   File "ui.py", line 1673, in OnOverInItem

1128 00:07:48239 ::   File "ui.py", line 87, in __call__

1128 00:07:48239 ::   File "ui.py", line 78, in __call__

1128 00:07:48239 ::   File "igshop.py", line 383, in OverInItem

1128 00:07:48239 ::   File "uiToolTip.py", line 1106, in AddItemData

1128 00:07:48239 ::   File "uiToolTip.py", line 1501, in __AdjustMaxWidth

1128 00:07:48240 ::   File "uiToolTip.py", line 1513, in __AdjustAttrMaxWidth

1128 00:07:48240 :: IndexError
1128 00:07:48240 :: : 
1128 00:07:48240 :: list index out of range
1128 00:07:48240 ::

Link to comment
https://metin2.dev/topic/8244-tradehouse/page/5/#findComment-109189
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



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.