diff options
Diffstat (limited to 'servergreps')
-rwxr-xr-x | servergreps/hercules/packets.py | 4 | ||||
-rwxr-xr-x | servergreps/hercules/update.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/servergreps/hercules/packets.py b/servergreps/hercules/packets.py index 010b905..d654490 100755 --- a/servergreps/hercules/packets.py +++ b/servergreps/hercules/packets.py @@ -259,10 +259,10 @@ while len(packetDir) < 8: packetDir = "0" + packetDir srcPath = "../../../server-code/src/" -namedPacketsPath = packetDir + "/packets_struct.h" +namedPacketsPath = packetDir + "/src/packets_struct.h" manaplusPath = "../../../manaplus/src/" protocolPath = manaplusPath + "net/eathena/packets" -clientPacketsPath = packetDir + "/packets.h" +clientPacketsPath = packetDir + "/src/packets.h" packetsPath = manaplusPath + "net/eathena/packetsin.inc" eathenaPath = manaplusPath + "net/eathena/" diff --git a/servergreps/hercules/update.sh b/servergreps/hercules/update.sh index 0d956ec..925e84a 100755 --- a/servergreps/hercules/update.sh +++ b/servergreps/hercules/update.sh @@ -1,8 +1,8 @@ #!/bin/bash function genpackets { - 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 + cpp -DPACKETVER=$2 "-Dpacket(id,size,...)=packet(id,size,__VA_ARGS__)" ../../../server-code/src/map/packets.h $1/src/packets.h + cpp -DPACKETVER=$2 -I../../../server-code/src ../../../server-code/src/map/packets_struct.h $1/src/packets_struct.h ./packets.py $2 } |