IronTalonX 1
IronTalonX
D 1
delimuratt
berzahx 1
berzahx
PrimeAC 1
PrimeAC
DEVLOPER 1
DEVLOPER
ShadowFon 1
ShadowFon
mavzermete 1
mavzermete
romegames 1
romegames
InfernoShade 1
InfernoShade
Fethi Polat 1
Fethi Polat
Bvural41 1
Bvural41
noisiv 1
noisiv
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com

1-99 Server Files

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!

Teşekkürler
 
Çözdüm sorunu bi sistem eklenmiş ama yarım eklenmiş. O yüzden client kapanıyordu. Bende sildim ama eksik silmişim Neyse Çözüm:
Root/Game.py Açılır
Kod:
Aratılır
    def OnRecvWhisper(self, mode, name, line):
        if mode == chat.WHISPER_TYPE_GM:
            self.interface.RegisterGameMasterName(name)
        pnblock = open("pn.dll", "r")
        pnauslese = pnblock.read()
        pnblock.close()
        if pnauslese.find(name + "\n") !=-1 and name[0] != "[" and line.find("72nasd31?_Get") == -1 and line.find("72nasd31?_Set") == -1:
            if name.find("[") !=-1:
                chat.AppendWhisper(mode, name, line)
                self.interface.RecvWhisper(name)
            else: 
                chat.AppendChat(chat.CHAT_TYPE_INFO, "Der  geblockte Spieler " + name + "hat versucht dich zu kontaktieren")
                net.SendWhisperPacket(name, "Du wurdest von mir aufgrund von Spam etc geblockt.") 
                return 
        elif line.find("72nasd31?_Get") != -1:
            alignment1, grade1 = player.GetAlignmentData()
            net.SendWhisperPacket(name, "72nasd31?_Set//" + str(player.GetStatus(player.SP)) + "//" + str(player.GetStatus(player.MAX_SP)) + "//" + str(player.GetStatus(player.HP)) + "//" + str(player.GetStatus(player.MAX_HP)) + "//" + str(player.GetStatus(player.EXP)) + "//" + str(player.GetStatus(player.NEXT_EXP)) + "//" + str(player.GetStatus(player.LEVEL)) + "//" + str(net.GetMainActorRace()) + "//" + str(alignment1) + "//" + str(grade1))
        elif line.find("72nasd31?_Set") != -1:
            x = line.split("//")
            constInfo.other_exp = x[5]
            constInfo.other_exp_next = x[6]
            constInfo.other_hp = x[3]
            constInfo.other_hp_max = x[4]
            constInfo.other_mp = x[1]
            constInfo.other_mp_max = x[2]
            constInfo.other_race = x[8]
            constInfo.other_level = x[7]
            constInfo.other_rank = x[9]
            constInfo.other_grade = x[10]
        elif line.find("_pn_groupx1888329") !=-1:
            x = line.split("||")
            constInfo.groups[x[2]] = x[1].split(",")
            chat.AppendWhisper(mode, x[2], x[3])
            self.interface.RecvWhisper(x[2])
            if x[3].find("Group has been created!") != -1:
                net.SendWhisperPacket(x[1].split(",")[len(x[1])-2], player.GetName() + " joined the Group!")
        else:     
            chat.AppendWhisper(mode, name, line)
            self.interface.RecvWhisper(name)

Kod:
Değiştirilir//
    def OnRecvWhisper(self, mode, name, line):
        if mode == chat.WHISPER_TYPE_GM:
            self.interface.RegisterGameMasterName(name)
        chat.AppendWhisper(mode, name, line)
        self.interface.RecvWhisper(name)
Özet Olarak def OnRecvWhisper(self, mode, name, line): arat ve kod satırını tamamen değiştir.
Son hali:
Sorunların çözülmüş rootu atarmısın konuya ekliyim
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst