Author Topic: Player's IP  (Read 3015 times)

0 Members and 1 Guest are viewing this topic.

Offline squiddy

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 333
  • Flagger assassin
    • SoldatX
Player's IP
« on: April 07, 2010, 12:04:32 pm »
Script Name: Player IP
Script Description Player IP ID By Squiddy HackTank Script
Author: Squiddy
Compile Test: Passed
Core Version: 2.6.5
Hosted by: Soldat Central - http://soldatcentral.com/

Full Description:
Script which results in the Players IP.

Usage:
Type:
~ /ip <ID> to see ID\'s IP.
~ /myip to see your IP.

Made by:
Squiddy (BR);
HackTank (USA);

Thanks Hack!

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



(Size 719 B)
- http://soldatcentral.com/index.php?page=script&f=176 -


** Script hosted by Soldat Central! Please visit the author's script page and Rate this script **
www.soldatx.com.br - The brazilian Soldat community.

Offline Swompie

  • Camper
  • ***
  • Posts: 390
Re: Player's IP
« Reply #1 on: April 07, 2010, 12:44:23 pm »
Âre you bored? Anyway nice again D:

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: Player's IP
« Reply #2 on: April 07, 2010, 12:50:16 pm »
I add a small addition in the script? :)

Offline squiddy

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 333
  • Flagger assassin
    • SoldatX
Re: Player's IP
« Reply #3 on: April 07, 2010, 03:41:56 pm »
I add a small addition in the script? :)

Go ahead, what is it ?
www.soldatx.com.br - The brazilian Soldat community.

Offline Silnikos

  • Soldier
  • **
  • Posts: 129
Re: Player's IP
« Reply #4 on: April 07, 2010, 04:17:14 pm »
Holy fuck, what will be next, script to get player's ID?

Scripts larger than 1 KB and more useful would be appreciated.

Offline squiddy

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 333
  • Flagger assassin
    • SoldatX
Re: Player's IP
« Reply #5 on: April 07, 2010, 05:31:06 pm »
Holy f**k, what will be next, script to get player's ID?

Scripts larger than 1 KB and more useful would be appreciated.

Use it if you want. It's here for whoever wants to use it.

If you don't want to, then don't even post here. Simply ignore it.

To be honest, I really don't care if you don't like my Script. I'm sure someone will.

If you wanna criticize it, then do it constructively.
www.soldatx.com.br - The brazilian Soldat community.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Player's IP
« Reply #6 on: April 07, 2010, 07:52:43 pm »
GJ

@Silnikos there is nothing wrong with posting little minor scripts like this; some random dude might want specifically something like this, without any other fancy dancy features and stuff.

I was going to say something else, but I forgot what it was ^^

Offline Swompie

  • Camper
  • ***
  • Posts: 390
Re: Player's IP
« Reply #7 on: April 08, 2010, 03:10:00 am »
@Silnikos there is nothing wrong with posting little minor scripts like this; some random dude might want specifically something like this, without any other fancy dancy features and stuff.
Like people learning scripting :D

Offline LORD KILLA

  • Camper
  • ***
  • Posts: 254
  • Happie
Re: Player's IP
« Reply #8 on: April 08, 2010, 11:05:22 am »
Well, also some people are looking in here WITHOUT any scripting knowledge, so they do not want to dload a 1TB script to be able to get the player's IP ingame =|

Someone should make a mini-scripts collection for end-users. (and maybe an easy-to-use installer, or on/off switcher)

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: Player's IP
« Reply #9 on: April 09, 2010, 05:58:08 am »
I add a small addition in the script? :)

Go ahead, what is it ?

Thank you this is it changed color and added a show at the entrance of IP and the player's nickname
If you do not understand, please test!
Edit :
New:
IP-Failure to send to all
« Last Edit: April 09, 2010, 09:18:08 am by dominikkk26 »

Offline squiddy

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 333
  • Flagger assassin
    • SoldatX
Re: Player's IP
« Reply #10 on: April 09, 2010, 08:02:45 am »
All great, except for one thing. When player joins, it sends a message to everyone in the server.

I don't think that will help. Maybe you should correct it like this:

Code: [Select]
Procedure OnJoinTeam(ID, Team: Byte);
 Begin
  WriteConsole(ID,'Welcome back, '+GetPlayerStat(ID,'Name')+'!',Color);
 WriteConsole(ID,'Your IP is '+IDToIP(ID),Color);
end;

Looks more organized :P

Thanks for the addition! :]
www.soldatx.com.br - The brazilian Soldat community.

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: Player's IP
« Reply #11 on: April 09, 2010, 08:45:02 am »
You guys are making my days one after another...

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: Player's IP
« Reply #12 on: April 09, 2010, 09:20:55 am »
New version

Specifically, over