Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   GPS or Cameras (https://forums.graalonline.com/forums/showthread.php?t=42042)

magicbud3344 01-17-2003 04:43 AM

GPS or Cameras
 
just a question,
would it be relativly possable to script a system where you can sit at a computer, liek a graal graphic, and then say a persons name, then it goes to the level that person is in, shows them, and follows them, that would be GPS (Global Position Satelight)
or the camera would be it just goes side to side like a camera scanning the area, and you could switch from camera to camera
anyways i am wondering if thiese scripts are humanly possable or if tehy are somthing only kai would be able to do ;P

tlf288 01-17-2003 05:25 AM

It wouldn't be that hard I would think.

But I don't know if you can use setfocus on a different level or not. If so it should be easy.

magicbud3344 01-17-2003 05:27 AM

if it's easy.....
i will pay you in graal bomy moon gralats
10k if you do both of the scripts
5k for just 1?
:D

tlf288 01-17-2003 05:37 AM

Quote:

Originally posted by magicbud3344
if it's easy.....
i will pay you in graal bomy moon gralats
10k if you do both of the scripts
5k for just 1?
:D

Um..., I work there....

magicbud3344 01-17-2003 05:59 AM

i know you work there trevor, ;P
as do i
but i am just looking for a scripter to script this, i don't know what i can pay with, perhaps cyber plesure with my words or somthing, i dunno what do you want?
lag would be fine, just as long as it worked XD

screen_name 01-17-2003 06:01 AM

Quote:

Originally posted by Kaimetsu
It would be possible to an extent. There'd be some buffering delay between their actions and your viewing thereof, and it'd cause some fairly hefty lag, but it'd be possible.

And no, you can't use setfocus into a different level.

How so then? Unless when you use the computer, it finds the player and warps you to player's level and stuff of that nature.


Added note: Isn't this asking for a script, which means this thread should be closed?

tlf288 01-17-2003 06:03 AM

Quote:

Originally posted by Kaimetsu
And no, you can't use setfocus into a different level.
Thats what I thought. I couldn't remember another param to change the level name but I wasn't 100% sure and I didn't want to get this guys hopes down :\



Quote:

Originally posted by magicbud3344
i am just looking for a scripter to script this
Find someone then. I am to busy with other jobs at the moment.

magicbud3344 01-17-2003 06:47 AM

Quote:

Originally posted by screen_name


How so then? Unless when you use the computer, it finds the player and warps you to player's level and stuff of that nature.


Added note: Isn't this asking for a script, which means this thread should be closed?

i am not asking for the script SC, i am just looking for a scripter to script it

screen_name 01-17-2003 06:59 AM

But why would you pay just to have someone script it?

magicbud3344 01-17-2003 07:10 AM

Quote:

Originally posted by screen_name
But why would you pay just to have someone script it?
becuase i can not script it myself, i am just looking for a needle in a haystack.

screen_name 01-17-2003 07:36 AM

Quote:

Originally posted by Kaimetsu


That'd be a pretty clumsy and error-prone system. There's another way that involves buffered movements transmitted via client strings, but it'd take too long to explain fully.



Nah, I doubt that anybody is going to give him a usable script anyway. It's okay to try to recruit scripters like this.

Time... What a poor excuse.

:P

Skyld 01-17-2003 06:48 PM

setfocus and levels
 
as far as I am aware tht setfocus works with only x and y - hence the available parameter. but has anyone actually bothered tryin somethnig like setfocus2 x,y,level; but I don't know if it even exists. so thats not much good really uinless it is a NPCserver command. someone - it would be worth trying though. ;)

CheeToS2 01-18-2003 04:28 AM

Just my two cents.. but.. i've tried making an NPC that displays the player & 5x5 tiles around them.. it turned out to be EXTREMELY laggy, and it would only display the tiles from the level I was currently in, not the tiles the target player was in (yeah, I tried fixing it, tried lots of methods, I don't think its possible to get tiles from another player)

CheeToS2 01-18-2003 04:40 AM

Quote:

Originally posted by Kaimetsu


I'll wager you used the old short-timeout method where the server constantly checks the player's position. This isn't the best idea and, yeah, leads to big lag. A player-recorded buffering system would be better.



You could have an NPC warp there, copy the board[] array and then come back.

that would probably be just as laggy as using a short timeout x.x warping is serverside for db npcs, & you'd have to do it often to get it to look right

Python523 01-18-2003 04:46 AM

Quote:

Originally posted by CheeToS2

that would probably be just as laggy as using a short timeout x.x warping is serverside for db npcs, & you'd have to do it often to get it to look right

I think npcs on gmaps can use warpto ._.

magicbud3344 01-18-2003 05:38 AM

ok ok ok!
new thing, how about a GPS that just takes a picture
i thought about it and the real government ones they use to spy on ME witch don't record film, they just take snapshots, how about one that will take a snapshot of the player and the level he is in and show it to you, would that be easyer <3?

Falcor 01-18-2003 05:42 AM

he thought you ment that it would copy the board array every loop, instead of what you ment was it would copy the board array every level change (yes the entire board, not just the 5x5 tiles around the player)

Chicken_l33t 01-19-2003 01:13 AM

I do beleive they done this on Frolic, cause Angel warped Me Into the staff place and we were Watching UltimaHunter Running around lol really funny, so It's defiantely possible, could you maybe use triggeraction or something of the sort and like if (actionbleh){
tilearray[1]={tehsexers};
}
of some sort and It sends it back to the other npcs triggers another actions dunno lol.

tlf288 01-19-2003 03:21 AM

Thats tells him absolutely nothing....

darkriders_p2p 01-19-2003 06:58 AM

Quote:

Originally posted by tlf288
Thats tells him absolutely nothing....
this post, and all your others didn't/won't help him either.
Don't say anything about helping, cause chicken was doing the same (or trying).

KuJi2002 01-25-2003 11:10 PM

Quote:

Originally posted by Kaimetsu
It would be possible to an extent. There'd be some buffering delay between their actions and your viewing thereof, and it'd cause some fairly hefty lag, but it'd be possible.

And no, you can't use setfocus into a different level.

Their should be a new script :P
setfocus2 x,y,lvname.graal or .nw

Warcaptain 01-29-2003 09:07 AM

me and tb3 made a spy system that got that showed the tiles around the player

it was neat and fun to do =)

osrs 01-29-2003 03:37 PM

Quote:

Originally posted by magicbud3344

i am not asking for the script SC, i am just looking for a scripter to script it

I think Jagen already made something like it.
I remember when I was staff on Maloria,He made a 'Spy' NPC,but it can just see the player,not the level.

magicbud3344 01-30-2003 06:46 PM

yes, i know this
they also have the spy NPC on graal2001
but that doesn't really help becuase we need the surroundings so we can tell where they are XD


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

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