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 » Scripters
Home Search
 

Re: Is InvokeServer broken now? My game doesn't work anymore.

Previous Thread :: Next Thread 
gergy008 is not online. gergy008
Joined: 16 Mar 2008
Total Posts: 7039
07 Feb 2016 10:23 PM
I have a GUI that doesn't work anymore. It invokes the server, but I'm getting this error:

i.i-m-g-u-r.c-o-m/cO67NCI.png
"InvokeServer can only be called from the client"

But I am calling from the client... how awkward.
Any help appreciated! I will post code in a second. It did work about 6 months ago.


Play today! So much fun the more people that join: http://www.roblox.com/games/2047642/NEW-Build-A-Fortune-v0-9-6-Fixes


Play today! So much fun the more people that join: http://www.roblox.com/games/2047642/NEW-Build-A-Fortune-v0-9-6-Fixes
Report Abuse
cpmoderator12345 is not online. cpmoderator12345
Joined: 26 Jan 2013
Total Posts: 15651
07 Feb 2016 10:25 PM
u sure its a localscript


https://www.youtube.com/watch?v=onhFH7jpq2c
Report Abuse
gergy008 is not online. gergy008
Joined: 16 Mar 2008
Total Posts: 7039
07 Feb 2016 10:25 PM
BuildRemFunc is a remote function.

Seems like this is the line giving the error:


function placeBuilding(b, cost)
local bPos = b.Base.Position
local bName = b.Name
b.Parent = models.Temp
local success = game.Workspace.buildRemFunc:InvokeServer(mode, bPos, bName, cost)


Play today! So much fun the more people that join: http://www.roblox.com/games/2047642/NEW-Build-A-Fortune-v0-9-6-Fixes
Report Abuse
gergy008 is not online. gergy008
Joined: 16 Mar 2008
Total Posts: 7039
07 Feb 2016 10:26 PM
Yep it's definitely a localscript.

i.i-m-g-u-r.c-o-m/3nEYGTC.png


Play today! So much fun the more people that join: http://www.roblox.com/games/2047642/NEW-Build-A-Fortune-v0-9-6-Fixes
Report Abuse
gergy008 is not online. gergy008
Joined: 16 Mar 2008
Total Posts: 7039
07 Feb 2016 10:42 PM
Still can't work it out
/bumping


Play today! So much fun the more people that join: http://www.roblox.com/games/2047642/NEW-Build-A-Fortune-v0-9-6-Fixes
Report Abuse
gergy008 is not online. gergy008
Joined: 16 Mar 2008
Total Posts: 7039
07 Feb 2016 11:32 PM
Unresolved, also posted on the scripting helpers website.

/bump


Play today! So much fun the more people that join: http://www.roblox.com/games/2047642/NEW-Build-A-Fortune-v0-9-6-Fixes
Report Abuse
OzzyFin is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
07 Feb 2016 11:43 PM
have you installed any plugins lately which could use GetService on NetworkService? I had a similar problem where some simple function, which can only be called from client was called from client and it errored the same way.
though my play solo didn't work either

this was about 1.5 years ago so I don't know if it's fixed or not, Seranok was the one answering me so he possibly could have got someone to fix it.
Report Abuse
ScytheAffinity is not online. ScytheAffinity
Joined: 03 Jul 2012
Total Posts: 115
07 Feb 2016 11:43 PM
No, you Need Not on Roblox.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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