Chopper Posted December 12, 2018 Posted December 12, 2018 (edited) I think having a package reload and restart feature would be essential. Right now the server restart thing works, but after 10-20 restarts, I believe the client gets filled up with all the compiled code, and puts itself to not responding, resulting in a complete freeze and having to restart the client. This makes it pretty cumbersome when working on things that need constant testing. Even a built in /reconnect command would work, just something that empties all the garbage. @ragempdev Edited December 12, 2018 by Chopper 2
MarkCavalli Posted December 13, 2018 Posted December 13, 2018 9 часов назад, Chopper сказал: things that need constant testing. You can write tests for that things 1
Chopper Posted December 13, 2018 Author Posted December 13, 2018 5 hours ago, MarkCavalli said: You can write tests for that things So take an example. You are trying to fix a weird bug, and you contantly need to restart the server to update the package code. How would you manage that? I honestly have no idea how people are running servers and developing gamemodes without this feature, I cant stand crashing every 5 minutes. 1
JamesBeast Posted December 13, 2018 Posted December 13, 2018 16 hours ago, Chopper said: This makes it pretty cumbersome when working on things that need constant testing. What types of things need constant testing, are you referring to carrying out regression testing? you should aim to develop your resource with a greater separation of concerns so code changes doesnt effect the rest of your code and make it easier to debug 1 hour ago, Chopper said: I cant stand crashing every 5 minutes. This sounds like a you problem . do you have an example of what causes these crashes? maybe incorrect usage of the rage api is causing this. its very rare for me to crash in a stable build of RAGE:MP. 1
Chopper Posted December 13, 2018 Author Posted December 13, 2018 40 minutes ago, Jaimuzu said: What types of things need constant testing, are you referring to carrying out regression testing? you should aim to develop your resource with a greater separation of concerns so code changes doesnt effect the rest of your code and make it easier to debug This sounds like a you problem . do you have an example of what causes these crashes? maybe incorrect usage of the rage api is causing this. its very rare for me to crash in a stable build of RAGE:MP. Crashes happen after 5+ server restarts. Constant testing: Positioning elements maybe? A lot of things, you just have to be open minded.
Legend Posted December 13, 2018 Posted December 13, 2018 (edited) I don't want to restart the server when there are many players. The MTA:SA or GTA:NETWORK the solved this good. Edited December 13, 2018 by Legend 1
JamesBeast Posted December 13, 2018 Posted December 13, 2018 (edited) @Chopper 9 hours ago, Chopper said: Positioning elements what elements? Maybe this is a JavaScript only problem (doubtful it is, maybe its just the ability to write shit-code in JS 😋). I develop in C# on both clientside and serverside and I can restart both the game and server multiple times (probably restarted the server in a single game session 50+ times on an occasion) and have neither crash. It sounds like you are making code changes that cause the crashes, so the ability to: "package reload and restart" I doubt will help you here. Although I don't disagree that any feature is nice, I just don't think it's necessary or the solution to your problem, you may be better off asking a different question to solve this Edited December 13, 2018 by Jaimuzu 2
Chopper Posted December 13, 2018 Author Posted December 13, 2018 Just now, Jaimuzu said: doubtful it is, maybe its just the ability to write shit-code in JS 😋 Thanks, I write JS full time though. I'm done here lol.
JamesBeast Posted December 13, 2018 Posted December 13, 2018 1 minute ago, Chopper said: Thanks, I write JS full time though. I'm done here lol. lol i don't doubt ur JS skills, maybe lack on knowledge of the api causes you to use functions incorrectly, resulting in ur crashes, good luck men 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now