Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Hm... okay, i'll look for it rn. How can i specify writing location?

[DiscordArchive] Hm... okay, i'll look for it rn. How can i specify writing location?

[DiscordArchive] Hm... okay, i'll look for it rn. How can i specify writing location?

rektbyfaith
Administrator
0
01-20-2025, 09:31 PM
#1
Archived author: ERINGAR • Posted: 2025-01-20T21:31:47.946000+00:00
Original source

Hm... okay, i'll look for it rn. How can i specify writing location?
rektbyfaith
01-20-2025, 09:31 PM #1

Archived author: ERINGAR • Posted: 2025-01-20T21:31:47.946000+00:00
Original source

Hm... okay, i'll look for it rn. How can i specify writing location?

rektbyfaith
Administrator
0
01-20-2025, 09:32 PM
#2
Archived author: Tea • Posted: 2025-01-20T21:32:31.321000+00:00
Original source

just cd to where you want it before starting the script (or do it in script)
rektbyfaith
01-20-2025, 09:32 PM #2

Archived author: Tea • Posted: 2025-01-20T21:32:31.321000+00:00
Original source

just cd to where you want it before starting the script (or do it in script)

rektbyfaith
Administrator
0
01-20-2025, 09:34 PM
#3
Archived author: ERINGAR • Posted: 2025-01-20T21:34:22.579000+00:00
Original source

Do u meen
#!/usr/bin/env bash

while true; do

if ! pgrep -x "worldserver" > /dev/null
then
cd /path/
gdb -x /home/server/scripts/crashreport.gdb --args /home/server/bin/worldserver &
fi

if ! pgrep -x "bnetserver" > /dev/null
then
cd /path/
gdb -x /home/server/scripts/crashreport.gdb --args /home/server/bin/bnetserver &
fi

sleep 10
done

like this?
rektbyfaith
01-20-2025, 09:34 PM #3

Archived author: ERINGAR • Posted: 2025-01-20T21:34:22.579000+00:00
Original source

Do u meen
#!/usr/bin/env bash

while true; do

if ! pgrep -x "worldserver" > /dev/null
then
cd /path/
gdb -x /home/server/scripts/crashreport.gdb --args /home/server/bin/worldserver &
fi

if ! pgrep -x "bnetserver" > /dev/null
then
cd /path/
gdb -x /home/server/scripts/crashreport.gdb --args /home/server/bin/bnetserver &
fi

sleep 10
done

like this?

rektbyfaith
Administrator
0
01-20-2025, 09:35 PM
#4
Archived author: Tea • Posted: 2025-01-20T21:35:21.042000+00:00
Original source

you can just cd at top of script
rektbyfaith
01-20-2025, 09:35 PM #4

Archived author: Tea • Posted: 2025-01-20T21:35:21.042000+00:00
Original source

you can just cd at top of script

rektbyfaith
Administrator
0
01-20-2025, 09:37 PM
#5
Archived author: ERINGAR • Posted: 2025-01-20T21:37:20.685000+00:00
Original source

Crap... it's inside root dir lol
[Image: image.png?ex=690c6c50&is=690b1ad0&hm=083...6479d8127&]
rektbyfaith
01-20-2025, 09:37 PM #5

Archived author: ERINGAR • Posted: 2025-01-20T21:37:20.685000+00:00
Original source

Crap... it's inside root dir lol
[Image: image.png?ex=690c6c50&is=690b1ad0&hm=083...6479d8127&]

rektbyfaith
Administrator
0
01-20-2025, 09:37 PM
#6
Archived author: Tea • Posted: 2025-01-20T21:37:39.714000+00:00
Original source

told you, its going to be where you used script in
rektbyfaith
01-20-2025, 09:37 PM #6

Archived author: Tea • Posted: 2025-01-20T21:37:39.714000+00:00
Original source

told you, its going to be where you used script in

rektbyfaith
Administrator
0
01-20-2025, 09:37 PM
#7
Archived author: Tea • Posted: 2025-01-20T21:37:51.291000+00:00
Original source

thats how linux works
rektbyfaith
01-20-2025, 09:37 PM #7

Archived author: Tea • Posted: 2025-01-20T21:37:51.291000+00:00
Original source

thats how linux works

rektbyfaith
Administrator
0
01-20-2025, 09:38 PM
#8
Archived author: ERINGAR • Posted: 2025-01-20T21:38:06.494000+00:00
Original source

Right, sorry, really noob linux user )
rektbyfaith
01-20-2025, 09:38 PM #8

Archived author: ERINGAR • Posted: 2025-01-20T21:38:06.494000+00:00
Original source

Right, sorry, really noob linux user )

rektbyfaith
Administrator
0
01-20-2025, 09:38 PM
#9
Archived author: ERINGAR • Posted: 2025-01-20T21:38:22.726000+00:00
Original source

Ty ❤️
rektbyfaith
01-20-2025, 09:38 PM #9

Archived author: ERINGAR • Posted: 2025-01-20T21:38:22.726000+00:00
Original source

Ty ❤️

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)