|
| 03 Jan 2013 03:29 PM |
What are the differences between these modes, as to how scripts function?
Because on numerous occassions I have had scripts that work in play solo mode but not in online mode.
I am pretty sure that in play solo mode all scritps run on the client, but the script that has this problem of working only in play solo mode is a LocalScript.
So is there something different about how the script works in play solo mode, like the variables (both local and global) or anything else? |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 03:33 PM |
| Since there is a server in online mode, lag tends to be an issue in certain scripts. what type of script are you making? |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 03:36 PM |
Heres an example of a possible error:
Sometimes in online mode, a script executes before all child objects in a parent object load. Indexing these child objects could raise an error. |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 03:41 PM |
| hmm.. that seems like it may be happening. I am making a gui that consists of a shop, a donate system, a player viewing system, etc. |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 03:44 PM |
| I make GUIs, and sometimes when they work in build but not in online mode, I simply add a wait() at the start of the script. |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 04:05 PM |
| on Online mode your client is connected to a server but in solo mode it is only a client, this will do so not everything will work on both online and solo |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Jan 2013 04:08 PM |
PlaySolo Mode => Connected To The Client Server/Online Mode => Connected To The Server
More Information:
When connected to the client, all scripts run LOCALLY, since the client (in the case is RobloxStudio.exe) is on your computer When connected to the server, normal scripts run normally and local scripts run locally (in this case, the host is roblox.com) |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 04:10 PM |
actually, server is not connected to host.roblox.com
server is also connected to your computer, the client. both the server and the client are run on your computer.
server scripts are run locally too, they just have a different client.
¬ LuaLearners Elite/Writer |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Jan 2013 04:13 PM |
I never said host.roblox.com
The server is not connected to your computer, only the client.
Here's why: What's the use of the server connecting to your computer.The client does the "computer controlled" stuff while the server sends and receive packets from the client, usually in little endian (Off Topic)
Unless, by connecting to the computer, you meant to the client from the computer? |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 04:13 PM |
furthermore, servers can have a localplayer/currentcamera.
¬ LuaLearners Elite/Writer |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 04:14 PM |
yeah oops. i misread that as host.roblox.com
¬ LuaLearners Elite/Writer |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Jan 2013 04:16 PM |
doombringer, that's why roblox invented the local script. So it can communicate with your client instead of all clients at the same time.
It's hard to explain bit I'm sure there is some palce that has this.
The reason i know this: I am some-what experienced with packets and packet editing as well as the communication links between client and server. |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 04:22 PM |
i believe we have a miscommunication.
when I say server, i mean test server/player.
¬ LuaLearners Elite/Writer |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Jan 2013 04:23 PM |
Ohh LOL my bad, sorry. Fail me, fail me so bad..... |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 04:24 PM |
nah it was my bad. 'server' is an ambiguous term.
¬ LuaLearners Elite/Writer |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Jan 2013 04:25 PM |
| True, but if I read it twice, I would see that you meant the server/player. |
|
|
| Report Abuse |
|
|
rayzan00
|
  |
| Joined: 07 Jul 2010 |
| Total Posts: 7 |
|
|
| 03 Jan 2013 04:39 PM |
| soooo...is solo mode like minecraft LAN? where if there are CPUS on the same network as you and only they can join? |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 04:41 PM |
nope.
i think LAN in roblox is possible. have you ever heard of RBXPri?
¬ LuaLearners Elite/Writer |
|
|
| Report Abuse |
|
|