Jump to content

Problem with alchemy


Go to solution Solved by WeedHex,

Recommended Posts

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Premium
Spoiler

    def __DragonSoulInfoString (self, dwVnum):
        step = (dwVnum / 100) % 10
        refine = (dwVnum / 10) % 10
        if 0 == step:
            return localeInfo.DRAGON_SOUL_STEP_LEVEL1 + " " + localeInfo.DRAGON_SOUL_STRENGTH(refine)
        elif 1 == step:
            return localeInfo.DRAGON_SOUL_STEP_LEVEL2 + " " + localeInfo.DRAGON_SOUL_STRENGTH(refine)
        elif 2 == step:
            return localeInfo.DRAGON_SOUL_STEP_LEVEL3 + " " + localeInfo.DRAGON_SOUL_STRENGTH(refine)
        elif 3 == step:
            return localeInfo.DRAGON_SOUL_STEP_LEVEL4 + " " + localeInfo.DRAGON_SOUL_STRENGTH(refine)
        elif 4 == step:
            return localeInfo.DRAGON_SOUL_STEP_LEVEL5 + " " + localeInfo.DRAGON_SOUL_STRENGTH(refine)
        else:
            return ""

 

  • Love 1
Link to comment
Share on other sites

Acum 5 ore, WeedHex a spus:
  Reafișează conținuturi ascunse

    def __DragonSoulInfoString (self, dwVnum):
        step = (dwVnum / 100) % 10
        refine = (dwVnum / 10) % 10
        if 0 == step:
            return localeInfo.DRAGON_SOUL_STEP_LEVEL1 + " " + localeInfo.DRAGON_SOUL_STRENGTH(refine)
        elif 1 == step:
            return localeInfo.DRAGON_SOUL_STEP_LEVEL2 + " " + localeInfo.DRAGON_SOUL_STRENGTH(refine)
        elif 2 == step:
            return localeInfo.DRAGON_SOUL_STEP_LEVEL3 + " " + localeInfo.DRAGON_SOUL_STRENGTH(refine)
        elif 3 == step:
            return localeInfo.DRAGON_SOUL_STEP_LEVEL4 + " " + localeInfo.DRAGON_SOUL_STRENGTH(refine)
        elif 4 == step:
            return localeInfo.DRAGON_SOUL_STEP_LEVEL5 + " " + localeInfo.DRAGON_SOUL_STRENGTH(refine)
        else:
            return ""

 

thx,now i have a nev error-> syserr  https://pastebin.com/BjzBXaC8

uitaskbar https://pastebin.com/kXqwHPae

networkmodule https://pastebin.com/a7Zn0rGT

system https://pastebin.com/gdH5VVMq

introselect https://pastebin.com/JuXX7e6e

interfacemodule https://pastebin.com/MuCJFanJ

i implemented the alchemy because i add 5 inventory and don't work

 

 

Link to comment
Share on other sites

Acum 1 oră, lollipotter a spus:

Indention error is caused from incorrect tabulator use.

Please make your editor show tabs and spaces and check if you have false indentions.

Can you tell me about tabs?i use notepad++.I activate space and tabs but i see "->" and ".....".When apres "tab"  leave behind de word ".....".And when apres space leave behind word"....",i m beginner  :)

Link to comment
Share on other sites

  • Premium
  • Solution
15 hours ago, Kazuhiri said:

thx,now i have a nev error-> syserr  https://pastebin.com/BjzBXaC8

uitaskbar https://pastebin.com/kXqwHPae

networkmodule https://pastebin.com/a7Zn0rGT

system https://pastebin.com/gdH5VVMq

introselect https://pastebin.com/JuXX7e6e

interfacemodule https://pastebin.com/MuCJFanJ

i implemented the alchemy because i add 5 inventory and don't work

 

 

  1. class ExpandedTaskBar(ui.ScriptWindow):
  2.         BUTTON_DRAGON_SOUL = 0
  3.     def __init__(self):
 
BUTTON_DRAGON_SOUL  Must be in line with def.
You used 1 tab for def and 2 tabs for variable, python is easy cuz there aren't ; etc.  but if you don't respect TAB rip.
 
Download notepad++ and use it to see codes.
Link to comment
Share on other sites

Acum 3 ore, WeedHex a spus:
  1. class ExpandedTaskBar(ui.ScriptWindow):
  2.         BUTTON_DRAGON_SOUL = 0
  3.     def __init__(self):
 
BUTTON_DRAGON_SOUL  Must be in line with def.
You used 1 tab for def and 2 tabs for variable, python is easy cuz there aren't ; etc.  but if you don't respect TAB rip.
 
Download notepad++ and use it to see codes.

don 't work bro,i press tab and appear "..." no" ---->"   

Spoiler

Edited by Metin2 Dev
Core X - External 2 Internal
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.