diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-03 21:08:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-03 21:08:12 +0300 |
commit | d99fd13553fd123530d8c707547a707bc98dfe59 (patch) | |
tree | 1b4692d4b3b0999b0f891470522e56761c6acf28 /servergreps/hercules/update.sh | |
parent | 57939becca009b44be98d65d1281c00bf20af1a2 (diff) | |
download | evol-tools-d99fd13553fd123530d8c707547a707bc98dfe59.tar.gz evol-tools-d99fd13553fd123530d8c707547a707bc98dfe59.tar.bz2 evol-tools-d99fd13553fd123530d8c707547a707bc98dfe59.tar.xz evol-tools-d99fd13553fd123530d8c707547a707bc98dfe59.zip |
servergreps: add packet version 7.
Diffstat (limited to 'servergreps/hercules/update.sh')
-rwxr-xr-x | servergreps/hercules/update.sh | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/servergreps/hercules/update.sh b/servergreps/hercules/update.sh index 4602b69..324f8dc 100755 --- a/servergreps/hercules/update.sh +++ b/servergreps/hercules/update.sh @@ -1,13 +1,14 @@ #!/bin/bash function genpackets { - cpp -DPACKETVER=$1 "-Dpacket(id,size,...)=packet(id,size,__VA_ARGS__)" ../../../server-code/src/map/packets.h $1/packets.h - cpp -DPACKETVER=$1 -I../../../server-code/src ../../../server-code/src/map/packets_struct.h $1/packets_struct.h - ./packets.py $1 + cpp -DPACKETVER=$2 "-Dpacket(id,size,...)=packet(id,size,__VA_ARGS__)" ../../../server-code/src/map/packets.h $1/packets.h + cpp -DPACKETVER=$2 -I../../../server-code/src ../../../server-code/src/map/packets_struct.h $1/packets_struct.h + ./packets.py $2 } -genpackets 20141016 -genpackets 20141022 -genpackets 20150226 -genpackets 20150513 -genpackets 20150805 +genpackets 00000007 7 +genpackets 20141016 20141016 +genpackets 20141022 20141022 +genpackets 20150226 20150226 +genpackets 20150513 20150513 +genpackets 20150805 20150805 |