Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] or is it...?

[DiscordArchive] or is it...?

[DiscordArchive] or is it...?

Pages (6): Previous 1 2 3 4 5 6 Next
rektbyfaith
Administrator
0
08-30-2023, 02:38 PM
#31
Archived author: AlexanderESmith • Posted: 2023-08-30T14:38:41.028000+00:00
Original source

hahahaha
rektbyfaith
08-30-2023, 02:38 PM #31

Archived author: AlexanderESmith • Posted: 2023-08-30T14:38:41.028000+00:00
Original source

hahahaha

rektbyfaith
Administrator
0
08-30-2023, 02:39 PM
#32
Archived author: mynameismeat • Posted: 2023-08-30T14:39:03.147000+00:00
Original source

seems legit though, other than the prefix
rektbyfaith
08-30-2023, 02:39 PM #32

Archived author: mynameismeat • Posted: 2023-08-30T14:39:03.147000+00:00
Original source

seems legit though, other than the prefix

rektbyfaith
Administrator
0
08-30-2023, 02:39 PM
#33
Archived author: AlexanderESmith • Posted: 2023-08-30T14:39:10.975000+00:00
Original source

I was doing it that way so I could move the rules around, but your method preserves that ability
rektbyfaith
08-30-2023, 02:39 PM #33

Archived author: AlexanderESmith • Posted: 2023-08-30T14:39:10.975000+00:00
Original source

I was doing it that way so I could move the rules around, but your method preserves that ability

rektbyfaith
Administrator
0
08-30-2023, 02:39 PM
#34
Archived author: AlexanderESmith • Posted: 2023-08-30T14:39:15.521000+00:00
Original source

Oh, fuck
rektbyfaith
08-30-2023, 02:39 PM #34

Archived author: AlexanderESmith • Posted: 2023-08-30T14:39:15.521000+00:00
Original source

Oh, fuck

rektbyfaith
Administrator
0
08-30-2023, 02:39 PM
#35
Archived author: AlexanderESmith • Posted: 2023-08-30T14:39:23.727000+00:00
Original source

I guess I stripped that out at some point X
rektbyfaith
08-30-2023, 02:39 PM #35

Archived author: AlexanderESmith • Posted: 2023-08-30T14:39:23.727000+00:00
Original source

I guess I stripped that out at some point X

rektbyfaith
Administrator
0
08-30-2023, 02:39 PM
#36
Archived author: AlexanderESmith • Posted: 2023-08-30T14:39:26.383000+00:00
Original source

xD
rektbyfaith
08-30-2023, 02:39 PM #36

Archived author: AlexanderESmith • Posted: 2023-08-30T14:39:26.383000+00:00
Original source

xD

rektbyfaith
Administrator
0
08-30-2023, 02:39 PM
#37
Archived author: AlexanderESmith • Posted: 2023-08-30T14:39:28.162000+00:00
Original source

It WAS there
rektbyfaith
08-30-2023, 02:39 PM #37

Archived author: AlexanderESmith • Posted: 2023-08-30T14:39:28.162000+00:00
Original source

It WAS there

rektbyfaith
Administrator
0
08-30-2023, 02:39 PM
#38
Archived author: AlexanderESmith • Posted: 2023-08-30T14:39:52.530000+00:00
Original source


message.txt
rektbyfaith
08-30-2023, 02:39 PM #38

Archived author: AlexanderESmith • Posted: 2023-08-30T14:39:52.530000+00:00
Original source


message.txt

rektbyfaith
Administrator
0
08-30-2023, 02:41 PM
#39
Archived author: AlexanderESmith • Posted: 2023-08-30T14:41:02.856000+00:00
Original source

Optimally this would take 2 inputs; The `.conf` and the `.conf.dist` file. It would run a diff to get only the needed lines, run the conversion, and display the converted lines.
rektbyfaith
08-30-2023, 02:41 PM #39

Archived author: AlexanderESmith • Posted: 2023-08-30T14:41:02.856000+00:00
Original source

Optimally this would take 2 inputs; The `.conf` and the `.conf.dist` file. It would run a diff to get only the needed lines, run the conversion, and display the converted lines.

rektbyfaith
Administrator
0
08-30-2023, 02:55 PM
#40
Archived author: AlexanderESmith • Posted: 2023-08-30T14:55:15.750000+00:00
Original source

```CONF=$1
DIST=$2

CHANGES=$(diff -s --suppress-common-lines $CONF $DIST | grep -v '>' | head -n-1 | tail -n+2 | sed 's/^< //g')

echo "$CHANGES" | grep -Ev '^$|^#|^\['
echo

IFS=$'\n'
for LINE in $(echo "$CHANGES" | grep -Ev '^$|^#|^\[')
do
# Store the var name and it's value into 2 vars;
VARNAME=$(echo $LINE | awk -F'=' '{print $1}' | sed 's/ //g')
VALUE=$(echo $LINE | awk -F'=' '{print $2}' | sed 's/ //g')
# Convert the variable name
VARNAME_CONVERTED=$(echo $VARNAME | awk '{print $1}' | sed \
-e 's/\([A-Z]\)/ \1/g' \
-e 's/^ //g' \
-e 's/ /_/g' \
-e 's/\./_/g' \
-e 's/__/_/g' \
-e 's/[a-z]/\U&/g' \
-e 's/X_P/XP/g' \
-e 's/G_M/GM/g')
# Echo the new format
echo "AC_${VARNAME_CONVERTED}: \"${VALUE}\""
done```
rektbyfaith
08-30-2023, 02:55 PM #40

Archived author: AlexanderESmith • Posted: 2023-08-30T14:55:15.750000+00:00
Original source

```CONF=$1
DIST=$2

CHANGES=$(diff -s --suppress-common-lines $CONF $DIST | grep -v '>' | head -n-1 | tail -n+2 | sed 's/^< //g')

echo "$CHANGES" | grep -Ev '^$|^#|^\['
echo

IFS=$'\n'
for LINE in $(echo "$CHANGES" | grep -Ev '^$|^#|^\[')
do
# Store the var name and it's value into 2 vars;
VARNAME=$(echo $LINE | awk -F'=' '{print $1}' | sed 's/ //g')
VALUE=$(echo $LINE | awk -F'=' '{print $2}' | sed 's/ //g')
# Convert the variable name
VARNAME_CONVERTED=$(echo $VARNAME | awk '{print $1}' | sed \
-e 's/\([A-Z]\)/ \1/g' \
-e 's/^ //g' \
-e 's/ /_/g' \
-e 's/\./_/g' \
-e 's/__/_/g' \
-e 's/[a-z]/\U&/g' \
-e 's/X_P/XP/g' \
-e 's/G_M/GM/g')
# Echo the new format
echo "AC_${VARNAME_CONVERTED}: \"${VALUE}\""
done```

Pages (6): Previous 1 2 3 4 5 6 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)