Multy player script needed!!

Multy player script needed!!

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

redwyaster5
Posts: 20
Joined: 14 Jun 2009, 03:50

Multy player script needed!!

Post by redwyaster5 »

Hi so my freind and I downloaded a working binary of the mac osx spring game. We got the mods and maps. Now we I started a game and he would join. Simple right WRONG!! The game says unnamed player atempted to join but was rejected becouse it he wasn'int in the script. We really need some help on this one. Were can i find the script to fix that?
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Multy player script needed!!

Post by Pxtl »

I don't know the state of Mac OS spring, but I think the "script" it's talking about is script.txt - this file is not a static script file you're missing, but a file containing all the player/map/server info for the game you're about to start. That is to say, if it's missing or not finding it, something is going very wrong between the lobby and spring.exe.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Multy player script needed!!

Post by Auswaschbar »

Use springlobby / TASserver to setup games
redwyaster5
Posts: 20
Joined: 14 Jun 2009, 03:50

Re: Multy player script needed!!

Post by redwyaster5 »

I just need a script that has his name in it or something so that he can join. It says he sees the game and can join buy my script, commanders, or any other like the empty script wont let him cause his name isn't in it.
redwyaster5
Posts: 20
Joined: 14 Jun 2009, 03:50

Re: Multy player script needed!!

Post by redwyaster5 »

And i cant get into a game on spring lobby cause my vertion is out of date
redwyaster5
Posts: 20
Joined: 14 Jun 2009, 03:50

Re: Multy player script needed!!

Post by redwyaster5 »

Ohh and were using direct ip
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Multy player script needed!!

Post by Auswaschbar »

redwyaster5 wrote:Ohh and were using direct ip
Yeah, multiplayer with direct IP is kinda not working at the moment.
Pako
Posts: 174
Joined: 12 Jul 2009, 18:57

Re: Multy player script needed!!

Post by Pako »

At least multiplayer via localhost with multiple spring executables works fine.

If a direct IP doesn't work, the connection should be easily possible to be piped through localhost.
Attachments
script_client.txt
(80 Bytes) Downloaded 22 times
script_server.txt
(1.05 KiB) Downloaded 62 times
redwyaster5
Posts: 20
Joined: 14 Jun 2009, 03:50

Re: Multy player script needed!!

Post by redwyaster5 »

ok were do i put those? haha
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: Multy player script needed!!

Post by SinbadEV »

redwyaster5 wrote:ok were do i put those? haha
they are the command line arguments for spring so in the install directory

spring.exe script_client.txt
redwyaster5
Posts: 20
Joined: 14 Jun 2009, 03:50

Re: Multy player script needed!!

Post by redwyaster5 »

how do i do that?
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: Multy player script needed!!

Post by SinbadEV »

redwyaster5 wrote:how do i do that?
Sorry... the fact that you need to ask that question puts you so far out of my expectations for the general computer use abilities of a person who I expect to be able to play spring at this time...

In case you just misunderstood my post:

Save the Files to your spring directory, create a blank text document with the file in that directory as "BatchFileName.Bat" that contains the text:
Spring.exe ScriptFileName.txt

Run said batch file.
redwyaster5
Posts: 20
Joined: 14 Jun 2009, 03:50

Re: Multy player script needed!!

Post by redwyaster5 »

ON A MAC DUMMY
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: Multy player script needed!!

Post by SinbadEV »

redwyaster5 wrote:ON A MAC DUMMY
OMG I AM SUCH A N00B, SORRY FOR BEING DUMB...

Hum... I'm totally a PC user but OSX is basically a unix flavour so I'd suggest trying to run it from terminal... though I'm terribly foggy about OSX's filesystem.
redwyaster5
Posts: 20
Joined: 14 Jun 2009, 03:50

Re: Multy player script needed!!

Post by redwyaster5 »

lol its all good man lmao
redwyaster5
Posts: 20
Joined: 14 Jun 2009, 03:50

Re: Multy player script needed!!

Post by redwyaster5 »

Still waiting for some help here.
User avatar
Noruas
XTA Developer
Posts: 1269
Joined: 24 Feb 2005, 02:58

Re: Multy player script needed!!

Post by Noruas »

...
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Multy player script needed!!

Post by Pxtl »

Nobody knows how to use a mac. Idunno, try dragging the attached textfiles onto the Spring executable? How do you launch an app with a file parameter on a Mac?
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: Multy player script needed!!

Post by SinbadEV »

Did you try running it from terminal?
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Multy player script needed!!

Post by lurker »

Man using .sh instead of .bat is so complex, and possibly putting ./ on Spring.exe and you're such a noob pxtlv.
Post Reply

Return to “Lua Scripts”