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: RemoteFunctions

Previous Thread :: Next Thread 
xXdrstattik33Xx is not online. xXdrstattik33Xx
Joined: 28 Oct 2015
Total Posts: 189
01 Jul 2017 02:24 AM
so my local script is sending a Invoke to the RemoteFunction but sometimes it doesn't even send anything but it returns nil and breaks my script. but the local script acts like the Invoke is over when it didn't send anything. Any help?
Report Abuse
Mr_Pure is online. Mr_Pure
Joined: 28 Jun 2015
Total Posts: 2482
01 Jul 2017 02:25 AM
does it not send the network out when you spam it, and is there a debounce interrupting it?


This is siggy. He is does not like people. He will bite.
Report Abuse
xXdrstattik33Xx is not online. xXdrstattik33Xx
Joined: 28 Oct 2015
Total Posts: 189
01 Jul 2017 02:27 AM
like when i leave then join again sometimes it works but other times it just doesnt even send the Invoke to the remotefunction.
Report Abuse
xXdrstattik33Xx is not online. xXdrstattik33Xx
Joined: 28 Oct 2015
Total Posts: 189
01 Jul 2017 02:28 AM
also i removed debounce so i'm guessing debounce has nothing to do with it
Report Abuse
Mr_Pure is online. Mr_Pure
Joined: 28 Jun 2015
Total Posts: 2482
01 Jul 2017 02:30 AM
:waitforchild on the remotefunction?


This is siggy. He is does not like people. He will bite.
Report Abuse
xXdrstattik33Xx is not online. xXdrstattik33Xx
Joined: 28 Oct 2015
Total Posts: 189
01 Jul 2017 02:31 AM
just tried and didn't work, it doesn't error anything being nil except what the remote function is supposed to be returning cause it doesn't Invoke the RemoteFunction.
Report Abuse
Mr_Pure is online. Mr_Pure
Joined: 28 Jun 2015
Total Posts: 2482
01 Jul 2017 02:32 AM
ok well where's milen when you're a bit off focus >.<.


This is siggy. He is does not like people. He will bite.
Report Abuse
Mr_Pure is online. Mr_Pure
Joined: 28 Jun 2015
Total Posts: 2482
01 Jul 2017 02:33 AM
post the script. or at least the important parts.


This is siggy. He is does not like people. He will bite.
Report Abuse
xXdrstattik33Xx is not online. xXdrstattik33Xx
Joined: 28 Oct 2015
Total Posts: 189
01 Jul 2017 02:33 AM
i did that and it didn't work how am i off focus.
Report Abuse
xXdrstattik33Xx is not online. xXdrstattik33Xx
Joined: 28 Oct 2015
Total Posts: 189
01 Jul 2017 02:35 AM
TestCase.MouseButton1Up:connect(debounce(function()
local Key = "abc123"
local Items=Function:InvokeServer(Key,"Common")
while Items==nil do wait() end
Spin(Items)
wait(3)
end))

the "while Items==nil do wait() end"
is to wait and see but it just goes forever. but when it isn't nil it works fine idk why.
Report Abuse
Mr_Pure is online. Mr_Pure
Joined: 28 Jun 2015
Total Posts: 2482
01 Jul 2017 02:35 AM
I'm talking about me it's #### ## ### Standard. This is siggy. He is does not like people. He will bite.
Report Abuse
Mr_Pure is online. Mr_Pure
Joined: 28 Jun 2015
Total Posts: 2482
01 Jul 2017 02:35 AM
3:35


This is siggy. He is does not like people. He will bite.
Report Abuse
Mr_Pure is online. Mr_Pure
Joined: 28 Jun 2015
Total Posts: 2482
01 Jul 2017 02:35 AM
AM (sorry for spam)


This is siggy. He is does not like people. He will bite.
Report Abuse
Mr_Pure is online. Mr_Pure
Joined: 28 Jun 2015
Total Posts: 2482
01 Jul 2017 02:37 AM
Items might not always be nill, recommend manually making them.


This is siggy. He is does not like people. He will bite.
Report Abuse
Mr_Pure is online. Mr_Pure
Joined: 28 Jun 2015
Total Posts: 2482
01 Jul 2017 02:38 AM
therefore since they are not nil it might interpret to send multiple signals at once
or none maybe at all... which messes it all up.


This is siggy. He is does not like people. He will bite.
Report Abuse
xXdrstattik33Xx is not online. xXdrstattik33Xx
Joined: 28 Oct 2015
Total Posts: 189
01 Jul 2017 02:40 AM
bro, they are set correctly if the RemoteFunction is called i checked. i put a print in the button script and in the script that is fired when u called an Invoke on it. when it works they both print when it doesn't work only the button prints.
Report Abuse
Mr_Pure is online. Mr_Pure
Joined: 28 Jun 2015
Total Posts: 2482
01 Jul 2017 02:41 AM
ok well let some one else do this, im to tired to focus. like i said 3:40 AM. can't focus very well.


This is siggy. He is does not like people. He will bite.
Report Abuse
xXdrstattik33Xx is not online. xXdrstattik33Xx
Joined: 28 Oct 2015
Total Posts: 189
01 Jul 2017 02:41 AM
the end to the while Items==nil is after the call how would it call multiple
Report Abuse
Mr_Pure is online. Mr_Pure
Joined: 28 Jun 2015
Total Posts: 2482
01 Jul 2017 02:43 AM
assuming you have onserverinvoke(plr, key, casetype)

im just gonna leave it with that, goodnight. to tired.


This is siggy. He is does not like people. He will bite.
Report Abuse
Mr_Pure is online. Mr_Pure
Joined: 28 Jun 2015
Total Posts: 2482
01 Jul 2017 02:45 AM
you may not get the return back quick enough some times and sometimes you will depending on how fast the script is, plus that end doesn't mean anything in a while loop, so until you get the return response that loop will keep going.


This is siggy. He is does not like people. He will bite.
Report Abuse
Mr_Pure is online. Mr_Pure
Joined: 28 Jun 2015
Total Posts: 2482
01 Jul 2017 02:47 AM
so there's obviously no problem with this script however maybe the other script...


This is siggy. He is does not like people. He will bite.
Report Abuse
Mr_Pure is online. Mr_Pure
Joined: 28 Jun 2015
Total Posts: 2482
01 Jul 2017 02:48 AM
ok ask some one else goodnight.


This is siggy. He is does not like people. He will bite.
Report Abuse
xXdrstattik33Xx is not online. xXdrstattik33Xx
Joined: 28 Oct 2015
Total Posts: 189
01 Jul 2017 02:50 AM
i figured out error :/ welp shiz
Report Abuse
xXdrstattik33Xx is not online. xXdrstattik33Xx
Joined: 28 Oct 2015
Total Posts: 189
01 Jul 2017 02:51 AM
it was cause i made a basic security thing to check if key was right and it was connected to all the RemoteFunctions and it intercepted the Case script
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