Jump to content
Sign in to follow this  
heroji

@spy command

Recommended Posts

@spy command


It allows you to listen to other players' conversations in real-time!

Features:

Can hook up to 5 players online! (adjustable depends on your pc)

It detects All/Pm/Guild&Party chatlogs.

View logs players by name or all.

Added a Clean chat command.

Use protection with password. (Account Based)

No source edit!

Have fun! 

 

How to use:

First of all you have to install it in game by typing the command @spy <(password)> (in this case the pw is  .heroji ).

 

Now you can use the command:

@spy                       ( disconnect all the players hooked or show online players)

@spy <name>        ( hook the player to spy )

@spy .clean             ( clean chatlog screen )

@spy .logsall           ( show all chatlogs saved )

@spy .logs <name>   (show all chatlogs of a player )

@spy .logsdrop       ( will drop all the chatlogs saved in the table sql *use carefully no backup!* )

 

Enjoy! i tested it on @anacondaq RO server configuration..and works fine.

if you are getting [obfuscate] messages, its happening when the player is spamming the chat or you hook yourself.

P.s: This is my first script and I just started a month ago into scripting  so if you find bug, issue or comment just post it,

I would really appreciate it.


 

Edited by heroji

Share this post


Link to post
Share on other sites

[Error]:  Loading NPC file: npc/custom/@spy.txt
script error on npc/custom/@spy.txt line 87
    parse_callfunc: expected ')' to close argument list
    82 : .@qs = query_sql("SELECT `char_id`, `name`, `account_id`, `online` FROM
 `char` WHERE `name` = '"+escape_sql(.@input$+" "+.@input1$[1])+"' LIMIT 5", .@c
ids, .@name$, .@aids, .@online); //edit Limit 5 PLAYERS
    83 : if (.@atcmd_numparameters <= 0 ) {
    84 : dispbottom " ";
    85 : message(strcharinfo(PC_NAME), .b2$+" "+.c1$+" "+.a2$+".");
    86 : .v1$ = setchar("ady", "vb", 0);
*   87 : message(strcharinfo(PC_NAME), sprintf(_$'('"Usage: %s <Name>"), .@atcmd
_command$));
    88 : atcommand("@who");
    89 : if(.@qs == 0){
    90 : set .spyoff, 1;
    91 : end;
    92 : }

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.