Changeset 294 for scripts/usr/local/lib/7dtd/playerlog.sh
- Timestamp:
- Oct 6, 2016, 4:45:58 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/playerlog.sh
r258 r294 49 49 # 3: Steam ID 50 50 # 4: Nick name 51 # 5: IP 52 # 6: Steam Owner ID 51 53 logPlayerConnect() { 52 54 local ENTITYID="$2" … … 54 56 local STEAMID="$4" 55 57 local IP="$5" 58 local OWNERID="$6" 56 59 57 echo "$(timestamp) +++ $ENTITYID $NICKNAME $STEAMID $IP " >> "$PLAYERSLOG"60 echo "$(timestamp) +++ $ENTITYID $NICKNAME $STEAMID $IP $OWNERID" >> "$PLAYERSLOG" 58 61 59 62 createPlayerList … … 72 75 -i "$XPATHBASE" -t attr -n "entityid" -v "$ENTITYID" \ 73 76 -i "$XPATHBASE" -t attr -n "lastIp" -v "$IP" \ 77 -i "$XPATHBASE" -t attr -n "steamOwner" -v "$OWNERID" \ 74 78 "$PLAYERSXML" 75 79 else … … 83 87 -u "$XPATHBASE/@logins" -v "$LOGINS" \ 84 88 -u "$XPATHBASE/@lastIp" -v "$IP" \ 89 -u "$XPATHBASE/@steamOwner" -v "$OWNERID" \ 85 90 "$PLAYERSXML" 86 91 fi
Note:
See TracChangeset
for help on using the changeset viewer.