SWAPR - SWeet Automatic Player Replacement script - Page 6 - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 08-12-2019, 02:28 PM   #51
Snapper
Junior Member
 
Join Date: May 2010
Posts: 45
Default

For me it is running well as long as I don't try to run it on my dedicated server. The planes spawn as they should but when I grab a seat the jet explodes instantly. After a couples of tries I can get a seat without exploding but that me jet has no gear.

When I run the same mission on my main pc it works fine. Any ideas?
Snapper is offline   Reply With Quote
Old 08-12-2019, 02:32 PM   #52
wolf5
Tester NS 430
 
wolf5's Avatar
 
Join Date: Nov 2013
Location: LFML
Posts: 298
Default

Did you use the latest version ?
You have to put offset, check the video. it's explain.
__________________


2RIMa-Gaming

People fly planes, pilots fly helicopters
wolf5 is offline   Reply With Quote
Old 08-12-2019, 02:49 PM   #53
Snapper
Junior Member
 
Join Date: May 2010
Posts: 45
Default

No I used the first version without offset. So maybe it will solve my issue already. Will report back.
Snapper is offline   Reply With Quote
Old 08-13-2019, 01:15 AM   #54
Hardcard
Member
 
Hardcard's Avatar
 
Join Date: May 2013
Posts: 609
Default

@Snapper

Execution delay is probably causing the replacement unit to not be removed in time, so your client immediately collides with it and blows up on spawn.

The current plug & play version won't solve that issue, since it doesn't apply offsets to planes in airbases.

Lucky for you, I think I've just discovered a way to dispense with all offsets and avoid such spawn collisions for good... I'll be releasing a new version soon.

Also, the upcoming SWAPR version will probably support carrier-based replacements for the Kuznetsov and the Vinson (Stennis is a bit of a nightmare, but I might pull it off yet ... Tarawa is a no go)

Last edited by Hardcard; 08-13-2019 at 03:44 AM.
Hardcard is offline   Reply With Quote
Old 08-13-2019, 09:31 PM   #55
Hardcard
Member
 
Hardcard's Avatar
 
Join Date: May 2013
Posts: 609
Default

@Everyone

Hi there people!

Looks like I'll need volunteers to make SWAPR work with the Stennis, right now I can only test helicopters on it (since I don't own the tomcat, harrier or hornet modules).

Tomcat, harrier and hornet module owners interested in getting SWAPR to work with the Stennis, please contact me via PM
Hardcard is offline   Reply With Quote
Old 08-13-2019, 09:39 PM   #56
Rudel_chw
Veteran
 
Join Date: Nov 2013
Location: Antofagasta, Chile
Posts: 4,255
Default

PM sent
__________________
For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra
For Gaming: 27" Monitor - Ryzen 1500X - 32 GB DDR4 2400 - MSI GTX970 - SSD 480 GB - HDD 10 TB - Windows 8.1 Pro - Thrustmaster HOTAS Cougar - Oculus Rift CV1
Mobile: iPad Pro 12.9" of 128 GB
Rudel_chw is offline   Reply With Quote
Old 08-14-2019, 10:09 PM   #57
Hardcard
Member
 
Hardcard's Avatar
 
Join Date: May 2013
Posts: 609
Default

@Everyone

Good news, people!

I've managed to finally get SWAPR working with some Stennis-based clients (only helicopters so far...fingers crossed for planes)

The new SWAPR version I'm working on features:
Spoiler:
  • Replacement unit removal before the client spawns (which should take care of the collision issue)
  • Multiple-client group support
  • Open terrain client support (for clients spawning on flat terrain anywhere on the map, set to "Takeoff from ground")
  • FARP client support (FARP clients should be set to "Takeoff from ground", though)
  • Full airbase client support (even for clients placed inside sheltered spots)
  • Kuznetsov and Vinson client support (clients must be set to "Takeoff from runway" on the Vinson, though)
  • Support for Huey and Mi-8 clients on the Stennis (haven't tested gazelle clients, but they should be supported as well)
  • All carrier-based clients have a "Deck Cleanup" F10 menu available, which they can use to remove and respawn replacements at will
  • Absurdly simple and quick setup


I'll keep working on Stennis plane implementation... if I pull it off, I'll need someone to punch me, to make sure I'm not dreaming

Last edited by Hardcard; 08-14-2019 at 10:20 PM.
Hardcard is offline   Reply With Quote
Old 08-15-2019, 09:19 AM   #58
ZlinMan
Junior Member
 
Join Date: Oct 2014
Posts: 40
Default

Fine work, huge thanks !
__________________
Waiting for the return of: -TLP- -True LAN Play- Multiplayer without permanent internet connection to ED master-server. Plane wishlist: Antonov - AN-2
ZlinMan is offline   Reply With Quote
Old 08-17-2019, 04:59 PM   #59
Sandman1330
Member
 
Sandman1330's Avatar
 
Join Date: Feb 2015
Location: Alberta, Canada
Posts: 940
Default

Hi Hardcard,

Thanks for all the hard work on this!

I'm having trouble getting it working. I'm coming in cold to the plug and play version (never tried the previous version), and I'm a bit new at scripting and ME.

I've added the _Client and _Plane suffixes to my pilot names, and I've modified the lua file to look for those 2 suffixes.

When I load the mission and select spectators, SWAPR sees the 2 clients I've added the suffixes to (I get the SWAPR Count = 2). However, no statics spawn in their spots. Clearly I'm missing something, but I can't figure it out. I've watched the new video, but I'll admit I didn't watch the old one as it seemed to include a lot of stuff that's not needed anymore.

What could I be doing wrong?
__________________
Ryzen 9 3900X / Asus Crosshair VI Hero X370 / Corsair H110i / EVGA GTX 1080ti FTW3 / 32Gb G.Skill TridentZ 3200 / Samsung 960 Evo M.2 / Saitek X56 / Saitek Pro Combat pedals / Rift S
Sandman1330 is offline   Reply With Quote
Old 08-17-2019, 06:48 PM   #60
Hardcard
Member
 
Hardcard's Avatar
 
Join Date: May 2013
Posts: 609
Default

@Sandman1330

I'll need more information

Post your mission here or send it to me via PM
Hardcard is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 03:30 AM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.