Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

Be able to test in map editor when a player connects in mid-game to the map

Give us your input on how we may improve the ScriptAPI in the game in future versions.
Forum rules
By using the forum you agree to the following rules.
Post Reply
Juansero29
Fighter
Fighter
Posts: 42
Joined: Sun Jun 12, 2016 1:07 am
Title: Superfighter
SFD Account: Juansero29
SFD Alias: Juansero29
Started SFD: Pre-Alpha 1.0.5
Location: France
Gender:
Age: 22
Contact:

Be able to test in map editor when a player connects in mid-game to the map

Post by Juansero29 » Fri Nov 13, 2020 10:40 am

There's no way to currently test a player that connects to the server after the match has started, which makes it really painful to debug situations in which we want to handle player connections when a game is on going.

Bots can be added via the debug menu, but they have no User attached. Couldn't there be a bot with that has an User? UserBot or something...

This would be really helpful for me right now...

To simulate a player connection later in-game I have to actually start my server online and add bots to it while connected to the game, then make visual logs via Dialogs to know what the erros are. It's PAIN.

Please, help...
4 x

Code: Select all

boom() {
  echo "BOOM!";			
}
BOOM!
----------------------------------------
Setting the world free since 1998
----------------------------------------

User avatar
Odex64
Superfighter
Superfighter
Posts: 122
Joined: Sat Jul 29, 2017 12:39 pm
Title: Content Creator
SFD Account: Odex64
Started SFD: PreAlpha
Location: Italy
Gender:
Age: 18

Post by Odex64 » Fri Nov 13, 2020 11:00 am

I had the same exact idea a while ago and it would be very useful for testing complex and scripted maps (which may require multiple inputs or actions); but I doubt devs will add this feature.

The unique way to test your WIP maps is open a dedicated server and save in map editor whenever you apply some changes.
1 x
Image

Juansero29
Fighter
Fighter
Posts: 42
Joined: Sun Jun 12, 2016 1:07 am
Title: Superfighter
SFD Account: Juansero29
SFD Alias: Juansero29
Started SFD: Pre-Alpha 1.0.5
Location: France
Gender:
Age: 22
Contact:

Post by Juansero29 » Fri Nov 13, 2020 11:10 am

Odex64 wrote:
Fri Nov 13, 2020 11:00 am
I had the same exact idea a while ago and it would be very useful for testing complex and scripted maps (which may require multiple inputs or actions); but I doubt devs will add this feature.

The unique way to test your WIP maps is open a dedicated server and save in map editor whenever you apply some changes.
Yeah that's what I'm doing, but when there's an exception it's a PITA to know where it came from...
0 x

Code: Select all

boom() {
  echo "BOOM!";			
}
BOOM!
----------------------------------------
Setting the world free since 1998
----------------------------------------

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1870
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 30

Post by Gurt » Sat Nov 14, 2020 10:10 am

It's a great suggestion. I have never thought about it myself. I might return to SFD during the december holidays to tinker with it some more (fix some bugs) and this might be a fitting feature to implement as it would make it easier to test more advanced scripts. We'll see.
4 x
Gurt

Juansero29
Fighter
Fighter
Posts: 42
Joined: Sun Jun 12, 2016 1:07 am
Title: Superfighter
SFD Account: Juansero29
SFD Alias: Juansero29
Started SFD: Pre-Alpha 1.0.5
Location: France
Gender:
Age: 22
Contact:

Post by Juansero29 » Mon Jan 04, 2021 11:41 am

Just saw you added this in the last update! Thanks @Gurt :)
0 x

Code: Select all

boom() {
  echo "BOOM!";			
}
BOOM!
----------------------------------------
Setting the world free since 1998
----------------------------------------

Post Reply