Premium phayara 424 Posted February 15, 2015 Premium Share Posted February 15, 2015 Hi, how to delete in client -> Belt system and Dragon soul system... Thank you. Kind Regards, iStark. Link to comment Share on other sites More sharing options...
Premium MrLibya 554 Posted February 15, 2015 Premium Share Posted February 15, 2015 Just Delete It From Locale inventorywindow.py If you're going to do something, then do it right. Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted February 15, 2015 Author Premium Share Posted February 15, 2015 ## Equipment Slot { "name" : "Equipment_Base", "type" : "image", "x" : 10, "y" : 33, "image" : "d:/ymir work/ui/equipment_bg_without_ring.tga", "children" : ( { "name" : "EquipmentSlot", "type" : "slot", "x" : 3, "y" : 3, "width" : 150, "height" : 182, "slot" : ( {"index":EQUIPMENT_START_INDEX+0, "x":39, "y":37, "width":32, "height":64}, {"index":EQUIPMENT_START_INDEX+1, "x":39, "y":2, "width":32, "height":32}, {"index":EQUIPMENT_START_INDEX+2, "x":39, "y":145, "width":32, "height":32}, {"index":EQUIPMENT_START_INDEX+3, "x":75, "y":67, "width":32, "height":32}, {"index":EQUIPMENT_START_INDEX+4, "x":3, "y":3, "width":32, "height":96}, {"index":EQUIPMENT_START_INDEX+5, "x":114, "y":67, "width":32, "height":32}, {"index":EQUIPMENT_START_INDEX+6, "x":114, "y":35, "width":32, "height":32}, {"index":EQUIPMENT_START_INDEX+7, "x":2, "y":145, "width":32, "height":32}, {"index":EQUIPMENT_START_INDEX+8, "x":75, "y":145, "width":32, "height":32}, {"index":EQUIPMENT_START_INDEX+9, "x":114, "y":2, "width":32, "height":32}, {"index":EQUIPMENT_START_INDEX+10, "x":75, "y":35, "width":32, "height":32}, ## 새 반지1 ##{"index":item.EQUIPMENT_RING1, "x":2, "y":106, "width":32, "height":32}, ## 새 반지2 ##{"index":item.EQUIPMENT_RING2, "x":75, "y":106, "width":32, "height":32}, ## 새 벨트 {"index":item.EQUIPMENT_BELT, "x":39, "y":106, "width":32, "height":32}, ), }, ## Dragon Soul Button { "name" : "DSSButton", "type" : "button", "x" : 114, "y" : 107, "tooltip_text" : uiScriptLocale.TASKBAR_DRAGON_SOUL, "default_image" : "d:/ymir work/ui/dragonsoul/dss_inventory_button_01.tga", "over_image" : "d:/ymir work/ui/dragonsoul/dss_inventory_button_02.tga", "down_image" : "d:/ymir work/ui/dragonsoul/dss_inventory_button_03.tga", }, ? Link to comment Share on other sites More sharing options...
Syron 296 Posted February 15, 2015 Share Posted February 15, 2015 Delete the Dragon Soul Button and Index of EQUIPMENT_BELT Then , go to game.py and search "onPressKeyDict" and remove the one to Dragon Soul ( by default: 'O' ) If you want to complete remove them ( + functions ) you must recompile the binary, or you can do what i've said up there and 'voila' Be sure to edit uiscript too. ## Equipment Slot { "name" : "Equipment_Base", "type" : "image", "x" : 10, "y" : 33, "image" : "d:/ymir work/ui/equipment_bg_without_ring.tga", "children" : ( { "name" : "EquipmentSlot", "type" : "slot", "x" : 3, "y" : 3, "width" : 150, "height" : 182, "slot" : ( {"index":EQUIPMENT_START_INDEX+0, "x":39, "y":37, "width":32, "height":64}, {"index":EQUIPMENT_START_INDEX+1, "x":39, "y":2, "width":32, "height":32}, {"index":EQUIPMENT_START_INDEX+2, "x":39, "y":145, "width":32, "height":32}, {"index":EQUIPMENT_START_INDEX+3, "x":75, "y":67, "width":32, "height":32}, {"index":EQUIPMENT_START_INDEX+4, "x":3, "y":3, "width":32, "height":96}, {"index":EQUIPMENT_START_INDEX+5, "x":114, "y":67, "width":32, "height":32}, {"index":EQUIPMENT_START_INDEX+6, "x":114, "y":35, "width":32, "height":32}, {"index":EQUIPMENT_START_INDEX+7, "x":2, "y":145, "width":32, "height":32}, {"index":EQUIPMENT_START_INDEX+8, "x":75, "y":145, "width":32, "height":32}, {"index":EQUIPMENT_START_INDEX+9, "x":114, "y":2, "width":32, "height":32}, {"index":EQUIPMENT_START_INDEX+10, "x":75, "y":35, "width":32, "height":32}, ## 새 반지1 ##{"index":item.EQUIPMENT_RING1, "x":2, "y":106, "width":32, "height":32}, ## 새 반지2 ##{"index":item.EQUIPMENT_RING2, "x":75, "y":106, "width":32, "height":32}, ## 새 벨트 ), }, Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted February 15, 2015 Author Premium Share Posted February 15, 2015 Dragon Soul System deleted (root; game.py, locale; inventorywindow.py) now Belt System o.O Link to comment Share on other sites More sharing options...
Premium Galet 509 Posted February 15, 2015 Premium Share Posted February 15, 2015 In your binary, delete all the "defines" related to these systems in Locale.cpp and "voilà" ^^ 1 Link to comment Share on other sites More sharing options...
Premium Galet 509 Posted February 15, 2015 Premium Share Posted February 15, 2015 #BugSry Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted February 15, 2015 Author Premium Share Posted February 15, 2015 Yes, I'll do for now Client side / Server Side to finish it so now Client binary. Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted February 15, 2015 Author Premium Share Posted February 15, 2015 Belt System delete ; uiscript.py -. beltinventorywindow.py and locale -> ## Equipment Slot ... error ; 0215 12:34:21512 :: Failed to load script file : locale/cz/ui/InventoryWindow.py 0215 12:34:21513 :: ui.py(line:2755) LoadScriptFile system.py(line:239) execfile system.py(line:208) Run system.py(line:224) __LoadTextFile__ LoadScriptFile!!!!!!!!!!!!!! - <type 'exceptions.IndentationError'>:unexpected indent (locale/cz/ui/InventoryWindow.py, line 430) 0215 12:34:21513 :: ============================================================================================================ 0215 12:34:21513 :: Abort!!!! 0215 12:34:21514 :: uiInventory.py(line:293) __LoadWindow ui.py(line:2772) LoadScriptFile exception.py(line:36) Abort InventoryWindow.LoadWindow.LoadObject - <type 'exceptions.SystemExit'>: 0215 12:34:21514 :: ============================================================================================================ 0215 12:34:21514 :: Abort!!!! Link to comment Share on other sites More sharing options...
Premium Galet 509 Posted February 15, 2015 Premium Share Posted February 15, 2015 "unexpected indent" Check your "tab" ^^ Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted February 15, 2015 Author Premium Share Posted February 15, 2015 uiinventory.py o.O Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted February 15, 2015 Author Premium Share Posted February 15, 2015 (edited) Error... uiInventory.py(line:137) __LoadWindow InventoryWindow.LoadWindow.LoadObject - <type 'exceptions.NameError'>:global name 'uiScriptLocale' is not defined 0215 14:48:27664 :: ============================================================================================================ 0215 14:48:27664 :: Abort!!!! Edited February 15, 2015 by .iStark™ Link to comment Share on other sites More sharing options...
Ken 904 Posted February 15, 2015 Share Posted February 15, 2015 You are not import uiScriptLocale and python is not know how to handle it. Kind Regards Ken ~ TA Do not be sorry, be better. Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted February 15, 2015 Author Premium Share Posted February 15, 2015 I put there uiInventory.py oficials server 2013... because I do not know how to remove the in new uiinventory 2014 ^^ Link to comment Share on other sites More sharing options...
metin2team 757 Posted February 15, 2015 Share Posted February 15, 2015 uiInventory.py(line:137) __LoadWindow InventoryWindow.LoadWindow.LoadObject - <type 'exceptions.NameError'>:global name 'uiScriptLocale' is not defined 0215 14:48:27664 :: ============================================================================================================ 0215 14:48:27664 :: Abort!!!! You are not import uiScriptLocale and python is not know how to handle it. Translation: add import uiScriptLocale Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted February 15, 2015 Author Premium Share Posted February 15, 2015 import uiScriptLocale exist. Link to comment Share on other sites More sharing options...
Premium MrLibya 554 Posted February 15, 2015 Premium Share Posted February 15, 2015 Try This Beeter : client source : Locale_inc.h just comment thos : ENABLE_DRAGON_SOUL_SYSTEM ENABLE_NEW_EQUIPMENT_SYSTEM If you're going to do something, then do it right. Link to comment Share on other sites More sharing options...
scrabbyyy 20 Posted October 13, 2015 Share Posted October 13, 2015 Try This Beeter : client source : Locale_inc.h just comment thos : ENABLE_DRAGON_SOUL_SYSTEM ENABLE_NEW_EQUIPMENT_SYSTEM anyone can tell how can i remove that dragon soul system and items from source? so maybbe there shared for client codes Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now