Jump to content
The Uniform Server Community

Wrong start?


Recommended Posts



I'm fairly new to creating servers and I just got to know Uniform Server.

However when I boot 'Start_as_program.exe' I should get a window saying that I have to change my password.

In my case it gives an Error straight away, this one;

An error has occurred in the script page.


Line: 250

Char: 2

Error: Input past end of file

Code: 0

URL: file:///C:/UniServer/uni_con/includes/core_functions_inc.vbs

Do you want to continue running scripts on this page?



(I didn't change a thing in that core_functions_inc.vbs)


I checked line 250, maybe theres something unusual here?

Line 245-260

Function us_port_in_use_ap(port)

Dim temp_file, FS,sInput

temp_file = US_TMP & "\port_check.txt" 'Temp file for netstat results

call ExecCMD("cmd /c netstat -anp tcp >" & temp_file,0,true) 'true=wait

Set FS = CreateObject("Scripting.FileSystemObject") 'Create file object

sInput = FS.OpenTextFile(temp_file).ReadAll 'Read file content


'Is port in use

If InStr(sInput, "" & port & " ") Then

us_port_in_use_ap = true 'Yes return true


us_port_in_use_ap = false 'No return false

End if


Set FS = Nothing

End Function



Windows Ultimate 64 bits

4 core @ 3.1ghz, 4 gb ram, Ati Radeon 5770.


I think I tried everything, i searched through the forums, and couldn't find any solutions.

I hope somebody can help me.


Hope to hear from you soon!



Link to comment
Share on other sites

Did you check the runtime library version on your machine?

Also, what version of The Uniform Server are you running?




Link to comment
Share on other sites

I also had some problems with this randomly. My current solution is to just start apache and mysql manually:




or something like that.


Gonna try to do some research on why exacly unitray stopped working later when I got some time.

I am representing the open tibia community otland.net
otland.net is contributing open source server software to an 2d mmorpg game called Tibia.

Here are some Uniform server tutorials/guide contributions from me:
VIDEO TUTORIAL: I teach newbreeds to install and operate uniform server: (Updated for Coral 8.x)

Uniform Server newbie guide:
Securely installing Uniform Server for total newbeginners:
(also contains how to get our open source tibia game, and connect it successfully to the uniform mysql server).

How to add a website for our open source tibia game which includes highscore, create account and so on: (On uniform server)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...