Jump to content

daredevil09

Inactive Member
  • Posts

    78
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by daredevil09

  1. If the language is tr the server will read text from translate_tr.lua, if the language is de the server will read text from translate_de.lua.. Can someone make something like this? Or like this:
  2. Hello, I implemented in client system group PM. It works well, but the button is placed in the whisper window and I want to move button to appear in the chat below . I added some functions in uichat.py ( I inspired from the chat button sendwhisper ) but in vain, the button appears below the window does not open system pm group . Can someone help me ? Or at least some ideas how I can do ... [Hidden Content] Link with system and files from my client: [Hidden Content]
  3. I have this error: [Hidden Content] Someone know how to fix it?
  4. I have this error: [Hidden Content] Someone know how to fix it?
  5. Copy this uiWhisper.py in your root. uiwhisper.py
  6. I don't know how to create quest for this... i need example of quest for this please.
  7. Compile error: where add this? in what file cpp? And these events: std::string CHARACTER::LongToString(long data) { std::ostringstream convert; convert << data; return convert.str(); } bool CHARACTER::AllowMapIndex() { for (int i = 0; i < ExcludeIndex.size(); i++) { if (!strcmp(LongToString(GetMapIndex()).c_str(), ExcludeIndex[i].c_str())) { return false; } } return true; }
  8. Hi, I have a problem ... I have implemented this system , When I press the button, window Appear Every time I hit the button. So the window appears each time you press the button and this is not good . [Hidden Content] This is tut for system with this bug: uiinventory.py from root and replace all function def ClickMallButton with : def ClickMallButton(self): self.choix = ui.BoardWithTitleBar() self.choix.SetSize(210, 80) self.choix.SetCenterPosition() self.choix.AddFlag('float') self.choix.AddFlag('movable') self.choix.SetTitleName("Ouverture entrepôt") self.choix.Show() self.EntrepotIs = ui.Button() self.EntrepotIs.SetEvent(self.OpenIs) self.EntrepotIs.SetParent(self.choix) self.EntrepotIs.SetPosition(35, 40) self.EntrepotIs.SetUpVisual("d:/ymir work/ui/public/middle_button_01.sub") self.EntrepotIs.SetOverVisual("d:/ymir work/ui/public/middle_button_02.sub") self.EntrepotIs.SetDownVisual("d:/ymir work/ui/public/middle_button_03.sub") self.EntrepotIs.SetText("ItemShop") self.EntrepotIs.SetToolTipText("Ouvrir l'entrepot ItemShop") self.EntrepotIs.Show() self.Magasinier = ui.Button() self.Magasinier.SetEvent(self._normal_mall) self.Magasinier.SetParent(self.choix) self.Magasinier.SetPosition(105, 40) self.Magasinier.SetUpVisual("d:/ymir work/ui/public/middle_button_01.sub") self.Magasinier.SetOverVisual("d:/ymir work/ui/public/middle_button_02.sub") self.Magasinier.SetDownVisual("d:/ymir work/ui/public/middle_button_03.sub") self.Magasinier.SetText("Magasinier") self.Magasinier.SetToolTipText("Ouvrir le magasinier") self.Magasinier.Show() ------------------ under add this: : def OpenIs(self): self.EntrepotIs.Hide() self.choix.Hide() self.Magasinier.Hide() net.SendChatPacket("/click_mall") def _normal_mall(self): self.EntrepotIs.Hide() self.Magasinier.Hide() self.choix.Hide() net.SendChatPacket("/click_safebox") -------------------------------------------------------------------------------------------- open cmd_general.cpp from game/src and search: ACMD(do_click_mall) { ch->ChatPacket(CHAT_TYPE_COMMAND, "ShowMeMallPassword"); } ---------------------------------------------- under add: ACMD(do_click_safebox) { ch->ChatPacket(CHAT_TYPE_COMMAND, "ShowMeSafeboxPassword"); } ---------------------------------------------- open cmd.cpp from game/src and search: ACMD(do_click_mall); ---------------------------------------------- under add: ACMD(do_click_safebox); ---------------------------------------------- in cmd_general.cpp from game/src search: { "click_mall", do_click_mall, 0, POS_DEAD, GM_PLAYER }, ---------------------------------------------- under add: { "click_safebox", do_click_safebox, 0, POS_DEAD, GM_PLAYER }, ---------------------------------------------- open char.cpp from game/src and search: else if (GetDistanceFromSafeboxOpen() > 1000) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<â°í> °Å¸®°¡ ¸Ö¾î¼­ â°í¸¦ ¿­ ¼ö ¾ø½À´Ï´Ù.")); return; } ---------------------------------------------- and replace with: /*else if (GetDistanceFromSafeboxOpen() > 1000) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<â°í> °Å¸®°¡ ¸Ö¾î¼­ â°í¸¦ ¿­ ¼ö ¾ø½À´Ï´Ù.")); return; }*/ ================================================================================================ Help?
  9. Error 3 error LNK1104: cannot open file 'HShield-5.5.19.1-MT.lib' C:\Users\Stefan\Desktop\Folder de lucru\client_reboot_dev\vs_files\UserInterface\LINK UserInterface
×
×
  • 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.