Need help figuring out my zoneip
-
- Posts: 74
- Joined: Sun Jul 22, 2012 2:21 pm
Need help figuring out my zoneip
Hello. I used Darkstar a long time ago. I've updated my files, but the IP address of the PC the server is running on has changed. It was 192.168.2.2. It's now 192.168.0.2. I calculated the zoneip should be 43208, but the old zoneip was 0033728704 (which someone on this forum gave me.) I can connect to dsconnect, but not to dsgame. Could somebody please write a scriptlet that checks the server machines IP address and spits out a zoneip? Or could someone implement it into the server code? For now, I just need help figuring out what my zoneip is. 192.168.0.2 would be (192) + (168*256) + (0^2) + (2^3) = zoneip, right? 192 + 43008 + 0 + 8 = 43208, but the old number had two zeroes at the beginning.
-
- Posts: 74
- Joined: Sun Jul 22, 2012 2:21 pm
Re: Need help figuring out my zoneip
Thank you. I added a bookmark to the website to my Dark Star Bookmark group. It came up with 3232235522 for my IP address. I have no idea how it came up with that, but I'll try it.
That number does not work. What am I doing wrong?
mysql> select zoneip from zone_settings;
+------------+
| zoneip |
+------------+
| 3232235522 |
| 3232235522 |
| 3232235522 |
.
.
.
I've restarted all servers, and still it takes forever downloading data after I select my character...
That number does not work. What am I doing wrong?
mysql> select zoneip from zone_settings;
+------------+
| zoneip |
+------------+
| 3232235522 |
| 3232235522 |
| 3232235522 |
.
.
.
I've restarted all servers, and still it takes forever downloading data after I select my character...
-
- Developer
- Posts: 707
- Joined: Sun Jul 22, 2012 12:11 am
Re: Need help figuring out my zoneip
The problem is that the ip address needs to be entered byte-swapped. i.e. if your ip is 127.0.0.1 then you enter it as 1.0.0.127 (last group to first group) in that calculator.
-
- Posts: 74
- Joined: Sun Jul 22, 2012 2:21 pm
Re: Need help figuring out my zoneip
I think it works now. TY for your help...