8SunTzu8
|
  |
| Joined: 30 Sep 2011 |
| Total Posts: 8199 |
|
|
| 01 Sep 2012 03:38 PM |
They changed the name of your Player to a random name similar to a Guest's name, except there is no space.
Any idea why they just made testing anything related to VIP type scripts much more difficult? I don't see any idea why they'd do this.
You can do a simple check like you can do for guests... but I guess you could add a debugger code that checks the first 6 letters of a player's name, to see if it matches with "Player". That just seems rather pointless.
I'm posting this here for a few reasons. One, it's no secret that mods tend to reply more often on this forum. Perhaps they can get this changed back to the standard "Player" name most people are used to. Another reason would be that many people here are experienced scripters, and might know better solutions.
Perhaps it can spark some discussion. This is one thing I've always taken for granted, and I honestly cannot think of any reason to do this...
Become an Innovator: [ http://www.roblox.com/Forum/ShowPost.aspx?PostID=77116209 ] |
|
|
| Report Abuse |
|
|
3543
|
  |
| Joined: 03 Dec 2011 |
| Total Posts: 121 |
|
|
| 01 Sep 2012 03:41 PM |
| The point of the change is probably so that we can use Test Server with different names. A better idea is to make it go up in numbers, instead of random. Player1, Player2, Player3, Player4 etc. |
|
|
| Report Abuse |
|
|
8SunTzu8
|
  |
| Joined: 30 Sep 2011 |
| Total Posts: 8199 |
|
|
| 01 Sep 2012 03:58 PM |
...
Server. I was referring to Play Solo.
Start Server is a different feature. I guess Start Player could do that... but I prefer that Play Solo is just Player. (When do you have more than one player in Play Solo?)
But for the Start Player, it would be better if it was not random if they did that... You would know which number to put into your script.
Become an Innovator: [ http://www.roblox.com/Forum/ShowPost.aspx?PostID=77116209 ] |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2012 04:00 PM |
I prefer it like this.
Scripts in the test modes are logically supposed to be ultimately used online. Online, the name of the players will not always be the same. Therefore, if your scripts assume the players will always have the same name, then it should work neither in online mode, nor in testing mode.
The point is to make the testing modes as similar as possible to the online mode. This makes them, indeed, more similar. |
|
|
| Report Abuse |
|
|
8SunTzu8
|
  |
| Joined: 30 Sep 2011 |
| Total Posts: 8199 |
|
|
| 01 Sep 2012 04:10 PM |
I want a testing mode.
Otherwise I need to go online to test admin related functions... That's annoying.
local Admins = {["8SunTzu8"] = true, ["Aco231"] = true, ["eaglesword"] = true, ["E981"] = true}
Before I could just add "Player" to this list and test whichever function that requires you to be an admin to use or doesn't affect admins specifically.
Become an Innovator: [ http://www.roblox.com/Forum/ShowPost.aspx?PostID=77116209 ] |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2012 04:11 PM |
| Well, when you're testing your place, you're supposedly testing it as an user, not as an admin. |
|
|
| Report Abuse |
|
|
MrHistory
|
  |
| Joined: 30 Aug 2010 |
| Total Posts: 5291 |
|
|
| 01 Sep 2012 04:16 PM |
| In the if statement for your admin script, you can check to see if the place is running in Play Solo mode. |
|
|
| Report Abuse |
|
|
xSIXx
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 9202 |
|
|
| 01 Sep 2012 04:21 PM |
@8sun
you could just attach localplayer to the admin script since it is accessable from play solo, but i doubt you even made the admin script due to the fact you are complaining of something which as an obvious fix.
get out. |
|
|
| Report Abuse |
|
|
Anaminus
|
  |
 |
| Joined: 29 Nov 2006 |
| Total Posts: 5945 |
|
|
| 01 Sep 2012 04:27 PM |
Just check the PlaceId. If it's 0, allow all players.
Admins[player.Name] or Game.PlaceId == 0 |
|
|
| Report Abuse |
|
|
xSIXx
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 9202 |
|
|
| 01 Sep 2012 04:30 PM |
@ana
mine is simpiler n00b. |
|
|
| Report Abuse |
|
|
8SunTzu8
|
  |
| Joined: 30 Sep 2011 |
| Total Posts: 8199 |
|
|
| 01 Sep 2012 04:31 PM |
^ That makes sense.
I still wanted to know if anyone knew the reason they changed it. I already stated one fix, so Mr. Let's yell at anyone I don't like, re-read the terms of service. I really am getting tired of your harassment. I am working on what the clanners call a holographic training, the admins are the people allowed to execute the various functions.
I prefer organizing the admin table like that so I don't need to use another function to check if someone is an admin. "Admins[player.Name]" as Anaminus showed is a lot easier.
I can still test things as a user in Play Solo, but having our name default to Player is much better. It allows us to test admin features with the output, and test user features by not including Player in the admin table.
Become an Innovator: [ http://www.roblox.com/Forum/ShowPost.aspx?PostID=77116209 ] |
|
|
| Report Abuse |
|
|
8SunTzu8
|
  |
| Joined: 30 Sep 2011 |
| Total Posts: 8199 |
|
|
| 01 Sep 2012 04:34 PM |
Late post. Both work well. But you're right, you're method is a lot simple.
I'm assuming you just...
wait(1) --I can never remember what the wait until a value is true looks like. Sue me.
local player = game.Players.LocalPlayer Then add player to the table. I wouldn't need to edit any functions. Honestly though, it's not like you can blame me for not thinking of that fix and instead thinking of another fix. Unless Anaminus is an idiot too.
Become an Innovator: [ http://www.roblox.com/Forum/ShowPost.aspx?PostID=77116209 ] |
|
|
| Report Abuse |
|
|
booing
|
  |
| Joined: 04 May 2009 |
| Total Posts: 6594 |
|
| |
|
8SunTzu8
|
  |
| Joined: 30 Sep 2011 |
| Total Posts: 8199 |
|
|
| 01 Sep 2012 04:40 PM |
Thanks.
Just a way I can alert some attention to the thread.
Become an Innovator: [ http://www.roblox.com/Forum/ShowPost.aspx?PostID=77116209 ] |
|
|
| Report Abuse |
|
|
| |
|
lucas668
|
  |
| Joined: 18 Jun 2008 |
| Total Posts: 6183 |
|
|
| 02 Sep 2012 01:07 AM |
This is why those with the lack of aptitude for innovation should not attempt to create new entities.
If I put any more big words in there, that sentence would explode. |
|
|
| Report Abuse |
|
|
8SunTzu8
|
  |
| Joined: 30 Sep 2011 |
| Total Posts: 8199 |
|
|
| 02 Sep 2012 07:51 AM |
You didn't use any words that a 4th grader wouldn't know if they read books once in a while. -_-
Become an Innovator: [ http://www.roblox.com/Forum/ShowPost.aspx?PostID=77116209 ] |
|
|
| Report Abuse |
|
|
| |
|
|
| 03 Sep 2012 03:31 PM |
| 8Sun, Sorcus would ban you for having a URL in your siggy. |
|
|
| Report Abuse |
|
|
8SunTzu8
|
  |
| Joined: 30 Sep 2011 |
| Total Posts: 8199 |
|
|
| 03 Sep 2012 03:39 PM |
...
Yeah, single me out. Go ahead.
It doesn't help you. I've seen offsite links from various people around here, including mods, and including you. Let him ban me, there's not much of a difference from this account and my alts.
Become an Innovator: [ http://www.roblox.com/Forum/ShowPost.aspx?PostID=77116209 ] |
|
|
| Report Abuse |
|
|
stravant
|
  |
 |
| Joined: 22 Oct 2007 |
| Total Posts: 2893 |
|
|
| 03 Sep 2012 04:08 PM |
There's a couple of reasons:
1) They wanted to make it easier to test in Test->Server, making it work correctly with a lot of code that uses game.Workspace:FindFirstChild(player.Name) rather than correctly using GetPlayerFromCharacter, which is a fine assumption in actual online play. And the code to do that is shared between play solo and online. It would be possible to add more code to make it different but it's much better and easier to keep it consistent.
2) There's no reason to keep it other than the single case of old admin scripts, which are easy enough to change to have no problem anyways. If you want to do general testing, using game.Players.LocalPlayer is just as easy as whatever you did before. |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2012 04:58 PM |
I'm just saying he would.
Not saying I would both reporting you.
That would be pointless, and Sorcus probably wouldn't see the report since he doesn't even go here anymore. |
|
|
| Report Abuse |
|
|
8SunTzu8
|
  |
| Joined: 30 Sep 2011 |
| Total Posts: 8199 |
|
|
| 03 Sep 2012 05:22 PM |
That's true Stravant, @ #2, however, you could only use that method in local scripts. For the regular scripts, we need to use another method. I guess I was just surprised that they changed it.
Become an Innovator: [ http://www.roblox.com/Forum/ShowPost.aspx?PostID=77116209 ] |
|
|
| Report Abuse |
|
|
xSIXx
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 9202 |
|
|
| 03 Sep 2012 05:26 PM |
@8sun
oh my god
you are so dumb
test = true
if test = true then
-- hurr durr bypass all checks and make everyone admin
end |
|
|
| Report Abuse |
|
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 03 Sep 2012 05:30 PM |
@x6x
Oh dear god, you really just did that .____. |
|
|
| Report Abuse |
|
|