Zhan August 15-August 21

From PSwiki
Jump to navigation Jump to search
  • This week I finally finished the work on NPC dialog. It seems that this task has cost lots of my time. The reason is simple: I am only familiar with codes for the gui parts such as libpaws and libgui. When I have to do something with the help of other parts of PlaneShift, it will cost me lots of time reading corresponding code to learn how to use those parts. This week, I met another problem when dealing with enableing to show npc's response to player. The target is to get the npc's chat text and then display it in a bubble like widget. The displaying part is very easy for me to implement. The problem is to get the npc's chat text. I searched the entire solution many times and read lots of codes in order to find how to get these chat texts. In fact it is just in the psChatBubble.cpp file. But that cost lots of my time. I thought I should ask for help on IRC for this problem when I found it is so simple!
  • Following is what I have done this week:
    • Finished work on NPC dialog.
    • Test the function of the new NPC dialog.
    • Patch the code for NPC dialog and related files and submit.


  • Plan for next week
    • Solve the problems in chat window.