Hello ragezone,
I was wondering if anyone can help me why I can't get this to work
-Info
*When I run pkupdate.php
*When I run pkupdate.jsp from phpmyadminQuote:
*When I run the indexQuote:
-ProblemQuote:
1-Mysql don't upload the data automatically I have to add it manually using SQL which is impposible
2-When I run pkupdate.sh
3-phupdate.shQuote:
4-home/logsQuote:
#!/bin/sh
#Update kill table
cd /home/logs
grep -e ':type=2:' world2.formatlog > kills.formatlog
chmod 777 kills.formatlog
sed -i 's/ /,/g' kills.formatlog
sed -i 's/=/,/g' kills.formatlog
sed -i 's/:/,/g' kills.formatlog
sed -i 's/,,,/,/g' kills.formatlog
sed -i 's/,,/,/g' kills.formatlog
mysqlimport -uroot -h127.0.0.1 -pMYPASS --force --columns=date,hour,minute,@x,@x,@x,@x,@x,@x,@x,corpseid,@x,@x,@x,killerid --fields-terminated-by=, pw /home/logs/kills.formatlog
rm kills.formatlog
*There wasn't world2.formatlog or kills.formatlog, I create them and they are completely emptyQuote:
5-home/logs (After using pkupdate.sh)
No more kills.formatlogQuote:
So can anyone help me fix this so it work?
---------------
No log file saves kills and no Sql file saves kill ( This is the summary )
