Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/21/19 in all areas

  1. Wikipedia has a API included, you can play with it. [Hidden Content] MediaWiki docs: All Query modules Get properties of pages List pages matching a criterion Get module parameters information Get meta information about the wiki and user Some examples: [Hidden Content] You've to install the requests library first one. pip install requests # Installing collected packages: certifi, chardet, urllib3, idna, requests # Successfully installed certifi-2019.3.9 chardet-3.0.4 idna-2.8 requests-2.22.0 urllib3-1.25.2 How to use: [Hidden Content]
    2 points
  2. M2 Download Center Download Here ( Internal ) Hi guys. someone wanna voice for npcs but they are not know how to make this system and i wanna share with your I hope you are like it. First client; open game.py and search this after under add this "mall" : self.__InGameShop_Show, "voice" : self.GiveMeVoice, Add this def GiveMeVoice(self,voice): x, y, z = player.GetMainCharacterPosition() randX = app.GetRandom(-150, 150) randY = app.GetRandom(-150, 150) snd.PlaySound3D(x+randX, -y+randY, z, "sound/npcs/" + str(voice) + ".mp3") How to use this function in my quest? quest voice begin state start begin when 20354.chat."Give me a voice" begin cmdchat("voice "..npc.get_race()) say("I'm say this feeling really perfect.. ") say("") end end end Why i use to snd.PlaySound3D? Why not snd.FadeInMusic? Let me i explain to your. snd.FadeInMusic just change music so i mean if i use to this function in function, when sound is finished sound is started again until player change music.. snd.PlaySound3D when sound is finished, sound not started again Kind Regards HaveBeen
    1 point
  3. 1 point
  4. Hi guys, I edited client source, and I see this line.. UserInterface.cpp LocaleService_LoadConfig("locale.cfg"); My idea is hide locale.cfg from client in binary.. Someone know how to? Etc, give me code for example? I dont want load file from client. Thanks for requests.. SOLVED! If anyone need too this change, here is solution: Locale.cpp char MULTI_LOCALE_SERVICE[256] = "YMIR"; char MULTI_LOCALE_PATH[256] = "locale/ymir"; char MULTI_LOCALE_NAME[256] = "ymir"; int MULTI_LOCALE_CODE = 949; int MULTI_LOCALE_REPORT_PORT = 10000; Edit code for example: char MULTI_LOCALE_SERVICE[256] = "CZ"; char MULTI_LOCALE_PATH[256] = "locale/cz"; char MULTI_LOCALE_NAME[256] = "cz"; int MULTI_LOCALE_CODE = 1250; int MULTI_LOCALE_REPORT_PORT = 10019; Now delete file "locale.cfg" in client.
    1 point
×
×
  • 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.