[Suggestion] Updating a pawn script without "gmx" - Printable Version + open.mp forum (https://forum.open.mp) -- Forum: open.mp (https://forum.open.mp/forumdisplay.php?fid=40) --- Forum: Questions and Suggestions (https://forum.open.mp/forumdisplay.php?fid=42) --- Thread: [Suggestion] Updating a pawn script without "gmx" (/showthread.php?tid=975) |
Updating a pawn script without "gmx" - Tama - 2020-01-13 Maaaaaaan, it will be dope if you can update a pawn script without GMX or closing and opening omp server. Maybe u confused bout this, but basically just look at this. [Video: https://www.youtube.com/watch?v=WzE0yqwbdgU] Well, it's hard to explain the concepts, but the basics is same like "html live server vscode" ?when you press CTRL S, the live server host will automatically reload your html file and give you results without pressing F5 or manually opening .html file RE: Updating a pawn script without "gmx" - mouiz - 2020-01-17 Not possible without increasing alot of memory/cpu usage. RE: Updating a pawn script without "gmx" - SynTacs - 2020-01-20 (2020-01-13, 12:53 AM)Tama Wrote: Maaaaaaan, it will be dope if you can update a pawn script without GMX or closing and opening omp server. This can be done, with high cpu usage, yes but... (2020-01-17, 11:39 AM)mouiz Wrote: Not possible without increasing alot of memory/cpu usage. Some people wouldn't care about CPU usage and it can also be optimized... So maybe two types can be done for OMP a non-gmx and gmx type... The only problem then would be the development phase would take longer and it won't be just me but everyone else would think that the longer development phase won't be worth it. When in the first place the developers wants to rebuild the glory of SA-MP to OMP RE: Updating a pawn script without "gmx" - gzxmx94 - 2020-01-22 Why don't you use filterscripts for that? They are made and designed for that! Remember to program the appropriate state logic and state retention, e.g. save all variables in database, on script load reload all variables and use sane default values for new variables. It's no use if one reloads the scripts and all players need to login again - try to save and reload this state upon reloading the script. RE: Updating a pawn script without "gmx" - Gforcez - 2020-01-29 If you use sampctl you can already do this by using 'sampctl package run --watch' RE: Updating a pawn script without "gmx" - JustMichael - 2020-01-29 Y_Less just made modules possible with YSI, you can now hot reload modules (they are technically filterscripts, but they are altered to retain memory when reloaded) https://github.com/pawn-lang/YSI-Includes/blob/5.x/YSI_Core/y_master/features.md RE: Updating a pawn script without "gmx" - Jimmy - 2020-04-16 A Clean restart clears the junk in the memory as well. amx is the compiler binary which allow faster loading. If the code is compiled each time a change as done in realtime (like interpreters) it would use very high amount of memory and processor.. Lets just keep it as it is. |