Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] HI guys about last night's stop/update/start script this is what I make can I improve it? Or did I m

[DiscordArchive] HI guys about last night's stop/update/start script this is what I make can I improve it? Or did I m

[DiscordArchive] HI guys about last night's stop/update/start script this is what I make can I improve it? Or did I m

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
05-18-2022, 06:39 PM
#1
Archived author: Tanados • Posted: 2022-05-18T18:39:22.735000+00:00
Original source

HI guys about last night's stop/update/start script this is what I make can I improve it? Or did I make any mistakes?
update.sh
rektbyfaith
05-18-2022, 06:39 PM #1

Archived author: Tanados • Posted: 2022-05-18T18:39:22.735000+00:00
Original source

HI guys about last night's stop/update/start script this is what I make can I improve it? Or did I make any mistakes?
update.sh

rektbyfaith
Administrator
0
05-18-2022, 06:57 PM
#2
Archived author: Kitzunu • Posted: 2022-05-18T18:57:43.839000+00:00
Original source

improvement 1:
rektbyfaith
05-18-2022, 06:57 PM #2

Archived author: Kitzunu • Posted: 2022-05-18T18:57:43.839000+00:00
Original source

improvement 1:

rektbyfaith
Administrator
0
05-18-2022, 06:57 PM
#3
Archived author: Kitzunu • Posted: 2022-05-18T18:57:49.510000+00:00
Original source

dont use tabs, use 4 spaces instead
rektbyfaith
05-18-2022, 06:57 PM #3

Archived author: Kitzunu • Posted: 2022-05-18T18:57:49.510000+00:00
Original source

dont use tabs, use 4 spaces instead

rektbyfaith
Administrator
0
05-18-2022, 07:14 PM
#4
Archived author: Tanados • Posted: 2022-05-18T19:14:03.878000+00:00
Original source

Thank you for your reply i will fix it
rektbyfaith
05-18-2022, 07:14 PM #4

Archived author: Tanados • Posted: 2022-05-18T19:14:03.878000+00:00
Original source

Thank you for your reply i will fix it

rektbyfaith
Administrator
0
05-18-2022, 07:23 PM
#5
Archived author: Revision • Posted: 2022-05-18T19:23:32.568000+00:00
Original source

Yeah, I can't read it because tabs are a cancer.
rektbyfaith
05-18-2022, 07:23 PM #5

Archived author: Revision • Posted: 2022-05-18T19:23:32.568000+00:00
Original source

Yeah, I can't read it because tabs are a cancer.

rektbyfaith
Administrator
0
05-18-2022, 07:27 PM
#6
Archived author: Revision • Posted: 2022-05-18T19:27:51.929000+00:00
Original source

Notes:
Your `Realm will shutdown after 5mins!` is wrong, you set it to shutdown after 60 minutes, not 5.
You should increase the sleep after sending `server shutdown 3600` to make sure the server successfully saves everything and shuts down before you actually kill it. It doesn't require much more.
rektbyfaith
05-18-2022, 07:27 PM #6

Archived author: Revision • Posted: 2022-05-18T19:27:51.929000+00:00
Original source

Notes:
Your `Realm will shutdown after 5mins!` is wrong, you set it to shutdown after 60 minutes, not 5.
You should increase the sleep after sending `server shutdown 3600` to make sure the server successfully saves everything and shuts down before you actually kill it. It doesn't require much more.

rektbyfaith
Administrator
0
05-18-2022, 07:30 PM
#7
Archived author: Revision • Posted: 2022-05-18T19:30:08.536000+00:00
Original source

I also take it you, for whatever reason, want to update each realm independently and not at the same time which to me makes more sense. Just pointing that out to make sure that's actually what you want. I'm not judging your choice, it's a good choice, just curious as to why it was made.
rektbyfaith
05-18-2022, 07:30 PM #7

Archived author: Revision • Posted: 2022-05-18T19:30:08.536000+00:00
Original source

I also take it you, for whatever reason, want to update each realm independently and not at the same time which to me makes more sense. Just pointing that out to make sure that's actually what you want. I'm not judging your choice, it's a good choice, just curious as to why it was made.

rektbyfaith
Administrator
0
05-18-2022, 08:01 PM
#8
Archived author: whipowill • Posted: 2022-05-18T20:01:11.792000+00:00
Original source

spaces > tabs
rektbyfaith
05-18-2022, 08:01 PM #8

Archived author: whipowill • Posted: 2022-05-18T20:01:11.792000+00:00
Original source

spaces > tabs

rektbyfaith
Administrator
0
05-21-2022, 10:25 AM
#9
Archived author: Tanados • Posted: 2022-05-21T10:25:40.297000+00:00
Original source

https://github.com/helldragonpz/AcoreSto.../update.sh
Here is what is happening in the end
Not the best code but for my first script... I hope is good enough
To answer your question this is my choice cose the pc I use is not so great at dealing with compiling especially with 2 at the same time (it's taking him too much time like 30mins) but if he does it 1 by one it takes the machine-like 4-5 mins for a piece.
Thank you once again for your reply
If you think I can make it better if I can include something I will be greagrateful you just pm me to add or fix something
I love to learn new things
[Embed: AcoreStopUpdateStart/update.sh at main · helldragonpz/AcoreStopUpda...]
This an small azerothcore stop/update/start script - AcoreStopUpdateStart/update.sh at main · helldragonpz/AcoreStopUpdateStart
https://github.com/helldragonpz/AcoreSto.../update.sh
rektbyfaith
05-21-2022, 10:25 AM #9

Archived author: Tanados • Posted: 2022-05-21T10:25:40.297000+00:00
Original source

https://github.com/helldragonpz/AcoreSto.../update.sh
Here is what is happening in the end
Not the best code but for my first script... I hope is good enough
To answer your question this is my choice cose the pc I use is not so great at dealing with compiling especially with 2 at the same time (it's taking him too much time like 30mins) but if he does it 1 by one it takes the machine-like 4-5 mins for a piece.
Thank you once again for your reply
If you think I can make it better if I can include something I will be greagrateful you just pm me to add or fix something
I love to learn new things
[Embed: AcoreStopUpdateStart/update.sh at main · helldragonpz/AcoreStopUpda...]
This an small azerothcore stop/update/start script - AcoreStopUpdateStart/update.sh at main · helldragonpz/AcoreStopUpdateStart
https://github.com/helldragonpz/AcoreSto.../update.sh

rektbyfaith
Administrator
0
05-21-2022, 08:07 PM
#10
Archived author: Revision • Posted: 2022-05-21T20:07:58.154000+00:00
Original source

360 seconds is 6 minutes, not 5.
rektbyfaith
05-21-2022, 08:07 PM #10

Archived author: Revision • Posted: 2022-05-21T20:07:58.154000+00:00
Original source

360 seconds is 6 minutes, not 5.

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)