Jump to content

Two questions about Python


Recommended Posts

Regarding the player level in pm.. I'm not sure if this works in the latest files but before you did it this way:

 

Find this in uiwhisper.py:

net.SendWhisperPacket(self.targetName, text)

Replace it with this:

net.SendWhisperPacket(self.targetName, "(Lv. " + str(player.GetStatus(player.LEVEL) )+ "):" + text)
  • Love 1
Link to comment
Share on other sites

  • Premium

 

Regarding the player level in pm.. I'm not sure if this works in the latest files but before you did it this way:

 

Find this in uiwhisper.py:

net.SendWhisperPacket(self.targetName, text)

Replace it with this:

net.SendWhisperPacket(self.targetName, "(Lv. " + str(player.GetStatus(player.LEVEL) )+ "):" + text)

 

Don't forget the import. ^^

 

I will do a tutorial. :D

Link to comment
Share on other sites

 

Regarding the player level in pm.. I'm not sure if this works in the latest files but before you did it this way:

 

Find this in uiwhisper.py:

net.SendWhisperPacket(self.targetName, text)

Replace it with this:

net.SendWhisperPacket(self.targetName, "(Lv. " + str(player.GetStatus(player.LEVEL) )+ "):" + text)

 

it works perfectly

thank you

what about first question

do you have any idea ?

 

Link to comment
Share on other sites

  • Management

Maybe in uichat if tou can, do this:

If detect some characters this show a picture, and you put the directory to the picture

I don't now if this is possible, and I don't now much about python to do something like this

I hope I can help you...

raw

raw

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • 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.