Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Bomy Island Main Forum (https://forums.graalonline.com/forums/forumdisplay.php?f=80)
-   -   New Playerhouse system (https://forums.graalonline.com/forums/showthread.php?t=11536)

Admins 09-10-2001 04:29 AM

New Playerhouse system
 
Yesterday all playerhouses have been updated
to a new script version. Main features:
- automatic rent system (say show rent/pay rent)
- all keys have a number so you can use it for assigning
ownership to special rooms (and it works after npcserver
restart since the keys are saved in the house-control npc)
- a new class for playerhouse doors which makes the
thing simplier, the script looks like this:
NPC Code:

if (created) {
this.key = 4;
setstring this.control,House-Control1;
this.warpx = 8;
this.warpy = 13;
}
join housedoors;


- new command: 'give ownership to "accountname"'

Because the rent thing is simplier now (because it doesn't
need admins to transfer the money etc.) we can add more
houses, possibly in the underground lake

Merlin 09-10-2001 04:31 AM

cool

japinthussp2p 09-10-2001 04:37 AM

Well , that doesnt give me enough info for the doors! I have working doors now but you make us use the new 1's

MrCoolDude 09-10-2001 04:41 AM

kool.

BTW: Stefan, please upload the level I sent you and insert the doors npc into. Thank you.

smallballn13 09-10-2001 04:42 AM

Nice :D

Lugie 09-10-2001 04:43 AM

ok but on the rent does the npc take it from y our account automatically?

Torankusu 09-10-2001 04:45 AM

Quote:

Originally posted by Lugie
ok but on the rent does the npc take it from y our account automatically?
Are you still keeping your house?

if not, could i have it or someone that is on alot? :( I have no place to store the cash money i hold for people.

Asmodeus-James 09-10-2001 04:46 AM

Quote:

Originally posted by Lugie
ok but on the rent does the npc take it from y our account automatically?
I dont think so because there is a command pay rent...maybe..

InfernoDragon 09-10-2001 04:54 AM

Hmmm. I must agree with Jap.

The post wasnt that informative about the door script.


I desire for someone to please assist us with this please

japinthussp2p 09-10-2001 04:56 AM

Yeah! I had to pay 1200g for a house i had 10 days without being able to even sell a damn key!!!

InfernoDragon 09-10-2001 05:03 AM

Also, me and Reese just bought this house at da auction.

when will we have to start paying rent?

japinthussp2p 09-10-2001 05:12 AM

You use the rent system. Must pay 300 in 1 week

psihunter 09-10-2001 05:19 AM

On what day will rent be collected?

Admins 09-10-2001 05:45 AM

On saturday evening

About the doors: its too much work to check&fix
all those strange door scripts made by people,
so we should use this simple door script that
just warps the player into the room, and
is using the info saved in the house-control npc

We should probably make a set of npcs which
the house owner can place in their houses,
to make things simplier and get updates uploaded
faster

psihunter 09-10-2001 05:46 AM

Stefan I sent you the url to download personnnal house and bomy fix
in your forums pm >=)

Xythar 09-10-2001 07:10 AM

I'm pretty sure that this "update" was the reason I lost all of my cash. >:(

Also, I'm pretty new to the playerhouse thing --- beyond house and rooms keys, I'm clueless. But from what's implied in this thread, the owner of the house has to pay rent? To who? and Why? I just pay rent manually to the house owner, I didn't know he had rent too...

Speaking of which, I no longer have any gralats. Which means I need to make 50 g in by monday, or I lose my room. D'oh.

konidias 09-10-2001 08:05 AM

Yeah stefan, I understand the new rent system, but about the doors.. how are they used? Does the owner of the room touch an npc to enter their room, or do they say a command? Or what?

The rent thing was a good idea, I even brought it up to stefan a while ago. :) (im not sure if he got it from me though) I believe it works like:

The owner can pay rent by saying a command (instead of being forced to pay on a certain day) This gives the owner more freedom when paying.. so they could pay quickly if they are afraid their going to lose their money or something.

I'm guessing if you can't pay the money on Saturday evening, you lose the house.. since you have all week to pay for it. ;)

Xythar 09-10-2001 08:10 AM

Quote:

Originally posted by konidias
Yeah stefan, I understand the new rent system, but about the doors.. how are they used? Does the owner of the room touch an npc to enter their room, or do they say a command? Or what?

The rent thing was a good idea, I even brought it up to stefan a while ago. :) (im not sure if he got it from me though) I believe it works like:

The owner can pay rent by saying a command (instead of being forced to pay on a certain day) This gives the owner more freedom when paying.. so they could pay quickly if they are afraid their going to lose their money or something.

I'm guessing if you can't pay the money on Saturday evening, you lose the house.. since you have all week to pay for it. ;)

If they bought the house, then why do they have to pay rent?

japinthussp2p 09-13-2001 02:06 AM

Well , you must check the NPC anyway for illegal scripts and such.

Also thats why you hire people to do that stuff. :confused:

Krakken_2001 09-13-2001 02:45 AM

Okay, this is all very well, but what about all the effort I have put into a new room NPC for my new house?

It has no money taking thing which is a downside but I will only be renting to people I know and partially trust anyway!
I know how to fully use it and it is MY personal work which makes me feel more proud!

I like the system but I think we should be given a choice! I don't want to pass my designed NPC away! The NPC I made, even though the coding is complex, consists of nothing but string manipulating and two tile long, warping. Is that such a risk to the system?

LordMatt 09-13-2001 08:56 AM

Stefan for the love of god update my house and fix the rooms!! AHHH I'll be stuck like dis forever if stefan dont fix it :'(

japinthussp2p 09-13-2001 09:23 AM

I too have spent A LOT of time making and testing on frolic!!!
It lets the account I gave it in the room. The command is...
"Room (Room#) (Account)"
ALso its not just for my account! Its for the house owner. The command used to be this.owner0. I dont know what the new one is.
All I would like is my level up so that I can start making my money back!

LordMatt 09-13-2001 09:55 AM

Quote:

Originally posted by japinthussp2p
I too have spent A LOT of time making and testing on frolic!!!
It lets the account I gave it in the room. The command is...
"Room (Room#) (Account)"
ALso its not just for my account! Its for the house owner. The command used to be this.owner0. I dont know what the new one is.
All I would like is my level up so that I can start making my money back!

seriously...

milotheman 09-14-2001 03:18 AM

wow i dont get this new door system

MrCoolDude 09-14-2001 06:49 AM

The new door system needs more explanation.

NPC Code:

if (created) {
this.key = 4;
setstring this.control,House-Control1;
this.warpx = 8;
this.warpy = 13;
}
join housedoors;



So, for each door do you place this and change the this.key = 4 to the key that has acces to it. And change this.warpx and this.warpy to the x & y that you go to when you enter room? And, do you need something to make it so when you say leave you get out like the house system npc says?


All times are GMT +2. The time now is 06:07 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.