generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

What do you do to "test" things involving players?

Previous Thread :: Next Thread 
TheColorMan is not online. TheColorMan
Joined: 30 Jan 2010
Total Posts: 11228
14 Aug 2012 09:36 AM
I want to test out involves having Players in the game.Players folder, making sure tools get into backpacks, etc. However niether me or anybody has the patience to constantly test it with the opening of servers and all that exiting and coming back in and seeing what's wrong and blah blah blah.

I can't insert players straight into the Players folder, is there anything I can do to test out scripts that need players?
Report Abuse
FireTG is not online. FireTG
Joined: 28 Oct 2010
Total Posts: 291
14 Aug 2012 09:38 AM
Of course.
Tools>Test>Start Server. From the new screen that appears, Tools>Test>Start Player. Remember, the new player is always named "Player". If your player needs to chat, game.Players.Player:setSuperSafeChat(false) to the command bar of your server.
Report Abuse
usama8800 is not online. usama8800
Joined: 29 Dec 2009
Total Posts: 225
14 Aug 2012 09:43 AM
or you can just use tools>test>play solo
Report Abuse
FireTG is not online. FireTG
Joined: 28 Oct 2010
Total Posts: 291
14 Aug 2012 09:45 AM
Play Solo will not fire "PlayerAdded" event, therefore anything that relies on that event (including adminscripts) will not work on Play Solo. You also can't setSuperSafeChat(false) on Play Solo, the studio will just crash.
Report Abuse
TheColorMan is not online. TheColorMan
Joined: 30 Jan 2010
Total Posts: 11228
14 Aug 2012 09:51 AM
The only thing that will make this more useful is if they would at least be named "Player1", "Player2", "Player3" and so on, that would make it so I know that any lists that might involve players will be in the right order.
Report Abuse
usama8800 is not online. usama8800
Joined: 29 Dec 2009
Total Posts: 225
14 Aug 2012 09:57 AM
maybe you can start the server once and the player multiple times then rename the players manually -- MAYBE
Report Abuse
kools is not online. kools
Joined: 11 Jan 2009
Total Posts: 1659
14 Aug 2012 09:59 AM
What you can do is get some friends and play that game. Before you do get ROBLOX's In-Game Error Monitoring Gui, it can be find in ROBLOX's models. Put your name in the string.

Actaully. I found that, though inconsistant, that the PlayerAdded event does fire in Play Solo.
Report Abuse
usama8800 is not online. usama8800
Joined: 29 Dec 2009
Total Posts: 225
14 Aug 2012 10:03 AM
@kools correction* sometimes playeradded does fire and somtimes not.
when it does not, the script loads after the player joins so it looks like the script isnt loading. if we could add 2 players in playsolo. Then it would be 100% fire for the 2nd player
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image