Announcing the alternate Distro

Archive of posts related to former distro versions. Be aware that posts here do not refer to the current distro and may not work.

Moderators: POL Developer, Distro Developer

Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Announcing the alternate Distro

Post by Yukiko »

A few months ago I was telling Nando that my server was based on the POL 0.95 Distro which I had updated to work with the POL Core 0.96 and above. I told him I had a bare bones version to give to anyone who might want to help develop for me. Nando said that he thought that would make a nice alternative to the current "Distro" and he asked me if I would like to make it available to the POL community. I said I would with the understanding that some of the code was a bit messy and that it still needed some work. So he gave me commit access to the repository and I uploaded the scripts.

The alternate Distro is basically the 0.95 Distro updated to allow the scripts to run on the current Core versions. The official POL Distros used to be a minimalist set of scripts with only basic skills scripted. For some reason Snooping and Stealing were never implemented originally. So those two skills are not scripted in this version either. The Distro never had any of the "bells and whistles" such as custom wood types, ores with special properties, or a class system. I have updated a few things from the original. Austin did some wonderful redesigns of the gumps for the info, iteminfo, and go commands. So I took those from the 0.96 (or maybe 0.97) incomplete Distro. Since the 0.95 Distro was only designed for a one map world I needed a spawn system capable of handling multiple maps. I had several to choose from but I ended up using Austin's, again taken from the 0.97 Distro. Edwards had fixed a small bug with Austin's spawner when he added it to his Fantasia scripts. So I used his version. I added my Life Stones package too. Other than that most everything else is functionally the same as the 0.95 Distro.

It is High Seas client "compatible". Any custom items that had ObjType numbers in the 0x4000 to 0xFFFF range (system teleporters etc.) have been reassigned numbers of 0x10000 or higher to avoid conflict with the expanded art tiles in the HS client. The larger "Galleon" type ships have been added to the scripts but the weapons slots have not been scripted and the storage system for the large ships has not been scripted. Also, the ability to board and disembark from the larger ships is not fully bug free. So it is compatible but doesn't utilize features that are available in High Seas. If you script those features and want to have them added to the Distro then post them in this thread and I'll add them to the repository.

Nando had asked me to wait before posting about this on the forums. He told me the reason but I can't remember what it was. I did wait but Aderal discovered the code and decided to test it out. There were some issues that prevented the code from running correctly on Linux. So he posted about it and we got those resolved. Thanks Aderal. That prompted me to finally announce the existence of the alternate Distro to the community. Sorry Nando if it's premature.

Please use this thread to post any bugs you might find.

Thanks.
Last edited by Yukiko on Tue Dec 22, 2015 3:06 am, edited 1 time in total.
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Announcing the alternate Distro

Post by Yukiko »

I forgot to mention that in the repo there is a ZIP file named populated_data.zip. This is a file containing all the vendors, doors and decorations for the britannia realm (Felucca). This file has items specific to this Distr version. So it might produce errors if you try to use it with other scriptsets.

Also, vendors, bankers, and guards must be placed using special nodes. Please see the folder Additional Docs in the \docs folder for information on vendor and guard nodes. This documentation needs some rewriting but for now it is as it is.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Announcing the alternate Distro

Post by boberski »

There is a place for improvement still. :)
xeon
Forum Regular
Posts: 338
Joined: Fri Oct 31, 2008 3:18 am
Location: Italy

Re: Announcing the alternate Distro

Post by xeon »

Thanks for sharing!
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Announcing the alternate Distro

Post by Yukiko »

aderal wrote:There is a place for improvement still. :)
What do you mean Aderal? How can you improve on perfection? ;P

But seriously, yes there is. There were many shards built from the older version. Some are still in existence today.

To those who wish to improve and add to this version, please do and share some of your work.
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Announcing the alternate Distro

Post by Yukiko »

Pushed out some bug fixes and stuff. Check the Distr-changes.txt file for more info.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Announcing the alternate Distro

Post by boberski »

Ohhhh Yukikoooooooo xD

Code: Select all

Warning! pkg/systems/boat/shipdeed.ecl does not exist!
Warning! pkg/systems/boat/shipdeed.ecl does not exist!
Warning! pkg/systems/boat/shipdeed.ecl does not exist!
Warning! pkg/systems/boat/shipdeed.ecl does not exist!
Warning! pkg/systems/boat/shipdeed.ecl does not exist!
Warning! pkg/systems/boat/shipdeed.ecl does not exist!
Warning! pkg/systems/boat/shipdeed.ecl does not exist!
Warning! pkg/systems/boat/shipdeed.ecl does not exist!
Warning! pkg/systems/boat/shipdeed.ecl does not exist!
Warning! pkg/systems/boat/shipdeed.ecl does not exist!
Warning! pkg/systems/boat/plankwalk.ecl does not exist!
Warning! pkg/systems/boat/plankcontrol.ecl does not exist!
Warning! pkg/systems/boat/plankwalk.ecl does not exist!
Warning! pkg/systems/boat/plankcontrol.ecl does not exist!
Warning! objtype 0x1F01A : ObjtypeName 'Hold' is the same as objtype 0X1F013
Same as always :)
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Announcing the alternate Distro

Post by boberski »

I thing we should prepare a list of rules for naming files, variables etc. This will help everyone to prevent from this kind of errors.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Announcing the alternate Distro

Post by boberski »

For example:
  • - always name variables with low letter at the begining and upper letter for next word for example: myStamina, targetEnemy
    - same rules for naming the files and functions
    - name the main program the same as filename
    - do not use _ in naming files, variables or functions
Last edited by boberski on Wed Dec 23, 2015 6:35 am, edited 2 times in total.
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Announcing the alternate Distro

Post by Yukiko »

Yeah. Sounds like a plan. Some of these case mismatch errors are inherited from the originator of the package and some are my fault. The HSA ship stuff I borrowed from the POL 0.99 World of Dreams release. I had not looked through that before I posted it. I'll fix it later tonight. Thanks again for your help.
User avatar
*Edwards
Forum Regular
Posts: 303
Joined: Fri Dec 28, 2007 11:19 pm
Location: Montreal, Canada

Re: Announcing the alternate Distro

Post by *Edwards »

Just a though I had in mind a while ago..: Why don't you go with an official POL Server? It's an interesting way to keep players enjoying our features while pointing out what POL can do to possible new developers.
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Announcing the alternate Distro

Post by Yukiko »

*Edwards wrote:Just a though I had in mind a while ago..:
Great idea for the file name conventions. There used to be a POL Style sheet included in with the Core package I think. I'll see if I can find it. With any style guides though it still requires that everyone follow them. :D
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Announcing the alternate Distro

Post by Yukiko »

I found this included in the POL 0.94 Distro package. So it dates back to somewhere around 2002 or so. It was also in POL 0.95 Distro as well and ironically it's in the alternate Distro package too under \docs\Additional Docs

I had forgotten it was there. So going forward I shall try to stick to the rules.

Code: Select all

For the ease of use of our linux users, we have standardized the file names in POL.
Windows users will not notice any effect from this, and will not notice when it is
done incorrectly; however, you will probably find your life easier when all the files
have names that you never have to look up because they are all standardized. No more
wondering if this one has an underscore, or which letters are capitalized.

Here are the rules:

Acronyms/Initialisms are capitalized.
Unless part of the above, the first letter of the filename is lowercase.
The first letter of each additional word is capitalized.
Extensions are lowercase.
Examples:

NPCBackpacks.inc
newFiles.inc
killAllPCs.src

Exceptions:
Config files, textcommands, and files in scripts/misc are all lowercase.
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Announcing the alternate Distro

Post by Yukiko »

Okies Aderal.
I changed the file names to reflect the new (old) naming conventions in the boats package and a few other scripts.

I intend to work my way through the scripts and bring the alternative Distro file names into compliance with the naming conventions. It will take a while to work through all of the scripts.

Regarding the latest errors you posted: I couldn't find a case mismatch issue with my local copy of the repo. Go ahead and update your copy to the repo and see if I resolved the problems.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Announcing the alternate Distro

Post by boberski »

Yukiko wrote:Okies Aderal.
I changed the file names to reflect the new (old) naming conventions in the boats package and a few other scripts.

I intend to work my way through the scripts and bring the alternative Distro file names into compliance with the naming conventions. It will take a while to work through all of the scripts.

Regarding the latest errors you posted: I couldn't find a case mismatch issue with my local copy of the repo. Go ahead and update your copy to the repo and see if I resolved the problems.
Great, I will also stick to the convention that you have post. I am updateing distro right now to test if all the problems was fixed. :)
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Announcing the alternate Distro

Post by Yukiko »

I have found some bugs with the housing system as well. Beside the file name stuff there is a problem with the ban tiles that allow banning people from houses.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Announcing the alternate Distro

Post by boberski »

Compilation error:

Code: Select all

Compiling: /home/ancaria/099-new/pkg/systems/housing/textcmd/gm/rapiddecay.src
Token 'CFC86A' cannot follow token '1L'
Error compiling statement at /home/ancaria/099-new/pkg/systems/housing/textcmd/gm/rapiddecay.src, Line 7
Parse Error: Illegal Construction
Near: 1CFC86A
File: /home/ancaria/099-new/pkg/systems/housing/textcmd/gm/rapiddecay.src, Line 7
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Announcing the alternate Distro

Post by boberski »

Beside that:

Code: Select all

Warning! pkg/systems/housing/staticsign.ecl does not exist!
Warning! pkg/systems/housing/staticDestroy.ecl does not exist!
Warning! pkg/systems/housing/transferdeed.ecl does not exist!
Warning! scripts/items/bladed.ecl does not exist!
Warning! scripts/items/bladed.ecl does not exist!
Warning! scripts/items/bladed.ecl does not exist!
Warning! scripts/items/bladed.ecl does not exist!
Warning! scripts/items/bladed.ecl does not exist!
Warning! scripts/items/bladed.ecl does not exist!
Warning! scripts/items/bladed.ecl does not exist!
Warning! scripts/items/bladed.ecl does not exist!
Warning! scripts/items/bladed.ecl does not exist!
Warning! scripts/items/bladed.ecl does not exist!
Warning! scripts/items/bladed.ecl does not exist!
Warning! scripts/items/bladed.ecl does not exist!
Warning! scripts/items/bladed.ecl does not exist!
Warning! scripts/items/bladed.ecl does not exist!
Warning! scripts/items/bladed.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
Warning! pkg/skills/farming/harvest.ecl does not exist!
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Announcing the alternate Distro

Post by boberski »

Code: Select all

Compiling: /home/ancaria/099-new/scripts/items/bladed.src
Unable to read include file '/home/ancaria/099-new/pkg/utils/gumps/requestgump.inc'
Compilation failed.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Announcing the alternate Distro

Post by boberski »

Code: Select all

Compiling: /home/ancaria/099-new/pkg/systems/housing/staticsign.src
Unable to read include file '/home/ancaria/099-new/pkg/utils/gumps/gumpprompt.inc'
Compilation failed.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Announcing the alternate Distro

Post by boberski »

Code: Select all

Compiling: /home/ancaria/099-new/pkg/systems/housing/staticDestroy.src
Unable to read include file '/home/ancaria/099-new/pkg/utils/gumps/gumpprompt.inc'
Compilation failed.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Announcing the alternate Distro

Post by boberski »

Code: Select all

Compiling: /home/ancaria/099-new/pkg/systems/housing/transferdeed.src
Unable to read include file '/home/ancaria/099-new/pkg/utils/gumps/gumpprompt.inc'
Compilation failed.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Announcing the alternate Distro

Post by boberski »

Code: Select all

Compiling: /home/ancaria/099-new/pkg/skills/farming/harvest.src
Unable to read include file '/home/ancaria/099-new/pkg/utils/gumps/requestgump.inc'
Compilation failed.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Announcing the alternate Distro

Post by boberski »

Thats all for now, I know that compilation errors are the same but it will be easier to fix them if you know all the files. :)
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Announcing the alternate Distro

Post by Yukiko »

I am pushing updates right now.

I might not get back to this for a couple days. I'll see how busy my two days off of work turn out to be.

Merry Christmas again.
Locked