Newbie Spellweaver
- Joined
- Nov 21, 2011
- Messages
- 86
- Reaction score
- 8
Thanks !
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!#!/bin/bash
#noob installer lol
ip=`/sbin/ifconfig|grep inet|head -1|sed 's/\:/ /'|awk '{print $3}'`
apt-get install -y unzip tomcat7
cd var/lib/tomcat7/webapps/
service tomcat7 stop
wget https://dl.dropboxusercontent.com/u/19918926/pwadmin1.5.1.zip
unzip -o pwadmin1.5.1.zip
service tomcat7 start
echo ""
echo "Open your browser and go to http://"$ip":8080/pwAdmin/"
chmod 755 pwadmin.sh
./pwadmin.sh
[LogserviceServer]
type = udp
port = 11100
address = 127.0.0.1
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 2097152
obuffermax = 16384
tcp_nodelay = 0
listen_backlog = 10
accumulate = 2097152
[LogserviceTcpServer]
type = tcp
port = 11101
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 2097152
obuffermax = 16384
tcp_nodelay = 0
listen_backlog = 10
accumulate = 2097152
[logservice]
threshhold = LOG_DEBUG
fd_err = /home/logs/world2.err
fd_log = /home/logs/world2.log
fd_formatlog = /home/logs/world2.formatlog
fd_trace = /home/logs/world2.trace
fd_chat = /home/logs/world2.chat
fd_cash = /home/logs/world2.cash
fd_statinfom = /home/logs/statinfom
fd_statinfoh = /home/logs/statinfoh
fd_statinfod = /home/logs/statinfod
[ThreadPool]
threads = (0,1)(1,5)
max_queuesize = 1048576
Off the top of my head what logs you get depends on the gamesys.conf of logservice
my gamesys.conf
Code:[LogserviceServer] type = udp port = 11100 address = 127.0.0.1 so_sndbuf = 16384 so_rcvbuf = 16384 ibuffermax = 2097152 obuffermax = 16384 tcp_nodelay = 0 listen_backlog = 10 accumulate = 2097152 [LogserviceTcpServer] type = tcp port = 11101 address = 127.0.0.1 so_sndbuf = 65536 so_rcvbuf = 65536 ibuffermax = 2097152 obuffermax = 16384 tcp_nodelay = 0 listen_backlog = 10 accumulate = 2097152 [logservice] threshhold = LOG_DEBUG fd_err = /home/logs/world2.err fd_log = /home/logs/world2.log fd_formatlog = /home/logs/world2.formatlog fd_trace = /home/logs/world2.trace fd_chat = /home/logs/world2.chat fd_cash = /home/logs/world2.cash fd_statinfom = /home/logs/statinfom fd_statinfoh = /home/logs/statinfoh fd_statinfod = /home/logs/statinfod [ThreadPool] threads = (0,1)(1,5) max_queuesize = 1048576
if that helps any
[LogserviceServer]
type = udp
port = 11100
address = 127.0.0.1
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 2097152
obuffermax = 16384
tcp_nodelay = 0
listen_backlog = 10
accumulate = 2097152
[LogserviceTcpServer]
type = tcp
port = 11101
address = 127.0.0.1
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 2097152
obuffermax = 16384
tcp_nodelay = 0
listen_backlog = 10
accumulate = 2097152
[logservice]
threshhold = LOG_DEBUG
fd_err = ./logs/world2.err
fd_log = ./logs/world2.log
fd_formatlog = ./logs/world2.formatlog
fd_trace = ./logs/world2.trace
fd_chat = ./logs/world2.chat
fd_cash = ./logs/world2.cash
fd_statinfom = ./logs/statinfom
fd_statinfoh = ./logs/statinfoh
fd_statinfod = ./logs/statinfod
[ThreadPool]
threads = (0,1)(1,5)
max_queuesize = 1048576
Urrg!! learn!!
cd to /
create a new file call it pwadmin.sh paste this into it:
Code:#!/bin/bash #noob installer lol ip=`/sbin/ifconfig|grep inet|head -1|sed 's/\:/ /'|awk '{print $3}'` apt-get install -y unzip tomcat7 cd var/lib/tomcat7/webapps/ service tomcat7 stop wget https://dl.dropboxusercontent.com/u/19918926/pwadmin1.5.1.zip unzip -o pwadmin1.5.1.zip service tomcat7 start echo "" echo "Open your browser and go to http://"$ip":8080/pwAdmin/"
save it.
Run it:
Code:chmod 755 pwadmin.sh ./pwadmin.sh
luckyjackz Read what it says under "java.io.FileNotFoundException" and it will tell you what to do.
so what i have to do ? i hope you want help me step by step, i am very newbie for this things T.T