Guest Rαgnorαk Posted June 21, 2015 at 03:17 PM Share Posted June 21, 2015 at 03:17 PM Descompacta mos o "root" e abrimos o arquivo game.py Procura mos MyShopPriceList Por debaixo adicionas: "demirvidgame" : self.demirvidgame, "demirvid" : self.demirvid, "demirstartgame" : self.demirstartgame, "demirongame" : self.demirongame, "demirendgame" : self.demirendgame, "demirwsgame" : self.demirwsgame, "demirwsvidgame" : self.demirwsgame, "demirgogame" : self.demirgogame, "demirgovidgame" : self.demirgogame, "demirwingame" : self.demirwingame, Ficará assim: Agora procura mos: # END_OF_WEDDING Debaixo adiciona mos: def demirvidgame(self, id): import constInfo constInfo.demirvidgame = int(id) def demirongame(self): constInfo.INPUT_IGNORE = 1 def demirendgame(self): constInfo.INPUT_IGNORE = 0 def demirstartgame(self): net.SendQuestInputStringPacket(str(constInfo.demir startgame)) def demirvid(self, id): constInfo.demirvid = int(id) def OpenQuestWindow(self, skin, idx): if constInfo.INPUT_IGNORE == 1: return else: self.interface.OpenQuestWindow(skin, idx) def demirwsgame(self): net.SendChatPacket("(demirwsgame)") return def demirgogame(self): net.SendChatPacket("(demirgogame)") return def demirwingame(self): net.SendChatPacket("(demirwingame)") return Ficará assim: Agora guardamos e fechamos e abrimos o constinfo.py e adiciona mos isto: demirvidgame = 0 demirstartgame = 0 demirvid = 0 INPUT_IGNORE = 0 Ficará assim: Guardamos e fecha mos Agora abrimos o arquivo playersettingmodule.py Procura mos por: (fish) E adiciona mos: chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+12, "", "d:/ymir work/akiragame/demirgogame.mse") net.RegisterEmoticonString("(demirgogame)") chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+13, "", "d:/ymir work/akiragame/demirwsgame.mse") net.RegisterEmoticonString("(demirwsgame)") chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+14, "", "d:/ymir work/akiragame/demirwingame.mse") net.RegisterEmoticonString("(demirwingame)") Ficará assim: Guardamos e fecha mos: Agora abrimos o uitarget.py Debaixo de import constInfo Adiciona mos: import event Agora procura mos: self.buttonDict[localeinfo.TARGET_BUTTON_AVENGE].SetEvent(ui.__mem_func__(self.OnPVP)) Debaixo adiciona mos: Este é para os clientes 40k self.buttonDict[localeinfo.TARGET_BUTTON_FIGHT].SetEvent(ui.__mem_func__(self.demirwsgame)) self.buttonDict[localeinfo.TARGET_BUTTON_ACCEPT_FIGHT].SetEvent(ui.__mem_func__(self.demirgogame)) self.buttonDict[localeinfo.TARGET_BUTTON_AVENGE].SetEvent(ui.__mem_func__(self.demirgogame)) Este é para os clientes 34k self.buttonDict[locale.TARGET_BUTTON_FIGHT].SetEvent(ui.__mem_func__(self.demirwsgame)) self.buttonDict[locale.TARGET_BUTTON_ACCEPT_FIGHT].SetEvent(ui.__mem_func__(self.demirgogame)) self.buttonDict[locale.TARGET_BUTTON_AVENGE].SetEvent(ui.__mem_func__(self.demirgogame)) E ficará assim: Agora procura mos por: def OnPVP(self) Debaixo adiciona mos: def demirwsgame(self): net.SendChatPacket("/pvp %d" % (self.vid)) constInfo.demirstartgame = self.vid event.QuestButtonClick(constInfo.demirvidgame) def demirgogame(self): constInfo.demirstartgame = self.vid event.QuestButtonClick(constInfo.demirvid) Ficará assim: Guardamos e fechamos Agora abrimos o uichat.py Procura mos por: def __SendChatPacket(self, text, type) E debaixo adiciona mos: demirgame = ["(demirgogame)","(demirwsgame)","(demirwingame)"] for x in xrange(len(demirgame)): if(text.find(demirgame[x]) != -1): return E ficará assim: Agora compacta mos o root e abrimos o index e adiciona mos: * demirgame_pvpsystem * Download no final Agora a parte do servidor: Abrimos o questlib.lua e adiciona mos: function setvarchar(name, var) local laenge = string.len (var) local setchar = 0 local save_name = 0 local letter = 0 while laenge > setchar do setchar = setchar + 1 letter = string.sub (var, setchar, setchar) letter = string.byte(letter, 1) save_name = ""..name.."_char_"..setchar.."" pc.setqf(save_name, letter) end local save_laenge=""..name.."laenge" pc.setqf(save_laenge, laenge) end function getvarchar(name) local save_laenge = ""..name.."laenge" local laenge = pc.getqf(save_laenge) local save_name = 0 local var = "" local letter = 0 local getchar = 0 while laenge > getchar do getchar = getchar + 1 save_name = ""..name.."_char_"..getchar.."" letter = pc.getqf(save_name) if letter!=0 then letter = string.char(letter) else letter = "" end var = ""..var..""..letter.."" end return var end E tem de ficar assim: Agora abrimos o questfuncions e adiciona mos: setvarchar getvarchar Downloads: Mega Scan do conteúdo MD5 a10f481457bc9fffc4bfb468c8834516 SHA1 59b08cf20fe5b80634c0b3e2d0fdc50fabc337d8 SHA256 de02a320dea30c7690179d0d6b9e265035f1d08002156fa3748974380536c539 Mais informações Video Link to comment Share on other sites More sharing options...
Guest NewWars Posted June 22, 2015 at 02:14 AM Share Posted June 22, 2015 at 02:14 AM Estava a pensar em fazer um sistema tal e qual a esse, mas como ja existe um publico e bom pelo que parece, poupa-me trabalho! Bom post Cumprimentos. Link to comment Share on other sites More sharing options...
RachadoPT Posted June 22, 2015 at 08:31 AM Share Posted June 22, 2015 at 08:31 AM Só falta alterar os efeitos para uns traduzidos e tá malha 1 Link to comment Share on other sites More sharing options...
Guest Rαgnorαk Posted June 22, 2015 at 08:49 AM Share Posted June 22, 2015 at 08:49 AM Os efeitos estão em inglês, tem: 1, 2, 3, Win, Go, e acho que não tem mais, são os únicos... Link to comment Share on other sites More sharing options...
Dynamic Things Posted June 22, 2015 at 09:03 AM Share Posted June 22, 2015 at 09:03 AM Só falta alterar os efeitos para uns traduzidos e tá malha Os efeitos estão em inglês, tem: 1, 2, 3, Win, Go, e acho que não tem mais, são os únicos... Mandem as imagens que faço os efeitos. 1 Link to comment Share on other sites More sharing options...
Guest Rαgnorαk Posted June 22, 2015 at 09:08 AM Share Posted June 22, 2015 at 09:08 AM Vais traduzir Win e Go <.< Link to comment Share on other sites More sharing options...
RachadoPT Posted June 22, 2015 at 09:10 AM Share Posted June 22, 2015 at 09:10 AM Vais traduzir Win e Go <.< E WS KKKK Não é preciso, deixa tar isso Dynamic xd 1 Link to comment Share on other sites More sharing options...
Dynamic Things Posted August 30, 2015 at 02:00 AM Share Posted August 30, 2015 at 02:00 AM Algumas correcções ao tutorial: def demirstartgame(self): net.SendQuestInputStringPacket(str(constInfo.demir startgame)) Correcto: def demirstartgame(self): net.SendQuestInputStringPacket(str(constInfo.demirstartgame)) procuramos por self.buttonDict[localeinfo.TARGET_BUTTON_AVENGE].SetEvent(ui.__mem_func__(self.OnPVP)) Debaixo adiciona mos: Este é para os clientes 40k self.buttonDict[localeinfo.TARGET_BUTTON_FIGHT].SetEvent(ui.__mem_func__(self.demirwsgame)) self.buttonDict[localeinfo.TARGET_BUTTON_ACCEPT_FIGHT].SetEvent(ui.__mem_func__(self.demirgogame)) self.buttonDict[localeinfo.TARGET_BUTTON_AVENGE].SetEvent(ui.__mem_func__(self.demirgogame)) Correcto: Procurar : self.buttonDict[localeInfo.TARGET_BUTTON_FIGHT].SetEvent(ui.__mem_func__(self.OnPVP)) self.buttonDict[localeInfo.TARGET_BUTTON_ACCEPT_FIGHT].SetEvent(ui.__mem_func__(self.OnPVP)) self.buttonDict[localeInfo.TARGET_BUTTON_AVENGE].SetEvent(ui.__mem_func__(self.OnPVP)) E substituir por: self.buttonDict[localeInfo.TARGET_BUTTON_FIGHT].SetEvent(ui.__mem_func__(self.demirwsgame)) self.buttonDict[localeInfo.TARGET_BUTTON_ACCEPT_FIGHT].SetEvent(ui.__mem_func__(self.demirgogame)) self.buttonDict[localeInfo.TARGET_BUTTON_AVENGE].SetEvent(ui.__mem_func__(self.demirgogame)) Agora procura mos por: def OnPVP(self) Debaixo adiciona mos: def demirwsgame(self): net.SendChatPacket("/pvp %d" % (self.vid)) constInfo.demirstartgame = self.vid event.QuestButtonClick(constInfo.demirvidgame) def demirgogame(self): constInfo.demirstartgame = self.vid event.QuestButtonClick(constInfo.demirvid) Correcto: Agora procura mos por: def OnPVP(self): net.SendChatPacket("/pvp %d" % (self.vid)) E substituirmos por: def demirwsgame(self): net.SendChatPacket("/pvp %d" % (self.vid)) constInfo.demirstartgame = self.vid event.QuestButtonClick(constInfo.demirvidgame) def demirgogame(self): constInfo.demirstartgame = self.vid event.QuestButtonClick(constInfo.demirvid) Legendas: Letras a vermelho = Onde ouve erro no tutorial Letras a Verde = Onde ouve a correcção ao tutorial. Cumprimentos Dynamic Things 1 Link to comment Share on other sites More sharing options...
pedrorrr Posted November 22, 2015 at 12:30 PM Share Posted November 22, 2015 at 12:30 PM Testado e aprovado... Com as correcções do Gold D Roger funciona 100%. Nota: Alguém consegue descomprimir os ficheiros? Seria algo engraçado para se brincar. Com os melhores cumprimentos, MasterOP 1 Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted November 29, 2015 at 11:04 PM Share Posted November 29, 2015 at 11:04 PM Segue em anexo os ficheiros epk descomprimidos. demirgame_pvpsystem.7z 1 Link to comment Share on other sites More sharing options...
pedrorrr Posted November 30, 2015 at 12:38 AM Share Posted November 30, 2015 at 12:38 AM tierrilopes obrigado +1 ^^ 1 Link to comment Share on other sites More sharing options...
Ronald Posted April 26, 2020 at 02:21 PM Share Posted April 26, 2020 at 02:21 PM good Link to comment Share on other sites More sharing options...
StomperG Posted October 18, 2020 at 12:11 PM Share Posted October 18, 2020 at 12:11 PM Em 21/06/2015 em 16:17, Convidado Rαgnorαk disse: Descompacta mos o "root" e abrimos o arquivo game.py Procura mos Hidden Content Give reaction or reply to this topic to see the hidden content. Por debaixo adicionas: Hidden Content Give reaction or reply to this topic to see the hidden content. Ficará assim: Hidden Content Give reaction or reply to this topic to see the hidden content. Agora procura mos: Hidden Content Give reaction or reply to this topic to see the hidden content. Debaixo adiciona mos: Hidden Content Give reaction or reply to this topic to see the hidden content. Ficará assim: Hidden Content Give reaction or reply to this topic to see the hidden content. Agora guardamos e fechamos e abrimos o constinfo.py e adiciona mos isto: Hidden Content Give reaction or reply to this topic to see the hidden content. Ficará assim: Hidden Content Give reaction or reply to this topic to see the hidden content. Guardamos e fecha mos Agora abrimos o arquivo playersettingmodule.py Procura mos por: Hidden Content Give reaction or reply to this topic to see the hidden content. E adiciona mos: Hidden Content Give reaction or reply to this topic to see the hidden content. Ficará assim: Hidden Content Give reaction or reply to this topic to see the hidden content. Guardamos e fecha mos: Agora abrimos o uitarget.py Debaixo de Hidden Content Give reaction or reply to this topic to see the hidden content. Adiciona mos: Hidden Content Give reaction or reply to this topic to see the hidden content. Agora procura mos: Hidden Content Give reaction or reply to this topic to see the hidden content. Debaixo adiciona mos: Este é para os clientes 40k Hidden Content Give reaction or reply to this topic to see the hidden content. Este é para os clientes 34k Hidden Content Give reaction or reply to this topic to see the hidden content. E ficará assim: Hidden Content Give reaction or reply to this topic to see the hidden content. Agora procura mos por: Hidden Content Give reaction or reply to this topic to see the hidden content. Debaixo adiciona mos: Hidden Content Give reaction or reply to this topic to see the hidden content. Ficará assim: Hidden Content Give reaction or reply to this topic to see the hidden content. Guardamos e fechamos Agora abrimos o uichat.py Procura mos por: Hidden Content Give reaction or reply to this topic to see the hidden content. E debaixo adiciona mos: Hidden Content Give reaction or reply to this topic to see the hidden content. E ficará assim: Hidden Content Give reaction or reply to this topic to see the hidden content. Agora compacta mos o root e abrimos o index e adiciona mos: Hidden Content Give reaction or reply to this topic to see the hidden content. Download no final Agora a parte do servidor: Abrimos o questlib.lua e adiciona mos: Hidden Content Give reaction or reply to this topic to see the hidden content. E tem de ficar assim: Hidden Content Give reaction or reply to this topic to see the hidden content. Agora abrimos o questfuncions e adiciona mos: Hidden Content Give reaction or reply to this topic to see the hidden content. Downloads: Hidden Content Give reaction or reply to this topic to see the hidden content. Scan do conteúdo MD5 a10f481457bc9fffc4bfb468c8834516 SHA1 59b08cf20fe5b80634c0b3e2d0fdc50fabc337d8 SHA256 de02a320dea30c7690179d0d6b9e265035f1d08002156fa3748974380536c539 Hidden Content Give reaction or reply to this topic to see the hidden content. Video Sistema top, obrigado pela partilha Link to comment Share on other sites More sharing options...
Syder Posted December 29, 2020 at 11:27 AM Share Posted December 29, 2020 at 11:27 AM Já foi testado? Link to comment Share on other sites More sharing options...
Syder Posted December 29, 2020 at 09:36 PM Share Posted December 29, 2020 at 09:36 PM Links Off se alguem tiver os ficheiros do post se não se importar, que faça o upload sff Link to comment Share on other sites More sharing options...
Richardo01 Posted December 31, 2020 at 05:08 PM Share Posted December 31, 2020 at 05:08 PM zy Link to comment Share on other sites More sharing options...
servezaadda Posted July 31, 2021 at 04:03 PM Share Posted July 31, 2021 at 04:03 PM ty Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now