summaryrefslogtreecommitdiff
path: root/servergreps/hercules/update.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-12 16:00:08 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-12 16:00:08 +0300
commita8ace1150987e8019e3113a34de41ae2d8841700 (patch)
tree75af23d23d68c360dd26f232f4ede9c036fa5a83 /servergreps/hercules/update.sh
parentd72f3ba642e7ebfa007bb61dd61ec2a57a7600d4 (diff)
downloadevol-tools-a8ace1150987e8019e3113a34de41ae2d8841700.tar.gz
evol-tools-a8ace1150987e8019e3113a34de41ae2d8841700.tar.bz2
evol-tools-a8ace1150987e8019e3113a34de41ae2d8841700.tar.xz
evol-tools-a8ace1150987e8019e3113a34de41ae2d8841700.zip
servergreps: add new packet versions from ragemu.
Diffstat (limited to 'servergreps/hercules/update.sh')
-rwxr-xr-xservergreps/hercules/update.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/servergreps/hercules/update.sh b/servergreps/hercules/update.sh
index 82a205d..8ae47df 100755
--- a/servergreps/hercules/update.sh
+++ b/servergreps/hercules/update.sh
@@ -14,7 +14,7 @@ function genpackets {
if [ ! -d "$2/src" ]; then
mkdir -p "$2/src"
fi
- cpp -DPACKETVER=$3 "-Dpacket(id,size,...)=packet(id,size,__VA_ARGS__)" ../links/hercules/src/map/packets.h $2/src/packets.h
+ cpp -DPACKETVER=$3 "-Dpacket(id,size,...)=packet(id,size,__VA_ARGS__)" ../links/$1/src/map/packets.h $2/src/packets.h
preproc $1 $2 $3 map packets_struct.h
preproc $1 $2 $3 char char.c
preproc $1 $2 $3 login login.c
@@ -37,3 +37,9 @@ genpackets hercules 20150000 20150000
genpackets hercules 20150226 20150226
genpackets hercules 20150513 20150513
genpackets hercules 20150805 20150805
+genpackets ragemu 20150916 20150916
+genpackets ragemu 20151001 20151001
+genpackets ragemu 20151029 20151029
+genpackets ragemu 20151104 20151104
+genpackets ragemu 20151216 20151216
+genpackets ragemu 20160316 20160316