Jump to content

VegaS

Banned
  • Posts

    363
  • Joined

  • Last visited

  • Days Won

    40
  • Feedback

    0%

Everything posted by VegaS

  1. Tutorial weak, everyone already knows this fix,anyway, thank you for your post. Regards, VegaS
  2. @Aurora I just tested my server, it works perfectly..yes I click and nothing happens? You have no error? Try again quest here: [Hidden Content]
  3. Open game.py add in def __ServerCommand_Build(self): serverCommandList={ "antiexp" : self.__antiexp, then add below function: # System Anti Exp - Start def __antiexp(self, qid): constInfo.antiexp= int(qid) # System Anti Exp - End Add in constinfo.py: antiexp = 0 Open uiinventory and search function: self.DSSButton = self.GetChild2("DSSButton") and add below: self.VegaS_button_Exp = self.GetChild2("VegaS_button_Exp") search function: self.DSSButton.SetEvent(ui.__mem_func__(self.ClickDSSButton)) and add below: ## Button Anti-Experienta if self.VegaS_button_Exp: self.VegaS_button_Exp.SetEvent(ui.__mem_func__(self.ClickVegaS_button_Exp)) Then add the function below: ###Button anti-experienta### def ClickVegaS_button_Exp(self): import event qid = constInfo.antiexp event.QuestButtonClick(qid) Importing the module event earlier in uiinventory. Inventorywindow add : { "name" : "VegaS_button_Exp", "type" : "button", "x" : your details, "y" : your details, "tooltip_text" : "Anti-ExP", "default_image" : "you images", "over_image" : "you imagesa", "down_image" : "you images", }, And this quest: quest anti_exp begin state start begin when letter begin cmdchat("antiexp "..q.getcurrentquestindex()) end when button or info begin if pc.getqf("antiexp") == 0 then pc.setqf("antiexp", 1) chat("[System Anti_Experience] - Activated] Experience points will be reset to 0 every second!") local ep = pc.get_exp() pc.give_exp2(-ep) timer("vegas", 1) elseif pc.getqf("antiexp") == 1 then pc.setqf("antiexp", 0) chat("[System Anti_Experience] - Disabled] I've now receive experience points again!") end end when vegas.timer with pc.getqf("antiexp") == 1 begin local ep = pc.get_exp() pc.give_exp2(-ep) timer("vegas1", 1) pc.setqf("antiexp", 1) end when vegas1.timer with pc.getqf("antiexp") == 1 begin local ep = pc.get_exp() pc.give_exp2(-ep) timer("vegas", 1) pc.setqf("antiexp", 1) end when login with pc.getqf("antiexp") == 1 begin chat("[System Anti_Experience] - Activated]") local ep = pc.get_exp() pc.give_exp2(-ep) timer("vegas", 1) pc.setqf("antiexp", 1) end when login with pc.getqf("antiexp") == 0 begin chat("[System Anti_Experience] - It is not enabled!]") end end end
  4. ​Ctrl+Q hides only the quests ​I think he means,but the first option is better I say def __PressQKey(self): if app.IsPressed(app.DIK_LCONTROL) or app.IsPressed(app.DIK_RCONTROL): if 0==interfaceModule.IsQBHide: -- exist interfaceModule.IsQBHide = 1 self.interface.HideAllQuestButton() self.interface.HideAllWhisperButton() else: interfaceModule.IsQBHide = 0 self.interface.ShowAllQuestButton() self.interface.ShowAllWhisperButton() else: app.RotateCamera(app.CAMERA_TO_NEGATIVE)
  5. "game/shop.cpp" and search function: m_pGrid = M2_NEW CGrid Replace all function with: m_pGrid = M2_NEW CGrid(10, 8) "game/shop_manager.cpp" and search function: CGrid grid = CGrid Replace all function with: CGrid grid = CGrid(10, 8) Sorry numbers were mistakenly spaces,check now, Regards, VegaS
  6. The same problem? looked at the message left there..
  7. How many slots you have implemented? and put an entire picture. In case you used tutorial [Hidden Content] modify these,the tutorial is put function: m_pGrid = M2_NEW CGrid(10, 9) CGrid grid = CGrid(10, 9) you will have to change to 10.8, as is actually in client "x_count" : 10, "y_count" : 8, Regards, VegaS
  8. Mostly give you quite right, of course everything is possible. What you will already be protected will be a breeze, because it helps pretty much diminished extinction by killing monsters. We tested and working can mean a dungeon 2 times better, and without interruptions image to a normal extinction, which default is 10s. Thanks for your opinion. PS:I apologize for the language. Regards, VegaS - The leader of the organization Titan2
  9. Sorry, but I lost files from it. If I had you, did provide him with the greatest pleasure. Regards, VegaS - The leader of the organization Titan2
  10. Hi, probably many of you, I say that is the advantage of this change. Well of course changing little help against attent of lag especially in some dungeons that are hundreds of phones, greatly help to run it in a more fast. So to change the seconds of extinction of a monster after it you will kill them, the normal range of approx. 10 second, enter in: We open: looking function: and to change the seconds of extinction course change, number 10, where red is bold, with how many seconds you want, preferably as 1 second, the very best. I apologize for the language. Good luck to implement. Regards, VegaS - The leader of the organization Titan2
×
×
  • 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.