Jump to content

Official Inventory Expansion


Recommended Posts

Hello how to repair this error ?

 

1012 00:41:09467 :: 
networkModule.py(line:208) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:30) <module>
system.py(line:130) __pack_import

networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:expected an indented block (interfaceModule.py, line 523)

1012 00:41:09467 :: ============================================================================================================
1012 00:41:09467 :: Abort!!!!

[SOLVED]

 

NEW ERROR

 

1012 21:37:18363 :: Traceback (most recent call last):

1012 21:37:18363 ::   File "networkModule.py", line 247, in SetGamePhase

1012 21:37:18363 ::   File "game.py", line 98, in __init__

1012 21:37:18364 ::   File "interfaceModule.py", line 263, in MakeInterface

1012 21:37:18364 ::   File "interfaceModule.py", line 159, in __MakeWindows

1012 21:37:18365 ::   File "uiInventory.py", line 47, in __init__

1012 21:37:18365 ::   File "uiInventory.py", line 167, in __LoadWindow

1012 21:37:18366 :: AttributeError
1012 21:37:18366 :: : 
1012 21:37:18366 :: 'InventoryWindow' object has no attribute 'en_ac'
1012 21:37:18366 :: 
 

 

thanks for help.

Link to comment
Share on other sites

  • 3 weeks later...
  • Forum Moderator
1 hour ago, Kamol said:

Where is the problem?
Do you even have keys in the inventory?


Best regards
Raylee

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

33 minuty temu, Raylee napisał:

Where is the problem?
Do you even have keys in the inventory?


Best regards
Raylee

See dimensions of blocked windows and dont comunity 

https://metin2.download/picture/fAOkSz9lm6H1t7F06L36SW9NE3x1o1v5/.gif

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Forum Moderator
2 hours ago, Kamol said:

See dimensions of blocked windows and dont comunity 

https://metin2.download/picture/fAOkSz9lm6H1t7F06L36SW9NE3x1o1v5/.gif

Do you mean this problem?
62ba45486c.jpg

If so, you will need to adjust the sizes of your inventory in the inventorywindow.py
The best way to do that is to take the "Official" inventorywindow.py for reference.


Best regards
Raylee
 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 2 weeks later...
On 11/12/2018 at 11:58 AM, Kamol said:

How to fix this system to be a message

 

ENVANTER_ANAH_LAZIM You need %d more keys

 

https://metin2.download/picture/5bAsgpU0UCj3Tdl8M05c9QsEBc4kN90f/.gif

 

game.py

self.wndPopupDialog.SetText(localeInfo.ENVANTER_ANAH_LAZIM % lazim)

change

self.wndPopupDialog.SetText(localeInfo.ENVANTER_ANAH_LAZIM)

and

locale_game.txt

ENVANTER_ANAH_LAZIM    You need %d more keys 

change

ENVANTER_ANAH_LAZIM    You need  more keys

 

you need delete [%d] i have same problem with %d

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

6 godzin temu, krokogames napisał:

 

game.py

self.wndPopupDialog.SetText(localeInfo.ENVANTER_ANAH_LAZIM % lazim)

change

self.wndPopupDialog.SetText(localeInfo.ENVANTER_ANAH_LAZIM)

and

locale_game.txt

ENVANTER_ANAH_LAZIM    You need %d more keys 

change

ENVANTER_ANAH_LAZIM    You need  more keys

 

you need delete [%d] i have same problem with %d

And how to make it show %d key

Link to comment
Share on other sites

Dnia 14.11.2018 o 15:04, krokogames napisał:

game.py
self.wndPopupDialog.SetText(localeInfo.ENVANTER_ANAH_LAZIM % lazim)
change
self.wndPopupDialog.SetText(localeInfo.ENVANTER_ANAH_LAZIM)
and
locale_game.txt
ENVANTER_ANAH_LAZIM    You need %d more keys
change
ENVANTER_ANAH_LAZIM    You need  more keys
you need delete [%d] i have same problem with %d

Yr7X.gif

Just change for "ENVANTER_ANAH_LAZIM    You need %s more keys" ...

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

  • 2 weeks later...

Hello,
Thank for this release....

One problem:
This system for
45 slot with 2 page = 90 slot / with 4 page = 180 slot.

And, NOT FOR: 
90 slot with 2 page = 180 slot
BTW i edited....

In Quote  my edition :)

Image:

Quote


jhollxm7xro8nj56o7td.jpg


Video:
 

Spoiler

 


Thank you!


* EDIT *
self.wndPopupDialog.SetText(localeInfo.ENVANTER_ANAH_LAZIM % lazim)
Change to 
self.wndPopupDialog.SetText(localeInfo.ENVANTER_ANAH_LAZIM % int(lazim))
This generated syserr are fixed.

 

 

Edited by Metin2 Dev
Core X - External 2 Internal

787292068_Nvtelen.png.6faa7b0bbb3398fd29

Link to comment
Share on other sites

  • 2 months later...
  • 3 weeks later...
  • 4 weeks later...
On 1/19/2018 at 8:39 PM, Viros said:

Hello, i have this problem with the System... 

 

SYSERR: Jan 19 21:30:03 :: ChildLoop: AsyncSQL: query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'envanter' at line 1 (query: SELECT id,name,job,voice,dir,x,y,z,map_index,exit_x,exit_y,exit_map_index,hp,mp,stamina,random_hp,random_sp,playtime,gold,level,level_step,st,ht,dx,iq,exp,stat_point,skill_point,sub_skill_point,stat_reset_count,part_base,part_hair,skill_level,quickslot,skill_group,alignment,mobile,horse_level,horse_riding,horse_hp,horse_hp_droptime,horse_stamina,UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(last_play),horse_skill_point FROM player WHERE id=51,envanter errno: 1064)

 

can you help me pls?
 

What is the solution to this?
My ClientManagerPlayer.cpp: https://paste.ubuntu.com/p/gwW3dvP8wF/

  • Good 1
  • Love 1

tenor.gif

Link to comment
Share on other sites

On 2/28/2019 at 2:04 PM, ReFresh said:

@Mali61 I found one thing which should be fixed:

When you have 1 free slot you will recieve an error message: You have full inventory.

How it should be fixed? Add antiflag check if item is stackable or not.

Could you show me your /db/src/ClientManagerPlayer.cpp with the system, please? I have a problem while performing the tutorial inside the file, thanks!

tenor.gif

Link to comment
Share on other sites

Announcements



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