Construction development (20 August 2013)

PkHonor's work in progress and future updates will be posted here.
Locked
User avatar
Mike
Programmer
Posts: 6297
Joined: Sun Nov 01, 2009 8:00 pm
Location: PkHonor HQ

Construction development (20 August 2013)

Post by Mike » Wed Jul 17, 2013 3:23 pm

Construction to-do list before final release:
-> Make all furniture work
-> Make all NPC's in the dungeon work
-> Optimize database saving and loading of player-owned houses
-> Allow players to choose who can enter their house and who cannot
-> Fix all bugs and glitches


20 August 2013
-> The last additions have been made and the skill has been released on the test server! http://www.pkhonor.net/test or http://www.pkhonor.net/PkHonor_testclient.jar!

19 August 2013
-> The servant has been added, he will follow you around (unless you tell him not to) and give you direct access to your bank. More features for the servant may be suggested here.
-> All rooms now have a level requirement and coin cost
-> Players now have the ability to add all furniture in the garden and the parlour

18 August 2013
-> All construction materials (normal plank, oak plank, teak plank, mahogany plank, clay, limestone, marble, gold leaf, bolt of cloth and bagged plants) are now available to players.

8 August 2013
-> Added the estate agent who sells you a house, tells you where to get construction materials, explains the benefits of the skill and who offers you to hire a servant at a price
-> Added restrictions to the maximum amount of rooms you can build, based on what house you bought at the estate agent

29 July 2013:
-> Added noclipping checks so you can't walk through any walls or objects
-> Added the ability to change the portal where players spawn in the house. If you have a second garden with a portal, you can right-click a portal and click 'Set default' to set the portal as default.
If you remove your default portal, the other portal in your house will become the default spawning point. If you only have one portal in your entire house, you cannot remove it.


24 - 28 July 2013:
-> Added the 'normal mode' for player-owned houses, where you don't see any ghost-like object hotspots (as opposed to building mode): http://imgur.com/e99JoMn,jKrHYGl,p4gAKQ ... la,1E1yfji
Some screenshots showing rooms in building and normal mode: http://imgur.com/m7BggVT,4Bxsl9V,BcKZPIx,VGIQVpO
This is done client-sided for maximum performance and minimal loading time when entering a house. It cannot be abused in any way so it's safe to let the client handle it.
Note that all rooms in my house are empty (apart from a staircase and a portal) since I have not yet added any furniture. This will be done later.
-> In normal mode, all rooms on the ground floor have doors when they are adjacent to open space or a garden. All doors are open, since it's quite troublesome to always have to open the doors each time you enter your house (players who have a house in RS will know the feeling). Doors do not serve any purpose anyways apart from giving the house a more realistic feeling, hence the choice to leave them open. They cannot be closed but I see no reason to.
-> In normal mode, all rooms on the 2nd floor are now closed off with walls: http://imgur.com/8Wpbq5Y,a5fG0cy
-> A minor bug in roofs has been fixed. All roofs are now shown properly: http://imgur.com/S9we4X9,MIgO2nF,ryRHhS ... qV,HEyv5Tb
-> A bug has been fixed with players visiting other players their house. Visiting other houses now works flawlessly: http://imgur.com/JDYFiix,rFTaM26
-> Fixed the bug where some objects were placed incorrectly. This was caused by some incorrect client code. I'm not sure if Jagex was responsible for that or if the code was written by the previous coder who worked on the client (I didn't make the client completely myself after all). Doesn't matter either way since I fixed it now.


23 July 2013:
-> Roofs have been added and work like a charm: http://imgur.com/uKg5RGl,TqptWOr,kM1IxYm,eRm3tQ1#0


20 July 2013:
The player-owned house is now also saved in the database and players can visit the house of others. To my knowledge, RuneScape does not allow players to enter the house of someone who is offline - but in PkHonor, you can!
I still need to give players the possibility to choose who can enter their house, and to choose whether or not guests will be allowed in their house while the owner is offline. This will give players complete freedom over their property.


19 July 2013:
I've managed to fix the noclipping inside a dungeon. This was actually not so hard once someone else (unintentionally) gave me the clue I needed to find the cause of the problem. Somehow a dungeon on height 0 causes noclipping, but on height 1 it all works fine. Don't ask me how or why, but by building the dungeon on height 1, I've fixed it. And it doesn't make a difference on what height it's built anyway.

I've hereby also added all the code needed to remove any piece of furniture (or staircase). Once again I've gotten a few steps closer to finishing the construction skill.
Note that the 'remove' option will not be shown on furniture when you're in your player-owned house outside building mode. In actual RuneScape, the 'remove' option is shown on all furniture, also outside building mode even though you can't remove any furniture outside building mode. Completely pointless so I took care of that as well.

A teaser for what I've achieved so far: http://imgur.com/PjbUCtb,Q1vnpDW,oLsxm3 ... ,pABAiq9#0

[Update] I've hereby added all dungeon rooms: http://imgur.com/40TYYZV,XzumGCE,492C84u,t0zoISF#0



18 July 2013:
I've hereby managed to make stairs work, both toward the second floor and to dungeons. You can build every kind of staircase (oak, teak, mahogany, marble, spiral and marble spiral) and you'll need the proper construction level and materials to build one. You can also build every room and rotate them as you like.

I have however come across another strange glitch: in the dungeon, you can walk through every wall (which you cannot in the rest of your house). I have no idea how this is caused and it will probably take me a while to figure this out and fix it. We don't want a dungeon where you can just walk through everything :P



17 July 2013:
Today I managed to fix a bug that had been bothering me for over a week. For some reason, all the rooms on the 2nd floor (height 1) were horribly disfigured and I could not possibly release the construction skill with rooms looking like pudding. I finally managed to fix it so now I can continue my work on construction.

Right now I'm finalizing my work on stairs and the ability to access a dungeon. After this is done, I will start looking into the ability for players to enter other players their house and to save the house in the database.

Once these things are done, I'm considering to release the skill for honor players and administrators. No furniture apart from stairs will be available yet, but at least they'll be able to test if room and stair placement works properly, as well as get a first glance at what construction will eventually look like.

User avatar
Smdjagex
Premium Donator
Posts: 3361
Joined: Sun Apr 14, 2013 6:43 pm

Re: Construction development (17 July 2013)

Post by Smdjagex » Wed Jul 17, 2013 3:29 pm

Sounds great Mike. I'm really excited for this because I have Never seen or heard of a server with working construction.
Image
Credits to maurits for Signature
Image
Image
Image
Image

User avatar
Ivy
Premium Donator
Posts: 2285
Joined: Thu Apr 11, 2013 9:01 am
Location: The Netherlands.

Re: Construction development (17 July 2013)

Post by Ivy » Wed Jul 17, 2013 3:38 pm

Got a deadline of when construction will be finalized and released?

User avatar
Andres
Developer
Posts: 4846
Joined: Fri Apr 12, 2013 6:23 pm
Location: Belgium

Re: Construction development (17 July 2013)

Post by Andres » Wed Jul 17, 2013 3:40 pm

Seems cool! :)
Image

User avatar
Mike
Programmer
Posts: 6297
Joined: Sun Nov 01, 2009 8:00 pm
Location: PkHonor HQ

Re: Construction development (17 July 2013)

Post by Mike » Wed Jul 17, 2013 4:07 pm

Hephaestus wrote:Got a deadline of when construction will be finalized and released?
No I do not. Construction will be released when I think it's ready to be released.

Rick
Unstoppable
Posts: 7742
Joined: Mon Apr 01, 2013 4:33 pm

Re: Construction development (17 July 2013)

Post by Rick » Wed Jul 17, 2013 4:11 pm

Freakin sick!

Love it Mike :)

You should maybe post some sneekpeak screenies ;)
Image

User avatar
Ivy
Premium Donator
Posts: 2285
Joined: Thu Apr 11, 2013 9:01 am
Location: The Netherlands.

Re: Construction development (17 July 2013)

Post by Ivy » Wed Jul 17, 2013 4:57 pm

Megan fox wrote:Freakin sick!

Love it Mike :)

You should maybe post some sneekpeak screenies ;)
in a few days our honora have access :$

User avatar
K3
Honor Player
Posts: 482
Joined: Fri Apr 12, 2013 2:25 am
Location: Home

Re: Construction development (17 July 2013)

Post by K3 » Wed Jul 17, 2013 6:05 pm

Mike wrote:
Hephaestus wrote:Got a deadline of when construction will be finalized and released?
No I do not. Construction will be released when I think it's ready to be released.

When u'll think its ready to be released o.o

User avatar
Maurits
Honor Player
Posts: 8807
Joined: Mon Apr 01, 2013 3:21 pm
Location: Retirement Home

Re: Construction development (17 July 2013)

Post by Maurits » Wed Jul 17, 2013 6:08 pm

K3 wrote:
Mike wrote:
Hephaestus wrote:Got a deadline of when construction will be finalized and released?
No I do not. Construction will be released when I think it's ready to be released.

When u'll think its ready to be released o.o
He won't give a date, we'll just have to wait and see. ;)

Nice work Mike, construction will be a great skill.
Image

The design
Novice
Posts: 39
Joined: Mon Jul 15, 2013 5:10 am

Re: Construction development (17 July 2013)

Post by The design » Wed Jul 17, 2013 6:30 pm

Can't wait :)

Locked