Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-09-2002, 05:44 AM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
Market

would it be possible to make a market type thing for a free server?
  #2  
Old 01-09-2002, 06:46 AM
thomasward thomasward is offline
Registered User
Join Date: Jan 2002
Location: Look behind you!
Posts: 346
thomasward is on a distinguished road
Send a message via AIM to thomasward
I don't know, would it?
__________________
Malhangaia Co Manager
  #3  
Old 01-09-2002, 07:37 AM
BlKnight BlKnight is offline
Not in Use
Join Date: Mar 2001
Location: N/A
Posts: 1,527
BlKnight is on a distinguished road
Yes it would be. Just use triggeraction...
__________________
This account is no longer is use.
  #4  
Old 01-09-2002, 07:52 AM
WHIPENIE4 WHIPENIE4 is offline
I am X-Mann
Join Date: Aug 2001
Location: PA
Posts: 2,715
WHIPENIE4 is on a distinguished road
Send a message via ICQ to WHIPENIE4 Send a message via AIM to WHIPENIE4
[screen_name says:]

what kind of market, the kind on g2k1 where you can rent the lots ??
__________________
Mind over Matter. If your body dont mind, why does it matter?

- X-Mann (Blessing Graal since 1998) Haha

- Graal 2000 Project (Contact Me to get Apart of this expierience

Windows Vista. Graal. Not a Good Combination.
  #5  
Old 01-09-2002, 09:09 PM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
Yay it's possible (no triggeractions!!!)

just visit Londeroth I made a G2K1 like market script for it

u can rent stands (for a time of 45 mins) put your items on special positions (like NM's) and sell them after time is over u can even get it from the baskets (No I don't use putnpc)
__________________
No Webhost at the moment
  #6  
Old 01-10-2002, 03:53 AM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
Quote:
Originally posted by TDO2000
Yay it's possible (no triggeractions!!!)

just visit Londeroth I made a G2K1 like market script for it

u can rent stands (for a time of 45 mins) put your items on special positions (like NM's) and sell them after time is over u can even get it from the baskets (No I don't use putnpc)
Wow thats pretty good =D I guess u need a time system then huh? I was thinking i would need one for some other stuff. I guess now I will have to have one =D
  #7  
Old 01-10-2002, 06:58 AM
BlKnight BlKnight is offline
Not in Use
Join Date: Mar 2001
Location: N/A
Posts: 1,527
BlKnight is on a distinguished road
Quote:
Originally posted by lordhelmut


Wow thats pretty good =D I guess u need a time system then huh? I was thinking i would need one for some other stuff. I guess now I will have to have one =D

Time system would be easy, just set a timevar, then whenever they open one you record the current value of the timevar...the you just have it subtract the new by the old, if its => then the value you want it closes.
__________________
This account is no longer is use.
  #8  
Old 01-11-2002, 03:33 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
I see
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
  #9  
Old 01-11-2002, 03:34 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Quote:
Originally posted by SSRobgeta
I see
I am just posting to get 500 =)
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
  #10  
Old 01-11-2002, 03:36 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Quote:
Originally posted by SSRobgeta

I am just posting to get 500 =)
Boo
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
  #11  
Old 01-11-2002, 03:38 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Quote:
Originally posted by SSRobgeta

Boo
2 more
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
  #12  
Old 01-11-2002, 03:42 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Quote:
Originally posted by SSRobgeta

2 more
done
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
  #13  
Old 01-13-2002, 08:44 AM
Joe27hunter Joe27hunter is offline
Banned
Join Date: Nov 2001
Posts: 35
Joe27hunter is on a distinguished road
Boats

Can ya give me G2k1 market place or the non-p2p market place thingy lol
  #14  
Old 01-13-2002, 11:47 AM
Knight_Vincent Knight_Vincent is offline
Registered User
Knight_Vincent's Avatar
Join Date: Aug 2001
Location: Troy, MI
Posts: 682
Knight_Vincent is on a distinguished road
Send a message via ICQ to Knight_Vincent Send a message via AIM to Knight_Vincent Send a message via Yahoo to Knight_Vincent
Hmm,

I think it would be but woundn't it be a lot more lagery then it is now?

-NIght Fox
__________________
"Did you write the Book of Love And do you have faith in God above If the Bible tells you so Do you believe in rock 'n roll Can music save your mortal soul And can you teach me how to dance real slow Well, I know that you're in love with him 'Cause I saw you dancin' in the gym You both kicked off your shoes Man, I dig those rhythm and blues I was a lonely teenage broncin' buck With a pink carnation and a pickup truck But I knew I was out of luck The day the music died" --Don McLean 'American Pie'
  #15  
Old 01-13-2002, 11:26 PM
Yakuna2001 Yakuna2001 is offline
Registered User
Yakuna2001's Avatar
Join Date: Jun 2001
Location: England U.K
Posts: 940
Yakuna2001 is on a distinguished road
Send a message via AIM to Yakuna2001
Quote:
Originally posted by Knight_Vincent
Hmm,

lagery

-NIght Fox
interesting......use......of......word!
__________________

-Manager of the UnholyNation PlayerWorld-
UnholyNation Forums
  #16  
Old 01-14-2002, 02:14 AM
Knight_Vincent Knight_Vincent is offline
Registered User
Knight_Vincent's Avatar
Join Date: Aug 2001
Location: Troy, MI
Posts: 682
Knight_Vincent is on a distinguished road
Send a message via ICQ to Knight_Vincent Send a message via AIM to Knight_Vincent Send a message via Yahoo to Knight_Vincent
Lol,

Yes it is .

-Night fox
__________________
"Did you write the Book of Love And do you have faith in God above If the Bible tells you so Do you believe in rock 'n roll Can music save your mortal soul And can you teach me how to dance real slow Well, I know that you're in love with him 'Cause I saw you dancin' in the gym You both kicked off your shoes Man, I dig those rhythm and blues I was a lonely teenage broncin' buck With a pink carnation and a pickup truck But I knew I was out of luck The day the music died" --Don McLean 'American Pie'
  #17  
Old 01-14-2002, 09:56 AM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
How would a player place an item then? putnpc?
  #18  
Old 01-14-2002, 01:47 PM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
Something like:
if (playerchats&&strequals(#c,lay down <weaponname>)) {
this.x = {0.5,-0.5,0.5,2.5};
this.y = {-1,1,3,1};
putnpc weaponimage,weaponcode,this.x[playerdir],this.y[playerdir];
destroy;
}

That is just for laying weapons so it would need more code, but it's a good start.
  #19  
Old 02-04-2002, 12:40 PM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
Quote:
Originally posted by Slaktmaster
Something like:
if (playerchats&&strequals(#c,lay down <weaponname>)) {
this.x = {0.5,-0.5,0.5,2.5};
this.y = {-1,1,3,1};
putnpc weaponimage,weaponcode,this.x[playerdir],this.y[playerdir];
destroy;
}

That is just for laying weapons so it would need more code, but it's a good start.
this.x = {0.5,-0.5,0.5,2.5};
this.y = {-1,1,3,1};

what is that
  #20  
Old 02-04-2002, 01:51 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by lordhelmut


this.x = {0.5,-0.5,0.5,2.5};
this.y = {-1,1,3,1};

what is that
arrays
  #21  
Old 02-05-2002, 12:13 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
It would be fairly simple, but if you wanted to do a lot of very advanced stuff, it could become a "var hogger".
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
  #22  
Old 02-05-2002, 01:31 AM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
Quote:
Originally posted by lordhelmut


this.x = {0.5,-0.5,0.5,2.5};
this.y = {-1,1,3,1};

what is that

setting arrays so that it will put the npc at a certain spot depending on which way you are facing
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
  #23  
Old 02-05-2002, 07:46 AM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
I MUST LEARN
  #24  
Old 02-05-2002, 08:26 AM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
Quote:
Originally posted by Slaktmaster
Something like:
if (playerchats&&strequals(#c,lay down <weaponname>)) {
this.x = {0.5,-0.5,0.5,2.5};
this.y = {-1,1,3,1};
putnpc weaponimage,weaponcode,this.x[playerdir],this.y[playerdir];
destroy;
}

That is just for laying weapons so it would need more code, but it's a good start.
i was just looking over this script, and it is really buggy

NPC Code:

this.x = {0.5,-0.5,0.5,2.5};
this.y = {-1,1,3,1};
putnpc weaponimage,weaponcode,this.x[playerdir],this.y[playerdir];



this would only put a weapon at those cordinates, you would have to do, playerx+this.x[playerdir] and player.y+this.y[playerdir]
also, if you face left
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
  #25  
Old 08-04-2002, 05:55 AM
KuJi2002 KuJi2002 is offline
Banned
Join Date: Jul 2002
Location: NYC
Posts: 144
KuJi2002 is on a distinguished road
Send a message via AIM to KuJi2002 Send a message via Yahoo to KuJi2002
Markets

O kool! lol
  #26  
Old 08-04-2002, 06:05 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: Markets

Quote:
Originally posted by KuJi2002
O kool! lol
don't revive dead posts....
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:09 PM.


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