¤ The Complete PW Package ¤

Newbie Spellweaver
Joined
Mar 12, 2021
Messages
6
Reaction score
5
@343
Btw, I've never had the opportunity to say thanks!

So, thanks to preparing this package, back in 2013 I was able to start to realize that coding was my future. Now almost 10 years later I came back in forum just to ask if you allow me to publish your package for a more "descentralized" version (I know, It's focus on begginers and people whom doenst know linux very well). But last friday I challanged myself to undestrand your installation script and understand what pw server was about.

After 24 hours, I finally updated the bundle for ubuntu 20.04 LTS and install all libraries wich, btw, doenst crack "apt-get". I could install php 7.4 and mysql 8 but unfortunatly all web package doenst work such as pwAdmin and the register.... But I'm working on it to make it better with some Node.js server...

My ideia initialy was just understand the whole package, but i got excited and "upgraded", and now I'm trying to make a Docker version with Swarm and separeted services with we can provide Dockerfile and just build and deploy, no big deal.

What do you think?And, another problem that I've detected was gameanticheat wasn't working at starting the server at PWServer/136/log/syslog...

And another question, the 'services' loaded by /PWServer/136/start_min.sh sush as "/uniquenamed gamesys.conf"in gamesys.conf there is some IP's in wich file pw server comunicates with database?

So, finalizing, thanks for your contributtion for pw community, as if you allow me I can help in this scenario. Not making to promote myself, just help people who just want to install a pwserver more easly with docker.

Thank you! God bless!

________________________________________________________________________

Update:

I'm trying to install on docker, and it's working fine at the point where mysql + /PWServer are in the same server, but I want to change this config where /PWServer is in container X and MYSQL in container Y. But, i'm struggling in where is in /PWServer/136/?? makes connection with MYSQL?
It's all 127.0.0.1... I'm receiving this err MSG:

err : gdelivery:: disconnect from GameDB

I'm trying to figure it out from /PWServer/136/gdeliveryd/gamesys.conf but not quit sure where to point MYSQL....

I've tryed:

[GameDBClient]
type = tcp
port = 3306
address = 172.21.0.4

[GameDBClient]
type = tcp
port = 29400
address = 172.21.0.4

[GameDBClient]
type = tcp
port = 29400
address = db

NOTE: db is a service from docker-compose.yml, if $ ping db it's reponses with IP's addres of container
____________________________________________________________________

UPDATE!

Made it!

PefectWorld 1.3.6 woking on Docker with docker-compose, working on swarm!
 
Last edited:
Joined
Oct 14, 2009
Messages
5,493
Reaction score
2,299
You're "free" to do whatever you want with this package... I started it because way back when I started there were essentially no "working" 'distributions' that would work straight "out of the box"... So I made this... There were some pretty good releases, that I was able to eventually make work so I was able to learn about the basics of it all. I then decided it would be nice to have a fully functional 'release' around here so that it would be so easy to install, you could literally teach a monkey how to do it, and have a running server as a result!

I, both back then and now, still think that having a fully working 'package' could help people learn - at least those that actually want to... Sure, some people will just use it with no desire to actually learn anything about it, but that's fine too. I think it's easier for those who want to learn though, to be able to tinker with something that's already working...! Rather than try to make it work, and potentially quit after becoming frustrated that they cannot make it work... Of course, how can someone who doesn't know about something - be expected to make it work!? At least to me, that makes a lot of sense... If I wanted to learn about an engine, and how it worked - would I learn more off of one that's already running, or would I learn more off of one that's in need of 'tinkering' first!?

But anywho, yea if you have dug into this release then you already know why it "requires" Ubuntu 12.04.3 - and that reason is (for *anyone* who doesn't know) because this release/package is designed so that there are literally ZERO external dependencies... That is, it ALSO installs ia32-libs for you - OFFLINE... So for example, you could install this if you're at a traditional LAN party (with no internets), or if you were on an island with no internets, or ANY scenario where you are "offline"! the ia32-libs that are bundled with it, are of course, very specific to Ubuntu 12.04.3... So the ONLY way to change that would be to manually install ia32-libs, which then also goes against the "SIMPLE" nature of this release/package... That's one MORE step than is truly needed for people to just simply get started with a fully working server, at least with this package, exactly the way I have it set up!

I do have to admit that even though I am doing a major update as we speak for the 10th year anniversary (which is only like 4 days away!) changing that aspect, is NOT something I am 'working on'... I have NO desire to bring this package up to a newer version of Ubuntu or dealing with the headache that is "ia32-libs"... It was actually quite a headache to set up an 'offline' install of ia32-libs! That and, from what I understand - they have 'discontinued' ia32-libs on the newest versions of Linux too (replaced with "multiarch" er something)! Plus, anyone who digs deep enough into this release will KNOW how to install this package on an OS other than Ubuntu 12.04.3, and installing ia32-libs on their own would be *simple*!

That is something I will never get "too specific" on around here, because then I'm sure that will introduce a whole plethora of people asking "HOW TO UPDATE OS VERSION FOR THIS", when, that's exactly one of the things I'm persistent people should learn on their own through usage and exploration of this package and all of it's contents - as it is! So I do not ever plan on getting too specific about "how to update the OS" or "how to use a different OS" because those nitty gritty details can be learned over time by using this package and digging around in it! If someone asks how to update / use different OS; my honest answer would basically be "figure it out"! Because that IS the goal of this package! To provide a perfectly working example of a fully functional server... Once one "digs around" it enough, they will just know how to do that, and not even have to ask! They will be able to "just do it" (like Nike said LOL)!

But anyway, yes, you're free to do whatever you want with it... That's why I put it out there! Bearing that in mind, it's really primarily meant for learning or those who just want a functional PW server to "tinker around on", or to run a small server to "penis around on" with family/friends! I don't intend for it to be used in a full fledged "production environment" although if you (anyone) wanted to, feel free to do so! That being said, "security" wasn't a primary focus of this package (and it should be for a production environment), although it does of course include some pretty basic security... Speaking of which I have actually located a small potentially minor "security hole" in it, and that will be patched in this newest upcoming release/update on the official 10 year anniversary!

All that being said, of course I wouldn't be too happy if someone/anyone else started sharing it elsewhere and tried to claim credit for it, like they put it together themselves, but I'm almost sure that's bound to happen too (and I may never even know it)! But nonetheless it's out there for people to pretty much do whatever they want with it!



But yea my goal isn't to have everything the most "up to date", but rather just striving for full functionality! Even if it means using outdated stuff, heck PW 131-155 itself, is, "outdated" !!!
 
Newbie Spellweaver
Joined
Mar 12, 2021
Messages
6
Reaction score
5
Yeah, I got you. But in some way I feel like working on with linux is a big steap to make when you doesn't know anything of servers and programming... But in the other hand I completly understands you. For instance, if you already had made a "perfectly package" (not judging or comparing nothing, btw, one more time, thanks for all) I couldn't learn a bunch of stuff that I learned in this "journey".I'll stay tune to your 10th year anniversary. I'm execited with it!
And I'll think more about it, because, as I sad, for those who just want do play with your friends and do nothing about "code" etc (linux can scarry, lol). FOR ME feels like docker is all about it. Just do a docker-compose up, and your good to go. But I'll think more.
Thanks for replying me, and thanks for your your package, changed my life, for real.
God bless.
 
Reactions: 343
Joined
Oct 14, 2009
Messages
5,493
Reaction score
2,299
I can understand Linux for someone who has never touched it could *certainly* be intimidating! Especially the Server version, since there's no GUI - and next to everyone RELIES on GUI now-a-days :

But for those cases, I would still offer my "services", for "hire" of course, to install and set up a small server for someone! To me, there's something wrong with anyone charging for these files, since NONE of "us" own them, PW does! But, if you offer a 'service' of installing and setting it up for someone (or even 'maintaining' one), those are "services" that are very valid of receiving payment / monetary compensation!

Just like how I do offer this package for free, primarily because it contains and is /about/ something that's not mine (PW)... But at the same time I put a LOT of hard work, effort, and time into this - so, I will also gladly accept "tips"... Which BTW I HATE having that "donate" button and I hate that some people call it "donation" because it's LEGALLY (at least in the USA) NOT considered a "donation"... In order to be LEGALLY considered a "donation" you HAVE to be a ... Technically, and LEGALLY - it has to be called/considered a "TIP" (which of course are LEGALLY required to be "reported" to the proper governmental agencies for taxation purposes of course (if you exceed a certain amount per year [I think it's $600 - if you make more than $600 / year doing something - you're "supposed" to report it])!!!

That being said I think I'm going to go [DEL] my "donate" button right now, and come up with an alternative way for anyone who wants to, to "tip" me :
 
Joined
Jul 26, 2011
Messages
2,030
Reaction score
396
just for the record, from someone who DOES run some servers with GUI, it is doable, there are things you CAN do to maintain a gui version of a server. if you want that information, feel free to request it, I'll be happy to assist with that adventure
 
Joined
Oct 14, 2009
Messages
5,493
Reaction score
2,299
just for the record, from someone who DOES run some servers with GUI, it is doable, there are things you CAN do to maintain a gui version of a server. if you want that information, feel free to request it, I'll be happy to assist with that adventure

Yes I "can" be done, but, just because something CAN be done; does NOT mean it SHOULD be done...

Look at Windows Server (LOL two words that should never be used in the same sentence IMHO)!

But, I do suppose if it gets someone ~ "to get their foot in the door" ~ then by all means! "Have at it"! Although, I do believe it's that kind of mind set that produces <cough> garbage </cough> like "Windows 'server'"... People just are TOO damn wrapped up in their UI, that even if they come into it with good intent (to eventually "get off" of the UI), UI does tend to make things more "simple"... But I don't care how simple it makes things, or how little resources it uses, which is my main gripe BTW, that UI literally WASTES resources that could be better spent (like on the server LOL)! So, maybe I'm too old school, but, I don't care how much resources you have (how "beefy" your machine is), or how little of resources any given UI "wastes"; ANY waste is still waste, IMHO!

I would still recommend to do like I did, just dive in head first not knowing anything and ~ like NIKE said ~ JUST DO IT!!!

"Hacking" ~

PS> honestly, I would have NO clue how to set this up with UI! I would need your help too :
 
Newbie Spellweaver
Joined
Mar 12, 2021
Messages
6
Reaction score
5
<cough> garbage </cough> like "Windows 'server'"... People just are TOO damn wrapped up in their UI, that even if they come into it with good intent (to eventually "get off" of the UI), UI does tend to make things more "simple"...

I agree with you, using terminal make things more clear (not simple some times), and Windows Server is something I don't get it...
A server wich starts with already 5gb of ram.
Windows it's self is a mess, Gates is more concern about "saving" mankind other than his own product. (NWO?)
Feels like need somebody with some balls to cut x86 arch and cut data collection in win 10 to make it more usable...
But in the other hand, normies needs it... Do you imagine your mom using Gopher?
Democracy is the will of majority, it isn't about equality. Windows is that.
Only thing that keeps me using it is for gaming....
 
Reactions: 343
Joined
Oct 14, 2009
Messages
5,493
Reaction score
2,299

I'm going to be getting the update out there ASAP! ¤ Stay Tuned ¤




I'm going to be getting the update out there ASAP! ¤ Stay Tuned ¤
 
Junior Spellweaver
Joined
Oct 21, 2013
Messages
107
Reaction score
1

no problem sir take your time.. dont stress your self you are doing good!

Thanks bro
 
Last edited:
Initiate Mage
Joined
Mar 14, 2021
Messages
1
Reaction score
0
Came to the board about a week ago and discovered your project - almost downloaded the old package then but I learned in the military to RTFM! Eagerly awaiting your Diamond Anniversary release!I have some Linux experience and am looking forward to doing a new installation.
 
Joined
Oct 14, 2009
Messages
5,493
Reaction score
2,299

There are tons of changes, some little some "monumental"... I don't really "log" what I'm doing any more as I tend to work too fast to be able to do so, to do so would have just slowed me to a crawl...

But some of the more major things that I have done/remembered I can mention (for anyone interested)!

For starters, I don't remember or know why webapps/ was being used as a storage area! Yes you can actually install all versions of servers at the same time, and for some ungodly reason webapps/ became a storage area too; which (needless to say) was NO good. Especially since tomcat (AFAIK) caches everything in webapps/! So, I have completely restructured tomcat so that webapps not actually in use, are stored in a storage OUTSIDE of webapps/!!!

Also, in building the new build I realized how quickly I was losing track of which version I had 'active', so - while this feature may be not very useful to most (that don't constantly switch versions like their underwear) - it surely is for me especially when I'm "building". I added a [v.XXX] to the one pwAdmin page ("server configuration") so you cannot really "forget" which version you're on!

Beyond that, I also added notes and a webpage of notes, for the d_c2scmd and general console commands!

Fixed some map related issues, such as "map out of phase with server" issues...

and of course I modified all of the different versions "gs" daemons to have a functioning "monster spawner", properly 'read' ptemplate.conf, and also read the wallow settings too!

I also fixed character/toon XML editing for pwAdmin, character/toon XML editing stopped working somewhere around 151 and I never looked into it! So I figured for this release I should! And it actually turned out to be something REALLY simple! In short it was 'calling' an old DB name... It was calling for the old name "reserved1", instead of the new "spouse"! Well anyway, that's kind of some technical BS but - in short - you can once again edit character/toon XML data in pwAdmin once again! This is working for ALL versions in the release..!

There was also a semi-small security issue I found, which has been resolved... It should be pretty darn minor in the first place, but I fixed it nonetheless! Although on another hand it really doesn't/shouldn't matter too much since this release/package is primarily meant for learning/experimenting or running a pretty small server for yourself/family/friends! It is NOT meant (right out of the box) to be used in a 'production environment' (so security has never been a large focus)! But there's no way I could continue to allow it to exist once it came into my knowledge!



There is one more thing I may eventually have to fix also - but I worked on it and tried for like THREE (3) days to no avail! So if and when I DO discover an ACTUAL fix, I will be redoing, not the WHOLE package, but at least v155 (so the SAE server ISO, and the 155 client)...

That problem is, a21 and a22, er is21 and is22 (Lothranis and Momaganon AKA "heaven" and "hell") have an issue with the REGION.CLT/SEV and the [region] tags (which denote "safe zones")...

So far the 'temporary' "fix" was to remove [region] tags from the region.clt files client side, but leave the server SEV in tact (so that safe zones still exist)...

This seems to have removed the WORST part of (whatever is truly going on here), because prior to removing the [region] flags from within the region.clt - the client would almost IMMEDIATELY error out, forcing you to close the client and re-log!

At least in it's current state, you can actually play on maps 21 and 22! But I'm sure there's an underlying issue which I may one day (hopefully ultimately) get to the bottom of!



Okay so that map issue thing is really quite serious, if you're interested you can follow that here ~ http://forum.ragezone.com/f751/v1-5-5-client-downgraded-1153360/index4.html#post8985872

But, I *REALLY* HAVE to find a true FIX for this as, I believe it currently has the capacity to "down" your/the server !!!
 

Attachments

You must be registered for see attachments list
Junior Spellweaver
Joined
Oct 21, 2013
Messages
107
Reaction score
1


very fast bro thank you so much keep up a good work!! Thumbs up!!
 
Joined
Oct 14, 2009
Messages
5,493
Reaction score
2,299
hi bro it is ok i can use little bit highversion of Ubuntu?

Negative, it specifically checks for 12.04.3... This is due to the fact that this package has ZERO external dependencies (that is, it has ia32-libs *included* and installs them for you - and they are *specific* to 12.04.3)... So, you could install this with absolutely NO internet at all, and have a completely working server from a blank HDD! That's why I built it that way!



Technically you can, but that's only if you *really* know what you're doing (including how to bypass the built in check)... And as such, I cannot "support" this {read: it's only for advanced users}
 
Junior Spellweaver
Joined
Oct 21, 2013
Messages
107
Reaction score
1

no problem sir i fixed already ) btw sir when im type ./install-pw is nothing happen
 
Last edited: