Hi Guys, it seems like a load of you are having issues with databases, java versions and whatnot and after hours seeing the fruits of your labour crashing and burning and after many hours of trying is very downheartening (been there got tee-shirt etc..)
So I release this Image created on VMware Workstation 6.5.1 which has the following installed..
* Java 1.6.0_12 JDK
* Lampp 1.6.8a (which has Apache 2 and MySql 5 installed)
* Perfect World Server files 1.3.6 (version changed to 131 to use on 131 clients)
* Jakarta tomcat 5.5.9 (im sure this works as its accessable with http:/192.168.0.51:8080) but iweb doesn't function correctly
* SSH & OpenSSH server (so you can access the server using putty and WinSCP for ease of use)
also included in the archive is a matching elements.data (by tekk) and gshop.data file, just extract them to your perfect world install directory in elements/data/
The IP of this server is 192.168.0.51 to access the registration page enter
http://192.168.0.51/register/
to start the server there is 2 files
* start.sh (this will start a FULL server including all dungeons etc.. if you dont have the RAM I wouldnt run this as it may crash your comp at worst)
* start_minimal.sh (as it says, its a minimal startup, no dungeons but will start lampp and jakarta)
I've set the image to 2GB RAM 1 CPU, please adjust accordingly to your spec (mine originally was 5GB RAM 2CPU as I have a dualcore CPU and 8GB RAM)
All I ask that if you spread this release, please credit it to me :thumbup: and please feel free to rip bits out and add bits in if you feel confident (just remember to have a backup)
Remember, if you learn how to fix the iweb and any other bits in this release POST IT dont just leech and keep quiet :thumbdown:, I did this so we all could learn :wink:
So Enjoy :thumbup:
User = root, pass = root for both bash and phpmyadmin (
http://192.168.0.51/phpmyadmin)
Beastie...
SERVER FIX **IMPORTANT**
:thumbup: Big thanks to xypher of mmorpg dev :thumbup:
DOWNLOAD HERE -->>
http://www.megaupload.com/?d=8YY5BMKM <<--
SERVER IMAGE
linky --->>>
http://www.megaupload.com/?d=PFPRL0NM <<<--- (1 part requires premium account)
or
Split parts (non premium account)
http://www.megaupload.com/?d=7LBODO4B * File joiner *
http://www.megaupload.com/?d=1QBHLEFQ * part 1 *
http://www.megaupload.com/?d=J2NXPPON * part 2 *
http://www.megaupload.com/?d=9ZQVL0UP * part 3 *
you will have to unrar part 1 (damn megaupload wouldn't let me upload it without error unrared)
CLIENT & PATCHES
Client can be found here as the official site is doing 1.3.9 only.. (Thanks to insane007 & IIMaxII)
Client:
http://www.ausgamers.com/files/details/html/31003
or
Client Torrent:
http://www.mininova.org/tor/1098176
PATCH 1:
http://rapidshare.com/files/20769910...Y-Patch2-6.zip
PATCH 2:
http://rapidshare.com/files/20771775...-Patch6-12.zip
PATCH 3:
http://rapidshare.com/files/20772503...Patch12-13.zip
Adding/Removing GMs and Adding CubiGold
Use the excellent BatGM v0.08a by adslpredator Originally found on MMORPG Dev
http://www.mmorpg-devs.com/forum/showthread.php?t=894
I reupped it so you dont have to register to DL it
http://www.megaupload.com/?d=WGXZPKUY
you will have to allow BatGM to Access the Mysql database so do the following..
In phpmyadmin (after you have logged in as root) select your database (dbo) then select the privileges tab, once you have done that select "open new phpmyadmin window"
once that opens you should see the user overview page
1. select add user
2. add the following..
USER = root
HOST = IP of the comp that has BATGM on it
PASSWORD = Your Password
Retype Password = Your Password
Ignore Generate Password
3. now select for Database for user Grant all privileges on wildcard name (username\_%)
4. select check all
5. hit go
that will give you access to the MySql database from BATGM. :thumbup:
Errors found so far..
* 1HP/MP bug
To fix, simply edit the following file by typing this..
Code:
nano /PWServer/gamed/gs.conf
and changing this line
to
save and reboot server
* eth0 doesn't start
Edit the following file by typing this..
Code:
nano /etc/udev/rules.d/70-persistent-net.rules
and change the line
Code:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:68:9e:a3", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
to
Code:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
and remove any line concerning eth1, once done, save and reboot server
To change SQL password
Code:
cd/opt/lampp/bin
./mysqladmin -u root -p password YOURNEWPASSWORD
it will ask for a password which you enter the old one which in this case it's
root
this new password will have an immediate effect so here are files to edit so PW still functions correctly..
/etc/tables.xml
change line
Code:
connection name="auth0" poolsize="3" url="jdbc:mysql://127.0.0.1/dbo?useUnicode=true&characterEncoding=utf8" username="root" password="root"/>
to
Code:
connection name="auth0" poolsize="3" url="jdbc:mysql://127.0.0.1/dbo?useUnicode=true&characterEncoding=utf8" username="root" password="YOURNEWPASSWORD"/>
/opt/lampp/htdocs/register/config.php
change line
Code:
$DBPassword = "root"; // Database password
to
Code:
$DBPassword = "YOURNEWPASSWORD"; // Database password
Also now you can access
http://192.168.0.51/phpmyadmin with the new password
Changing Root password
this is very easy, just type in the command whilst being logged in as root..
it will then ask you to type in a new unix password then ask again for you to type it in for verification..
oh and I dont do MSN support n stuff, any questions will have to go thru here sorry