Graal Forums  

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

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 05-30-2001, 10:16 AM
RawPower RawPower is offline
Godd Bye
RawPower's Avatar
Join Date: Mar 2001
Location: Canada
Posts: 3,554
RawPower is on a distinguished road
Send a message via ICQ to RawPower Send a message via AIM to RawPower
Canwarp problems

Ok me and TB3 have tried everything we can think of but we cant get these npcs to warp. We've tried canwarp, canwarp2. And they still dont work. Does the NPC Server support canwarp or is there another way to do it?
__________________
Farewell graalians...
  #2  
Old 05-30-2001, 01:08 PM
Bravo_NPC-Admin1 Bravo_NPC-Admin1 is offline
Registered User
Join Date: May 2001
Location: Olympia, Washington USA
Posts: 25
Bravo_NPC-Admin1 is on a distinguished road
Send a message via AIM to Bravo_NPC-Admin1 Send a message via Yahoo to Bravo_NPC-Admin1
Try:
warpto <levelname>,<x>,<y>;

canwarp just allows the NPC to warp.
__________________
-Boco
  #3  
Old 05-30-2001, 08:00 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
Hmm, try making a database NPC with the NPC Server whch walks around randomly, then give it canwarp2 (For insurance I'd try doing the canwarp2 every timeout (Which is 0.1 seconds in server scripts)), if all is well then it should just randomly walk through any outside levels and outside level links, if all isn't well it won't.

And I haven't got any experience with diong this, I'm just basing this on what I've read here.
__________________

  #4  
Old 05-31-2001, 01:55 AM
RawPower RawPower is offline
Godd Bye
RawPower's Avatar
Join Date: Mar 2001
Location: Canada
Posts: 3,554
RawPower is on a distinguished road
Send a message via ICQ to RawPower Send a message via AIM to RawPower
Quote:
Originally posted by Bravo_NPC-Admin1
Try:
warpto <levelname>,<x>,<y>;

canwarp just allows the NPC to warp.
I am trying to allow the npc to warp to connected warps!! I know warpto...
__________________
Farewell graalians...
  #5  
Old 05-31-2001, 01:57 AM
RawPower RawPower is offline
Godd Bye
RawPower's Avatar
Join Date: Mar 2001
Location: Canada
Posts: 3,554
RawPower is on a distinguished road
Send a message via ICQ to RawPower Send a message via AIM to RawPower
Quote:
Originally posted by grim_squeaker_x
Hmm, try making a database NPC with the NPC Server whch walks around randomly, then give it canwarp2 (For insurance I'd try doing the canwarp2 every timeout (Which is 0.1 seconds in server scripts)), if all is well then it should just randomly walk through any outside levels and outside level links, if all isn't well it won't.

And I haven't got any experience with diong this, I'm just basing this on what I've read here.
We already have tons of npcs moving (This is for wild life animals) and the birds, rabbits, crabs, butterflies and such do not move, they have canwarp and canwarp2 in some of them but they dont move =\
__________________
Farewell graalians...
  #6  
Old 05-31-2001, 06: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
Quote:
Originally posted by RawPower


We already have tons of npcs moving (This is for wild life animals) and the birds, rabbits, crabs, butterflies and such do not move, they have canwarp and canwarp2 in some of them but they dont move =\
Quote:
Originally posted by Gspeed2000
you only use the canwarp or canwarp2 when you need to change it.
if (created) canwarp;
makes the npc able to warp like a normal player through warp points in levels
if (created) canwarp2;
allows to make the npc warp randomly across map using warpto command.
__________________

  #7  
Old 06-01-2001, 01:48 AM
RawPower RawPower is offline
Godd Bye
RawPower's Avatar
Join Date: Mar 2001
Location: Canada
Posts: 3,554
RawPower is on a distinguished road
Send a message via ICQ to RawPower Send a message via AIM to RawPower
Quote:
Originally posted by Gspeed2000
Say thank you to GodSpeed Shadrock!
YOU DONT UNDERSTAND! THOSE DONT WORK FOR SOME REASON!! WE'VE TRIED THOSE EXACT SCRIPTS
__________________
Farewell graalians...
  #8  
Old 06-01-2001, 06:00 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
The npcs must be database npcs (id >=1000)
and you must call 'canwarp' for npcs which
predefind movement (like the police guys in
Graal2001) or 'canwarp2' for randomly walking
npcs. You must move the npc by changing
x/y or using the move command. Also set the
'dir' variable, if the npc looks down while moving
up then it will not be warped.
  #9  
Old 06-01-2001, 06:07 AM
RawPower RawPower is offline
Godd Bye
RawPower's Avatar
Join Date: Mar 2001
Location: Canada
Posts: 3,554
RawPower is on a distinguished road
Send a message via ICQ to RawPower Send a message via AIM to RawPower
Quote:
Originally posted by Stefan
The npcs must be database npcs (id >=1000)
and you must call 'canwarp' for npcs which
predefind movement (like the police guys in
Graal2001) or 'canwarp2' for randomly walking
npcs. You must move the npc by changing
x/y or using the move command. Also set the
'dir' variable, if the npc looks down while moving
up then it will not be warped.
Stefan all of that is done, we have birds which randomly fly, butterflys aswell and rabbits and crabs on the beach shore, none of them seem to warp they are all npcs too apart of classes.
__________________
Farewell graalians...
  #10  
Old 06-01-2001, 06:09 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
I could check them soon
Do the bomy scripts work on your server?
  #11  
Old 06-01-2001, 06:09 AM
RawPower RawPower is offline
Godd Bye
RawPower's Avatar
Join Date: Mar 2001
Location: Canada
Posts: 3,554
RawPower is on a distinguished road
Send a message via ICQ to RawPower Send a message via AIM to RawPower
Quote:
Originally posted by Stefan
I could check them soon
Do the bomy scripts work on your server?
I never added them, TB3 put them up but I took them down, I dont believe in using other peoples scripts.
__________________
Farewell graalians...
  #12  
Old 06-01-2001, 06:12 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
:-)
  #13  
Old 06-01-2001, 06:13 AM
RawPower RawPower is offline
Godd Bye
RawPower's Avatar
Join Date: Mar 2001
Location: Canada
Posts: 3,554
RawPower is on a distinguished road
Send a message via ICQ to RawPower Send a message via AIM to RawPower
Quote:
Originally posted by Stefan
:-)
Anyways could you help me when you get the chance? We've tried everything =\
__________________
Farewell graalians...
  #14  
Old 06-01-2001, 05:56 PM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
this is probably a stupid question, but what the heck, is there a canwarp equivalent that will work on server's without NPC Server?
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
  #15  
Old 06-02-2001, 02:26 AM
RawPower RawPower is offline
Godd Bye
RawPower's Avatar
Join Date: Mar 2001
Location: Canada
Posts: 3,554
RawPower is on a distinguished road
Send a message via ICQ to RawPower Send a message via AIM to RawPower
Re: Stefan

Quote:
Originally posted by Gspeed2000
I don't understand. I am almost as capable as Stefan for server side npcs, however when I asked you way before this post if you wanted my help and even to create a totally new npc script for you, you refused....
You wont do it for free thats why, you keep begging me to use the bunny for ToT...and in return you'll fix it.
__________________
Farewell graalians...
  #16  
Old 06-02-2001, 09:56 AM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
Quote:
Originally posted by Kaimetsu


No. Non-database NPCs can only exist where they start - either on their original level or in the player's inventory.
Damn.

Well, it'd be good if there was one...
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
  #17  
Old 06-06-2001, 02:31 AM
freddyfox freddyfox is offline
Banned
freddyfox's Avatar
Join Date: Mar 2001
Posts: 6,705
freddyfox is on a distinguished road
FLUFFY THE PROVIDENCE SQUIRELL!
  #18  
Old 06-06-2001, 06:45 AM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
= /

Ive tried everything i did use the can warp in the creation zone i made everything exact changing the npcs x and y of course they were database npcs 2001 - 2006 but none of them worked I dont know what the problem is some used x / y change others used the move but still no luck = /
__________________

To the sun of your age, I arise
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This 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 04:16 AM.


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