Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-29-2001, 08:54 PM
funnylinkp2p funnylinkp2p is offline
Registered User
Join Date: Nov 2001
Location: Ohio
Posts: 105
funnylinkp2p is on a distinguished road
Send a message via AIM to funnylinkp2p
Sweet script

If any npc makers/1337 people...this npc would own to have
1.A teleporter that could summon people to where your position is
2. When person says summon (accountname) it then asks the person if they want to be summoned
3.Has to be like a wizard class
4.In certain parts like heart quests it would be disabled so people couldn't cheat
5.It would use server junctions
6.It would own
7.I want the script
8.Make it
9.Please make it
__________________
[img]http://rick.*******ers.net/ss/users/funnylink/[/img]
Reply With Quote
  #2  
Old 12-29-2001, 08:54 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
P2P or non-P2P?
__________________

Reply With Quote
  #3  
Old 12-29-2001, 08:57 PM
funnylinkp2p funnylinkp2p is offline
Registered User
Join Date: Nov 2001
Location: Ohio
Posts: 105
funnylinkp2p is on a distinguished road
Send a message via AIM to funnylinkp2p
Non p2p
__________________
[img]http://rick.*******ers.net/ss/users/funnylink/[/img]
Reply With Quote
  #4  
Old 12-29-2001, 09:10 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
NPC Code:
//Summoner's Script
if (playerchats) {
if (startswith(summon,#c)) {
addstring server.summoning,#e(7,-1,#c);
addstring server.extrasummoninfo,#a #L #v(playerx) #v(playery);
}
}


NPC Code:
//In-System NPC script
if ((created||timeout)&&isweapon) {
this.temp=lindexof(server.summoning,#a);
if (this.temp>-1&&this.tempp==0) {
tokenize #I(server.extrasummoninfo,this.temp);
setplayerprop #c,#t(0) is trying to summon you, if you say 'yes' you will be brought to him.;
this.tempp=1;
}
timeout=.05;
}
if (playerchats) {
if (strequals(#c,yes)&&this.tempp==1) {
tokenize #I(server.extrasummoninfo,this.temp);
deletestring server.summoning,this.temp;
deletestring server.extrasummoninfo,this.temp;
this.tempp=0;
setlevel2 #t(1),strtofloat(#t(2)),strtofloat(#t(3));
}
}

I don't know if it'll work though, this is the first time I'm using the string arrays.
__________________

Reply With Quote
  #5  
Old 12-29-2001, 09:11 PM
funnylinkp2p funnylinkp2p is offline
Registered User
Join Date: Nov 2001
Location: Ohio
Posts: 105
funnylinkp2p is on a distinguished road
Send a message via AIM to funnylinkp2p
ok
__________________
[img]http://rick.*******ers.net/ss/users/funnylink/[/img]
Reply With Quote
  #6  
Old 12-29-2001, 09:15 PM
funnylinkp2p funnylinkp2p is offline
Registered User
Join Date: Nov 2001
Location: Ohio
Posts: 105
funnylinkp2p is on a distinguished road
Send a message via AIM to funnylinkp2p
what do i have to say? its not really working for me right now maybe you got a hitch in the npc but it would be hard making it that fast maybe you can revise it
__________________
[img]http://rick.*******ers.net/ss/users/funnylink/[/img]
Reply With Quote
  #7  
Old 12-29-2001, 09:18 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Quote:
Originally posted by funnylinkp2p
what do i have to say? its not really working for me right now maybe you got a hitch in the npc but it would be hard making it that fast maybe you can revise it
It's "Summon accountname", although I don't think it'll work offline, and you'll need to give everyone the second NPC if you want it to work.
__________________

Reply With Quote
  #8  
Old 12-31-2001, 01:21 PM
ArmadeusWarlock ArmadeusWarlock is offline
Registered User
Join Date: Jun 2001
Posts: 373
ArmadeusWarlock is on a distinguished road
This is easy >.<

I was actually gonna do one of these for my upcoming server =(
Reply With Quote
  #9  
Old 12-31-2001, 04:59 PM
LordMatt LordMatt is offline
V Avatar
LordMatt's Avatar
Join Date: Jun 2001
Location: Texas
Posts: 954
LordMatt is on a distinguished road
Send a message via AIM to LordMatt
*tests online*
__________________
-Matt
Reply With Quote
  #10  
Old 12-31-2001, 05:18 PM
DragonX2 DragonX2 is offline
Graal2002 Addict
DragonX2's Avatar
Join Date: Dec 2001
Location: NY
Posts: 0
DragonX2 is on a distinguished road
Send a message via AIM to DragonX2 Send a message via Yahoo to DragonX2
Can someone give me it for p2p servers?
__________________
Reply With Quote
  #11  
Old 12-31-2001, 05:30 PM
LordMatt LordMatt is offline
V Avatar
LordMatt's Avatar
Join Date: Jun 2001
Location: Texas
Posts: 954
LordMatt is on a distinguished road
Send a message via AIM to LordMatt
Quote:
Originally posted by DragonX2
Can someone give me it for p2p servers?
so I test it online for ya
__________________
-Matt
Reply With Quote
  #12  
Old 01-05-2002, 12:25 AM
Charles Charles is offline
Registered User
Join Date: Mar 2001
Location: !!!USA!!!
Posts: 78
Charles is on a distinguished road
Send a message via AIM to Charles
LoL. I hate to tell u, but your idea is way too late.

I made something called the "Player Caller" on elven lands a long time ago. It worked just like what u said mainly.
__________________
InfernoDragon
The real one. ;-)
Reply With Quote
  #13  
Old 01-05-2002, 05:12 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
...

on p2p that would be really retarded to make...purely cause you would have to do a lot of triggeractions...
__________________

!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
Reply With Quote
  #14  
Old 01-05-2002, 07:31 AM
LilNiglet LilNiglet is offline
Registered User
Join Date: Jun 2001
Posts: 3,178
LilNiglet is on a distinguished road
Re: ...

Quote:
Originally posted by Saga2001
on p2p that would be really retarded to make...purely cause you would have to do a lot of triggeractions...
No... On P2P, that script would be just about as long as this post. I just can't find my NPC server scripting thing, i cannot remember a command =(
Reply With Quote
  #15  
Old 01-09-2002, 05:08 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Childs play

Look good. With much confusion and practice you could get that into one server string.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #16  
Old 01-09-2002, 10:09 AM
RICEJERRRY4 RICEJERRRY4 is offline
Registered User
Join Date: Jul 2001
Location: VA
Posts: 133
RICEJERRRY4 is on a distinguished road
Send a message via AIM to RICEJERRRY4
evil server

Yo grim_squeaker_x Andor is using that npc on thier server
Just to let u know
__________________
Graal Nick Name:Rice
E-Mail:Forgot
Aim:Nothing5001

Reply With Quote
  #17  
Old 01-09-2002, 10:47 AM
aesquivel aesquivel is offline
Registered User
Join Date: Sep 2001
Location: Whitewright
Posts: 346
aesquivel is on a distinguished road
Send a message via AIM to aesquivel
lolz
hes l8er once again
__________________
Reply With Quote
  #18  
Old 01-09-2002, 06:03 PM
Kumada Kumada is offline
Ded
Kumada's Avatar
Join Date: Nov 2001
Location: Usa
Posts: 1,088
Kumada is on a distinguished road
With p2p you do not have to use strings..
Just Getplayer and tokenize #c
__________________
Aim: Mmm Kumada

Reply With Quote
  #19  
Old 01-09-2002, 06:33 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Re: evil server

Quote:
Originally posted by RICEJERRRY4
Yo grim_squeaker_x Andor is using that npc on thier server
Just to let u know
I couldn't care less.
__________________

Reply With Quote
  #20  
Old 01-09-2002, 09:10 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
Hehe.

Grim, you mind if I steal that script and edit it a bit?

I would do it myself but I am too lazy.
Reply With Quote
  #21  
Old 01-09-2002, 10:09 PM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
I made a script like this once

I wonder if it could be used on non p2p to get a players data like warp them to your level then test their xy to get their index copying their data and then warping them back to their original level.
Reply With Quote
  #22  
Old 01-10-2002, 10:56 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
Quote:
Originally posted by Slaktmaster
Hehe.

Grim, you mind if I steal that script and edit it a bit?

I would do it myself but I am too lazy.
Reply With Quote
  #23  
Old 01-10-2002, 11:14 PM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
=/ You all stink =P We've had this on Babylon for a while, just not publically released, yet...Well, not exactly like this, but close
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote
  #24  
Old 01-13-2002, 04:16 AM
Charles Charles is offline
Registered User
Join Date: Mar 2001
Location: !!!USA!!!
Posts: 78
Charles is on a distinguished road
Send a message via AIM to Charles
Quote:
Originally posted by Xaviar
=/ You all stink =P We've had this on Babylon for a while, just not publically released, yet...Well, not exactly like this, but close
I'd hate to tell you, but when my Player Caller was put up on EL a very long time ago, it was publically released. The outcome was horrible when someone desided to use it to call people to jail.


I really dont know if babylon was up then or not. But I am guessing that it wasnt, but even if it was, we probably still had this type of NPC first.
__________________
InfernoDragon
The real one. ;-)
Reply With Quote
  #25  
Old 01-13-2002, 04:32 AM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Quote:
Originally posted by Slaktmaster
Gah, I missed that. Just feel free to take it, all scripts I post on the forums are free for all to take, edit, destroy, horiffyingly mutilate or whatever they feel like doing with it.
__________________

Reply With Quote
  #26  
Old 01-13-2002, 07:23 AM
MrSmiles MrSmiles is offline
Registered User
Join Date: Dec 2001
Location: Perth
Posts: 84
MrSmiles is on a distinguished road
Send a message via AIM to MrSmiles
YAY

Reply With Quote
  #27  
Old 01-13-2002, 08:08 AM
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
Quote:
Originally posted by grim_squeaker_x
horiffyingly mutilate
That's all I need, thank you!
Reply With Quote
  #28  
Old 01-13-2002, 10:25 AM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
Quote:
Originally posted by Charles

The outcome was horrible when someone desided to use it to call people to jail.
this type of NPC first.
if (!strequals(#L,jail.nw)){
warp player stuff here;
}

Put that in the NPC that the player uses to `call` the other player. ;]
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
Reply


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 10:47 PM.


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