Hey everyone!
I got remote connection working with my desktop, so I can work on Kibou during my boring computer science classes. I also have my friend beta testing it while I develop it in class. We got a few small bugs with friend lists ironed out.
So earlier this week, I worked on shops. I have it so that shop information is loaded in from the database using the client's shop.dat file. Using the file, I create shop definitions that are checked when an item is being purchased from an NPC shop. Characters can now buy items from and sell their items to shops. Inventories have been fully implemented now. Here's a picture of shops working:
[Only registered and activated users can see links. Click Here To Register...]
I also got item actions done so now when you click on an item that can be used, an item action script is ran (based on the item's type). It's a near copy of my NPC dialog system since it uses the same base class (my IronPython management class). Anyways, back to today.
Yesterday and today I had some free time, so I started and finished trading. Trading is a bit of a complex system (compared to the chat system for example), in that you have to securely manage items and currencies between the players. To do that, I created a trade structure that manages trading transactions, uses my timed request system, and so on. Here's a picture of the request working (you may only send one request every half minute):
[Only registered and activated users can see links. Click Here To Register...]
After that has been accepted, the trade structures are created for both players and the trade can commence. Everything works (as you can see from the picture below), and it works securely (which is why this system took a bit longer than I expected - a lot of security checks).
[Only registered and activated users can see links. Click Here To Register...]
Anyways, that's it for now. As usual, more development is coming soon! I might be working on dropping items on the floor next, then maybe equipment.
Cheers,
Spirited Fang