|
| 07 Sep 2015 07:01 PM |
I made a game and its got a main script engine thing and its got 500 lines of code and the algorithms are stupid because im stupid and i dont want to post the blob of code for everyone to read and i hate my life
That is all. |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 07:02 PM |
| and it messes up and i dont even know what to do at this point 5 years of scripting down the drain-o |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 07:04 PM |
| and doing script:Destroy() will only destroy the script the line of code keeps going and i dont know how to stop that and i want to cry because of it |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 07:07 PM |
| how do i stop that i have been scripting this game for 6 hours and im ready to throw my monitor out the window and just curl up in a ball and do nothing |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 07 Sep 2015 07:10 PM |
hi u ok
"and doing script:Destroy() will only destroy the script the line of code keeps going and i dont know how to stop that and i want to cry because of it"
script.Disabled = true |
|
|
| Report Abuse |
|
|
notfruit
|
  |
| Joined: 21 Sep 2012 |
| Total Posts: 1386 |
|
|
| 07 Sep 2015 07:11 PM |
brotip:
look up unit testing. Basically you test each part of your code to make sure it works. Once all the parts work individually you can put them together and they should work fine.
Take a deep breath, step away from the computer, and rewrite/refactor it tomorrow. |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 07 Sep 2015 07:13 PM |
another brotip:
test your game frequently for example, even if you make the smallest edit to your script, test the new implementation in a test server. |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 07:15 PM |
I THINK THIS IS THE PART THATS ERRORING FFS if game.Teams.Survivors.NumPlayers.Value == 0 then local GameOver = Instance.new("Message",game.Workspace) GameOver.Text = "The human race has been wiped out!" game.Workspace.GameFramework.SynergyEngineV1:Destroy() wait(0.5) game.ServerStorage.SynergyEngineV1:clone().Parent = game.Workspace.GameFramework game.ServerStorage.RestartingGame:clone().Parent = game.Workspace wait(5) GameOver:Destroy() TimeRemaining:Destroy() script.Disabled = true end IT WORKS CORRECTLY ONCE THEN JUST LIKE WHEN THE ENGINE(SYNERGY ENGINE) GETS COPIED INTO MY FRAMEWORK FOLDER IT LIKE MAKES THIS BATCH OF CODE LIKE RAMBO MODE AND IM IN TEARS ALREADY GUYS |
|
|
| Report Abuse |
|
|
notfruit
|
  |
| Joined: 21 Sep 2012 |
| Total Posts: 1386 |
|
|
| 07 Sep 2015 07:18 PM |
ur first problem was using a main script engine thing when roblox already has one (the ROBLOX API)
whatever you're trying to do can probably be done w/o 500 lines of code |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 07:19 PM |
I JUST CALL IT AN ENGINE OK.
ITS JUST LIKE THE GAMEMODE SCRIPT SO HOW THE GAME WORKS OK. ANSWER MY QUESTION IM ABOUT TO PULL THE ROUTER PLUG SO I DONT HAVE TO DEAL WITH THIS |
|
|
| Report Abuse |
|
|
IITeck
|
  |
| Joined: 19 Nov 2011 |
| Total Posts: 315 |
|
|
| 07 Sep 2015 07:20 PM |
| Anyone else notice that he joined roblox yesterday? |
|
|
| Report Abuse |
|
|
notfruit
|
  |
| Joined: 21 Sep 2012 |
| Total Posts: 1386 |
|
|
| 07 Sep 2015 07:20 PM |
omg that wasnt a question but ok please listen to me you have to relax maybe go to sleep make a cup of hot chocolate or watch tv or whatever but calm downnnn
ur stressing ME out man |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 07:25 PM |
| WHY DOESNT IT DO WHAT I WANT THERES NO ERRORS ITS MY ALGORITHMS AND I AM NOT DOING THIS OVER AGAINT IM CRYING |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 07:34 PM |
| PLEASE ELUNATE WARSPYKING SOMEONE HELPME |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 07:49 PM |
SOMEBODY PLEASE. ANYONE. MY ROOMMATE WAS PLAYING SKYRIM AND IM ALL FLUSTERED AND I JUST GOT DONE SCREAMING AT HIMHELP ME IM ON MOBILE NOW |
|
|
| Report Abuse |
|
|
Scripth
|
  |
| Joined: 23 Jun 2013 |
| Total Posts: 1724 |
|
| |
|
|
| 07 Sep 2015 08:01 PM |
| Thats it guys...I'm done with life |
|
|
| Report Abuse |
|
|
| |
|
|
| 07 Sep 2015 08:39 PM |
| Someone...please, I'm losing hope in everything |
|
|
| Report Abuse |
|
|
D3M3N73D
|
  |
| Joined: 20 Jul 2010 |
| Total Posts: 232 |
|
|
| 07 Sep 2015 08:53 PM |
| Use tests to pin point exactly what the problem is. |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2015 08:54 PM |
smoke some pot[2]
FilteringDisabled is for squares |
|
|
| Report Abuse |
|
|
| |
|
|
| 07 Sep 2015 09:17 PM |
| Script fixed.Sorry for all the CAPITALS and such, i spent 6 hours on a project, and to have to spend over an hour on one simple(but yet complicated) bug is very frustrating. |
|
|
| Report Abuse |
|
|