Page 1 of 2

Announcing the alternate Distro

Posted: Mon Dec 21, 2015 11:50 pm
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.

Re: Announcing the alternate Distro

Posted: Tue Dec 22, 2015 1:38 am
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.

Re: Announcing the alternate Distro

Posted: Tue Dec 22, 2015 11:46 am
by boberski
There is a place for improvement still. :)

Re: Announcing the alternate Distro

Posted: Tue Dec 22, 2015 12:56 pm
by xeon
Thanks for sharing!

Re: Announcing the alternate Distro

Posted: Tue Dec 22, 2015 9:20 pm
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.

Re: Announcing the alternate Distro

Posted: Wed Dec 23, 2015 3:22 am
by Yukiko
Pushed out some bug fixes and stuff. Check the Distr-changes.txt file for more info.

Re: Announcing the alternate Distro

Posted: Wed Dec 23, 2015 5:28 am
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 :)

Re: Announcing the alternate Distro

Posted: Wed Dec 23, 2015 5:31 am
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.

Re: Announcing the alternate Distro

Posted: Wed Dec 23, 2015 5:43 am
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

Re: Announcing the alternate Distro

Posted: Wed Dec 23, 2015 5:52 am
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.

Re: Announcing the alternate Distro

Posted: Wed Dec 23, 2015 9:29 am
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.

Re: Announcing the alternate Distro

Posted: Wed Dec 23, 2015 9:53 pm
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

Re: Announcing the alternate Distro

Posted: Wed Dec 23, 2015 10:24 pm
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.

Re: Announcing the alternate Distro

Posted: Wed Dec 23, 2015 11:52 pm
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.

Re: Announcing the alternate Distro

Posted: Thu Dec 24, 2015 1:26 am
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. :)

Re: Announcing the alternate Distro

Posted: Thu Dec 24, 2015 1:30 am
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.

Re: Announcing the alternate Distro

Posted: Thu Dec 24, 2015 1:36 am
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

Re: Announcing the alternate Distro

Posted: Thu Dec 24, 2015 1:42 am
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!

Re: Announcing the alternate Distro

Posted: Thu Dec 24, 2015 1:44 am
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.

Re: Announcing the alternate Distro

Posted: Thu Dec 24, 2015 1:47 am
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.

Re: Announcing the alternate Distro

Posted: Thu Dec 24, 2015 1:47 am
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.

Re: Announcing the alternate Distro

Posted: Thu Dec 24, 2015 1:48 am
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.

Re: Announcing the alternate Distro

Posted: Thu Dec 24, 2015 1:49 am
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.

Re: Announcing the alternate Distro

Posted: Thu Dec 24, 2015 1:50 am
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. :)

Re: Announcing the alternate Distro

Posted: Thu Dec 24, 2015 3:54 am
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.