Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Server (https://forums.graalonline.com/forums/forumdisplay.php?f=14)
-   -   Canwarp problems (https://forums.graalonline.com/forums/showthread.php?t=3848)

RawPower 05-30-2001 10:16 AM

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?

Bravo_NPC-Admin1 05-30-2001 01:08 PM

Try:
warpto <levelname>,<x>,<y>;

canwarp just allows the NPC to warp.

grim_squeaker_x 05-30-2001 08:00 PM

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.

RawPower 05-31-2001 01:55 AM

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...

RawPower 05-31-2001 01:57 AM

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 =\

grim_squeaker_x 05-31-2001 06:10 PM

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.


RawPower 06-01-2001 01:48 AM

Quote:

Originally posted by Gspeed2000
Say thank you to GodSpeed Shadrock! :D
YOU DONT UNDERSTAND! THOSE DONT WORK FOR SOME REASON!! WE'VE TRIED THOSE EXACT SCRIPTS

Admins 06-01-2001 06:00 AM

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.

RawPower 06-01-2001 06:07 AM

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.

Admins 06-01-2001 06:09 AM

I could check them soon
Do the bomy scripts work on your server?

RawPower 06-01-2001 06:09 AM

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.

Admins 06-01-2001 06:12 AM

:-)

RawPower 06-01-2001 06:13 AM

Quote:

Originally posted by Stefan
:-)
Anyways could you help me when you get the chance? We've tried everything =\

entravial 06-01-2001 05:56 PM

this is probably a stupid question, but what the heck, is there a canwarp equivalent that will work on server's without NPC Server?

RawPower 06-02-2001 02:26 AM

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.

entravial 06-02-2001 09:56 AM

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...

freddyfox 06-06-2001 02:31 AM

FLUFFY THE PROVIDENCE SQUIRELL!

TB3 06-06-2001 06:45 AM

= /
 
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 = /


All times are GMT +2. The time now is 10:59 PM.

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