Hello,
I got 2 questions.
First I'll do the update question: My host-pc I am currently hosting my test server on, drops his connection like twice a week(at least this week). That doesn't matter that much, but the problem is that the IP also changes. That's the problem, now my question is, can I change the IP that's set in the game.exe (and/or other files in my client) through an update? If yes, how would this work. Do I have to do the same thing as a regular update, in this case, make another game.exe, create a patch with the new game.exe and upload it to my patch site?
Or is there any other way I can change the IP in game.exe, without having to download the new game.exe or configure the network settings that it doesn't change IP on restart?
PHP question:
The ServerStatus.php file I'm using from Svinseladden does only partly work, It does when the server is online but when it is offline it says there are OpenSockets errors in line 6/9/13/16... I have looked for something but I couldn't think of nothing, can any of you see the problem?
Unlike this one, all my other .php scripts are working like a charm.\
Thanks in advance!
I got 2 questions.
First I'll do the update question: My host-pc I am currently hosting my test server on, drops his connection like twice a week(at least this week). That doesn't matter that much, but the problem is that the IP also changes. That's the problem, now my question is, can I change the IP that's set in the game.exe (and/or other files in my client) through an update? If yes, how would this work. Do I have to do the same thing as a regular update, in this case, make another game.exe, create a patch with the new game.exe and upload it to my patch site?
Or is there any other way I can change the IP in game.exe, without having to download the new game.exe or configure the network settings that it doesn't change IP on restart?
PHP question:
The ServerStatus.php file I'm using from Svinseladden does only partly work, It does when the server is online but when it is offline it says there are OpenSockets errors in line 6/9/13/16... I have looked for something but I couldn't think of nothing, can any of you see the problem?
Code:
Line 6: $fp = fsockopen($server,$port1,$errno,$errstr,1); Line 9: fclose($fp); Line 13: $fp = fsockopen($server,$port1,$errno,$errstr,1); Line16: fclose($fp);
Thanks in advance!