Jump to content

asterix2

Inactive Member
  • Posts

    124
  • Joined

  • Last visited

  • Days Won

    6
  • Feedback

    0%

Everything posted by asterix2

  1. if(GetMountVnum()) { if( !((GetMountVnum() >= 20209 && GetMountVnum() <= 20212) || GetMountVnum() == 20215 || GetMountVnum() == 20218 || GetMountVnum() == 20225 ) ) return false; } Change return false; return true;
  2. Okay. Taskbar button. root.eix/epk --> constinfo.py Add: switchbutton = 0 locale_hu.eix/epk --> taskbar.py add: ##SwitchButton{"name" : "SwitchButton","type" : "button","x" : 114, # írd át"y" : 90, # írd át"tooltip_text" : "Csatorna választó ","default_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_01.tga","over_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_02.tga","down_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_03.tga", }, root.eix/epk --> uitaskbar.py Search: toggleButtonDict = {} Add under: toggleButtonDict[TaskBar.BUTTON_SWITCH]=self.GetChild("SwitchButton") Search: class TaskBar(ui.ScriptWindow): Under: BUTTON_SWITCH = 5 root.eix/epk --> interfacemodule.py Search: self.wndTaskBar.SetToggleButtonEvent(uiTaskBar.TaskBar.BUTTON_SYSTEM, ui.__mem_func__(self.ToggleSystemDialog)) Add under: self.wndTaskBar.SetToggleButtonEvent(uiTaskBar.TaskBar.BUTTON_SWITCH, ui.__mem_func__(self.ToggleSwitch)) File end write: def ToggleSwitch(self):import uiChannelif constInfo.switchbutton == 0:constInfo.switchbutton = 1a = uiChannel.ChannelChanger()a.Show()elif constInfo.switchbutton == 1:constInfo.switchbutton = 0a = uiChannel.ChannelChanger()a.Hide() uichannel.py put your root. Sorry my english. Server port: ch1: 13002 ch2: 13102 ch3: 13202 ch4: 13302 #Python code make: pisti95
  3. "name" : "Target_Money_Value", "type" : "text", "x" : 59, "y" : 2, Uscript / exchangedialog
  4. [Hidden Content] download and overwrite file include_stuff/python-2.2 Userinterface/Userinterface.cpp #pragma comment( lib, "python22.lib" ) Replace #pragma comment( lib, "python27.lib" ) ScriptLib/PythonUtils.cpp Add incule under #define PyLong_AsLong PyLong_AsLongLong#define PyLong_AsUnsignedLong PyLong_AsUnsignedLongLong scriptlib/python 2.2 overwrite again file with Visualstudio2013 not need overwrite. [Hidden Content] Client side: [Hidden Content] Sorry my english.
  5. send_letter("+karbantartás") q.set_icon("scroll_open_purple.tga") :)
  6. 40k interface module.py: if localeInfo.IsSINGAPORE() or localeInfo.IsEUROPE(): if name[0] == '*': btn.SetUpVisual("d:/ymir work/ui/game/quest/questicon/scroll_close_blue.tga") btn.SetOverVisual("d:/ymir work/ui/game/quest/questicon/scroll_open_blue.tga") btn.SetDownVisual("d:/ymir work/ui/game/quest/questicon/scroll_open_blue.tga") name = name[1:] elif name[0] == '~': btn.SetUpVisual("d:/ymir work/ui/game/quest/questicon/scroll_close_golden.tga") btn.SetOverVisual("d:/ymir work/ui/game/quest/questicon/scroll_open_golden.tga") btn.SetDownVisual("d:/ymir work/ui/game/quest/questicon/scroll_open_golden.tga") name = name[1:] elif name[0] == '&': btn.SetUpVisual("d:/ymir work/ui/game/quest/questicon/scroll_close_green.tga") btn.SetOverVisual("d:/ymir work/ui/game/quest/questicon/scroll_open_green.tga") btn.SetDownVisual("d:/ymir work/ui/game/quest/questicon/scroll_open_green.tga") name = name[1:] elif name[0] == '+': btn.SetUpVisual("d:/ymir work/ui/game/quest/questicon/scroll_close_purple.tga") btn.SetOverVisual("d:/ymir work/ui/game/quest/questicon/scroll_open_purple.tga") btn.SetDownVisual("d:/ymir work/ui/game/quest/questicon/scroll_open_purple.tga") name = name[1:] else: btn.SetUpVisual(localeInfo.GetLetterCloseImageName()) btn.SetOverVisual(localeInfo.GetLetterOpenImageName()) btn.SetDownVisual(localeInfo.GetLetterOpenImageName()) else: btn.SetUpVisual(buttonImageFileName) btn.SetOverVisual(buttonImageFileName) btn.SetDownVisual(buttonImageFileName) btn.Flash() # END_OF_QUEST_LETTER_IMAGE
×
×
  • 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.