Strip out network stuff?
by Jason McIntosh · in Torque Game Builder · 03/08/2005 (10:37 pm) · 6 replies
My firewall asks if T2D can have internet access when I run it, but can we strip out the default network stuff (via script?) if it's not needed by a game? Or is it necessary for Torque to function?
About the author
#2
Key files to look in are
\common\main.cs
\common\canvas.cs
Just by stripping out a load of exec calls that aren't needed, you can significantly cut down the amount of script files that your game will compile. So you get quicker compile times and you will have less files to ship.
03/09/2005 (4:05 am)
Have a look in the \common directory (where the T2D.exe file is) and nosey through some of the scripts in there. You can chop out vast swathes of code if you're not using them.Key files to look in are
\common\main.cs
\common\canvas.cs
Just by stripping out a load of exec calls that aren't needed, you can significantly cut down the amount of script files that your game will compile. So you get quicker compile times and you will have less files to ship.
#3
Most of that stuff will be changing anyhow. :)
- Melv.
03/09/2005 (4:36 am)
... something we'll be doing over time as well. We ran out of time striping some of that stuff out.Most of that stuff will be changing anyhow. :)
- Melv.
#4
Thanks for the replies!
03/09/2005 (4:49 am)
Yeah, mainly my concern is that customers will get nervous as to why my games are "phoning home" for no reason and without any info. It would be helpful to (in the future) be able to optionally release without any net access at all (unless you call gotoWebpage).Thanks for the replies!
#6
03/09/2005 (5:48 am)
I think the first time that I installed and ran T2D it brought up a browser window that brought me to the site. Maybe that's what it is?
Associate Melv May
Sure, we don't require any of the network stuff at the moment and besides, we should only be doing it when a client wants to connect to something.
It'd be nice to know exactly where it's trying to connect to though. It's not the MS thing where a build connects to some MS server (I don't recall the details).
Could be annoying to some though so I'll add it to the list of stuff to confirm/fix at.
- Melv.