- Joined
- Feb 2, 2011
- Messages
- 386
- Reaction score
- 204
PwAdmin actually creates a .sh script and runs it, so make sure it has permission to write and execute files...
no it doesn'tcd /home/gamed
for map in gs01 is62 #Add each map you want to start
do
echo "Loading $map"
sleep 3
./gs $map > /home/logs/$map.log &
done
Is there a way to list characters by account id# ?
or is there a query that could be run on the database to get this info?
I have yet to implement an email verification and have a couple accounts with non valid email addresses and would like to check with the players in case of mistype of email before just deleting the account.
@khatvong0702 config:
Code:String db_host = "localhost"; String db_port = "3306"; String db_user = "YOUR MYSQL USER"; String db_password = "YOUR MYSQL PASSWORD"; String db_database = "YOUR MYSQL DATABASE NAME";
Make sure you have role table in your perfect world database.
account.jsp
serverctrl.jsp
addons
WEB-INF
You need to override the four folders these.
Noob install for centos users also:
Code:cd /home wget http://212.175.84.61/pwadmin/pwadmin.sh chmod 755 pwadmin.sh ./pwadmin.sh
pwadmin.sh:
Code:#!/bin/bash #noob install pwadmin for centos ip=`/sbin/ifconfig|grep inet|head -1|sed 's/\:/ /'|awk '{print $3}'` cd /var/lib wget http://www.eu.apache.org/dist/tomcat/tomcat-7/v7.0.52/bin/apache-tomcat-7.0.52.tar.gz tar xzf apache-tomcat-7.0.52.tar.gz mv /var/lib/apache-tomcat-7.0.52 /var/lib/tomcat7 cd /var/lib/tomcat7/webapps/ wget https://dl.dropboxusercontent.com/u/19918926/pwadmin1.5.1.zip unzip -o pwadmin1.5.1.zip cd /var/lib/tomcat7/bin/ ./startup.sh echo "Install done" echo "Open your browser and go to http://"$ip":8080/pwAdmin/" echo "Edit /var/lib/tomcat7/webapps/pwAdmin/WEB-INF/.pwadminconf.jsp for admin password" echo "Default admin password is "root"
btw works great thanks for release
that's that problem solved haha
I hardly use pwAdmin I start my server using a bash script I wrote haha
![]()
Any idea's on when this is ready enough to be released? Because it looks awesome
So is the ONLY thing we edit the string iweb password and the string db password?
And how do we sync with server and mysql?
You can do manually, crond, or any daemon script to sync server-sql...