Menu
 
FAQFAQ
SearchSearch

MemberlistMemberlist

UsergroupsUsergroups
RegisterRegister
ProfileProfile
Log in to check your private messages
Log in to check your private messages
Log inLog in
 
 

Community
 

how to host LAN games

 
Post new topic   Reply to topic    Winbolo.net Forum Index -> Technical Help
View previous topic :: View next topic  
Author Message
Kaos



Joined: 11 Mar 2010
Posts: 219

PostPosted: Sat Jan 15, 2011 12:44 pm    Post subject: how to host LAN games Reply with quote

ive just reinstalled winbolo after a clean win7 install. now i cant host lan games but before the install i could?

this is the message i get:

starting game servers from within the winbolo client on windows vista (or later) does not work correctly and has been disabled.

if you wish to start a new game server please you the dedicated server.

it says it doesnt work and has been disabled but i know it does work ive just forgotton what i did :/
Back to top
View user's profile Send private message
Nemokrad



Joined: 23 Feb 2003
Posts: 573

PostPosted: Sun Jan 16, 2011 4:02 am    Post subject: Reply with quote

Open a command prompt, navigate to the winbolo directory, and run winbolods.exe from there. Read the usage syntax. An example would be:

C:\Program Files\WinBolo>winbolods.exe -port 27500 -gametype strict -map "maps\chew toy 3.map" -tracker tracker.winbolo.com:50000
Back to top
View user's profile Send private message
Sticks



Joined: 23 Feb 2003
Posts: 806

PostPosted: Sun Jan 16, 2011 7:36 pm    Post subject: Reply with quote

For quick hosting of games, I created a batch script with some default settings. If I want to start a 1.17 server with a custom password, I'll save the following in a batch file and then just double-click it when I want to start a new game.

Code:
"F:\Games\WinBolo\winbolo117\winbolods.exe" -map "F:\Games\WinBolo\Maps\Buzzsaw.map" -port 27500 -gametype strict -tracker tracker.winbolo.net:50000 -log -quitonwin -password n0cheats


The upside is that you can start a map quicker than typing it in every time. The downside is that you will manually have to adjust the map name each time you run the script.
Back to top
View user's profile Send private message Visit poster's website
ErYan



Joined: 17 Mar 2010
Posts: 138

PostPosted: Mon Jan 17, 2011 5:15 am    Post subject: Reply with quote

Is there a way to allow users to generate and run a script to select their own map? I assume there are some serious security implications.

Anyway, it would be very easy to write an app. to run the specific maps you want. You could even serve the app. on the web from your computer as a web page (e.g. ASP.NET) but that might affect the resources required by the server itself.


How much does serving a winbolo game take from the computer's resources?
Back to top
View user's profile Send private message
Sticks



Joined: 23 Feb 2003
Posts: 806

PostPosted: Mon Jan 17, 2011 8:54 am    Post subject: Reply with quote

ErYan wrote:
Is there a way to allow users to generate and run a script to select their own map? I assume there are some serious security implications.

I don't think there would be any serious security issues other than what is already connected to running a web server.

The way you would accomplish this would be similar to how the bots in IRC build and run their commands: with parameters. You'd essentially have a page that has a bunch of drop-down menus for things like the game type, mines, bots, password, time limit, etc.

The path to the WinBolo server, the path to the maps, and the map names are the only things that would be text boxes. This data the user would have to provide. Yes, there might be some security issues there but I'm sure there's a way to scrub the data. Then just call a concatenation function and it outputs the string for use in a batch file.

Or, you can use a GUI front end program to run the WinBolo server. WinBoloDSFE was a program that Canuck wrote years ago. I probably still have it. I believe SuicidJky also wrote a server front-end in Visual Basic as well.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Winbolo.net Forum Index -> Technical Help All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
 
 
 
Winbolo.net Copyright ©2003 John Morrison