Author Topic: Player Stalker Script  (Read 5744 times)

0 Members and 1 Guest are viewing this topic.

Offline squiddy

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 333
  • Flagger assassin
    • SoldatX
Player Stalker Script
« on: May 08, 2010, 10:36:19 pm »
Script Name: Player Stalker
Script Description Player Stalker Script follows a determined or the nearest player Admins only
Author: Squiddy
Compile Test: Passed
Core Version: 2.6.5
Hosted by: Soldat Central - http://soldatcentral.com/

Full Description:
Keeps track of a player. Commands for Admins ONLY!

Appears like:

~~ Player ~~
Distance:
The distance between you and him;
Status: If he is alive;
Direction: His direction.

//~~~~~~

Usage: (Default commands, changeable though)
/Stalk <ID>; ~ Stalks a certain player.
/NearStalk; ~ Stalks nearest player.
/StopStalk; ~ Stop stalking current stalked.
/StalkControl; ~ Activates/Deactivates Player-Stalker Script.

//~~~~~~~~~~

Created by:
Squiddy ~ (Brazil);

Thanks to:
Avarax, for the GetNearestPlayer() Function :)

If you are going to use it, then credit it.



(Size 2.05 KB)
- http://soldatcentral.com/index.php?page=script&f=195 -


** Script hosted by Soldat Central! Please visit the author's script page and Rate this script **
« Last Edit: May 08, 2010, 10:38:43 pm by squiddy »
www.soldatx.com.br - The brazilian Soldat community.

Offline Swompie

  • Camper
  • ***
  • Posts: 390
Re: Player Stalker Script
« Reply #1 on: May 09, 2010, 02:02:48 am »
How retarded is this? o.O

DarkCrusade

  • Guest
Re: Player Stalker Script
« Reply #2 on: May 09, 2010, 02:03:55 am »
Could you explain me how this'd be useful?

Offline Mercury92

  • Camper
  • ***
  • Posts: 284
Re: Player Stalker Script
« Reply #3 on: May 09, 2010, 05:28:38 am »
Thanks!
[saw]  on 1.5.1

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Player Stalker Script
« Reply #4 on: May 09, 2010, 08:29:29 am »
Could you explain me how this'd be useful?
An admin wanting an unfair advantage trying to find and figure out what an enemy is doing / where at on a realistic (or non-realistic and outside of view) match.

I suggest adding speed (easier to tell if he's camping or not).
I didn't look at the source, but direction could refer to face direction (left or right) or travel direction (GetPlayerStat of 'velx' and 'vely' if I recall correctly), both being useful information. I suggest editing the description of "Direction" to say which type.

Offline squiddy

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 333
  • Flagger assassin
    • SoldatX
Re: Player Stalker Script
« Reply #5 on: May 09, 2010, 09:16:46 am »
I suggest adding speed (easier to tell if he's camping or not).
I didn't look at the source, but direction could refer to face direction (left or right) or travel direction (GetPlayerStat of 'velx' and 'vely' if I recall correctly), both being useful information. I suggest editing the description of "Direction" to say which type.

Direction shows where the stalked player is going, like this:

Direction: Right // Up

If player is standing still, then:

Direction: Standing Still

I could add a Face-Heading viewer, but it's going to be too big, with 5 lines :(

@DarkCrusade, Swompie:

I'm pretty sure no one - or almost no one - published a Script like this.

My purpose is to inovate, not to create God-Damnly-Freaking-Useful-Scripts-That-Everybody-In-The-Whole-World-Are-Going-To-Use.

My Scripts are for Fun purpose only, being useful or not.

It can be useful for the people who wants it. If you don't want it, then, of course, it's not going to be useful.

I don't use XSplit anytime, but I've never answered on its topic: "How retarded is this?"
« Last Edit: May 09, 2010, 09:19:24 am by squiddy »
www.soldatx.com.br - The brazilian Soldat community.

Offline Swompie

  • Camper
  • ***
  • Posts: 390
Re: Player Stalker Script
« Reply #6 on: May 09, 2010, 11:28:08 am »
Huuh? Srsly, if you find atleast one person who will use this, I take anything back.
Btw. I never said it's not helpful or such a thing. Btw. this ain't a big innovation I think, is it? :D

And wtf do you want with XSplit? Don't get it..

Offline squiddy

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 333
  • Flagger assassin
    • SoldatX
Re: Player Stalker Script
« Reply #7 on: May 09, 2010, 11:35:03 am »
Huuh? Srsly, if you find atleast one person who will use this, I take anything back.

Thanks!

//~~~~~~~~~~

Quote
Btw. I never said it's not helpful or such a thing. Btw. this ain't a big innovation I think, is it? :D

And wtf do you want with XSplit? Don't get it..

For me, it is.

Just saying that even if I'm not going to use it, I don't say anything offensive about it.
www.soldatx.com.br - The brazilian Soldat community.

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: Player Stalker Script
« Reply #8 on: May 09, 2010, 01:58:13 pm »
Make something useful and innovative please.

Offline Swompie

  • Camper
  • ***
  • Posts: 390
Re: Player Stalker Script
« Reply #9 on: May 09, 2010, 02:44:23 pm »
Oh the irony  ;D

Did I say any offense against this script? I just asked a question, maybe you see it as offense, I don't.
I quit this discussion now before it turns into a massacre..

DarkCrusade

  • Guest
Re: Player Stalker Script
« Reply #10 on: May 09, 2010, 03:10:46 pm »
You really misundestood us. I asked you a question how you'd be able to use this script in a way that it is useful and I didn't say it is unuseful or bad, don't get that wrong.

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: Player Stalker Script
« Reply #11 on: May 10, 2010, 11:29:56 am »
It's for public server admins who like to stalk one player. I do it also, but it's more fun without this script so I have to follow him ;d

Im chill like that

Offline Mercury92

  • Camper
  • ***
  • Posts: 284
Re: Player Stalker Script
« Reply #12 on: May 10, 2010, 01:28:47 pm »
Hey squiddy instead of direction can you change it to health.
[saw]  on 1.5.1

Offline squiddy

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 333
  • Flagger assassin
    • SoldatX
Re: Player Stalker Script
« Reply #13 on: May 10, 2010, 05:44:25 pm »
Hey squiddy instead of direction can you change it to health.

I believe Direction is far more useful.

Although, if you want Health instead of Direction, just replace this on AppOnIdle();

Code: (pascal) [Select]
Procedure AppOnIdle(Ticks: Integer);
 Var S: Byte; TX, TY: Single;
  Begin
   For S := 1 To 32 Do if GetPlayerStat(S,'Active') Then Begin
    TX := GetPlayerStat(Player[S].Target,'X');
     TY := GetPlayerStat(Player[S].Target,'Y');
      if Not Player[S].AutoDisted Then Begin
     if Player[S].Disted Then Begin
    Player[S].Dist := Round(Distance(GetPlayerStat(S,'X'),GetPlayerStat(S,'Y'),TX,TY));
   DrawText(S,'~~ '+IDToName(Player[S].Target)+' ~~'+Chr(13)+Chr(10)+'Health: '+IntToStr(GetPlayerStat(Player[S].Target,'Health'))+Chr(13)+Chr(10)+'Status: '+iif(GetPlayerStat(Player[S].Target,'Alive'),'Alive','Dead')+Chr(13)+Chr(10)+'Direction: '+GetPlayerHorizontal(Player[S].Target)+' // '+GetPlayerVertical(Player[S].Target),200,iif(Player[S].Dist >= MaxDist,Color,iif(Player[S].Dist >= MinDist,ErrorColor,$CC0033)),0.08,30,360);   
  end;
 end else Begin
  Player[S].Target := GetNearestPlayer(S);
   Player[S].Dist := Round(Distance(GetPlayerStat(S,'X'),GetPlayerStat(S,'Y'),TX,TY));
   DrawText(S,'~~ '+IDToName(Player[S].Target)+' ~~'+Chr(13)+Chr(10)+'Health: '+IntToStr(GetPlayerStat(Player[S].Target,'Health'))+Chr(13)+Chr(10)+'Status: '+iif(GetPlayerStat(Player[S].Target,'Alive'),'Alive','Dead')+Chr(13)+Chr(10)+'Direction: '+GetPlayerHorizontal(Player[S].Target)+' // '+GetPlayerVertical(Player[S].Target),200,iif(Player[S].Dist >= MaxDist,Color,iif(Player[S].Dist >= MinDist,ErrorColor,$CC0033)),0.08,30,360);
  end;
 end;
end;

It should work.

www.soldatx.com.br - The brazilian Soldat community.