Help Python

06/16/2012 11:14 martyzor#1
Hello everyone.

First of all I want to apologize if my English is not very good.
So let`s start :D
A few weeks ago, I started to learn Python to better understand how it works metin2 client. In high school I learned C++, and I managed to learn quite well.
I wanted to deepen my knowledges making a simple application in metin2. I wanted to add at PM window an Input field, in wich the player should introduce a "string" var.That var should take the place "self.targetName"
Code:
net.SendWhisperPacket(self.targetName + text)
So when I pm somebody, in the PM window, that var should appear , not my name:).
Well, not this is my problem. At the top at uiwhisper.py, I see some files that are imported,take a look.
Code:
import ui
import net
import chat
import player
import app
import locale
The files net.py, char.py, player.py, app.py should not be in the same folder with uiwhisper.py (root, in my case) like ui.py and locale.py?
This is my problem where should be that files ?:(

Anyone who has any idea, please help me.But if you help me, do it in English please :D

P.S. If you have any tips for me,about my aplication, they are welcome too :)
06/17/2012 21:28 martyzor#2
up ?:(