Where would be a good guide on how to learn how to do that?
Printable View
Where would be a good guide on how to learn how to do that?
Okay, So basically aside of using the search button for a bunch of it (i really suggest that it will be helpful.) Here is a few links that i would find usefull if i was doing what you were.
Perfect World Ultimate Guide: By lvdrake
"[Wiki] Everything you will need...": By Vinute
There is a guide for porting models from other games (Such as jade dynasty i.e similar if not the same engines.) around and about both in the 1.4.4+ and 1.3.6- categories i would look there.
I appreciate you giving me some links to go by. Also I do use the search a lot for other problems and questions i come up with, and the problem is in this instance I really wouldn't know what to search for to find the right information. So again I do thank you for your assistance.
Also it wasn't so much porting from other games it was all just form PW just a later version of the client.
best thing i can say, do alittle reading. and search for keywords on your topic.
343, once again i come to you in my time of need
This is the situation: i rented a dedicated server for PW in which the closest OS that i can choose is Ubuntu 12.04.5 LTS (note the .5 at the end instead of .3)
I obviously couldn't run your script as it was because of the checkings and all, so i decided to run each of the steps manually in order to have more control, know what was the last step done if anything went wrong, and also to learn how all the procedure is made.
Note: I have already installed with no problems your pack (both 135 and 146 versions) with the script in a test server in which i could directly install the OS from your pack.
The only things i changed regarding the script:
-I downloaded the last version of xampp instead of the one that was on the pack.
-I used "apt-get install ia32-libs" because first i attempted to do the same as the script (dpkg -i *.deb) and it fucked up some dependencies and had to reinstall the whole OS.
-I didn't import the "support" DB to mysql as i will not be needing to use the provided hesk.
Everything else i did the same: copied all the folders and files to the correct directory, double checked everything, set IPs, etc.
Now when i start the server from pwAdmin, i get the status shown in the attached picture.
Now at first i wasn't to worried cause i expected a little bit of hassle, but after two straight days of testing, searching, trying, thinking, every possible solution/idea that crossed my mind or that i found, i am starting to get desperate.
I won't even list all the things i tried/tested because i could be writing until tomorrow.
I know that you mentioned somewhere that you would not give support to installations in other distros/versions, but maybe you could point me in the right direction to where to look, or luckily something like this has happened to you before while building the pack.
Believe me that i didn't want to post for help for this reason, but im quite out of ideas.
Thanks
Attachment 151925
Edit: i forgot to mention that although "auth" is down, i can login with an account i created but then im stuck at the character creation screen, where the only enabled button is "exit".
Sweet, its been awhile since Im missing... 4months I guess.. Well, now that Im back, feel free to shoot some problems u guys going through, I'll help as much as I can do. So far @343 file hasnt failed me yet, and I have a stable server with 30+ players (not online though, my server only runs in my own Internet Cafe shop, so its not public). So yeah, feel free to ask. And its good to be back, finally.. lolz
P/S:- Oh yeah, just a reminder, Im only helping if u having problem running 343 package or error after installation using the original file and version provided by 343. If u are using other version such as different version of ubuntu or additional files and etc to the package or during installation and an error occurred after that, then u should probably dont bother asking me. What I can promise u is, if u are using the exact file from 343 package and asked for my help, I'll help u all the way until u and the server perfectly running without problem. XD
Spoiler:
I totally miss-read this entire thing at first. the problem with you "not being able to run the scripts" is actually false, while yes it may be a problem you can run the scripts on any version of ubuntu #.#.# LTS, this was answered i believe a page back however i will give you a hint as to install 343's scripts (i suggest a fresh install of everything!)
Hint
However if you have the same problem as i do (if you install on a version higher than 12.4.2 i believe or whatever is included in the package) your authd when starting up will appear offline. dont worry it is actually online make sure when starting you have both the world map and astral domain open.Code:./install-pw --force
Yes, i've been able to partially solve my issue (which includes a lot of fresh installs =P). I forgot to post here any news about it though.
And yes, i knew about the force install (and currently i ended up using it) but my initial approach was instead of "forcing" something that i don't really know what was doing (the script) i thought it was a better idea to do it manually and learn along the way.
I plan on explanining more in detail the different methods that i tried and how i got it "working" in the end, but now im short on time.
Thanks for the help
excuse me 343 can u add me ? ,
i want to talk with you about somethings , if you dont mind
This is just a general question about crontab I am using 343's release so that is why I put it here. Is there anything I typed wrong because a lot of my AA messages are not working and yes they are set properly to be executed.
Code:# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
0 */2 * * * root /etc/cron.pw/136/welcome.sh
00 0 * * * root /etc/cron.pw/guildicon.sh
00 0 * * 0 root /etc/cron.pw/tpr.sh
0 0 * * * root /etc/cron.pw/136/backup.sh
0 6 * * 1 root /etc/cron.pw/136/brokenbridge.sh
0 18 * * 1 root /etc/cron.pw/136/brokenbridge.sh
0 6 * * 1 root /etc/cron.pw/136/hiddenhero.sh
0 18 * * 1 root /etc/cron.pw/136/hiddenhero.sh
0 6 * * 1 root /etc/cron.pw/136/bamboo.sh
0 18 * * 1 root /etc/cron.pw/136/bamboo.sh
0 8 * * 1 root /etc/cron.pw/136/silverpool.sh
0 20 * * 1 root /etc/cron.pw/136/silverpool.sh
0 8 * * 1 root /etc/cron.pw/136/sumor.sh
0 20 * * 1 root /etc/cron.pw/136/sumor.sh
0 8 * * 1 root /etc/cron.pw/136/arrowhead.sh
0 20 * * 1 root /etc/cron.pw/136/arrowhead.sh
0 8 * * 1 root /etc/cron.pw/136/tusktown.sh
0 20 * * 1 root /etc/cron.pw/136/tusktown.sh
0 10 * * 1 root /etc/cron.pw/136/sirrywine.sh
0 22 * * 1 root /etc/cron.pw/136/sirrywine.sh
0 10 * * 1 root /etc/cron.pw/136/naught.sh
0 22 * * 1 root /etc/cron.pw/136/naught.sh
0 10 * * 1 root /etc/cron.pw/136/northbarrier.sh
0 22 * * 1 root /etc/cron.pw/136/northbarrier.sh
0 6 * * 5 root /etc/cron.pw/136/timber.sh
0 18 * * 5 root /etc/cron.pw/136/timber.sh
0 6 * * 5 root /etc/cron.pw/136/wellspring.sh
0 18 * * 5 root /etc/cron.pw/136/wellspring.sh
0 6 * * 5 root /etc/cron.pw/136/vibrantcliffs.sh
0 18 * * 5 root /etc/cron.pw/136/vibrantcliffs.sh
0 8 * * 5 root /etc/cron.pw/136/tradewind.sh
0 20 * * 5 root /etc/cron.pw/136/tradewind.sh
0 8 * * 5 root /etc/cron.pw/136/sundown.sh
0 20 * * 5 root /etc/cron.pw/136/sundown.sh
0 8 * * 5 root /etc/cron.pw/136/arrivals.sh
0 20 * * 5 root /etc/cron.pw/136/arrivals.sh
0 8 * * 5 root /etc/cron.pw/136/whetstone.sh
0 20 * * 5 root /etc/cron.pw/136/whetstone.sh
0 10 * * 5 root /etc/cron.pw/136/immolation.sh
0 22 * * 5 root /etc/cron.pw/136/immolation.sh
0 10 * * 5 root /etc/cron.pw/136/villagelost.sh
0 22 * * 5 root /etc/cron.pw/136/villagelost.sh
0 10 * * 5 root /etc/cron.pw/136/southbarrier.sh
0 22 * * 5 root /etc/cron.pw/136/southbarrier.sh
0 20 * * 4 root /etc/cron.pw/136/adcwave1.sh
0 21 * * 4 root /etc/cron.pw/136/adcwave2.sh
0 22 * * 4 root /etc/cron.pw/136/adcwave3.sh
0 23 * * 4 root /etc/cron.pw/136/adcwave4.sh
0 24 * * 4 root /etc/cron.pw/136/adcwavefinal.sh
#
what is inside the shell scripts, do they each send a message to the game?
if that's the case looks like multiple commands are being sent at the same time, causing the issue!?
0 18 * * 1 root /etc/cron.pw/136/brokenbridge.sh does this work
0 6 * * 1 root /etc/cron.pw/136/hiddenhero.sh and this
0 18 * * 1 root /etc/cron.pw/136/hiddenhero.sh but not this
0 6 * * 1 root /etc/cron.pw/136/bamboo.sh and this?
no none of those announcement are working that is the problem. My backup script even didnt work.
whats in it is just a message saying the invasion is active
Code:<%@page contentType="text/html; charset=GBK"%>
<%@page import="java.lang.*"%>
<%@page import="java.util.*"%>
<%@page import="java.text.*"%>
<%@page import="org.apache.commons.lang.StringEscapeUtils"%>
<%@page import="protocol.*"%>
<%@page import="com.goldhuman.auth.*"%>
<%@page import="com.goldhuman.util.*"%>
<%@page import="org.apache.commons.logging.Log"%>
<%@page import="org.apache.commons.logging.LogFactory"%>
<%@page import="java.io.*"%>
<%@page import="java.sql.*"%>
<%
//
// Coded by [B]aSH from Vendetta Gaming Network.
//
String msg = "Wraiths have attacked Bamboo Village! Who will help defend them!?!";
try {
protocol.DeliveryDB.broadcast((byte)9,-1,msg);
}
catch (Exception e)
{
out.println("<font color=red>Error Attempting to Broadcast Message!</font>");
}
%>
<%
out.println("<font color=green>Successfully Sent Broadcast Message!</font>");
%>
that's java, it wants to be called from a webserver not shell....
you can call it via wget if you like
I thought I did it right because I copied the Welcome.sh for each one?
here is the code for the bamboo.sh
here is the code for bamboo.jspCode:#!/bin/sh
wget http://127.0.0.1:8080/pwAdmin136/AA/bamboo.jsp
rm *jsp*
and I posted my crontab earlier... and when I do a manual call it works but it doesnt call automatically at the set times. could it be that I have to space them apart by a few seconds?Code:<%@page contentType="text/html; charset=GBK"%>
<%@page import="java.lang.*"%>
<%@page import="java.util.*"%>
<%@page import="java.text.*"%>
<%@page import="org.apache.commons.lang.StringEscapeUtils"%>
<%@page import="protocol.*"%>
<%@page import="com.goldhuman.auth.*"%>
<%@page import="com.goldhuman.util.*"%>
<%@page import="org.apache.commons.logging.Log"%>
<%@page import="org.apache.commons.logging.LogFactory"%>
<%@page import="java.io.*"%>
<%@page import="java.sql.*"%>
<%
//
// Coded by [B]aSH from Vendetta Gaming Network.
//
String msg = "Wraiths have attacked Bamboo Village! Who will help defend them!?!";
try {
protocol.DeliveryDB.broadcast((byte)9,-1,msg);
}
catch (Exception e)
{
out.println("<font color=red>Error Attempting to Broadcast Message!</font>");
}
%>
<%
out.println("<font color=green>Successfully Sent Broadcast Message!</font>");
%>
After reading more on cron this is what I came up with from what was explained.
here is my edited crontab
Code:# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
#m h dom moy dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
0 */2 * * * root /etc/cron.pw/136/welcome.sh
00 0 * * * root /etc/cron.pw/guildicon.sh
00 0 * * 0 root /etc/cron.pw/tpr.sh
0 0 * * * root /etc/cron.pw/136/backup.sh
0 6 * * 1 root /etc/cron.pw/136/brokenbridge.sh && /etc/cron.pw/136/hiddenhero.sh && /etc/cron.pw/136/bamboo.sh
0 8 * * 1 root /etc/cron.pw/136/silverpool.sh && /etc/cron.pw/136/sumor.sh && /etc/cron.pw/136/arrowhead.sh && /etc/cron.pw/136/tusktown.sh
0 10 * * 1 root /etc/cron.pw/136/sirrywine.sh && /etc/cron.pw/136/naught.sh && /etc/cron.pw/136/northbarrier.sh
0 18 * * 1 root /etc/cron.pw/136/brokenbridge.sh && /etc/cron.pw/136/hiddenhero.sh && /etc/cron.pw/136/bamboo.sh
0 20 * * 1 root /etc/cron.pw/136/silverpool.sh && /etc/cron.pw/136/sumor.sh && /etc/cron.pw/136/arrowhead.sh && /etc/cron.pw/136/tusktown.sh
0 22 * * 1 root /etc/cron.pw/136/sirrywine.sh && /etc/cron.pw/136/naught.sh && /etc/cron.pw/136/northbarrier.sh
0 20 * * 4 root /etc/cron.pw/136/adcwave1.sh
0 21 * * 4 root /etc/cron.pw/136/adcwave2.sh
0 22 * * 4 root /etc/cron.pw/136/adcwave3.sh
0 23 * * 4 root /etc/cron.pw/136/adcwave4.sh
0 24 * * 4 root /etc/cron.pw/136/adcwavefinal.sh
0 6 * * 5 root /etc/cron.pw/136/timber.sh && /etc/cron.pw/136/wellspring.sh && /etc/cron.pw/136/vibrantcliffs.sh
0 8 * * 5 root /etc/cron.pw/136/tradewind.sh && /etc/cron.pw/136/sundown.sh && /etc/cron.pw/136/arrivals.sh && /etc/cron.pw/136/whetstone.sh
0 10 * * 5 root /etc/cron.pw/136/immolation.sh && /etc/cron.pw/136/villagelost.sh && /etc/cron.pw/136/southbarrier.sh
0 18 * * 5 root /etc/cron.pw/136/timber.sh && /etc/cron.pw/136/wellspring.sh && /etc/cron.pw/136/vibrantcliffs.sh
0 20 * * 5 root /etc/cron.pw/136/tradewind.sh && /etc/cron.pw/136/sundown.sh && /etc/cron.pw/136/arrivals.sh && /etc/cron.pw/136/whetstone.sh
0 22 * * 5 root /etc/cron.pw/136/immolation.sh && /etc/cron.pw/136/villagelost.sh && /etc/cron.pw/136/southbarrier.sh
#
Wonder if someone can help.. I have no issues w/ the server install... installed 136 then 151, all went smoothly. Connected to website, started server, created account via web, all nice.
I'm using the 1.5.1 client provided in the pack also. I have no real familiarity with the PW client, I just edited the serverlist.txt inside the patcher folder for it to let me connect to the server. It lets me connect, then I create character... ok, creation goes fine.
After creation, select character, hit start, and I get kicked out to login screen with 'could not connect to server (Y)' error.
WHAT IS CAUSING THIS?! I've reinstalled the server with NO extra bullshit steps in between... just straight clean install. I'm only trying to connect to a Virtualbox server, which I can connect to with no issues, using Host Only networking. Is there something I'm not doing right with the client?...
you will need to start the, starter map, is62 i believe
in your start script you could replace the section that starts the world map with
Code:PW=home #change to suite
cd /$PW/gamed/
for map in gs01 is62 #add as many maps here as you like
do
echo "Loading $map"
./gs $map > /$PW/logs/$map.log &
sleep 5; echo "$map Loaded"
done
That did it! Thanks! Ugh... there's no way a total noob to PW in general would have known that _._
Is there a list of 'essential' maps that must be running? Or can you get by with just the world map only until you try to enter an instance gate somewhere? Which are the 'core' must run maps?
yeah just world will do and origination , just open/close maps as you need them
v101 is the elements.data version
I don't know what is in 343's as I don't have the files
use sEledit to check
Spoiler:
is this compatible with CentOS 6.5?
Assuming you know what you're doing, yes - you could get this to work with CentOS. The package itself will install on Ubuntu (for new people) very easily (you could teach a monkey how to do it!). That being said, the installer is only set up to install very specifically on Ubuntu server 12.04.3 x64. To get it to work on anything else you would either have to use the FORCE command flag and or manually do installation. Notes on the FORCE command flag, using the FORCE command flag will not avoid an attempt to install included ia32-libs (could be a bad idea if NOT ubuntu 12.04.3 - that's why 12.04.3 is REQUIRED) {although for you&CentOS that actually should not be a problem since CentOS is a YUM based OS}. I personally run DEB based Linux distros, so some of the items in the release are DEB installers - the only thing in the release that you'd be missing (since it comes as a .DEB) would be: ia32-libs, binutils, and 7z (p7zip). That being said I would not install this on any x86 or "desktop" version OS (and I'm assuming you know that too). I do NOT recommend any "desktop" or x86 version - ONLY x64 ¤SERVER¤ edition!
Short answer: Yes and No
No: this installer (the actual installer script) will not work w/ CentOS (you could try using --force but I don't "support" that [--force is an ADVANCED option {something goes wrong you have to figure it out yourself - don't ask me for help})
Yes: the PW server itself will work on CentOS (last I remember, I only bother with Ubuntu since that's what this installer package was being designed and developed for)
Another side note: be glad the release wound up the way it is, I (at one point) was actually considering making the whole package itself a DEB installer! At least now you can have an opportunity to dissect the release to make it work on CentOS (YUM) if you so desire! :):
Thank you so much 343 for this release.
You are totally spoon feeding a lot of us... Especially me... but thanks a lot for everything. Really awesome that you did this.
343,
Remember that some time ago i mentioned the issue when switching to pvp mode, and you told me that maybe it was because of some corrupt data as my server had been already set up in PvE mode?
Well, i ran some tests in some VMs and real machines where i installed your pack with the provided Ubuntu, all untouched, and i'm afraid the issue persists.
To be more specific: I installed Ubuntu, mounted the 136 version and run the install script, rebooted, mounted the 146 version, run the script, rebooted, modified gdelivery/gamesys.conf and set pvp=1, changed my ip to a static one (on the VM), went to pwAdmin and start the PW server for the first time after that. The "lvl 1 white name and interrupted auto attack" issue is still there.
Any thoughts, ideas or possible solutions are really appreciated!
Thanks!
#343 is there any other way you can work on 1.4.4? Also is there a way to run this server on 32-bit computer?