-
PW 136 Server files for use with MySql
Greetings Guy's n Gals,
here are the fixed up server files I used for my release which now includes a working iweb and the 136 update which fixed maps such as crescent vally as well as including tekks elements.data for solving the pickaxe problem..
so credits for this release go to the following..
Tekk - elements.data
shawn - dbo and authd development for mysql usage
xypher - map fixes
nevermind - follow up fixes
trash - registration script
Notes on using..
The server files are preconfigured to run on an IP of 192.168.0.50 on a true linux install, example, these files are NOT using a colinux or vmware emulator, you can however build these into the said emulators if you wish though.
Whats included
importantly, all 32bit Library files needed to run this release (you may need to get 64bit varients on x64 installs) a registration script so you can register users (duh) a dbo.sql file for importing into mysql, 2 java versions (1.5 for iweb and 1.6 for authd) a .profile file for /root/ (edit and resave to cure the eof error) a working partial and full start script as well as a working shutdown script and an edited **IWEB** http://192.168.0.50:8080/iweb/ :thumbup:
Files to edit..
/etc/hosts - put in your own hostname
/root/.profile - gets an end of file error, to fix it just edit and resave it
Whats NOT included
Lampp - download and install in /opt/ using these instructions.. http://www.apachefriends.org/en/xampp-linux.html
Serverfiles can be downloaded here http://www.megaupload.com/?d=UDPJCD7Q
MD5 :- BC1143B17648E9154EA206094DD25148 *Server136Final.rar
-
Re: PW 136 Server files for use with MySql
Add theses lines your the .bashrc file in your root folder:
Code:
export JAVA_HOME=/usr/java/java 1.5 folder for iweb
export CLASSPATH=/usr/local/jakarta-tomcat-5.5.9/common/lib/jsp-api.jar:/usr/local/tomcat/common/lib/servlet-api.jar
Good work beastie! :thumbup1:
I will make my release soon too :ott1:
-
Re: PW 136 Server files for use with MySql
iweb already works with these lines in .profile :wink:
Code:
export USERNAME BASH_ENV PATH
export CLASSPATH=.:/usr/java/jdk1.5.0_05/lib/dt.jar:/usr/java/jdk1.5.0_05/lib/tools.jar:/usr/java/jdk1.5.0_05/lib/mysql-connector-java-3.0.16-ga-bin.jar:/usr/java/msSQLjdbc/lib/msbase.jar:/usr/java/msSQLjdbc/lib/mssqlserver.jar:/usr/java/msSQLjdbc/lib/msutil.jar
export PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME=/usr/java/jdk1.5.0_05
i wait with anticipation on your file release :thumbup1:
-
Re: PW 136 Server files for use with MySql
I already have packaged my server files ^^ but i have a slow connection for upload them :\
So.. i have used the Eistiger server files on his Debian guide...
I just need to upload the autdh folder now xD and elements and gshop .data...
But i will do this the next week... because i must do something on my server before and.. i will get a small new notebook ^^ .... with Vista x.X
So... when my future notebook will be formated with a correct OS xD and when my server will be fully done, i will upload the authd folder and the others things =)
regards,
Romulan.
-
Re: PW 136 Server files for use with MySql
*bump* can someone sticky this pl0x?
-
Re: PW 136 Server files for use with MySql
does it also have the items from totoman ?
(sofag 131 with 139 items) )
-
Re: PW 136 Server files for use with MySql
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
beastie
*bump* can someone sticky this pl0x?
I will consider it. For now, I'll post it on the resource library sticky.
-
Re: PW 136 Server files for use with MySql
hi beastie
i have downloaded the files yeti the rar folder only has 4 files in it
pwserver.conf ; pwserver.ext3 ; swap1.bat and a txt file that i cannot read as it is in russian i think
am i missing files??
im sorry if i sound noobish but i am this is my first attempt at installing in ubuntu
(took me 3hrs to get sql installed:P)
just opend PWServer.conf and it is for coLinux????
Code:
# The default kernel
kernel=vmlinux
# File contains the root file system.
# Download and extract preconfigured file from SF "Images for 2.6".
cobd0="C:\coLinux\pwserver\PWServer.ext3"
# Swap device, should be an empty file with 128..512MB.
cobd1="C:\coLinux\pwserver\PWServer"
cobd2="C:\coLinux\pwserver\PWServer1_1Gb"
cobd3="C:\coLinux\pwserver\PWServer2_1Gb"
cobd4="C:\coLinux\pwserver\PWServer3_1Gb"
cobd5="C:\coLinux\pwserver\PWServer4_1Gb"
cobd6="C:\coLinux\pwserver\PWServer5_1Gb"
# Tell kernel the name of root device (mostly /dev/cobd0,
# /dev/cobd/0 on Gentoo)
# This parameter will be forward to Linux kernel.
root=/dev/cobd0
# Additional kernel parameters (ro = rootfs mount read only)
ro
# Initrd installs modules into the root file system.
# Need only on first boot.
initrd=initrd.gz
# Maximal memory for linux guest
mem=256
# Network
eth0=slirp,,tcp:29000:29000/tcp:80:80/tcp:8080:8080
#eth1=pcap-bridge,,00:FF:F9:54:7C:00
cofs0="C:\PW\"
do i need to install colinux to run this????
im sorry to be a bother
-
um, you haven't downloaded my files mate, these are for a raw linux install, there is no pwserver.conf ; pwserver.ext3 ; swap1.bat and a txt file, i think you have maybe downloaded these ones..
http://forum.ragezone.com/f452/1-3-6...-image-428353/
Quote:
Originally Posted by
SavageSteez
I will consider it. For now, I'll post it on the resource library sticky.
thanks :):
-
Re: PW 136 Server files for use with MySql
hello.
use ubuntu8.10.xampp1.7(apache&mysql),jdk1.6,tomcat5.5
The error goes out when the server is started.
=== LOGSERVICE ===
info : program started with 6 threads.
=== DONE! ===
=== UNIQUENAMED ===
info : logclient: OnAddSession
info : program started with 8 threads.
info : logclienttcp: OnAbortSession
=== DONE! ===
=== AUTH ===
authd:: add PollIO task.
info : logclienttcp: OnAbortSession
=== DONE! ===
=== GAMEDBD ===
info : Begin import clsconfig ...
info : ClsConfig Imported .
info : InitGameDB, Role delete time is 604800.
info : InitGameDB, acquire region(id=1),[l=-100000.0,r=100000.0,t=100000.0,b=-100000.0].
info : Init GameDB successfully.
TRACE : init SellDataImage. maxSellID=0,rolenum=0
info : program started with 18 threads.
info : logclient: OnAddSession
info : logclienttcp: OnAbortSession
info : logclienttcp: OnAbortSession
=== DONE! ===
=== GACD ===
info : program started with 1 threads.
info : logclienttcp: OnAbortSession
=== DONE! ===
=== GFACTIOND ===
info : program started with 1 threads.
info : logclient: OnAddSession
info : logclienttcp: OnAbortSession
info : logclienttcp: OnAbortSession
=== DONE! ===
=== GDELIVERYD ===
TRACE : gdeliveryd::Max player allowed is 6000
TRACE : Timer update: (0) Fri Apr 10 12:22:06 2009
info : program started with 1 threads.
info : logclient: OnAddSession
info : logclienttcp: OnAbortSession
TRACE : ganticheatclient:: connect to GACD failed!
=== DONE! ===
=== GLINKD ===
info : program started with 1 threads.
info : logclient: OnAddSession
info : program started with 1 threads.
info : logclient: OnAddSession
info : program started with 1 threads.
info : logclient: OnAddSession
info : program started with 1 threads.
info : logclient: OnAddSession
info : logclienttcp: OnAbortSession
info : logclienttcp: OnAbortSession
=== DONE! ===
=== MAIN WORLD ===
err : gdelivery:: connect GameDB failed
TRACE : gdelivery::gfactionclient: connect server failed. reconnecting...
TRACE : ganticheatclient:: connect to GACD failed!
help me
-
Re: PW 136 Server files for use with MySql
what did you change? ips? java versions??
-
Re: PW 136 Server files for use with MySql
iweb doesnt work...
i start server with: ./start.sh
in ./start_minimal.sh tomcat doesnt start
-
Re: PW 136 Server files for use with MySql
I've tested it on 3 comps using ubuntu 8.04 server x86 and 8.10 server x86 and it worked fine on 3 attempts :mellow: dunno how it didn't work with you :?:
-
Re: PW 136 Server files for use with MySql
im also runing ubuntu server 8.04
After installing Lampp u dont have to copy some files into it?
(only the registration folder to htdocs)
no ip`s have to changed?
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
beastie
what did you change? ips? java versions??
java 1.6.0.10
IPs localIP 192.168....
-
the authd file has to be modded if you changed the version in /usr/java, simply type..
Code:
nano /PWServer/authd/authd
and correct it to the version you have, dunno why you downgraded it tho, i supplied it with 1.6.0_12 :?:
Quote:
Originally Posted by
insane007
im also runing ubuntu server 8.04
After installing Lampp u dont have to copy some files into it?
(only the registration folder to htdocs)
no ip`s have to changed?
nope, once you install lampp, all you have to do is configure it then copy the reg files to htdocs as well as import the dbo.sql into mysql..
-
Re: PW 136 Server files for use with MySql
Can you add in 1st post md5 checksum of archive?
thx
-
Re: PW 136 Server files for use with MySql
-
Re: PW 136 Server files for use with MySql
hello
is server managment on iweb working? if yes what are login/pass
ty
-
Re: PW 136 Server files for use with MySql
-
Re: PW 136 Server files for use with MySql
-
Re: PW 136 Server files for use with MySql
Thanks for sharing. Can someone reupload to mediafire.com or rapidshare.com? Thanks
Btw is it for client PW MY-EN 1.3.1? If yes link to it plz, cause i cant download it. If now then link to need client plz =) Thanks
-
Re: PW 136 Server files for use with MySql
Can you write a little guide what i must do that my Server works?
Also i have export the server on my Debian root
Works it with debian?
and what i should do that work my server
all files are from this thread.
Should i change anything in my 1.3.6 client?
Sorry im a noob in this :*:
PLs help
Debian root:
6 GHz
8 Gb Ram
1 terrabite
-
Re: PW 136 Server files for use with MySql
How i can make accounts? What schould i do???
-
Re: PW 136 Server files for use with MySql
little question:
if i start the server overall comes this but the server starts:
[img=http://img254.imageshack.us/img254/5270/nofile.th.jpg]
is this ok or what i must do?
and where i can register any accounts per internet?
-
Re: PW 136 Server files for use with MySql
install lampp and put the regfiles in htdocs, for the directory error, did you put the files anywhere else other than root?
-
Re: PW 136 Server files for use with MySql
yeah i have this on the windowsroot saved
and copy these with Winscp to the linux root
-
Re: PW 136 Server files for use with MySql
yeah i have this on the windowsroot saved
and copy these with Winscp to the linux root
how can i batch the dbo in lampp mysql?
Sry for double post ^^
-
Re: PW 136 Server files for use with MySql
-
Re: PW 136 Server files for use with MySql
Hi I managed to get the server (full) running and running well the other day but after I shut it down via the GM console I can't get it back up.
Quote:
I have ran the full PW server successfully on my linux server and closed it down using the GM console in-game. Since, I've edited the gshop.data file and the bonus stats (such as drops and exp) numbers in ptemplate.cfg but now the server GAMEDBD says "err: Initialize storage environment failed" and gdeliveryd can't connect it. I reverted to the original gshop.data and ptemplate.cfg files but it is still doing it. I've checked as much as I can think of but can't figure out what else. Even restarting the computer itself didn't help.
-
Re: PW 136 Server files for use with MySql
Anyone manage to start their server using this server files?
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
test1234567
Hi I managed to get the server (full) running and running well the other day but after I shut it down via the GM console I can't get it back up.
I had the same problem, deleting all characters:
Code:
cd /dbf/dbhomewdb/
rm -r -f dbdata
mkdir dbdata
Code:
cd /export/uname/
rm -r -f dbdata
mkdir dbdata
then dropping the database then remaking and running dbo.sql again fixes it.
Quote:
Originally Posted by
cr8tive
Anyone manage to start their server using this server files?
yes, they work.
-
Re: PW 136 Server files for use with MySql
That's going to be a pain clearing the DB every so often unless I make a backup just before it shuts down.:glare:
-
Re: PW 136 Server files for use with MySql
Code:
<? //=====Script by trash=====//
//=====For MySQL Database=====//
include "config.php";
$Data = '<form action=register.php method=post>
Login: <br><input type=text name=login><br><br>
Password:<br><input type=password name=passwd><br><br>
Repeat password:<br><input type=password name=repasswd><br><br>
Email:<br><input type=text name=email><br><br>
<input type=submit name=submit value="Registration">
</form>';
if (isset($_POST['login'])) {
$Link = MySQL_Connect($DBHost, $DBUser, $DBPassword) or die ("Can't connect to MySQL");
MySQL_Select_Db($DBName, $Link) or die ("Database ".$DBName." do not exists.");
$Login = $_POST['login'];
$Pass = $_POST['passwd'];
$Repass = $_POST['repasswd'];
$Email = $_POST['email'];
$Login = StrToLower(Trim($Login));
$Pass = StrToLower(Trim($Pass));
$Repass = StrToLower(Trim($Repass));
$Email = Trim($Email);
if (empty($Login) || empty($Pass) || empty($Repass) || empty($Email)) {
echo "All fields is empty.";
}
elseif (ereg("[^0-9a-zA-Z_-]", $Login, $Txt)) {
echo "Login have a incorrect format.";
}
elseif (ereg("[^0-9a-zA-Z_-]", $Pass, $Txt)) {
echo "Password have a incorrect format.";
}
elseif (ereg("[^0-9a-zA-Z_-]", $Repass, $Txt)) {
echo "Repeat password have a incorrect format.";
}
elseif (StrPos('\'', $Email)) {
echo "Email have a incorrect format.";
}
else {
$Result = MySQL_Query("SELECT name FROM users WHERE name='$Login'") or ("Can't execute query.");
if (MySQL_Num_Rows($Result)) {
echo "Account <b>".$Login."</b> is exists";
}
elseif ((StrLen($Login) < 4) or (StrLen($Login) > 10)) {
echo "Login must have more 4 and not more 10 symbols.";
}
elseif ((StrLen($Pass) < 4) or (StrLen($Pass) > 10)) {
echo "Password must have more 4 and not more 10 symbols.";
}
elseif ((StrLen($Repass) < 4) or (StrLen($Repass) > 10)) {
echo "Repeat password must have more 4 and not more 10 symbols.";
}
elseif ((StrLen($Email) < 4) or (StrLen($Email) > 25)) {
echo "Email must have more 4 and not more 25 symbols.";
}
elseif ($Pass != $Repass){
echo "Password mismatch.";
}
else {
$Salt = $Login.$Pass;
$Salt = md5($Salt);
$Salt = "0x".$Salt;
MySQL_Query("call adduser('$Login', $Salt, '0', '0', '0', '0', '$Email', '0', '0', '0', '0', '0', '0', '0', '', '', $Salt)") or die ("Can't execute query.");
echo "Account <b>".$Login."</b> has been registered.";
}
}
}
echo $Data;
?>
It becomes it like this if it registers from PHP for the above-mentioned registration.
http://substem.servegame.org/uploda/src/up0002.jpg
-
Re: PW 136 Server files for use with MySql
I have a few problem to make this running. Here is the error.
=== Jakarta Tomcat ===
: command not foundtomcat-5.5.9/bin/setclasspath.sh: line 6:
: command not foundtomcat-5.5.9/bin/setclasspath.sh: line 9:
'usr/local/jakarta-tomcat-5.5.9/bin/setclasspath.sh: line 74: syntax error near unexpected token `do
'usr/local/jakarta-tomcat-5.5.9/bin/setclasspath.sh: line 74: ` for i in "$OSXHACK"/*.jar; do
Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.5.9
Using CATALINA_HOME: /usr/local/jakarta-tomcat-5.5.9
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.5.9/temp
Using JRE_HOME:
Iweb Started === DONE ==
=== UNIQUENAMED ===
./start.sh: line 36: 14288 Segmentation fault ./uniquenamed gamesys.conf > $PW_PATH/logs/uniquenamed.log
=== DONE! ===
=== AUTH ===
./authd: line 6: /usr/java/jdk1.6.0_12/bin/java: Permission denied
./authd: line 9: syntax error near unexpected token `done'
./authd: line 9: `done'
=== DONE! ===
=== GAMEDBD ===
./start.sh: line 48: 14296 Segmentation fault ./gamedbd gamesys.conf > $PW_PATH/logs/gamedbd.log
=== DONE! ===
=== GACD ===
./start.sh: line 54: 14298 Segmentation fault ./gacd gamesys.conf > $PW_PATH/logs/gacd.log
=== DONE! ===
=== GFACTIOND ===
./start.sh: line 60: 14300 Segmentation fault ./gfactiond gamesys.conf > $PW_PATH/logs/gfactiond.log
=== DONE! ===
=== GDELIVERYD ===
TRACE : gdeliveryd::Max player allowed is 6000
./start.sh: line 66: 14302 Segmentation fault ./gdeliveryd gamesys.conf > $PW_PATH/logs/gdeliveryd.log
=== DONE! ===
=== GLINKD ===
./start.sh: line 75: 14304 Segmentation fault ./glinkd gamesys.conf 1 > $PW_PATH/logs/glink.log
./start.sh: line 75: 14305 Segmentation fault ./glinkd gamesys.conf 2 > $PW_PATH/logs/glink2.log
./start.sh: line 75: 14306 Segmentation fault ./glinkd gamesys.conf 3 > $PW_PATH/logs/glink3.log
./start.sh: line 75: 14307 Segmentation fault ./glinkd gamesys.conf 4 > $PW_PATH/logs/glink4.log
=== DONE! ===
=== MAIN WORLD ===
./start.sh: line 81: 14309 Segmentation fault ./gs gs01 > $PW_PATH/logs/game1.log
=== DONE! ===
=== MAIN WORLD ===
./start.sh: line 81: 14309 Segmentation fault ./gs gs01 > $PW_PATH/logs/game1.log
=== DONE! ===
=== OTHER WORLD ===
./start.sh: line 87: 14314 Segmentation fault ./gs arena01 > $PW_PATH/logs/game_all.log
=== ARENA1 DONE! ===
./start.sh: line 91: 14316 Segmentation fault ./gs arena02 > $PW_PATH/logs/game_all.log
=== ARENA2 DONE! ===
./start.sh: line 95: 14319 Segmentation fault ./gs arena03 > $PW_PATH/logs/game_all.log
=== ARENA3 DONE! ===
./start.sh: line 99: 14321 Segmentation fault ./gs arena04 > $PW_PATH/logs/game_all.log
=== ARENA4 DONE! ===
./start.sh: line 135: 14323 Segmentation fault ./gs is11 > $PW_PATH/logs/game_all.log
=== Valley of Disaster / Disaster Valley DONE! ===
My server is Ubuntu 8.10 anyone can help me solve this problem?
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
CrumX
I have a few problem to make this running. Here is the error.
=== Jakarta Tomcat ===
: command not foundtomcat-5.5.9/bin/setclasspath.sh: line 6:
: command not foundtomcat-5.5.9/bin/setclasspath.sh: line 9:
'usr/local/jakarta-tomcat-5.5.9/bin/setclasspath.sh: line 74: syntax error near unexpected token `do
'usr/local/jakarta-tomcat-5.5.9/bin/setclasspath.sh: line 74: ` for i in "$OSXHACK"/*.jar; do
Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.5.9
Using CATALINA_HOME: /usr/local/jakarta-tomcat-5.5.9
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.5.9/temp
Using JRE_HOME:
Iweb Started === DONE ==
=== UNIQUENAMED ===
./start.sh: line 36: 14288 Segmentation fault ./uniquenamed gamesys.conf > $PW_PATH/logs/uniquenamed.log
=== DONE! ===
=== AUTH ===
./authd: line 6: /usr/java/jdk1.6.0_12/bin/java: Permission denied
./authd: line 9: syntax error near unexpected token `done'
./authd: line 9: `done'
=== DONE! ===
=== GAMEDBD ===
./start.sh: line 48: 14296 Segmentation fault ./gamedbd gamesys.conf > $PW_PATH/logs/gamedbd.log
=== DONE! ===
=== GACD ===
./start.sh: line 54: 14298 Segmentation fault ./gacd gamesys.conf > $PW_PATH/logs/gacd.log
=== DONE! ===
=== GFACTIOND ===
./start.sh: line 60: 14300 Segmentation fault ./gfactiond gamesys.conf > $PW_PATH/logs/gfactiond.log
=== DONE! ===
=== GDELIVERYD ===
TRACE : gdeliveryd::Max player allowed is 6000
./start.sh: line 66: 14302 Segmentation fault ./gdeliveryd gamesys.conf > $PW_PATH/logs/gdeliveryd.log
=== DONE! ===
=== GLINKD ===
./start.sh: line 75: 14304 Segmentation fault ./glinkd gamesys.conf 1 > $PW_PATH/logs/glink.log
./start.sh: line 75: 14305 Segmentation fault ./glinkd gamesys.conf 2 > $PW_PATH/logs/glink2.log
./start.sh: line 75: 14306 Segmentation fault ./glinkd gamesys.conf 3 > $PW_PATH/logs/glink3.log
./start.sh: line 75: 14307 Segmentation fault ./glinkd gamesys.conf 4 > $PW_PATH/logs/glink4.log
=== DONE! ===
=== MAIN WORLD ===
./start.sh: line 81: 14309 Segmentation fault ./gs gs01 > $PW_PATH/logs/game1.log
=== DONE! ===
=== MAIN WORLD ===
./start.sh: line 81: 14309 Segmentation fault ./gs gs01 > $PW_PATH/logs/game1.log
=== DONE! ===
=== OTHER WORLD ===
./start.sh: line 87: 14314 Segmentation fault ./gs arena01 > $PW_PATH/logs/game_all.log
=== ARENA1 DONE! ===
./start.sh: line 91: 14316 Segmentation fault ./gs arena02 > $PW_PATH/logs/game_all.log
=== ARENA2 DONE! ===
./start.sh: line 95: 14319 Segmentation fault ./gs arena03 > $PW_PATH/logs/game_all.log
=== ARENA3 DONE! ===
./start.sh: line 99: 14321 Segmentation fault ./gs arena04 > $PW_PATH/logs/game_all.log
=== ARENA4 DONE! ===
./start.sh: line 135: 14323 Segmentation fault ./gs is11 > $PW_PATH/logs/game_all.log
=== Valley of Disaster / Disaster Valley DONE! ===
My server is Ubuntu 8.10 anyone can help me solve this problem?
I saw some permission errors in there, did you set everything u uploaded to 0777?
-
Re: PW 136 Server files for use with MySql
Okay after I change the permission file to 777 it seems that the segmentation fault still there.
-
Re: PW 136 Server files for use with MySql
I'm now getting this:
AUTH
/libjvm.so'.sr/java/jdk1.5.0_05/jre/lib/i386/server
./authd: line 7: syntax error near unexpected token `done'
./authd: line 7: `done'
DONE!
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
test1234567
I'm now getting this:
AUTH
/libjvm.so'.sr/java/jdk1.5.0_05/jre/lib/i386/server
./authd: line 7: syntax error near unexpected token `done'
./authd: line 7: `done'
DONE!
the same problem that i have
Code:
=== AUTH ===
/libjvm.so'.sr/java/jdk1.6.0_12/jre/lib/i386/server
./authd: line 9: syntax error near unexpected token `done'
./authd: line 9: `done'
please help us!!^^
-
Re: PW 136 Server files for use with MySql
O.o ( ... )
@CrumX
hmmm,... LOL !!! Not only the start.sh...
You may do chmod -R 777 on the following folders:
gacd, authd, gamed, gamedb, and others in /home; /usr/java folder ; /usr/local/jakarta-tomcat-5.5.9 folder.
After this, i think the Segmentation Fault error will not come back again...
@test1234567 ; @Yunta
1. authd file is maybe corrupted ?
2. java folder is maybe corrupted ?
3. both of them are corrupted .... ?
Check it! ^^
-
Re: PW 136 Server files for use with MySql
I've already checked as much as I could for the java folder and authd files. I'm pretty stumped in what I can try other than reupload all the java, jarkata and then server files themselves again.
-
Re: PW 136 Server files for use with MySql
Thanks for share. Btw I cant get into dungeons which are located in "Thousand Stream City"
Guess maps are broken. Do you have any updates etc? Is it for client 131 or 136 cause im using 131
-
Re: PW 136 Server files for use with MySql
You can't enter in Blue door or Red door ? :/
-
Re: PW 136 Server files for use with MySql
nice thanks, should come in useful.
-
Re: PW 136 Server files for use with MySql
Curious if anyone has iweb working using this release? Looking at the files in the archive, the role folder has been renamed to role_testNO. Please share with us if you have. Thanks!
-
Re: PW 136 Server files for use with MySql
If you want iweb working use the /usr/local/jakarta-tomcat-5.5.9 folder from this:
Sofag's Content
It's the only the working iweb i have founded here :/:
-
Re: PW 136 Server files for use with MySql
After running the server without problem now when i try to login inside the game I got this error
"LINK - Error in server and network "
On ssh it show something like this
TRACE : gdelivery::passwdtimeout. user=asd
TRACE : gdelivery::matrixpasswd cache missing, user=asd
some other thread says about its about codepage for mysql coloation i did use utf8-general-ci.. anyway its like the server didnt communicate with the sql at all.. anyone help me ^^
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
CrumX
After running the server without problem now when i try to login inside the game I got this error
"LINK - Error in server and network "
On ssh it show something like this
TRACE : gdelivery::passwdtimeout. user=asd
TRACE : gdelivery::matrixpasswd cache missing, user=asd
some other thread says about its about codepage for mysql coloation i did use utf8-general-ci.. anyway its like the server didnt communicate with the sql at all.. anyone help me ^^
What codepage ?? UTF8 ? O.o
You don't do nothing like this in beastie files... :X
-
Re: PW 136 Server files for use with MySql
okay but still i still have the problem ahaha anyway do u wanna help me set this up.. i'll give you ssh and the server info so u can look at it ^^ well if you want.. pm me
anyway im using centos5 should i use another version of linux? what do you think?
-
Re: PW 136 Server files for use with MySql
I have fixed the server (go me! :thumbup:) however it does not seem to load up properly (but I noticed no errors) for some really wierd reason. I noticed something was odd when I checked the memory usage which was really tiny. I can log in and create a character but not enter the game:
Quote:
=== Jakarta Tomcat ===
Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.5.9
Using CATALINA_HOME: /usr/local/jakarta-tomcat-5.5.9
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.5.9/temp
Using JRE_HOME: /usr/java/jdk1.5.0_05
Iweb Started === DONE ==
=== LOGSERVICE ===
info : program started with 6 threads.
=== DONE! ===
=== UNIQUENAMED ===
info : TcpManager OnAddSession
info : program started with 8 threads.
info : logclient: OnAddSession
info : logclienttcp: OnAddSession
=== DONE! ===
=== AUTH ===
authd:: add PollIO task.
=== DONE! ===
=== GAMEDBD ===
info : TcpManager OnAddSession
info : Begin import clsconfig ...
info : ClsConfig Imported .
info : InitGameDB, Role delete time is 604800.
info : InitGameDB, acquire region(id=1),[l=-100000.0,r=100000.0,t=100000.0,b=-100000.0].
info : Init GameDB successfully.
TRACE : init SellDataImage. maxSellID=0,rolenum=0
info : program started with 18 threads.
info : logclient: OnAddSession
info : logclienttcp: OnAddSession
=== DONE! ===
=== GACD ===
info : program started with 1 threads.
=== DONE! ===
=== GFACTIOND ===
info : TcpManager OnAddSession
info : GameDBServer::OnAddSession, sid=6.
info : program started with 1 threads.
info : logclient: OnAddSession
info : logclienttcp: OnAddSession
TRACE : OnAddSession sid=6
info : OnAddSession
=== DONE! ===
=== GDELIVERYD ===
TRACE : gdeliveryd::Max player allowed is 6000
info : TcpManager OnAddSession
info : GameDBServer::OnAddSession, sid=7.
TRACE : OnAddSession sid=7
GAuthServer::OnAddSession com.goldhuman.IO.Protocol.Session@1fe1feb
info : program started with 1 threads.
info : logclient: OnAddSession
TRACE : gdelivery::connect gfactionserver successfully.
info : logclienttcp: OnAddSession
TRACE : gdelivery::connect to gauthd successfully.
TRACE : ganticheatclient:: connect gacd successfully!
info : OnAddSession
TRACE : gfactionserver:: add link(or Delivery) 0 to map.
TRACE : Receive zoneid=1 from delivery
TRACE : DBAuctionList, size=0, handle=0
TRACE : DBStockLoad, size=0, handle=0
info : OnAddSession
info : OnAddSession
TRACE : dbauctionlist: received. res->items.size()=0,res->handle.size()=0 retcode=0
TRACE : DBStockLoad: retcode=0, size=0, handle=0
gauthd: 03 May 2009 11:50:28,001 INFO GAuthServer:? - <<< clear all online records on zone 1 >>>
Prepare procedure call:{call clearonlinerecords(?,?)}
gauthd: 03 May 2009 11:50:28,026 INFO GAuthServer:? - zone 1 aid 1 announced.
TRACE : StockStatus:: uptime=0,trade_price=0,order_volume=0,trade_volume=0,trade_amount=0,idpool=2
=== DONE! ===
=== GLINKD ===
info : program started with 1 threads.
info : logclient: OnAddSession
info : logclienttcp: OnAddSession
info : program started with 1 threads.
info : logclient: OnAddSession
info : logclienttcp: OnAddSession
info : program started with 1 threads.
info : TcpManager OnAddSession
info : TcpManager OnAddSession
info : logclienttcp: OnAddSession
info : TcpManager OnAddSession
info : logclient: OnAddSession
TRACE : gfactionserver:: add link(or Delivery) 1 to map.
TRACE : gfactionserver:: add link(or Delivery) 2 to map.
TRACE : gfactionserver:: add link(or Delivery) 3 to map.
info : TcpManager OnAddSession
info : program started with 1 threads.
info : logclient: OnAddSession
info : logclienttcp: OnAddSession
TRACE : gfactionserver:: add link(or Delivery) 4 to map.
=== DONE! ===
=== MAIN WORLD ===
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
TRACE : checkpoint begin.
TRACE : checkpoint end.
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
TRACE : checkpoint begin.
TRACE : checkpoint end.
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
=== DONE! ===
=== OTHER WORLD ===
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
=== ARENA1 DONE! ===
TRACE : checkpoint begin.
TRACE : checkpoint end.
=== ARENA2 DONE! ===
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
TRACE : checkpoint begin.
TRACE : checkpoint end.
=== ARENA3 DONE! ===
=== ARENA4 DONE! ===
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
=== Valley of Disaster / Disaster Valley DONE! ===
===============================================================
= ALL INSTANCES LOADED =
= SERVERS ARE UP AND RUNNING! =
===============================================================
-
Re: PW 136 Server files for use with MySql
i still got the same error "gdelivery::matrixpasswd cache missing" no matter what linux dist i use..
you can try it on this ip
66.197.157.198 <-- debian
66.197.157.200 <-- centos
-
Re: PW 136 Server files for use with MySql
I got my server up and running with 192.168.0.50 what files must I change to make the server public what ip
-
Re: PW 136 Server files for use with MySql
Dear beastie or Romulan, or anyone who can putting the server on and it running..
Please, can you make a little guide? I have ubuntu 8.10 server configurated, but i don't know how to install the server of PW. Only need a little guide with the commands, no need to be very long.
-
Re: PW 136 Server files for use with MySql
Guide:
1. Upload all files
2. Set EVERYTHING you uploaded to 0775 w/ set group owner and permissions recursively checked.
3. Install lampp and configure mysql: change root password, then connect to your mysql, use either mysql query browser or navicat, I personally prefer navicat, lite is free on their site, dont forget that root is set up as root@localhost so you will need to make another account with its host set to your ip, then make a database called dbo, then if you are using navicat right click it and click execute batch file, and select the dbo.sql that came with these files, run that and exit.
4. Upload the register folder to /opt/lampp/htdocs/
5. Change all "192.168.0.50" to your linux's internal ip
use this to find it:
inet addr under eth0 is your internal ip
There are 192.168.0.50's in most folders, go through absolutely everything that u have uploaded that can be opened with a text editor.
6. Wan ip edits and stuff:
change the ip next to perfectworld to your wan ip, leave localhost as 127.0.0.1 and everything bellow that should already be set to your internal ip
find the line that says: <connection name="auth0" poolsize="3" url="jdbc:mysql://127.0.0.1/dbo?useUnicode=true&characterEncoding=utf8" username="root" password="root"/>
change password="root" to your mysql password for root.
Code:
/PWServer/glinkd/gamesys.conf
change address = to your wan ip on [GLinkServer1] to [GLinkServer4]
Code:
/opt/lampp/htdocs/register/config.php
edit your password
7. Starting up
Watch for any errors.
Go to http://yourwanip/register/ to register
iweb is at http://yourwanip:8080/iweb/
***Note, this works for fedora, some distros such as ubuntu may require the 32-bit compatibility libs, get these with this:
Code:
apt-get install ia32-libs
-
Re: PW 136 Server files for use with MySql
Really thanks Hauk (=
I will try it now, and i reply if work perfectly or if i have a error ^_^
-
Re: PW 136 Server files for use with MySql
-
Re: PW 136 Server files for use with MySql
I get "LINK - Failed to log in game server". I'm using CentOS 5.3.
-
Re: PW 136 Server files for use with MySql
Do you mean i have to leave some of it with localhost ip and only edit a few with my wan ip?
This is my ifconfig -a
Code:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255. 255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:572 errors:0 dropped:0 overruns:0 frame:0
TX packets:688 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:53081 (51.8 KiB) TX bytes:79666 (77.7 KiB)
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00
inet addr:66.197.151.200 P-t-P:66.197.151.200 Bcast:66.197.151.200 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
-
Re: PW 136 Server files for use with MySql
I done to upload all files, change the permiss to 0777 for all, and edit and resave .profile file.
I start linux and .profile says not found end of file, edit and resave don't work.
I start ./start.sh and don't work too.
Can anyone upload the good folder of root? i tryed to download two times more the server files, but same all time
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
kaba
I done to upload all files, change the permiss to 0777 for all, and edit and resave .profile file.
I start linux and .profile says not found end of file, edit and resave don't work.
I start ./start.sh and don't work too.
Can anyone upload the good folder of root? i tryed to download two times more the server files, but same all time
oO did you have chmod 777 on .profile and start.sh files ?
If you need more help, i can help you ^^
-
Re: PW 136 Server files for use with MySql
I have chmod 0777 on files of the folder root, i don't know why don't want to work, i tried to do copy hand-writing the text of .profile to one new file, but not work
-
Re: PW 136 Server files for use with MySql
aw =(
and i'm sorry but i can't access to my server files atm...
i will help you if i can do it fastly...
be patient =) but i think it's just a minimal error...
-
Re: PW 136 Server files for use with MySql
u need to install dos2unix and to use it juz type " dos2unix start.sh " if you are using yum you can use yum install dos2unix
i forget what is the file name for debian
noow i have problem with libjvm.so lmao T.T
-
Re: PW 136 Server files for use with MySql
i tried this server package in ubuntu. after installing xampp i was able to start the server but register page give mysql error say access denied for root@localhost wit password yes. i did not know i need to import dbo.sql, could someone give the command to do so.
thanks
-
Re: PW 136 Server files for use with MySql
@mihlub
For import dbo.sql, follow the next steps:
1. Write in the console : /opt/lampp/lampp start
2. Open a browser and put your Local IP
3. Now in the left pannel click in PhpMyAdmin
4. Create a new database called dbo
5. Enter in the database dbo and click in tab Import
6. Look for the file and click continue
7. If all are correct, phpmyadmin says all correct.
PD You maybe need to change password for root in mysql, you need to change this password too in /opt/lampp/htdocs/register/config.php and status.php
@Romulan
Np, and thanks for help me ^^
-
Re: PW 136 Server files for use with MySql
@milhub
Go to your pma interface:
http://your-pwserver-ip/phpmyadmin/
At the top of the page, go to database tab.
Create new database with the name "dbo".
Go to import tab.
Select your dbo.sql file and then click execute.
Close your window and go open again:
http://your-pwserver-ip/phpmyadmin/
Go to permissions tab. And click on the little link "add new user".
User = root
Host = your-pwserver-ip (example: 192.168.0.55)
Password = same password in your table.xml
Check the last radio button
Click on the blue link "check all"
Execute.
Specify this user for dbo database.
"Check all"
Execute.
Now, it's done for pwserver can acces to the dbo.
(note: you will need to do the same thing if you want BatGM can acces to dbo too, but in the host field you will need to put YOUR ip and not the server ip)
It's that all for mysql and the database now.
@kaba
Yes i will try to help when i can but actually my server "take a break"... :ott1:
And i don't have all of my server files on my laptop... for upload some of them to help u..
-
Re: PW 136 Server files for use with MySql
do you know what caused matrixpasswd cache is missing error?
-
Re: PW 136 Server files for use with MySql
yea,
Check all !
Probably an issue with gauth can't connect to the mysql server and can't get the password and login from the dbo...
You may check: hosts (for ip), table.xml (for dbserver (mysql), login and password, look what i have wrote for the problem of milhub... your answer is there), check authd file again for any problem with java path.....
-
Re: PW 136 Server files for use with MySql
kaba i tried your steps after starting lampp an try to load webpage, it comes up empty. nothing in that page.
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
mihlub
kaba i tried your steps after starting lampp an try to load webpage, it comes up empty. nothing in that page.
blank page :?:
What URL do you type ?
http://your-pwserver-ip/register or http://your-pwserver-ip/register.php ?
-
Re: PW 136 Server files for use with MySql
here are the results:
http://pwserverip -- blankpage
http://pwserver/register -- gives register page
http://pwserver/phpadmin/ gives error 404 page not found
thanks
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
mihlub
http://pwserver/phpadmin/ gives error 404 page not found
(correct url is) = http://pwserver/phpmyadmin (you have forget the "my")
http://pwserver/register -- gives register page (No error from it? So i would consider it's done!)
http://pwserverip -- blankpage (if you are using the xampp package included from beastie's release, it's normal.. don't panic lol^^) done!
Try http://pwserver/monitor or http://pwserver/stats (if i remember to see "Server Online and # of players") :ott1:
-
Re: PW 136 Server files for use with MySql
i encounter this problem when i started the server
please advice:
gauthd: 06 May 2009 03:30:50,257 INFO GAuthServer:? - <<< clear all online records on zone 1 >>>
Prepare procedure call:{call clearonlinerecords(?,?)}
java.sql.SQLException: User does not have access to metadata required to determine stored procedure parameter types. If rights can not be granted, configure connection with "noAccessToProcedureBodies=true" to have driver generate parameters that represent INOUT strings irregardless of actual parameter types.
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
at com.mysql.jdbc.DatabaseMetaData.getCallStmtParameterTypes(DatabaseMetaData.java:1619)
at com.mysql.jdbc.DatabaseMetaData.getProcedureColumns(DatabaseMetaData.java:4034)
at com.mysql.jdbc.CallableStatement.determineParameterTypes(CallableStatement.java:709)
at com.mysql.jdbc.CallableStatement.<init>(CallableStatement.java:513)
at com.mysql.jdbc.Connection.parseCallableStatement(Connection.java:4583)
at com.mysql.jdbc.Connection.prepareCall(Connection.java:4657)
at com.mysql.jdbc.Connection.prepareCall(Connection.java:4631)
at application.procedure.handler.execute(handler.java:189)
at com.goldhuman.account.storage.clearOnlineRecords(storage.java:849)
at protocol.AnnounceZoneid.Process(Unknown Source)
at com.goldhuman.IO.Protocol.Task.run(Unknown Source)
at com.goldhuman.Common.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
gauthd: 06 May 2009 03:30:50,588 INFO GAuthServer:? - zone 1 aid 1 announced.
Thanks
-
Re: PW 136 Server files for use with MySql
omg... wtf ? O.O
Odd.. very odd.. i don't know exactly what... but sure it's a probleme from java...
I never had this error so... i can't help you for it atm because i have no more details how to resolve it...
sry...
-
Re: PW 136 Server files for use with MySql
romulan, thanks for your help. i imported the database, changed the root password in mysql, and now the registration page accept any new account i am adding to it successfully. --at least no more error on registration page.
i have another problem, i can not login using pw client, which i played with pwi/pwe official servers.--patched to 1.4.0 now i think. where do i get 1.3.6 client to play with this? or do i just need to do anything else to login. i modified the server.list file and is able to pick my newly created server from the server list logon-screen but after enter username password, it goes into 40sec count and time out, i just can not login. i can ping the pwserver from any other computer within the same 192.168.0 network so networking is not a problem here.
it looks like my request never get to the pwserver at all because i did not get a wrong password/username error. it just time out connectiong to server. the strange thing is i can share files browse the server freely using network sharing folder.
i tried a fresh install of pw client 1.3.1 same result. timeout on login.
any help would be much appreciated.
thanks
-
Re: PW 136 Server files for use with MySql
works ok, i was trying to connect to an remote mysql coz i didnt wanted to use one localy and the user didnt had enought rights. im using now local mysql and everything works perfect
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
mihlub
romulan, thanks for your help. i imported the database, changed the root password in mysql, and now the registration page accept any new account i am adding to it successfully. --at least no more error on registration page.
i have another problem, i can not login using pw client, which i played with pwi/pwe official servers.--patched to 1.4.0 now i think. where do i get 1.3.6 client to play with this? or do i just need to do anything else to login. i modified the server.list file and is able to pick my newly created server from the server list logon-screen but after enter username password, it goes into 40sec count and time out, i just can not login. i can ping the pwserver from any other computer within the same 192.168.0 network so networking is not a problem here.
it looks like my request never get to the pwserver at all because i did not get a wrong password/username error. it just time out connectiong to server. the strange thing is i can share files browse the server freely using network sharing folder.
<i tried a fresh install of pw client 1.3.1 same result. timeout on login.>
any help would be much appreciated.
thanks
Odd...
Check this:
1. What do the console say ? (server side)
2. Do you have correctly added your pwserver IP in serverlist.txt ? (client side)
Example, (tab) = you must type a tab not spacebar.. :
Code:
PWSERVER(tab)29000:192.168.0.50(tab)1
3. Are you using a real linux machine or a vmware machine ? (because i think there is a little problem with network interfaces in vmware for pwserver..)
The sentence i have colored in blue is a little odd... Because it must be running :/:
-
Re: PW 136 Server files for use with MySql
thanks all for helping, especially romulan. i am finally got a working pwserver.
next tasks are:
- changing xp,sp, and gold rate, and quest item drop rate
- adding cubi to account
- changing stat point given on each level up.
- change cultivation requirement level, etc..
please let me know if anyone know where i can change those
-
thanks again
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
mihlub
thanks all for helping, especially romulan. i am finally got a working pwserver.
Glad to hear this :ott1:
next tasks are:
- changing xp,sp, and gold rate, and quest item drop rate
Go to /home/gamed/ and edit ptemplate.conf
- adding cubi to account
Click Here for setting up batgm0.8a to work with mysql. batgm is used to add cubi and make gm account.
- changing stat point given on each level up.
You can't.. And don't try it with iweb because you may crash up your characters...
- change cultivation requirement level, etc..
Why do you want to do this ? I don't know if it's possible...
please let me know if anyone know where i can change those
-
thanks again
:thumbup:Hehe
-
Re: PW 136 Server files for use with MySql
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
aladinsexy
Uhhh?? wtf? :?:
If you want to do your release.. plz don't post it in the beastie thread... Make a new thread with your release! thx....
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
Romulan
Uhhh?? wtf? :?:
If you want to do your release.. plz don't post it in the beastie thread... Make a new thread with your release! thx....
isn't it just beasties files, just reuploaded to rapishare ?
-
Re: PW 136 Server files for use with MySql
hi guys, I didnt relise so many of you are having problems with this as the install of it is so straight forward :huh: the main problem seems to be some are changing IPs and are missing out a few here and there, others are adding thier own java versions (there is 2 already preconfigured to run for this release, if you want to alter versions remember to alter both the authd and .profile files accordingly or you will have problems, also (this being my fault) set the permissions to the folders recursively (most are 777 but not in \etc\ which iirc is 755 (DONT DO the whole of /etc/ as you may kill your linux install :scared:) the files were compiled to be drag n dropped into a fresh linux (ubuntu preferred) install using an app like WinSCP and tidied up (doing recursive permissions etc..) using an app like Putty.. if you chose a version like redhat (fedora) or suse you have to do things that distro requires..
mega thankies goto Romulan :thumbup::thumbup: (I See you broke 200 :ott1:) for all his help for you guys as I'm very busy at home and work :sleep:
oh and PLEASE stop PMing me for help :sneaky2: as coming into RZ and finding my inbox full of "HEEELPPP" or "RE:PW NEED SERVER" etc.. is a bit annoying :$:
Mega regards to all..
B..
-
Re: PW 136 Server files for use with MySql
Tried a fresh install again on a fresh linux system using Fedora 9 too and still having the problems. It couldn't be any more fresher. I really wish I remembered how I got my PW server working before the db corruption. :?:
I'm getting the authd problem with the 'done' token error again. It seems that that lib-something.so file has major issues? This is why I hate Linux and Linux programs. It's so easy to break and so difficult and awkward to set up.
-
Re: PW 136 Server files for use with MySql
try using ubuntu server, its a LOT easier
-
Re: PW 136 Server files for use with MySql
Try windows! it's the best and the No-Working PW Server at all !! :lol: :lol:
Yes.. Ubuntu is the most easier to do a real linuxbox for a PW Server :):
Hmm..... beastie? How did you do SSL support for your iweb? I'm using the iweb from Sofag's Files but... some features of iweb requires SSL support for fully working..... I have tryied to redirect tomcat port (8080) to an apache2 ssl port (443) but i can't restart my web server...... it's very annoying :(: :(:
I'm needing your help for this.. plz :*:
-
Re: PW 136 Server files for use with MySql
when i installed ubuntu i typed in as root
Code:
apt-get install openssh ssh-server
thats if I remember right, basically my version is a mishmash of every version i could find, lol
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
beastie
when i installed ubuntu i typed in as root
Code:
apt-get install openssh ssh-server
thats if I remember right, basically my version is a mishmash of every version i could find, lol
Hmm... i already have OpenSSH :/:
I want to get SSL working for iweb... I have installed both of the two certificates in my browser but the error still when i want to try to open some features of iweb... (cricket (for logs), ...).
I think it's an error from the server and not from the browser. Probably a bad configuration of tomcat.. but i don't want to do a fresh install of tomcat now.
This is the old error of the no certs found :
HTTP Status 401 - no certs found.
type Status report
message no certs found.
description This request requires HTTP authentication (no certs found.).
Apache Tomcat/5.5.9
End.
I have tryied a lot of possibles URL :
http://pwserver:8080/iweb (it works! but some features like Cricket doesn't run because there is no ssl support activated in this case)
https://pwserver/iweb (ssl support unloaded in xampp because i want to test if tomcat did something..)
https://pwserver:8080/iweb (don't work....)
http://pwserver:8009/iweb (other port of tomcat i have found but... it show a Blank Page)
https://pwserver:8009/iweb (don't work too....)
Did you have any ideas for this problem of iweb? plz help me beastie for this if you can :(:
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
Romulan
oO did you have chmod 777 on .profile and start.sh files ?
If you need more help, i can help you ^^
I'm have same problem [ use SunVirtualBox+Ubuntu Server] with -bash
==================================================
12 packages can be updated.
5 updates are security updates.
Last login: Sun May 10 14:56:28 2009
: comando não encontrado
-bash: /root/.profile: line 24: erro de sintaxe: fim de arquivo inesperado
root@PerfectWorld:~# ./start.sh
-bash: ./start.sh: /bin/sh^M: interpretador inválido: Arquivo ou diretório inexistente
=================================================
What need modifier more ? Have followed all the steps. It is the eighth server that I try to do.
-
Re: PW 136 Server files for use with MySql
If you use VI / VIM you can easily reformat the files in Unix and remove the "^M" characters. I hear dos2linux helps too.
-
Re: PW 136 Server files for use with MySql
i want to change cultivation level to start on lvl49.. anything below that are so boring esp. cult. 29. how do skip them in this server?
-
Re: PW 136 Server files for use with MySql
Can i use this on coLinux? By replacing the old one which is using MSSQL?
-
Re: PW 136 Server files for use with MySql
Fixed. I downloaded the java (jdk) 1.6.0.13, installed it to /root/, changed all the usr/java/* references to root/jdk1.6.0_13 :D: I then replaced the gshop.data file with the original and it loaded up all fine. Does anyone have a gshop editor or guide to edit it without corrupting it and making it work?
Does anyone know how to edit the client (using 1.3.1 since 1.3.6 just won't work) to stop the animation of the mobs from decreasing the farther away they are and add a space after the colon before the text in the chat? (like "Test: Hi all!!!" instead of "Test:Hi all!!!")
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
segredu
I'm have same problem [ use SunVirtualBox+Ubuntu Server] with -bash
==================================================
12 packages can be updated.
5 updates are security updates.
Last login: Sun May 10 14:56:28 2009
: comando não encontrado
-bash: /root/.profile: line 24: erro de sintaxe: fim de arquivo inesperado
root@PerfectWorld:~# ./start.sh
-bash: ./start.sh: /bin/sh^M: interpretador inválido: Arquivo ou diretório inexistente
=================================================
What need modifier more ? Have followed all the steps. It is the eighth server that I try to do.
Well, I install new UbuntuServer in VirtualBox and put all files, but....
"-bash: /root/.profile: line 24: erro de sintaxe: fim de arquivo inesperado"
I use "nano .profile" for edit, re-edit, check, etc... saved and reboot linux, but error persist. :<:
and what files have to change with CHMOD command ? 775 or 777 ?
Obs.: I already tried the other version made and works well with "Ubuntu 8.04 Server VMware Image by Beastie". But I don't like VMware.
-
1 Attachment(s)
PW 1.36 WORKING... but not login
Working... :w00t:
...but don't login :<: I'm using the same MY Client 1.3.1 b2265 in VMware and work fine.
This log is from SunVirtual Ubuntu Server 9.04 + Beastie 1.36 files.
:grr: I need update client ? Where files i use ?
Files modified IP or other:
/etc/iweb.conf
/etc/GMserver.conf
/etc/table.xml
/PWServer/gamed/gmserver.conf
/PWServer/gamed/gs-rollback.conf
/PWServer/gamedbd/cashstat.conf
/PWServer/gamedbd/gamesys.conf
/PWServer/gacd/gamesys.conf
/PWServer/gdeliveryd/gamesys.conf
/PWServer/gfactiond/gamesys.conf
/PWServer/glinkd/gamesys.conf
/PWServer/uniquenamed/gamesys.conf
/PWServer/logservice/logservice.conf
and I use chmod 777 in LOG's files
Code:
Stop server complete
root@perfectworld:~# clear
root@perfectworld:~# ./start.sh
=== XAMPP ===
XAMPP: Starting Apache with SSL (and PHP5)...
Apache Started === DONE ==
XAMPP: Starting MySQL...
MySQL Started === DONE ==
=== Jakarta Tomcat ===
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
Iweb Started === DONE ==
=== LOGSERVICE ===
info : program started with 6 threads.
=== DONE! ===
=== UNIQUENAMED ===
info : program started with 8 threads.
info : logclient: OnAddSession
=== DONE! ===
=== AUTH ===
java.net.BindException: Cannot assign requested address
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at com.goldhuman.IO.PassiveIO.Open(Unknown Source)
at com.goldhuman.IO.Protocol.Protocol.Server(Unknown Source)
at authd.main(Unknown Source)
authd:: add PollIO task.
=== DONE! ===
=== GAMEDBD ===
info : Begin import clsconfig ...
info : ClsConfig Imported .
info : InitGameDB, Role delete time is 604800.
info : InitGameDB, acquire region(id=1),[l=-100000.0,r=100000.0,t=100000.0,b=-100000.0].
info : Init GameDB successfully.
TRACE : init SellDataImage. maxSellID=0,rolenum=0
info : program started with 18 threads.
info : logclient: OnAddSession
=== DONE! ===
=== GACD ===
info : program started with 1 threads.
=== DONE! ===
=== GFACTIOND ===
info : program started with 1 threads.
info : logclient: OnAddSession
=== DONE! ===
=== GDELIVERYD ===
TRACE : gdeliveryd::Max player allowed is 6000
info : program started with 1 threads.
info : logclient: OnAddSession
=== DONE! ===
=== GLINKD ===
info : info : program started with 1 threads.
info : logclient: OnAddSession
info : program started with 1 threads.
info : info : program started with 1 threads.
info : logclient: OnAddSession
program started with 1 threads.
info : logclient: OnAddSession
logclient: OnAddSession
=== DONE! ===
=== MAIN WORLD ===
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
info : logclient: OnAddSession
info : program started with 8 threads.
TRACE : checkpoint begin.
TRACE : checkpoint end.
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
TRACE : checkpoint begin.
TRACE : checkpoint end.
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
=== DONE! ===
=== OTHER WORLD ===
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
info : logclient: OnAddSession
info : program started with 8 threads.
=== ARENA1 DONE! ===
TRACE : checkpoint begin.
TRACE : checkpoint end.
=== ARENA2 DONE! ===
TRACE : checkpoint begin.
TRACE : checkpoint end.
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
=== ARENA3 DONE! ===
info : logclient: OnAddSession
info : program started with 8 threads.
=== ARENA4 DONE! ===
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
=== Valley of Disaster / Disaster Valley DONE! ===
===============================================================
= ALL INSTANCES LOADED =
= SERVERS ARE UP AND RUNNING! =
===============================================================
TRACE : checkpoint begin.
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
TRACE : checkpoint end.
info : logclienttcp: OnAbortSession
TRACE : checkpoint begin.
root@perfectworld:~# info : logclienttcp: OnAbortSession
TRACE : checkpoint end.TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
info : logclienttcp: OnAbortSession
err : gdelivery:: connect GameDB failed
TRACE : gdelivery::gfactionclient: connect server failed. reconnecting...
err : gdelivery::connect to GAuth server failed. Reconnecting....
TRACE : ganticheatclient:: connect to GACD failed!
info : logclienttcp: OnAbortSession
info : logclienttcp: OnAbortSession
info : logclienttcp: OnAbortSession
info : logclienttcp: OnAbortSession
err : glinkd::Connect to delivery failed.
err : glinkd::Connect to delivery failed.
err : glinkd::Connect to delivery failed.
err : glinkd::Connect to delivery failed.
info : logclienttcp: OnAbortSession
TRACE : checkpoint begin.
Killed
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
info : logclienttcp: OnAbortSession
TRACE : checkpoint end.
./authd: 9: Syntax error: "done" unexpected
info : logclient: OnAddSession
info : program started with 8 threads.
TRACE : checkpoint begin.
TRACE : checkpoint end.
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
info : logclient: OnAddSession
info : program started with 8 threads.
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
info : logclient: OnAddSession
info : program started with 8 threads.
TRACE : checkpoint begin.
TRACE : checkpoint end.
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
info : logclienttcp: OnAbortSession
TRACE : checkpoint begin.
TRACE : checkpoint end.
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
info : logclienttcp: OnAbortSession
TRACE : gdeliveryserver::statusannounce,online=0,fakemax=6000,load=0,attr=268435456
TRACE : checkpoint begin.
TRACE : checkpoint end.
-
Re: PW 136 Server files for use with MySql
[storage]
homedir = /dbf/dbhome
datadir = dbdata
logdir = dblogs
backupdir = /dbf/backup
[storagewdb]
homedir = /dbf/dbhomewdb
datadir = dbdata
logdir = dblogs
backupdir = /dbf/backup
Please teach whether the file of what role is put on the above-mentioned folder respectively.
sorry bad english.
-
Re: PW 1.36 WORKING... but not login
sorry miss wright
want delete post
-
Re: PW 1.36 WORKING... but not login
Quote:
Originally Posted by
boomboom
Was the GRANT command of the data base done?
sorry, but do not understand. What with GRANT command?
:huh:
-> VMware Image 1.31 from Beastie, work fine
-> Files 1.36 from Beastie, error in LINK Server/Client, but all ok.
-
Re: PW 136 Server files for use with MySql
Quote:
Originally Posted by
Romulan
yea,
Check all !
Probably an issue with gauth can't connect to the mysql server and can't get the password and login from the dbo...
You may check: hosts (for ip), table.xml (for dbserver (mysql), login and password, look what i have wrote for the problem of milhub... your answer is there), check authd file again for any problem with java path.....
And I thought this would happen only to the files for MSSQL.. but its still the same on mysql files...
Yes, it might be due to hosts or table.xml, but i think there is others which maybe i miss out... maybe the java path, cos since i already tried upload a new version of the java... could be the authd... but path was correct cos i just overwrite the old folder ... ... ... .. any other suggestion...