http://img443.imageshack.us/img443/6484/2210v.jpg
Printable View
Yeah, you're right, kotforum :rolleyes:
Do what? He says, that this guide contains core 1.4.2.
I can not log in as root pwAdmin What can I do? :/:
PHP Code:<%@page import="java.io.*"%>
<%
// pwadmin access password as md5 encrypted string
// default password is root -> 63a9f0ea7bb98050796b649e85481845
String iweb_password = "63a9f0ea7bb98050796b649e85481845";
// connection settings to the mysql pw database
String db_host = "localhost";
String db_port = "3306";
String db_user = "root";
String db_password = "marcelo";
String db_database = "pw";
//----------------------------- END SETTINGS
String iweb_password is failed -> passwd: marcelo > String iweb_password in md5 > 995bf053c4694e1e353cfd42b94e4447
I tried that. I Can create account by pwAdmin But Can not login: (
as ussar phpmyadmin to see the db?
mine was different from marcelo
i can login to pwAdmin but mysql database can connect when i try to register ID, i already import dbase from /PWServer/.setup/pwdb.sql
Spoiler:
here configuration at .pwadminconf.jsp
Spoiler:
.pwconf.confSpoiler:
FIX it, just my bad, i should not import dbsae sql from adminer @_@
Navicat don't corrupts the accounts passwords when importing from a mysql dump to the database...
Adminer and Phpmyadmin corrupts the passwords...
Link for Navicat: http://www.navicat.com/en/download/download.html
And you can choose the free version...
need help please...
I've downloaded PWServer.tar.bz2 4 times and always failed...
http://img35.imageshack.us/img35/163/erroral.jpg
thx guys, everything is ok now, i just forget to use the command: COMMAND~: mysql -u root -pPASSWORD -h localhost pw < /PWServer/.setup/pwdb.sql and, like what romulan says, importing dump sql from adminer was buging.
iam testing this guide with ubuntu, and i thing it fully working with ubuntu, good work ronny :thumbup:
stuck here...
Spoiler:
where is the link??Quote:
At the top of the page is a link to pwAdmin and adminer. pwAdmin is the pw-server web administration interface, adminer is a php based mysql administration interface.
Click pwAdmin
Spoiler:
what should i do with this???
I've edited "/etc/tomcat6/tomcat-users.xml" but, after i entered the ID and pass it still prompt me for ID and pass..
you didn't follow the guide exactly (debian net-install without any package), you have another web application server running (tomcat 6) and there is a conflict with the web application server delivered with the server files (jetty 7) because both listen to port 8080...
Can I have your old post of this Server ronny? U've updated and remove the MD5 password guide. Can I have that included?
Because, I tried this new guides without setting the MD5, the generated code of my password, the server cant get to connect to MySQL database causing cannot login in the game. I can see that on my pwAdmin on the accounts tab "Connection to MySQL Database Failed" and on the server configuration tab it says "Users: 0 / -1"
Or is there any other way to solve that? :/:
oh..
sorry, i didn't notice that...
i've removed tomcat6 and showed pwAdmin...
I'm really sorry for posting useless post because of my mistake... X(
---------- Post added at 11:36 AM ---------- Previous post was at 10:39 AM ----------
sorry...
I have another problem...
4 services won't work...
hot to solve it??
I have checked it here, http://forum.ragezone.com/f452/vbox-...ml#post5625760
but no answer replied to that post..
so i'll try to ask at this thread...
here's my SS..
Spoiler:
i got item with id 28641 Generals Summer's Token
what is this for? :blushing:
it says : "A token signed with General Summer's blood. You can use it to command the soldiers of Archosaur.
Given by General Summer.
If you have enough Medals of Glory, you can use it to exchange for Rank IX gears from the Commander-in-chief"" then i go to commander-in-chieft, no quest for it 0.0
------------------------------------------------------------------
BTW i added some NPC to your NPCGEN.DATA (Mobs for WB and Celestial Messanger and other's)
Here you go, I had the same trouble, just use this line and change the "MD5 PASSWORD" like ronny had it.:8:
Thank you ronny for the awesome guide.
COMMAND~: sed s/iweb_password\ =\ \"63a9f0ea7bb98050796b649e85481845\"/iweb_password\ =\ \"MD5_PASSWORD\"/g /PWServer/jetty-7.1.6/webapps/pwAdmin/WEB-INF/.pwadminconf.jsp.01 > /PWServer/jetty-7.1.6/webapps/pwAdmin/WEB-INF/.pwadminconf.jsp
I need help! jetty will not start (
See log ...
Spoiler:
Nice Mate Looks Good
:scared::scared:Spoiler:
At colinux(debian lenny) possible to establish jetty?
ip colinux = 10.0.2.15
do i have to use Debian 5.x to install the servers and stuff or can I use Ubuntu or any other linux?
Debian/Ubuntu... it's the same and the most easier to use.
Thanks Ronny excellenet work ..but i am having problem if someone could help i am confused as to what client to use I used your client from codeplex but still cannnot get it to work
Great tut! helpful!
ronny i want to say thx for this, alot of the issues from the other server(vbox) were fixed in this one.
i have a issue tho when in if config ipaddress summask up it allows the server to come up then 5 min later the eth0 dont have a ip address. im useing vmware on this one. any ideals
its debian, and it was working but then i went to this girls house for a week came back and it was doing this. this isnt on the web or outside of this pc so donno
also i cant get to the interface setting i can do the ifconfig but not the bash etc/interfaces
/etc/network/interfaces (network configuration file)
/etc/init.d/networking restart (restart network and load network config)
Simple as that :mellow:
Wich Debian version? It should works i think... :mellow:
Pictures at bottom
its debian 5.x and the interfaces is ect/networking/interfaces but it says the file ant there but thru winsch i find it and it reads
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
this might be also why i can access it from any pc in the house but not over the web
29000,80,443,8008,8080 ports are forwarded
static nat pointed at 192.168.0.50
dynamic dns set up in router also
http://i429.photobucket.com/albums/q...at3/debian.jpg
http://i429.photobucket.com/albums/q...at3/winsch.jpg
http://i429.photobucket.com/albums/qq15/p1rat3/dns.jpg
http://i429.photobucket.com/albums/q...gameserver.jpg
http://i429.photobucket.com/albums/qq15/p1rat3/http.jpg
http://i429.photobucket.com/albums/q...rat3/https.jpg
It's ETC not ECT :glare:
nano /etc/network/interfaces
---- edit config ----
/etc/init.d/networking restart
Then tada! You can acces your server with the new IP you entered...
/etc/network/interfaces
Code:# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.50
netmask 255.255.255.0
gateway 192.168.0.1
network 192.168.0.0
broadcast 192.168.0.255
But it works... :$: :ehh:Quote:
Originally Posted by YouGetSignal.com
i got it working it was a combo of my screen saver kiling the gen. host and me loging on the pc that is hosting the server. thax for all your guyses help OOPS posted with brothers account
ronny pls just tell me whats with that COMMAND~:apt-get update
thats all what i wanna know :(
Thanks for an excellent guide! I followed it and set up everything and it seems working.
But please guys, give some response to this:
As i am having exactly the same problem. I can connect to my server, everything is showing as online, i made an account without problems, but i have no idea how to start the client.
I followed the guide on PWI Downgrade Files below Documentation section, it took some time for this Patch to modify the files, but as I noticed later, it removed launcher and patcher folders completely. Now when i try to start elementclient.exe, just an error pops up saying "Please start game from launcher.exe"
What i am doing wrong?
My server is up and running, but i cant get to play on it.
Thanks!
you know the site of PWI Downgrade Files ? sPATCH
Ty for response fgru.
I found where my fault was. It's all my bad english. By browsing a little more, i got to http://forum.ragezone.com/f452/launc...ngrade-700987/ and http://forum.ragezone.com/f452/clien...7/#post5933810
It was all the help I needed.
Thanks again for doing a great job! :8:
i tested the server on ubuntu desktop and server edition and both worked great
---------- Post added at 10:44 AM ---------- Previous post was at 10:09 AM ----------
i dunno if this would help people better understand howto setup a server or not but i was thinking about starting a video tutorial on how to setup ronnys server step by step from installation of linux to the very end result i think it would be a great edition to the ragezone forums ill just upload the videos to a filehost and people can download them to learn let me know what you all think and get back to me on it then i will probably do it if i get enough feed back from everyones opinion's on it
My opinion on that is... there are already enough people that barely understand how Linux and all of its daemons 'work'
If they can't understand the text guide they probably should not be doing this, it is after all not that hard to figure out 'how' Linux works
Main reason behind this, stop people that have no idea how to run a server from running one, and to prevent a lot of vulnerable servers to open up and then come back here complaining they got 'hacked'
I mean really when I first tried making a pw server I had no idea how the actual pw server files etc worked, I knew the game well because I have been playing it for quite some time but it truly wasn't that hard to get it working after I messed with it a bit (having run linux servers for 10 years probably did /help/ a lot there but realistically like I have said earlier it isnt hard)
Anyway, long post is long
i know just figuring id help in some way cause u know even with ronny's server setup here people are still having troubles so i figured maybe with a video tutorial and then seing exactly what is being done would help alot
Is it more or less possible to upgrade mah server to ronnys server by just replacing the whole gamed folder with ronnys files ? Its more the question if he changed anything else.
---------- Post added at 06:07 PM ---------- Previous post was at 05:40 PM ----------
Is it more or less possible to upgrade mah server to ronnys server by just replacing the whole gamed folder with ronnys files ? Its more the question if he changed anything else.
sure its possible im sure all u do is what u just said replace the gamed folder make sure u change all the ips in the config files to your server ip
missing chmod permissions on the folder? :mellow:
Only gs01 failed? You corrupted your npcgen.data ? :mellow:
does this come with a registration page or is that something i got to make?
also i notice there isnt any 79 or 100 skillz is there a way to put these in or are the MIA
No you can use 64 bit...
apt-get install ia32-libs...
Unlike Windows and Mac, Linux does not come with 32 bit libraries in a default 64 bit install, why? It is wasted space if you don't need them and there are times where they are entirely useless seeing as how the package manager always gets the correct architecture automagically for you...
thanks for advice;) i prolly have some really stupid mistake maded while installed libraries ... so gotta look into it.
btw bit offtopic but does the xml editing works for this pwadmin.. wondered coz i didnt saw any such options like in earlier releases. :( or maybe it didnt showed up coz my chars wasnt able to log neither save anything into db
XLM Editor work's for all PW Admin, at this ronny's guide, you only need to follow his instruction.
Hi..Ok I got all working here but when I run the server I get this:
Ronnys "1.4.2" Server on Ubuntu 10.10 vBox Image
Yes I have done the folder PWServer to 755Code:Logservice ./logservice 0 Offline
Auth Daemon ./authd 1 Online
Unique Name Daemon ./uniquenamed 11 Online
Game Anti-Cheat Daemon ./gacd 0 Offline
Faction Daemon ./gfactiond 0 Offline
Game Delivery Daemon ./gdeliveryd 1 Online
Game Link Daemon ./glinkd 1 Online
Game Database Daemon ./gamedbd 21 Online
Map Service ./gs 0 Offline
Any ideas ?
Logservice ./logservice 0 Offline
Auth Daemon ./authd 1 Online
Unique Name Daemon ./uniquenamed 11 Online
Game Anti-Cheat Daemon ./gacd 0 Offline
Faction Daemon ./gfactiond 0 Offline
Game Delivery Daemon ./gdeliveryd 1 Online
Game Link Daemon ./glinkd 1 Online
Game Database Daemon ./gamedbd 21 Online
Map Service ./gs 0 Offline
I had that issues to, donno how to fix it but what i did was use my vista pc with vmware and redid the whole thing step for step and it can out good.Also if u cant get it you my try this http://forum.ragezone.com/f452/ronny...u-10-a-703763/
Ty but thats what im using as all my passed linux messing is with ubuntu :)
Q7. Why doesn't this work/error code 12345/random screenshot of something not working
A7a: Help us help you, most of the people here do want to try and help you we just need information to properly diagnose what is wrong, if it is for certain a client issue post all your logs from elements\logs
If it is a server issue post your config files (minus the passwords of course) and output from the actual server daemons, you have no idea how much this helps
Great thanx for the help id love to help you help me if only I knew :blink: im a windows man myself an also new to PWServers all I did is whats in the release thread.
1. Downloaded a vbox image & imported it to vbox
2. Updated the IP settings as told to do so from the thread
3. Reboot & Run
The thread link is about if that helps im guessing not, it was a vbox image ready to go on an system I have played with before (to good to pass).
Dont worry to much tho im guessing your not, i'll start fresh from this guide an get it working im sure just liked the idea of ubuntu..
btw - false thread - try this > Ronnys "1.4.2" Server on Ubuntu 10.10 vBox Image - supporter is Zorno
fresh install > i cannot enter world_servers / instance_servers [ unable to enter instance ... ] - Lv 150 | fairy 3 | GM status [ but without all also unable ... ]
gs.log
Spoiler:
? noone has the same ? i think this is impossible ...
Ronny, first let me say your guide was by far the easiest server guide out there. Server was up and running with very little effort. :thumbup:
I had a question and a problem thought. My question is, can fashion items be added to your inventory from pwAdmin Character editor, or would I need to use the GetItem plugin to add them? I tried to load GetItem and CubiShop, I can log into both of them, but after logging in, they both look like the attached screenshot. Do they need to be configured before use?
@fgru
Something corrupted in your gs.conf. Check it!Code:Create MsgReceiver failed,address:MsgReceiverTCP_gs01
@RazorChrist
Your pwserver must be online to use those features...
how to implement the patcher for it? :( coz the port 80 is closed anyway by firewall. should i use xampp?
and one more thing... how would i be able to have public registration for it? so i dont need to register every my friend account manually?:w00t:
i forgot to add "index.php" to jetty-7.2.0 welcome file list in latest release...
jetty/etc/webdefault.xml
Code:<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.php</welcome-file>
</welcome-file-list>
yes - ive wondered :D
btw: 100% work :)
Hey everyone :)
Great topic I'm having trouble downloading the PWServer.tar.bz2 file, it got to around 98% then stopped.
Are there any mirrors of the file please?
isolice
PWServer.tar.bz2 <--Non direct link
Or
http://dl.dropbox.com/u/1178264/PWServer.tar.bz2 <--Direct Link for use with wget
Currently i'm working on a server + client release and the corresponding guide...
In this thread i wanna create a workspace for developement and testing, i'll update the guide and files constantly until they are in a stable state and then i'll release them in an extra thread...
Requirements
- A computer with non-changing ip address
- Internet connection for this computer
- Basic linux skills
1. Install Debian 5.x
You can skip this if Debian is already installed (i.e. vServer)
Internet access is required
- Download Debian 5.x netinstall and burn image to CD
- Boot your PC from CD
- Most of the installation process should be self explaining
- As file system i've selected ext2, if you plan to handle a large amount of small files you should choose a journaling file system i.e. ReiserFS
- When the installer ask for package selection deselect all packages, we will install everything on our own
- After installation is complete, remove CD and reboot
- Login as root with the root password that you had set during installation
- First we update the source list
COMMAND~: apt-get update- Now we install the first package, the SSH server that will allow you remote access
COMMAND~: apt-get install openssh-server- The server files used in this guide are bzip2 compressed, bzip2 is required to decompress the files
COMMAND~: apt-get install bzip2
2. Install Kernel
The generic kernel when installing Debian uses ~150 MB RAM, so we going to install a server kernel with a memory footprint of ~40 MB.
If you have enough RAM you can skip this.
SKIP THIS IF YOUR MACHINE IS A VSERVER !!!
- Figure out which kernel you use i.e. linux-image-2.6.26-2-686
COMMAND~: uname -r- Now view a list of available kernel images
COMMAND~: apt-get install linux-image- Select one of the vserver kernels that fits with your system (amd64, 686,...)
If you have a 32 Bit system you should install an image with PAE extension to use more than 4GB RAM i.e. linux-image-2.6.26-2-vserver-686-bigmem
COMMAND~: apt-get install linux-image-2.6.26-2-vserver-686-bigmem- At least you can remove the current kernel if you want to...
During uninstallation you'll be ask if you really wanna remove the kernel that is currently in use, select no to continue uninstallation
COMMAND~: apt-get autoremove linux-image-2.6.26-2-686
3. Install PW-Server Files
- Change to the root directory
COMMAND~: cd /- Download the server files (host address may change in future)
COMMAND~: wget http://dl.dropbox.com/u/13040933/PWServer.tar.bz2- Extract the files
COMMAND~: tar -xf PWServer.tar.bz2- Now delete the downloaded archive (or keep it if you want)
COMMAND~: rm -f PWServer.tar.bz2- Set permissions of the pw-server files to 0755
COMMAND~: chmod -R 0755 /PWServer- Next we have to change all host ip addresses in the pw-server configuration files
- First we check for the current host ip in the server files, in our example lets say 192.168.0.50
COMMAND~: cat /PWServer/glinkd/gamesys.conf | grep address- Now lets check which host ip your machine has, in our example 81.30.158.174
COMMAND~: ifconfig | grep "inet addr"- Allright, time to replace all old host ip's with the ip of your machine.
Replace the OLD-IP in the following commands with the ip from the server files (i.e. 192.168.0.50)
Replace the NEW-IP in the following commands with the ip of your host machine (i.e. 81.30.158.174)
COMMAND~: sed s/OLD-IP/NEW-IP/g /PWServer/glinkd/gamesys.conf > /PWServer/glinkd/gamesys.conf.new
COMMAND~: mv -f /PWServer/glinkd/gamesys.conf.new /PWServer/glinkd/gamesys.conf
4. Install Libraries
- Java Runtime Environment is required for the PW Java API (used by authd and pwAdmin)
COMMAND~: apt-get install openjdk-6-jre- For 64 Bit Debian
Install ia32 libs and copy some required libraries not contained in ia32
COMMAND~: apt-get install ia32-libs
COMMAND~: cp -f /PWServer/.setup/lib/libstdc++.so.5.0.7 /lib32/libstdc++.so.5
COMMAND~: cp -f /PWServer/.setup/lib/libpcre.so.3.12.1 /lib32/libpcre.so.0
COMMAND~: cp -f /PWServer/.setup/lib/libtask.so /lib32/libtask.so- For 32 Bit Debian
Copy some required libraries
COMMAND~: cp -f /PWServer/.setup/lib/libstdc++.so.5.0.7 /usr/lib/libstdc++.so.5
COMMAND~: cp -f /PWServer/.setup/lib/libpcre.so.3.12.1 /usr/lib/libpcre.so.0
COMMAND~: cp -f /PWServer/.setup/lib/libtask.so /usr/lib/libtask.so
5. Install MySQL
- First install MySQL, during installation you'll be asked for a root password, remeber it!
COMMAND~: apt-get install mysql-server- After installation you can import the base table scheme.
Replace the PASSWORD in the following command with your mysql password
COMMAND~: mysql -uroot -pPASSWORD -h localhost < /PWServer/.setup/pwdb.sql- We have to replace the default mysql password in the pw-server files with your mysql password.
Replace the PASSWORD in the following commands with your mysql password
COMMAND~: sed s/password=\"root\"/password=\"PASSWORD\"/g /PWServer/authd/table.xml > /PWServer/authd/table.xml.new
COMMAND~: mv -f /PWServer/authd/table.xml.new /PWServer/authd/table.xml
6. Configure PW Web Administration (Jetty + pwAdmin)
For detailed information about pwAdmin read the online documentation
- The following will change the default mysql password to give pwAdmin access to your mysql database
Replace the PASSWORD in the following commands with your mysql
COMMAND~: sed s/db_password\ =\ \"root\"/db_password\ =\ \"PASSWORD\"/g /PWServer/jetty-7.2.0/webapps/pwAdmin/WEB-INF/.pwadminconf.jsp > /PWServer/jetty-7.2.0/webapps/pwAdmin/WEB-INF/.pwadminconf.jsp.new
COMMAND~: mv -f /PWServer/jetty-7.2.0/webapps/pwAdmin/WEB-INF/.pwadminconf.jsp.new /PWServer/jetty-7.2.0/webapps/pwAdmin/WEB-INF/.pwadminconf.jsp
7. Autostart Jetty Web Application Server
The document root of jetty is located in /PWServer/jetty-7.2.0/webapps/ROOT
For more infromation on the jetty web application server read the online documentation
- Jetty uses a PHP servlet, so we need to install php-cgi
COMMAND~: apt-get install php5-cgi php5-mysql- It's really useful to start the webserver with system boot, we install an init script and register it to the startup runlevels
COMMAND~: cp /PWServer/.setup/jetty /etc/init.d/jetty
COMMAND~: update-rc.d jetty defaults
8. Autostart Basic Firewall
- This will install a basic firewall which has incoming ports open on 22(SSH), 8080(HTTP-ALT) and 29000(Perfect World)
COMMAND~: cp /PWServer/.setup/firewall /etc/init.d/firewall
COMMAND~: update-rc.d firewall defaults
9. Finalize
- You have reached the end of the server guide, it's time to restart your machine
COMMAND~: reboot- You can now open a Web Browser on a remote PC and loading the start page of the server that should show a phpinfo() page if everything is correct
Replace the SERVER-IP in the following command with your server ip
http://SERVER-IP:8080- At the top of the page is a link to pwAdmin and adminer. pwAdmin is the pw-server web administration interface, adminer is a php based mysql administration interface.
Click pwAdmin- The default password for pwAdmin is "root", but pwAdmin demands to enter a new password, so on the first login enter the password you wanna use (hint: the password will be stored md5 encoded in "WEB-INF/.pwadminconf.jsp" just in case you wanna change it somtime)
- On the account tab you can create a new account
- On the server control tab you can start the server
- Use a client patched with pwd.codeplex.com... guide for client will coming later
- have fun...
Will be updated recently...
Great stuff thank you!
I did use the search topic bit, but I couldn't find any :)
Again, Thank You!
isolice.
guide and files have been updated, new mirror shouldn't have that much downtimes (my download server crashes many times, because pw break the memory limit)...
Hi ronny follow the steps in your guide the server installed and I can up the maps ,... but when I try log in server with PWDClient not let me I get what you see in these images
ImageShack: Host and Share your Photos and Videos - mira1.jpg
ImageShack: Host and Share your Photos and Videos - mira2.jpg
support client ?
Solved! TVM Romulan.
I have another prob.. when i craft nirvana gears they have a different amount of options and only use de crystal dont need HH ekip O.o
Yfrog Photo : yfrog.com/16mira3j
Another thing , testing the lvl 20 for wf when I ask for the mission i cant activate with the tablet , so when you hang up or do not get exp or rep or bloods (used for crafting molds).-
http://yfrog.com/nbmira4qj
Were i can set the time in UTC-5
Some1 can help me
Call to Duty: Only Squad leaders can start quest...
why you get 1.4.2 in your client with PWD, it should be 1.3.6?
Ahh ok(about nirvanas gear)..
Im using the ronnys files and the bonus rep is 80 -...
Im using a fresh download client (PWI) with your patch (PWD)Quote:
Call to Duty: Only Squad leaders can start quest...
why you get 1.4.2 in your client with PWD, it should be 1.3.6?
Aboyt nirvanas why i only need the crystals but no the Holly Hall gear broken (?)
best guide ever.. :thumbup::thumbup:
i've done create my own server...
thanks a lot ronny.. :thumbup::thumbup:
Hi again have a problem with HARD apparently , i mount the server in a PC with 8 GB of RAM, but the game server only takes 2 Gb, there is some file to be modified to use more RAM, because whit 2 GB ,I can not up all maps.
Thanks
Another 1 are the arena maps y cant pass to the battle zone or leave using the portals same at Misty CIty O.O
ImageShack: Host and Share your Photos and Videos - tsbug.jpg
ImageShack: Host and Share your Photos and Videos - arenabg.png
Thankyou ronny for this great guide!
First time try an worked first time.
-MaX