![]() |
Security View
Hello again. I am wondering if it's possible to make a gui that can display views of any level that is listed in a given array, Like a security camera that can view players in the levels listed in the array and their chat, ect. Or you could view an individual player's screen or a majority of their screen when typing in their account.
http://img148.imageshack.us/img148/7...urityview1.png -- http://img593.imageshack.us/img593/5...urityview2.png Thanks! |
I beleive it's possible. I'd first off go about constructing an image on the appropriate scale using the file I/O, for this I'd use a multitude of showimgs but with 4096 tiles to compute there might be a more elegant solution. Next off I'd scan through the initial conditions of each npc:
onCreated() and onPlayerEnters(). Lastly I would scan through the all players array and pick out those in the specified level, find out there x and y coords and display only there head scaled down a suitable size in accordance to the rest of the image. |
There used to be/still are (?) a couple scripts doing this on Era. They are all in individual levels that would just copy the tiles of the target level into the one where the script is located, then synch the players/npcs from the other level into the one with the script. Used to use a ****load of resources.
|
Step 1. Create transparent GUI
Step 2. Chat: warpto *some account* Step 3. ??? Step 4. Profit!! |
Quote:
|
Quote:
|
I wrote one that:
1. Opened the level the player was in. (loadlines) 2. Stripped the NPCs out and overwrote my "spy" level. (savelines) 3. Created a bunch of actor NPCs with an account attached to it and joined my actor class that updated the actor's look, x, y, ani, and attrs. (putnpc2, join) 4. The main script would check for new players entering the level and add/remove as necessary. You're in over your head! |
It just looks like he is making a little staff tool for some fun.
Maybe you could just screenshot each level use them images and then use a guishowimgctrl of the target player and when they move it tells your showimg to move in scale. Maybe just try making it for one player for now.. Or maybe just use Fowlplays screenshot script and make the targeted player make a screenshot every say 5 seconds and then make your "camera" GUI show the image every 2 seconds. Not sure if that would work.. |
I wrote a spy tool that did exactly that, showed it in a GUIControl. It worked on gmaps and stuff too, displayed all the players in the level and certain NPCs by parsing the file and deciding if they were props or not. I was on UN when I was NAT there until someone noticed it and deleted it.
|
| All times are GMT +2. The time now is 10:38 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.