Author Topic: Quick Question: Admin by IP Address?  (Read 10656 times)

0 Members and 4 Guests are viewing this topic.

Offline Stephen304

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 0
Re: Quick Question: Admin by IP Address?
« Reply #15 on: February 11, 2010, 08:02:21 PM »
No, no other problems, just no steam id. So i guess what you said means i loose my own local ip too?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Quick Question: Admin by IP Address?
« Reply #16 on: February 11, 2010, 08:19:56 PM »
It looks like it, yes. Odd though, considering your server runs on the right IP.
Your Gmod client may be seeing another connection... does your computer have more than one network card or connection?
Sometimes Windows sees firewire, VPN adapters, other software/virtual drivers as a connection and can assign it a 169.254.x.x address.
If you go to a command prompt and do a "ipconfig /all", your adapters (with IP) will be shown.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Stephen304

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 0
Re: Quick Question: Admin by IP Address?
« Reply #17 on: February 12, 2010, 04:00:22 AM »
Heres what i got:
Code: [Select]
C:\Users\Stephen>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : LeetPC
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Bluetooth Network Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
   Physical Address. . . . . . . . . : 00-17-F2-BB-F0-2D
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Wireless Network Connection 2:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Virtual WiFi Miniport Adapter
   Physical Address. . . . . . . . . : 00-19-E3-10-88-D8
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Broadcom 802.11n Network Adapter
   Physical Address. . . . . . . . . : 00-19-E3-10-88-D8
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::3ca1:b552:f30d:c074%12(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Wednesday, February 10, 2010 3:47:03 PM
   Lease Expires . . . . . . . . . . : Saturday, February 13, 2010 4:37:16 AM
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DHCPv6 IAID . . . . . . . . . . . : 218110435
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-BB-0E-D6-00-17-F2-D1-F0-7A

   DNS Servers . . . . . . . . . . . : 192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Local Area Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Marvell Yukon 88E8053 PCI-E Gigabit Ether
net Controller
   Physical Address. . . . . . . . . : 00-17-F2-D1-F0-7A
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{3C375737-95D3-49E8-86D9-FA0F32309F13}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e74:107f:312f:b493:7073(Pref
erred)
   Link-local IPv6 Address . . . . . : fe80::107f:312f:b493:7073%13(Preferred)
   Default Gateway . . . . . . . . . : ::
   NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter isatap.{D980F224-ECF8-4EA3-A7A6-C7AC83696FF7}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{E4CBCE4C-C932-4E3F-8CB8-B6CF5EE9871B}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{68177EBA-5421-41DC-B04B-4F8FC25C7569}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #5
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Looks like alot of them to me.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Quick Question: Admin by IP Address?
« Reply #18 on: February 12, 2010, 03:20:19 PM »
That is quite a bit, much of it dealing with IPv6, which 99.9% of the internet, and definitely 'home' based equipment, is not using right now.
You may wish to google how to disable IPv6 in Vista/Windows 7. (Teredo / tunnel adapters are IPv6 to v4 converters)

Also... the fact you seem to run a server through a wireless connection may be causing connection issues to Steam.
Though good for surfing/burst transmission access to the web, wireless usually isn't good for streaming based applications, even when sitting right next to the router.
If you have a way to go ethernet/wired... I strongly recommend doing so.
I bet your players would notice the difference too.

Do you use Bluetooth internet access devices? Not mice/keyboards, but Bluetooth devices designed to access the internet.
If not, you may wish to research how to disable those.

The less connections your applications, including Steam, have to worry/scan through while starting can help issues like the one you're having with losing Steam connectivity.
As for setting an IP in ULX, I'd work on not losing the SteamID/connectivity problems first... once that's corrected, I bet ULX follows.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Stephen304

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 0
Re: Quick Question: Admin by IP Address?
« Reply #19 on: February 12, 2010, 05:01:35 PM »
Yeahhh... No way to direct connect, router is 1 floor down. Only place to hook up. No chance of my parents letting me move the computer closer to my room.

I'll see what i can do about those other connections.

Offline vader0146

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 9
Re: Quick Question: Admin by IP Address?
« Reply #20 on: February 13, 2010, 08:10:45 AM »
get your own computer lol

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Quick Question: Admin by IP Address?
« Reply #21 on: February 13, 2010, 09:35:25 AM »
He can't yet. They (seem like) good parents and wish to monitor his computer activities.
Best way is to keep it in a monitored place.

Either way, wireless is shady connection at best.
Know you can't help it, but server performance is affected, and connection to Steam, as you can tell, is too.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline vader0146

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 9
Re: Quick Question: Admin by IP Address?
« Reply #22 on: February 13, 2010, 02:17:54 PM »
He can't yet. They (seem like) good parents and wish to monitor his computer activities.
Best way is to keep it in a monitored place.

Either way, wireless is shady connection at best.
Know you can't help it, but server performance is affected, and connection to Steam, as you can tell, is too.

OP is 12

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Quick Question: Admin by IP Address?
« Reply #23 on: February 13, 2010, 03:14:34 PM »
Age doesn't matter regarding this topic.
Discussion here has been intelligible and questions reasonably versed.
Leave pointless remarks like that out of it.

For future reference, the answer to the original question post is, for ULib 2.3 and less (non svn), in users.txt, id would be the IP x.x.x.x of the player/person connecting, and type would be "ip"
Again though, the reason your steamid isn't working goes beyond ULX, and most likely if your Steamid isn't working, your IP would be invalid/not matching either.
From ucl.lua of ULib 2.3
Code: [Select]
--[[
Section: Format

This section will tell you how to format your strings/files for UCLs.

Format of admin account in users.txt--
"<account_name>"
{
"id" "<name|ip|steamid|clantag>"
"type" "<name|ip|steamid|clantag>"
"pass" "<password>"
"pass_req" "<0|1>"
"groups"
{
"superadmin"
"immunity"
}
"allow"
{
"ulx kick"
"ulx ban"
}
"deny"
{
"ulx cexec"
}
}


"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Stephen304

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 0
Re: Quick Question: Admin by IP Address?
« Reply #24 on: February 13, 2010, 03:56:59 PM »
OP is 12
12
12
12
Quote
RICK JAMES!
Ok, lol sry i had to do that.
Where did you get that from??? 0_o
You are some years off.

Anyways, thanks for that info, next time it breaks maybe it will work, because I'm pretty sure my ip stays correct.
« Last Edit: February 13, 2010, 07:13:16 PM by Stephen304 »

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Quick Question: Admin by IP Address?
« Reply #25 on: February 17, 2010, 11:16:52 AM »
Wish I had read this earlier. When running a dedicated server on the same machine that you plan on playing the game from, you have to setup your ports for your server and the game to be different from each other otherwise you will lose your steam id. This is more common when using windows vista/7. Think the command for the command line was +hostport and +port and +clientport you have to change them all.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Quick Question: Admin by IP Address?
« Reply #26 on: February 17, 2010, 03:38:34 PM »
Odd. Though it might be because I'm using XP, I've never had a port conflict. If I start my dev ded server, it will by default grab an open port. If I start steam/Gmod before or after, it uses a different port, usually sequential, than what the server is.

Ive never lost my steamid, though it's been a while since I've run a ded server and gmod for more than an hour or two at a time.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Quick Question: Admin by IP Address?
« Reply #27 on: February 17, 2010, 08:00:41 PM »
It's happened to me many times. I hate windows vista+ for this reason, but oh well few more configs won't hurt.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Quick Question: Admin by IP Address?
« Reply #28 on: February 17, 2010, 08:10:37 PM »
https://support.steampowered.com/kb_article.php?ref=8571-GLVN-8711
I've had those ports opened on my linux firewall for ages. Even though it says Dedicated = 27015 TCP, I've got the whole TCP range from the paragraph above it (27014 to 27040)
 Either that's helped me not lose my steamid, or Gmod updates over past year or two (since I last ran long uptime server) have broken it, or, as perhaps in both your and Stephen's case, Vista has so many adapters, Steam gets confused and maps same port on a different adapter that's already in use on another. (or, worse, combo's of all)
Though you connect directly to your server, the server and steam client both connect to outside servers, even if you have "-nomaster" set in your command line. (fyi if you didn't know, -nomaster tells server not to advertise to servers list (ie, allow people to see you advertised))
« Last Edit: February 17, 2010, 08:13:48 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Quick Question: Admin by IP Address?
« Reply #29 on: February 22, 2010, 10:31:40 AM »
Actually you can add by IP or even unique id in ULib/ULX svn. I forgot I still made that possible, sorry. Just put an IP or a unique id in place of where the steamid would normally go.
Experiencing God's grace one day at a time.