Jump to content

Shang

Member
  • Posts

    276
  • Joined

  • Last visited

  • Days Won

    7
  • Feedback

    0%

Posts posted by Shang

  1. Open uiexchange.py from root, and find this:

    self.OwnerMoney.SetText(str(exchange.GetElkFromSelf()))
    self.TargetMoney.SetText(str(exchange.GetElkFromTarget()))
    

    Replace to this:

    self.OwnerMoney.SetText(str(('.'.join([ i-3<0 and str(exchange.GetElkFromSelf())[:i] or str(exchange.GetElkFromSelf())[i-3:i] for i in range(len(str(exchange.GetElkFromSelf()))%3, len(str(exchange.GetElkFromSelf()))+1, 3) if i ]))))
    self.TargetMoney.SetText(str(('.'.join([ i-3<0 and str(exchange.GetElkFromTarget())[:i] or str(exchange.GetElkFromTarget())[i-3:i] for i in range(len(str(exchange.GetElkFromTarget()))%3, len(str(exchange.GetElkFromTarget()))+1, 3) if i ]))))
    
    • Love 3
  2. linking ../game_r123456_32....
    linking ../test
    /usr/bin/ld: cannot find -lmysqlclient
    /usr/bin/ld: cannot find -lmysqlclient
    gmake: *** [../game_r123456_32] Error 1
    gmake: *** Waiting for unfinished jobs....
    gmake: *** [../test] Error 1
    

    He is compiling everything and then he cant link the gamefile

     

     

    Fix:

     

    Open Makefile and #Mysql part it looks like this:

     

    d25105edfa.png

  3.  

    Can anyone tell me where I can find beltinventorywindow.py? Because in locale/**/ui it isn't.

     

    And why I get this error in syserr?

    0806 12:32:06665 :: invalid idx 00806 12:32:17812 :: Traceback (most recent call last):
    
    
    0806 12:32:17812 ::   File "networkModule.py", line 239, in SetGamePhase
    
    
    0806 12:32:17813 ::   File "game.py", line 105, in __init__
    
    
    0806 12:32:17813 ::   File "interfaceModule.py", line 287, in MakeInterface
    
    
    0806 12:32:17813 ::   File "interfaceModule.py", line 171, in __MakeWindows
    
    
    0806 12:32:17813 ::   File "uiInventory.py", line 253, in __init__
    
    
    0806 12:32:17813 ::   File "uiInventory.py", line 390, in __LoadWindow
    
    
    0806 12:32:17813 ::   File "uiInventory.py", line 454, in SetInventoryPage
    
    
    0806 12:32:17813 :: AttributeError
    0806 12:32:17813 :: : 
    0806 12:32:17813 :: 'InventoryWindow' object has no attribute 'inventoryPageIndex'
    0806 12:32:17813 :: 

     

    Take a look in this part of uiinventory.py

     

    af5b256427.png

     

    And belinventorywindow.py are in uiscript.

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