Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-02-2005, 09:16 PM
ChibiChibiLuc ChibiChibiLuc is offline
Cookie Monster. :3
Join Date: Jan 2005
Location: Nova Scotia, Canada
Posts: 111
ChibiChibiLuc is on a distinguished road
Send a message via AIM to ChibiChibiLuc Send a message via MSN to ChibiChibiLuc
player.ip?

Is there anything remotely like a 'player.ip' variable?
I don't believe there is, but I might've missed something.

If not, could it be added?

There're lots of things you could use it for.
Reply With Quote
  #2  
Old 06-02-2005, 09:26 PM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
No. It should be added though. :/
Reply With Quote
  #3  
Old 06-03-2005, 07:08 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally Posted by ChibiChibiLuc
There're lots of things you could use it for.
Lots of things like ?
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #4  
Old 06-03-2005, 07:12 PM
Benm00t Benm00t is offline
I made a tree!
Benm00t's Avatar
Join Date: Jul 2003
Location: The Intarwebbernetwork!
Posts: 987
Benm00t is on a distinguished road
Could be abused me thinks. <- Ignore that.

Couldn't this be easily abused? <- Answer that.
__________________
Lag is a good thing. Only those without it complain.

~ Ben
Reply With Quote
  #5  
Old 06-03-2005, 07:13 PM
VulcanP2P VulcanP2P is offline
Registered User
VulcanP2P's Avatar
Join Date: May 2005
Location: Florida
Posts: 882
VulcanP2P is on a distinguished road
Well if you're trying to track someone who you think is sharing an account you can add a make a script where it logs their IP everytime that person logs on, it can be used for numerous things.

EDIT: If player.ip existed...

Last edited by VulcanP2P; 06-03-2005 at 09:15 PM.. Reason: mistake
Reply With Quote
  #6  
Old 06-03-2005, 07:43 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by Benm00t
Could be abused me thinks. <- Ignore that.

Couldn't this be easily abused? <- Answer that.
What's the difference from looking in RC for their IP?
__________________
Reply With Quote
  #7  
Old 06-03-2005, 08:04 PM
Ajira Ajira is offline
Poont.
Join Date: Oct 2004
Location: NY, USA
Posts: 477
Ajira is on a distinguished road
Quote:
Originally Posted by xAndrewx
What's the difference from looking in RC for their IP?
Because that takes too long.
__________________
Liek omigosh.

Reply With Quote
  #8  
Old 06-03-2005, 08:05 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by Ajira
Because that takes too long.
You don't understand my question.

If it's a 'danger' why can we view it through the attrs?
__________________
Reply With Quote
  #9  
Old 06-03-2005, 08:09 PM
Ajira Ajira is offline
Poont.
Join Date: Oct 2004
Location: NY, USA
Posts: 477
Ajira is on a distinguished road
Quote:
Originally Posted by xAndrewx
You don't understand my question.

If it's a 'danger' why can we view it through the attrs?
Ah, you are correct I misunderstood.
I do not think it is a danger, unless that person is stupid to have so many open ports on their computer. I think that this should be added. IP protected scripts would seem sort of cool. o_O
__________________
Liek omigosh.

Reply With Quote
  #10  
Old 06-03-2005, 08:10 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
I do agree it's a cool idea.
__________________
Reply With Quote
  #11  
Old 06-03-2005, 08:52 PM
Trevor Trevor is offline
True
Trevor's Avatar
Join Date: Mar 2003
Posts: 2,253
Trevor is on a distinguished road
Quote:
Originally Posted by Benm00t
Couldn't this be easily abused?
Having someone's IP doesn't really mean much.
__________________


name: Trevor Fancher
email: trevor at fancher dot org
home page: fancher.org
Reply With Quote
  #12  
Old 06-03-2005, 09:31 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
You could put an IP range lock on someone's player, like there is for RC.
Maybe the script would send a msg to RC if the player of a staff account is out of range.
__________________
Reply With Quote
  #13  
Old 06-03-2005, 10:16 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
if (actionplayeronline) savelog2 ips.txt,#a has logged on with ip: #s(player.ip);

err, would that log it?
Reply With Quote
  #14  
Old 06-03-2005, 10:22 PM
Ajira Ajira is offline
Poont.
Join Date: Oct 2004
Location: NY, USA
Posts: 477
Ajira is on a distinguished road
Quote:
Originally Posted by KuJi
if (actionplayeronline) savelog2 ips.txt,#a has logged on with ip: #s(player.ip);

err, would that log it?
Right now it doesn't exist...
__________________
Liek omigosh.

Reply With Quote
  #15  
Old 06-03-2005, 11:12 PM
Benm00t Benm00t is offline
I made a tree!
Benm00t's Avatar
Join Date: Jul 2003
Location: The Intarwebbernetwork!
Posts: 987
Benm00t is on a distinguished road
Quote:
Originally Posted by xAndrewx
What's the difference from looking in RC for their IP?
I was thinking about that, which is why I changed what I wrote into a question. What if... someone makes a script that allows anyone (normal users) to get at anyone elses IP address as long as they are on the server.

Or if some kind of error allows them to get it.

You can say all you like "Having someone's IP doesn't really mean much", but I wouldn't want someone having my address, even more so if they have some kind of problem with me. Even though i'm fairly well protected and have a dynamic IP address, it still doesn't change anything for me.
__________________
Lag is a good thing. Only those without it complain.

~ Ben
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:35 PM.


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