Jump to content
Sign in to follow this  
natetron66

@IPAddress1 help

Recommended Posts

natetron66

My inventory script uses @IPAddress1 to get the users IP address. For several of the clients it is grabbing the wrireless ip address. Is there a way to always return the primary local ethernet ip?

Share this post


Link to post
Share on other sites
AlmarM

You have:

  • @IPAddress1
  • @IPAddress2
  • @IPAddress3
  • @IPAddress4
  • _GetIP()
AlmarM

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites
natetron66

You have:

  • @IPAddress1
  • @IPAddress2
  • @IPAddress3
  • @IPAddress4
  • _GetIP()
AlmarM

But @ipaddress1 works great on 400 pcs, theres about 20 though that return the wireless address. I didn't know if there was a function to report back the actual lan ip address and not the wifi ip address.

Share this post


Link to post
Share on other sites
bogQ

But @ipaddress1 works great on 400 pcs, theres about 20 though that return the wireless address. I didn't know if there was a function to report back the actual lan ip address and not the wifi ip address.

probably im wrong, (or im not)

If Not StringInStr(@IPAddress1,"192.168") Then
    MsgBox(0,"",@IPAddress1)
Else
    MsgBox(0,"",@IPAddress2)
EndIf

my wireless card is in the first slot of the MB and it is my @IPAddress1 with 192.168.0.1

my network card is in 4 slot of the MB and it is @IPAddress2

so try to filter simular ip adress so that y can determen whats the IP of your lan ip and whats the wireless adapter

the other way it to look at this post from herewasplato

it topic Enable/Disable Wireless Card

or try to finde other solution of Forum Search

Edit: tupo

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×