Official Soldat Forums

Server Talk => Scripting Discussions and Help => Topic started by: rhide on January 07, 2008, 09:07:51 pm

Title: How to test scripts?
Post by: rhide on January 07, 2008, 09:07:51 pm
Hello again!

I have only 1 computer at home with a monitor, thus I cant start dedicated server with my scripts on one computer and connect from another.
Are there any way I could connect to my own computer, that is, have server and client on the same computer? Are there any other way I could test my scripts other than buying a new computer?

Thanks in advance!
Title: Re: How to test scripts?
Post by: chrisgbk on January 07, 2008, 09:11:53 pm
Hello again!

I have only 1 computer at home with a monitor, thus I cant start dedicated server with my scripts on one computer and connect from another.
Are there any way I could connect to my own computer, that is, have server and client on the same computer? Are there any other way I could test my scripts other than buying a new computer?

Thanks in advance!

You can run the client and the dedicated server on the same computer, so long as you start the server before the client.
Title: Re: How to test scripts?
Post by: rhide on January 08, 2008, 02:10:16 am
That didnt work just before, but now it seems to be working fine..
I'm sorry for taking your time, and thanks for th answer!

Regards
Title: Re: How to test scripts?
Post by: DorkeyDear on January 08, 2008, 06:36:32 am
Hello again!

I have only 1 computer at home with a monitor, thus I cant start dedicated server with my scripts on one computer and connect from another.
Are there any way I could connect to my own computer, that is, have server and client on the same computer? Are there any other way I could test my scripts other than buying a new computer?

Thanks in advance!

You can run the client and the dedicated server on the same computer, so long as you start the server before the client.
May I ask why not to run the server before the client? I've done that tons of times without issues..
Title: Re: How to test scripts?
Post by: EnEsCe on January 08, 2008, 07:11:50 am
If you use port 23073, the server will whine about the port being already in use.
Title: Re: How to test scripts?
Post by: chrisgbk on January 08, 2008, 05:19:47 pm
Hello again!

I have only 1 computer at home with a monitor, thus I cant start dedicated server with my scripts on one computer and connect from another.
Are there any way I could connect to my own computer, that is, have server and client on the same computer? Are there any other way I could test my scripts other than buying a new computer?

Thanks in advance!

You can run the client and the dedicated server on the same computer, so long as you start the server before the client.
May I ask why not to run the server before the client? I've done that tons of times without issues..

If you use the default settings of fresh installs, and start the client BEFORE the server, the client will bind the socket and the server will be unable to recieve connections, due to it being not able to bind the socket. If you use customized settings it's not a problem, or if you start the server before the client it's fine.
Title: Re: How to test scripts?
Post by: ZomgProniss on June 03, 2008, 03:27:40 pm
Hello again!

I have only 1 computer at home with a monitor, thus I cant start dedicated server with my scripts on one computer and connect from another.
Are there any way I could connect to my own computer, that is, have server and client on the same computer? Are there any other way I could test my scripts other than buying a new computer?

Thanks in advance!

You can run the client and the dedicated server on the same computer, so long as you start the server before the client.

buy "client" u mean the game soldat right?
Title: Re: How to test scripts?
Post by: Boblekonvolutt on June 03, 2008, 03:31:52 pm
Yes.