Distro & polcore update 10/01/2015

A shard running the latest version of POL and the distro scripts.

Moderators: POL Developer, Distro Developer

Post Reply
boberski
Grandmaster Poster
Posts: 268
Joined: Tue Oct 15, 2013 12:00 pm

Distro & polcore update 10/01/2015

Post by boberski » Sun Jan 10, 2016 3:55 am

Newest distro and polcore are on the server:
http://pol.hell-yeah.eu/

Please test and post bugs! :)

Changes:
10-Jan-2016 Yukiko Fixed: Town Guards were oblivious to baddies if they suddenly appeared within their range of protection, ie. createnpc'ed baddies were ignored. That has been fixed. They will also call for help from other guards to assist.

10-Jan-2016 Yukiko Fixed: Bug in staticdeed.src. Calculations for number of lockdowns and secures were wrong. The program always returned 0 for each one and thus the minimum default was always given for lockdowns and secures.

10-Jan-2016 Yukiko Fixed: Fixed minor bug in staticSign.src that was using a constant for house decay rather than getting decay time fro housing settings file.

10-Jan-2016 Yukiko Updated: Continuing to update and expand the docs for the Distro. In this case static housing docs were worked on.

10-Jan-2016 Yukiko Moved: \pkg\skills\alchemy\potion.inc and \pkg\skills\alchemy\drinkPotion.inc to \pkg\skills\alchemy\include\ directory.
Last edited by boberski on Thu Jul 21, 2016 3:02 am, edited 3 times in total.
Cheers!
Boberski (http://pol.uo.hyeah.eu/)

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

Re: Distro & polcore update 10/01/2015

Post by Yukiko » Sun Jan 10, 2016 3:59 am

More bugs fixed with static housing system and a few other changes posted to repo. See Distro changes.txt for specifics.
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

boberski
Grandmaster Poster
Posts: 268
Joined: Tue Oct 15, 2013 12:00 pm

Re: Distro & polcore update 10/01/2015

Post by boberski » Sun Jan 10, 2016 4:11 am

Done updating, I edited first post. :)
Cheers!
Boberski (http://pol.uo.hyeah.eu/)

boberski
Grandmaster Poster
Posts: 268
Joined: Tue Oct 15, 2013 12:00 pm

Re: Distro & polcore update 10/01/2015

Post by boberski » Sun Jan 10, 2016 4:21 am

Error in:
Compiling: /home/ancaria/099-new/scripts/textcmd/seer/createnpc.src
Variable thenpcs has not been declared on line 175.
Error compiling statement at /home/ancaria/099-new/scripts/textcmd/seer/createnpc.src, Line 175
Compilation Error:
Near: return thenpcs [selection2.index];

Code: Select all

		
		return thenpcs [selection2.index];
	endfunction
		
/*		var loc := TargetCoordinates(who);
		
		if(!loc)
			SendSysMessage(who, "Cancelled.", color := 33);
			return 0;
		endif
		
		var props := struct; // CHANGE BACK TO STRUCT FOR 096
		props.+facing := who.facing;
		var result := CreateNpcFromTemplate( thenpcs [selection2.index], loc.x, loc.y, loc.z, props, loc.realm );
		
		if (!result)
			SendSysMessage( who, "NPC Creation Failed: " + result.errortext );
		endif

		return 1;*/
		return thenpcs [selection2.index];
	endfunction
The end comment is to early. :) Fix:

Code: Select all

	endfunction
		
/*		var loc := TargetCoordinates(who);
		
		if(!loc)
			SendSysMessage(who, "Cancelled.", color := 33);
			return 0;
		endif
		
		var props := struct; // CHANGE BACK TO STRUCT FOR 096
		props.+facing := who.facing;
		var result := CreateNpcFromTemplate( thenpcs [selection2.index], loc.x, loc.y, loc.z, props, loc.realm );
		
		if (!result)
			SendSysMessage( who, "NPC Creation Failed: " + result.errortext );
		endif

		return 1;
		return thenpcs [selection2.index];
	endfunction*/
Cheers!
Boberski (http://pol.uo.hyeah.eu/)

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

Re: Distro & polcore update 10/01/2015

Post by Yukiko » Sun Jan 10, 2016 9:59 pm

Ooops. Not sure how that got left in anyway. It was mostly leftover code from the original createnpc command.
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

boberski
Grandmaster Poster
Posts: 268
Joined: Tue Oct 15, 2013 12:00 pm

Re: Distro & polcore update 10/01/2015

Post by boberski » Mon Jan 11, 2016 9:45 am

Few more bugs (I do not know how I missed them :P)

Code: Select all

Compiling: /home/ancaria/099-new/pkg/skills/alchemy/yellowPotion.src
Unable to read include file '/home/ancaria/099-new/pkg/skills/alchemy/drinkPotion.inc'
Compilation failed.

Code: Select all

Compiling: /home/ancaria/099-new/pkg/skills/alchemy/orangePotion.src
Unable to read include file '/home/ancaria/099-new/pkg/skills/alchemy/drinkPotion.inc'
Compilation failed.

Code: Select all

Compiling: /home/ancaria/099-new/pkg/skills/alchemy/alchemy.src
Unable to read include file '/home/ancaria/099-new/pkg/skills/alchemy/potion.inc'
Compilation failed.

Code: Select all

Compiling: /home/ancaria/099-new/pkg/skills/alchemy/redPotion.src
Unable to read include file '/home/ancaria/099-new/pkg/skills/alchemy/drinkPotion.inc'
Compilation failed.

Code: Select all

Compiling: /home/ancaria/099-new/pkg/skills/alchemy/greenPotion.src
Unable to read include file '/home/ancaria/099-new/pkg/skills/alchemy/drinkPotion.inc'
Compilation failed.

Code: Select all

Compiling: /home/ancaria/099-new/pkg/skills/alchemy/bluePotion.src
Unable to read include file '/home/ancaria/099-new/pkg/skills/alchemy/drinkPotion.inc'
Compilation failed.

Code: Select all

Compiling: /home/ancaria/099-new/pkg/skills/alchemy/whitePotion.src
Unable to read include file '/home/ancaria/099-new/pkg/skills/alchemy/drinkPotion.inc'
Compilation failed.

Code: Select all

Compiling: /home/ancaria/099-new/pkg/skills/alchemy/blackPotion.src
Unable to read include file '/home/ancaria/099-new/pkg/skills/alchemy/drinkPotion.inc'
Compilation failed.
All the errors are that you have:

include "potion"; instead of include "include/potion"; or
include "drinkPotion"; instead include "include/drinkPotion";

:)
Cheers!
Boberski (http://pol.uo.hyeah.eu/)

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

Re: Distro & polcore update 10/01/2015

Post by Yukiko » Mon Jan 11, 2016 10:00 pm

Fixed.

Will update repo in a few.

changed the line to:
include ":alchemy:drinkPotion";
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

boberski
Grandmaster Poster
Posts: 268
Joined: Tue Oct 15, 2013 12:00 pm

Re: Distro & polcore update 10/01/2015

Post by boberski » Tue Jan 12, 2016 12:31 am

4 more errors:

Code: Select all

Compiling: /home/ancaria/099-new/scripts/misc/logon.src
Unable to read include file '/home/ancaria/099-new/scripts/misc/../../pkg/systems/combat/equip.inc'
Compilation failed.

Code: Select all

Compiling: /home/ancaria/099-new/scripts/textcmd/gm/gmpage.src
Unable to read include file '/home/ancaria/099-new/scripts/textcmd/gm/../../../pkg/tools/gmtools/textcmd/gm/info.inc'
Compilation failed.

Code: Select all

Compiling: /home/ancaria/099-new/scripts/textcmd/coun/counpage.src
Unable to read include file '/home/ancaria/099-new/scripts/textcmd/coun/../../../pkg/tools/gmtools/textcmd/gm/info.inc'
Compilation failed.

Code: Select all

Compiling: /home/ancaria/099-new/pkg/items/moongates/start.src
Unable to read include file '/home/ancaria/099-new/pkg/items/moongates/moongates.inc'
Compilation failed.
:)
Cheers!
Boberski (http://pol.uo.hyeah.eu/)

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

Re: Distro & polcore update 10/01/2015

Post by Yukiko » Tue Jan 12, 2016 12:47 am

Yeah. I did some reorg on some files. I fixed those errors. Sorry. I should have compiled prior to my commit. :(

See the PM I sent you.
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

Post Reply