Playing with no internet...

Playing with no internet...

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

User avatar
wehalk
Posts: 2
Joined: 05 Dec 2006, 14:42

Playing with no internet...

Post by wehalk »

Can you play bots without having an internet connection? If so, how?

When I try to host, it asks me to log in, which of course, is not possible without internet connectivity.
User avatar
LOrDo
Posts: 1154
Joined: 27 Feb 2006, 00:21

Post by LOrDo »

Best way is to download SpringSP, its like a client for offline games. Downloadable off of Unknown Files, Search for it there.
If you dont have this, go into the spring folder and fire up Spring.exe directly. You'll be able to choose mod, map and ect from there.
User avatar
Erom
Posts: 1115
Joined: 25 Apr 2006, 05:08

Post by Erom »

SpringSP works really slick, you should get it. It does exactly what you want to do.

I think AF made it.
User avatar
wehalk
Posts: 2
Joined: 05 Dec 2006, 14:42

Post by wehalk »

Thanks for the help everyone. I got SpringSP and will play around with it a bit later, at work atm.

In case you were curious, I do have an internet connection, but would like to be able to play while not online. Translation: Family vacation + 3 hour ride = Boring without TA to play. :lol:
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

SpringSP is outdated, it won't recognize the new AI folder or sdd format (unless there was a new version I haven't heard of).
User avatar
Erom
Posts: 1115
Joined: 25 Apr 2006, 05:08

Post by Erom »

Oh no! Man, that's a bummer. I wonder if he's going to update it, or if he'd be willing to let someone else get a copy of the source and update it. We should bug him about it.

/castbyrank(Summon AF;Rank 1);
User avatar
caldera
Posts: 388
Joined: 18 Oct 2005, 20:56

Post by caldera »

you can still create a singleplayer game using the lobby-server (look into the downloadarea here). in the wiki is an easy-to-understand tutorial
User avatar
Erom
Posts: 1115
Joined: 25 Apr 2006, 05:08

Post by Erom »

Well, yes. But still, SpringSP was a nice tool.
User avatar
Strategia
Posts: 575
Joined: 06 Apr 2006, 18:32

Post by Strategia »

And of course if all else fails there's the direct method of using Spring.exe. It may not be smoothed out much, but it works.
User avatar
Lindir The Green
Posts: 815
Joined: 04 May 2005, 15:09

Post by Lindir The Green »

There's a new version of SpringSP that works with the most recent version of spring.

And AF didn't make it; I believe Android did. But AF includes it with all his AI releases.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Android_X made it, and there's a Spring SP on Unknown-files.net that works with 0.73+

Failing that there's UnityLobby, running spring.exe directly, creating script.txt by hand, or running tasclient with the LAN server.
User avatar
BvDorp
Posts: 439
Joined: 14 Oct 2005, 12:09

Post by BvDorp »

Is there a UnityLobby release for windows users?
Tim-the-maniac
Posts: 250
Joined: 22 Jul 2006, 19:58

Post by Tim-the-maniac »

SpringSP was close to a v0.8 a while ago with minimap preview and other stuff but i havent heard from android for a while. I'll email him and see if hes still working on it, he was gonna stop until i showed him how to do some stuff with unitsync which made more things possible.
User avatar
Deathblane
Posts: 505
Joined: 01 Feb 2006, 01:22

Post by Deathblane »

Is there a lan server for the current spring?
nicko117
Posts: 19
Joined: 30 Nov 2006, 10:33

Post by nicko117 »

Yes, under the download section, named "Lobby Server":

http://taspring.clan-sy.com/dl/TASServer_031.zip

I've tested it, it works fine with taspring 0.74b1

PS: it's a little a shame not to have packaged it as a jar and the proper manifest file, to permits to launch it by simply clicking on it (windows users would appreciate it I suppose). I can do it if you want.
User avatar
Deathblane
Posts: 505
Joined: 01 Feb 2006, 01:22

Post by Deathblane »

T'would be nice, but if you could point me to a tutorial to do the same that'd be good to.
nicko117
Posts: 19
Joined: 30 Nov 2006, 10:33

Post by nicko117 »

Ok, here:

1. extract the content of the zip file in one directory

2. go inside this directory, for ex say it's name is TASServer_031

3. create a manifest file, indicating which class is the entry point. Reading from the readme.txt (and from the .bat exemple) we see it's TASServer.class

This file is a plain text file, we name it "manifest.mf". You put inside this single line (minimum for our needs):

Main-Class: TASServer

(You need to put an empty line at the end of the file)

4. use the commandline tool "jar" provided by Sun with any of their JDK package

jar cvfm manifest.mf taserver.jar *

(it will store the manifest file as well, which is unecessary ... but it's not realy a problem, and it would be more difficult to explain the process otherwise ...)

5. Now you have a taserver.jar, that run the server when you double click on it ...


BUT ... I've made the test ... and unfornately, it use by default the command "javaw -jar", that means, it works, but it doesn't open a window ... so you are a little blind ... I had to look at the processes to see that it had worked ... well ... the server writes some logs in files under directory "notifs".

I had to say it's not so practical as I supposed .... especially when you want to close it ... you have to kill the right process ...

PS: If you don't have installed a JDK, but a JRE instead, you don't have the "jar" executable ... in this case ... you can create the jar file with zip (or patch directly the orignal zipfile if you have a software that allow it, like TotalCommander :p). But the you have to create manually one additionnal directory "Meta-inf", and inside the file manifest.mf

Here is the hierachy needed for the zipfile:

Code: Select all

Root
  |
  |- Account.class
  |- Accounts$1.class
  |- Accounts$2.class
  |- Accounts.class
  |- BanList.class
  |- ......  (all other files contained in the original zip)
  |- Meta-inf
          |
          |- Manifest.mf
Thats all ... then rename your file.zip in file.jar

Some people may think it's easier like this, but I wanted to show the real process form Sun also :)
wazzy3007
Posts: 3
Joined: 06 Dec 2006, 07:01

Post by wazzy3007 »

hey, i downloaded spring sp 0.7 and since i'm a noob i don't know how to get it running...i extracted it all into my Spring folder but when i click on SpringSP.exe (well the only icon that could be SpringSP.exe) it goes into windows picture and fax viewer and says no preview available...help please!
User avatar
Strategia
Posts: 575
Joined: 06 Apr 2006, 18:32

Post by Strategia »

I think you're probably trying to open the .ico file containing the icon. If so, that means that SpringSP.exe has no icon. Or you need to do something else, explained in the post above yours. I'm not really good with any sort of code, so I can't really follow it myself :) :oops:
nicko117
Posts: 19
Joined: 30 Nov 2006, 10:33

Post by nicko117 »

Strategia, if u speak about my post, it was just an attempt to simplify the thing ... but it failed .... it's really not easier.

To use TasServer, it's better just to unzip, and run tasserver.bat instead :)

(u need java installed)
Post Reply

Return to “General Discussion”