- Timestamp:
- Jul 6, 2014, 11:48:08 PM (10 years ago)
- Location:
- scripts/usr/local/lib/7dtd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/VERSION
r62 r63 1 Version: 2 12 Release: 2014-07-0 51 Version: 22 2 Release: 2014-07-06 -
scripts/usr/local/lib/7dtd/monitor-log.sh
r62 r63 27 27 fi 28 28 29 logPlayerConnect $INSTANCE $2 $steamid $329 logPlayerConnect $INSTANCE "$2" "$steamid" "$3" 30 30 31 31 for H in $(getHooksFor playerConnect); do 32 $H $INSTANCE $1 $2 $3 $steamid32 $H $INSTANCE "$1" "$2" "$3" "$steamid" 33 33 done 34 34 } 35 35 36 36 handleDisconnect() { 37 logPlayerDisconnect $INSTANCE $237 logPlayerDisconnect $INSTANCE "$2" 38 38 39 39 for H in $(getHooksFor playerDisconnect); do 40 $H $INSTANCE $1 $2 $NICKNAME $STEAMID40 $H $INSTANCE "$1" "$2" "$NICKNAME" "$STEAMID" 41 41 done 42 42 } … … 46 46 47 47 for H in $(getHooksFor chat); do 48 $H $INSTANCE $148 $H $INSTANCE "$1" 49 49 done 50 50 } -
scripts/usr/local/lib/7dtd/playerlog.sh
r23 r63 35 35 PLAYERLOG=$(getInstancePath $1)/players.log 36 36 PLAYERLIST=$(getInstancePath $1)/players.xml 37 ENTITYID= $238 STEAMID= $339 NICKNAME= $437 ENTITYID="$2" 38 STEAMID="$3" 39 NICKNAME="$4" 40 40 41 41 echo "$(timestamp) +++ $ENTITYID $NICKNAME $STEAMID" >> $PLAYERLOG … … 75 75 PLAYERLOG=$(getInstancePath $1)/players.log 76 76 PLAYERLIST=$(getInstancePath $1)/players.xml 77 ENTITYID= $277 ENTITYID="$2" 78 78 79 79 createPlayerList "$1"
Note:
See TracChangeset
for help on using the changeset viewer.