Thorer 19 Posted January 25, 2015 Share Posted January 25, 2015 Hi guys. Do you know how to do polimorh only clientside? I tried to do this with SetRace but my character disappeared. Link to comment Share on other sites More sharing options...
Thorer 19 Posted January 27, 2015 Author Share Posted January 27, 2015 @Ref Link to comment Share on other sites More sharing options...
Stefan 92 Posted January 27, 2015 Share Posted January 27, 2015 uneqipp armor after that:P 1 Link to comment Share on other sites More sharing options...
Thorer 19 Posted January 28, 2015 Author Share Posted January 28, 2015 uneqipp armor after that:P Before SetRace I put SetArmor(0) and SetHair(0) and still not work. Link to comment Share on other sites More sharing options...
Thorer 19 Posted January 29, 2015 Author Share Posted January 29, 2015 Refresh Link to comment Share on other sites More sharing options...
DasSchwarzeT 111 Posted January 29, 2015 Share Posted January 29, 2015 You have to set armor and hair to 0 after you set the race Link to comment Share on other sites More sharing options...
Ken 904 Posted January 29, 2015 Share Posted January 29, 2015 (edited) You should be load mob proto before don't do this. SetRace(101) SetHair(0) SetArmor(0) Refresh() Kind Regards Zerelth ~ Ellie Edited January 29, 2015 by Zerelth™ Do not be sorry, be better. Link to comment Share on other sites More sharing options...
Active Member Koray 1994 Posted January 29, 2015 Active Member Share Posted January 29, 2015 chr.SetRace(int(101)) chr.Update() Link to comment Share on other sites More sharing options...
Ken 904 Posted January 29, 2015 Share Posted January 29, 2015 (edited) chr.SetRace(int(101)) chr.Update() def Polymorph(self, race): if(race.isdigit()) chr.SetRace(int(race)) chr.Update() else: chr.SetRace(race) chr.Update() ##################################################3 # How to use # First way : Polymorph(101) # Second way : Polymorph("101") If you wanna provide all security for this function, here third way. def Polymorph(race): try: if(race.isdigit()): chr.SetRace(int(race)) chr.Update() else: chr.SetRace(race) except: chr.SetRace(race) chr.Update() ##################################################3 # How to use # First way : Polymorph(101) # Second way : Polymorph("101") #DontKillPython Kind Regards Zerelth ~ Ellie Edited January 29, 2015 by Zerelth™ Do not be sorry, be better. Link to comment Share on other sites More sharing options...
Active Member Koray 1994 Posted January 29, 2015 Active Member Share Posted January 29, 2015 (edited) chr.SetRace(int(101)) chr.Update() def Polymorph(self, race): if(race.isdigit()) chr.SetRace(int(race)) chr.Update() else: chr.SetRace(race) chr.Update() ##################################################3 # How to use # First way : Polymorph(101) # Second way : Polymorph("101") #DontKillPython Kind Regards Zerelth ~ Ellie P.S: Your usage method wrong. The truth "self.Polymorph(race)" Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Ken 904 Posted January 29, 2015 Share Posted January 29, 2015 (edited) chr.SetRace(int(101)) chr.Update() def Polymorph(self, race): if(race.isdigit()) chr.SetRace(int(race)) chr.Update() else: chr.SetRace(race) chr.Update() ##################################################3 # How to use # First way : Polymorph(101) # Second way : Polymorph("101") #DontKillPython Kind Regards Zerelth ~ Ellie P.S: Your usage method wrong. The truth "self.Polymorph(race)" SetRace = chr.SetRace SetHair = chr.SetHair SetArmor = chr.SetArmor Refresh = chr.Update But it's easy, isn't it? Kind Regards Zerelth ~ Ellie Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Do not be sorry, be better. Link to comment Share on other sites More sharing options...
Active Member Koray 1994 Posted January 29, 2015 Active Member Share Posted January 29, 2015 (edited) chr.SetRace(int(101)) chr.Update() def Polymorph(self, race): if(race.isdigit()) chr.SetRace(int(race)) chr.Update() else: chr.SetRace(race) chr.Update() ##################################################3 # How to use # First way : Polymorph(101) # Second way : Polymorph("101") #DontKillPython Kind Regards Zerelth ~ Ellie P.S: Your usage method wrong. The truth "self.Polymorph(race)" SetRace = chr.SetRace SetHair = chr.SetHair SetArmor = chr.SetArmor Refresh = chr.Update But it's easy, isn't it? Kind Regards Zerelth ~ Ellie Where is the defined this veriables in your first post? Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Ken 904 Posted January 29, 2015 Share Posted January 29, 2015 (edited) chr.SetRace(int(101)) chr.Update() def Polymorph(self, race): if(race.isdigit()) chr.SetRace(int(race)) chr.Update() else: chr.SetRace(race) chr.Update() ##################################################3 # How to use # First way : Polymorph(101) # Second way : Polymorph("101") #DontKillPython Kind Regards Zerelth ~ Ellie P.S: Your usage method wrong. The truth "self.Polymorph(race)" SetRace = chr.SetRace SetHair = chr.SetHair SetArmor = chr.SetArmor Refresh = chr.Update But it's easy, isn't it? Kind Regards Zerelth ~ Ellie Where is the defined this veriables? import chr import dbg SetRace = chr.SetRace SetHair = chr.SetHair SetArmor = chr.SetArmor Refresh = chr.Update class Koray: def __init__(self): print("I am okay") def Tellme(self): try: SetRace(101) dbg.TraceError("I am okay") except: pass test = Koray() test.Tellme() Simple example for you. Kind Regards Zerelth ~ Ellie Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Do not be sorry, be better. Link to comment Share on other sites More sharing options...
Active Member Koray 1994 Posted January 29, 2015 Active Member Share Posted January 29, 2015 import chr import dbg SetRace = chr.SetRace SetHair = chr.SetHair SetArmor = chr.SetArmor Refresh = chr.Update class Koray: def __init__(self): print("I am okay") def Tellme(self): try: SetRace(101) dbg.TraceError("I am okay") except: pass test = Koray() test.Tellme() Simple example for you. Kind Regards Zerelth ~ Ellie HELLO ?? Do you see my post ? Where is the defined this veriables in your first post. P.S: bugs,bugs,bugs; class Koray >> class Koray() print("-") >> print "-" Link to comment Share on other sites More sharing options...
Ken 904 Posted January 29, 2015 Share Posted January 29, 2015 (edited) import chr import dbg SetRace = chr.SetRace SetHair = chr.SetHair SetArmor = chr.SetArmor Refresh = chr.Update class Koray: def __init__(self): print("I am okay") def Tellme(self): try: SetRace(101) dbg.TraceError("I am okay") except: pass test = Koray() test.Tellme() Simple example for you. Kind Regards Zerelth ~ Ellie HELLO ?? Do you see my post ? Where is the defined this veriables in your first post. P.S: bugs,bugs,bugs; class Koray >> class Koray() print("-") >> print "-" I think python is not like me I don't have much time for these things any more. You should be look at this if you are still think this wrong. Python Classes Kind Regards Zerelth ~ Ellie Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Do not be sorry, be better. Link to comment Share on other sites More sharing options...
Active Member Koray 1994 Posted January 29, 2015 Active Member Share Posted January 29, 2015 (edited) Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Edward 4 Posted January 29, 2015 Share Posted January 29, 2015 (edited) print ("-") >> print "-" ? Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Active Member Koray 1994 Posted January 29, 2015 Active Member Share Posted January 29, 2015 (edited) print ("-") >> print "-" ? https://docs.python.org/3.0/whatsnew/3.0.html#print-is-a-function Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Edward 4 Posted January 29, 2015 Share Posted January 29, 2015 (edited) print ("-") >> print "-" ? https://docs.python.org/3.0/whatsnew/3.0.html#print-is-a-function Yes I saw. print "hello" --> old print ("hello") --> new Where is the bugg? Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now