Jump to content

Problem When Placing 4 Inventories


Recommended Posts

error when trying to add 4 Inventories Client closes Error part of syserr client

files TMP4

 

1224 20:44:22452 :: 
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
system.py(line:110) _process_result
interfaceModule.py(line:12) <module>
system.py(line:130) __pack_import

networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:unindent does not match any outer indentation level (uiInventory.py, line 313)

1224 20:44:22453 :: ============================================================================================================
1224 20:44:22453 :: Abort!!!!

 

“To be humble with superiors is duty, with equals is courtesy, with inferiors is nobility.”
Benjamin Franklin

 

Por favor, desative seu AdBlock quando usar meus links de download.

Please, disable your 
AdBlock when use my download links.

Me

AdBlock 
On:   


699691-icon-20-sad-face-eyebrows-48.png

 

Adblock Off:  



Streamline-65-48.png

 

 

Angry One Piece GIF by Toei Animation

Link to comment
Share on other sites

  • Active Member

When edit Python files you should setup a comfortable environment.

1. Edit files with Notepad++ (do predeterminated)
2. Select language (if it is not selected) from Language->P->Python
3. Visible characters from View->Show symbol->Show spaces and tabulations
 

Now edit your file. Notepad++ in Python set default 4 spaces as tab. Modify your file normally.
When you end edit file, do it:

Edit->Cleaning operations->Space to TAB (all)

What means indentation?
 

Indentation refers to the spaces at the beginning of a code line. Where in other programming languages the indentation in code is for readability only, the indentation in Python is very important. Python uses indentation to indicate a block of code.

From w3schools

Tab are very important in Python.

 

Good example of indentation:

def test():
	import chat
	chat.AppendChat(chat.CHAT_TYPE_INFO, "Test 1");


1° Bad example of indentation:

def test():
    import chat
    chat.AppendChat(chat.CHAT_TYPE_INFO, "Test 1");


2° Bad example of indentation:

def test():
    import chat
        chat.AppendChat(chat.CHAT_TYPE_INFO, "Test 1");

3° Bad example of indentation:

def test():
    import chat
    	chat.AppendChat(chat.CHAT_TYPE_INFO, "Test 1");

 

Look difference between dot and tab.

 

 

  • Good 1
Link to comment
Share on other sites

1 hour ago, caanmasu said:

When edit Python files you should setup a comfortable environment.

1. Edit files with Notepad++ (do predeterminated)
2. Select language (if it is not selected) from Language->P->Python
3. Visible characters from View->Show symbol->Show spaces and tabulations
 

Now edit your file. Notepad++ in Python set default 4 spaces as tab. Modify your file normally.
When you end edit file, do it:

Edit->Cleaning operations->Space to TAB (all)

What means indentation?
 

Indentation refers to the spaces at the beginning of a code line. Where in other programming languages the indentation in code is for readability only, the indentation in Python is very important. Python uses indentation to indicate a block of code.

From w3schools

Tab are very important in Python.

 

Good example of indentation:

def test():
	import chat
	chat.AppendChat(chat.CHAT_TYPE_INFO, "Test 1");


1° Bad example of indentation:

def test():
    import chat
    chat.AppendChat(chat.CHAT_TYPE_INFO, "Test 1");


2° Bad example of indentation:

def test():
    import chat
        chat.AppendChat(chat.CHAT_TYPE_INFO, "Test 1");

3° Bad example of indentation:

def test():
    import chat
    	chat.AppendChat(chat.CHAT_TYPE_INFO, "Test 1");

 

Look difference between dot and tab.

 

 

Thank you I managed to solve

“To be humble with superiors is duty, with equals is courtesy, with inferiors is nobility.”
Benjamin Franklin

 

Por favor, desative seu AdBlock quando usar meus links de download.

Please, disable your 
AdBlock when use my download links.

Me

AdBlock 
On:   


699691-icon-20-sad-face-eyebrows-48.png

 

Adblock Off:  



Streamline-65-48.png

 

 

Angry One Piece GIF by Toei Animation

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

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.