Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   I Need The House Scripts For G2K1 (https://forums.graalonline.com/forums/showthread.php?t=13565)

ChantalValkyrie 10-02-2001 02:40 AM

I Need The House Scripts For G2K1
 
Hey i would like someone to give me the house scripts that are on G2K1... I have asked lots of peepl if they had it, but they won't give it to me :(... I want to make a house.

SSRobgeta 10-02-2001 02:48 AM

Re: I Need The House Scripts For G2K1
 
Quote:

Originally posted by ChantalValkyrie
Hey i would like someone to give me the house scripts that are on G2K1... I have asked lots of peepl if they had it, but they won't give it to me :(... I want to make a house.
*****! Why don't you make your own! I am even though I have the script :D

btedji 10-02-2001 03:01 AM

Re: I Need The House Scripts For G2K1
 
Quote:

Originally posted by ChantalValkyrie
Hey i would like someone to give me the house scripts that are on G2K1... I have asked lots of peepl if they had it, but they won't give it to me :(... I want to make a house.
you mean like the player houses that have keys and stuff?

ChantalValkyrie 10-02-2001 03:45 AM

yeah those scripts... and i can't make my own because i bet stefen won't allow new scripts for houses.

SSRobgeta 10-02-2001 03:47 AM

Quote:

Originally posted by ChantalValkyrie
yeah those scripts... and i can't make my own because i bet stefen won't allow new scripts for houses.
Oh are you making a player house for 2001?

ChantalValkyrie 10-02-2001 04:09 AM

trying to anyway

Shard_IceFire 10-02-2001 04:17 AM

lol

ChantalValkyrie 10-02-2001 04:25 AM

Don't post unless you are going to give it to me!

ArmadeusWarlock 10-02-2001 05:13 AM

I think stefan adds the house script for keys and stuff.

If you are having rooms in your house, i think youll have to make the doors to the rooms yourself, and stefan would check them for bugs.

also, i dont think you can just have a house on graal by sending it in, you would have to afford a high weekly rent and all, inferno and i just gave up on the house and sold it for what we got it for

btedji 10-02-2001 05:49 AM

stefan definitley wont allow new house scripts other than the current ones

Enigma_GP6 10-02-2001 07:13 AM

I worked an hour on making my own one, I have never seen the G2K1 houses, but I am just making mine to where the person who owns it, can lock/unlock, change music, begina sparring zone, turn on/off playerkiling, and more. Just make up your own, if Stefan Doesn't do it for you.

-Rebel95

SSRobgeta 10-02-2001 07:44 AM

Maybe its something like this :D


if (created) {
this.open = false;
setimg housecrystal.png;
setshape 1,48,64;
}
if (initialized) {
this.mode = 0;
}
if (playerenters) {
if (strequals(#s(this.owner0),))
this.open = true;

checkisowner();
if (isowner==false && this.open==false)
warpplayerout();
else {
if (this.mode==0) {
message Welcome!;
sleep 3;
message;
}
}
}
if (playertouchsme) {
say2#
Hello!#b
If you are the owner of this#b
house then use these commands:#b
give key <enter> account name#b
take key <enter> account name#b
list owners#b
open door#b
close door#b
Max #v(this.maxowners) players can have the key;
}
if (playerchats && !strequals(#c,)) {
if (strequals(#s(this.owner0),#a)) {
if (this.mode==0) {
if (strequals(#c,give key)) {
getfreeslot();
if (freeslot>=0) {
this.mode = 1;
this.request = 0;
message Giving key: Tell me the account name of the player!;
} else {
say2
There is no free key anymore!#b
Max #v(this.maxowners) keys can#b
be given.;
}
}
if (strequals(#c,take key)) {
this.mode = 1;
this.request = 1;
message Taking key: Tell me the account name of the player!;
timeout = 0;
}
if (strequals(#c,open door)) {
this.open = true;
message Door is open!;
sleep 3;
message;
}
if (strequals(#c,close door)) {
this.open = false;
warpallplayersout();
message Door is closed!;
sleep 3;
message;
}
} else if (this.mode==1) {
this.mode = 0;
if (this.request==0) {
setstring this.checkacc,#c;
getslot();
if (slot>=0) {
message That player already has a key!;
sleep 3;
message;
} else {
getfreeslot();
if (freeslot>=0) {
setstring this.owner#v(freeslot),#c;
message Player #s(this.owner#v(freeslot)) got the key!;
sleep 3;
message;
}
}
} else if (this.request==1) {
setstring this.checkacc,#c;
getslot();
if (slot==0)
message The key for the owner can only be removed from an NPC
Admin.;
else if (slot>=1) {
if (this.open==false) with (getplayer(#s(this.checkacc))) {
if (strequals(#F,#L))
warpplayerout();
}
setstring this.owner#v(slot),;
message Key was taken away;
} else
message That player has no key for this house!;
sleep 3;
message;
}
}
}
if (this.mode==0) {
if (strequals(#c,list owners)) {
listowners();
message Owners: #s(this.ownerlist);
sleep 5;
message;
}
}
}
function checkisowner() {
isowner = false;
for (i=0; i<this.maxowners; i++)
if (strequals(#s(this.owner#v(i)),#a)) {
isowner = true;
break;
}
if (strequals(#g,Coder))
isowner = true;
}
function getfreeslot() {
freeslot = -1;
for (i=0; i<this.maxowners; i++)
if (strequals(#s(this.owner#v(i)),)) {
freeslot = i;
break;
}
}
function getslot() {
slot = -1;
for (i = 0; i<this.maxowners; i++)
if (strequals(#s(this.owner#v(i)),#s(this.checkacc))) {
slot = i;
break;
}
}
function listowners() {
setstring this.ownerlist,#s(this.owner0);
for ( i = 1 ; i<this.maxowners ; i++ ) {
if (!strequals(#s(this.owner#v(i)),))
setstring this.ownerlist,#s(this.ownerlist) + #s(this.owner#v(i));
}
}
function warpplayerout() {
setlevel2 #s(this.outlevel),this.outx,this.outy;
}
function warpallplayersout() {
for (j=0; j<playerscount; j++) {
with (players[j]) {
checkisowner();
if (isowner==false)
warpplayerout();
}
}
}

ChantalValkyrie 10-02-2001 08:18 AM

since i am no expert at anything, besides being a n00b, is that the real script or something very similar to it?

ArmadeusWarlock 10-02-2001 08:32 AM

Well....
 
Im not sure, but G2K1 scripts are illegal to use unless on G2K1 itself.

That script does look like a house script for sure though. But I wouldnt add it, because:
1)Stefan more than likely wont except the house.
a)If he does, you wont own it.
b)If he does, you must buy it for a large sum of gralat and you must pay weekly rent of 200+ gralat like all the others.
2)Stefan will add the new house script for you if you are UPDATING your house.

ChantalValkyrie 10-02-2001 08:42 AM

As i said, I want to make my own house, and its going to be on G2K1, if i can persuade stefen.... you just need to know when to ask, and how to ask to get past him... I hope he does tho because I'm going to put ALOT, and i mean ALOT of time in this house... I think houses would be alot better if it was multi level with whatever the owner wants in it. One level doesn't express the creator's work enought :(... Oh and the money bit? I've gotten that taken care of, sort of... When stefen enables the water 4 trees at once bug again, i will be making lots of money to pay for it. And I WILL own it... you can count on that, hehe.

entravial 10-02-2001 08:51 AM

~AlphaFlame~

Quote:

As i said, I want to make my own house, and its going to be on G2K1, if i can persuade stefen.... you just need to know when to ask, and how to ask to get past him... I hope he does tho because I'm going to put ALOT, and i mean ALOT of time in this house... I think houses would be alot better if it was multi level with whatever the owner wants in it. One level doesn't express the creator's work enought ... Oh and the money bit? I've gotten that taken care of, sort of... When stefen enables the water 4 trees at once bug again, i will be making lots of money to pay for it. And I WILL own it... you can count on that, hehe.
Can't... resist... must... reword!

leik, i sed i wanted to maked mi ownz house, plz, and itz gong to b on g2k1 leik wow! if i r persuade stefen... u just r b ned to no when 2 ask and how 2 ask 2 get pist him... i r hope he r b likes tacos! i think hoses wood b alot betr if it b malleted lvl with whatevr the ownr wantsed in it. 1 lvl dusnt expriss the craiteors wurk enoguhtat... oh and the $$$ bit? I r leik sold mahj boddeee. win stefen enabled the watr 4 tees at 1nce bag agin, i r will b makin leik lotz of $$$, caus i r chep! LEIK OMG I R B RITCH BOOG!!! And I r ownz j00 plz! kthxbai, hehe!

Sorry... sorry... please don't kill me... :megaeek:

dragoonvenganc 10-02-2001 08:55 AM

You can have more then 1 level houses.. Its 300 per level per week.. lol..

And you have to buy house from someone or when stefan decides to add more house.. rarley..

nyghtGT 10-02-2001 04:32 PM

yes
 
Quote:

Originally posted by ArmadeusWarlock
I think stefan adds the house script for keys and stuff.

If you are having rooms in your house, i think youll have to make the doors to the rooms yourself, and stefan would check them for bugs.

also, i dont think you can just have a house on graal by sending it in, you would have to afford a high weekly rent and all, inferno and i just gave up on the house and sold it for what we got it for

Stefan does add the scripts to the houses and anything on Graal 2001 that requires them. Such as playerhouses. Also other things like the guild castles and stuff like Pirate Crew who has the guild tag helper. And some other places too. Stefan will put in it your house but not give it to you ... Too bad they removed the debugger though ehh ?


All times are GMT +2. The time now is 08:09 AM.

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