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: 275
Joined: Tue Oct 15, 2013 12:00 pm

Distro & polcore update 10/01/2015

Post by boberski »

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.
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Distro & polcore update 10/01/2015

Post by Yukiko »

More bugs fixed with static housing system and a few other changes posted to repo. See Distro changes.txt for specifics.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Distro & polcore update 10/01/2015

Post by boberski »

Done updating, I edited first post. :)
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Distro & polcore update 10/01/2015

Post by boberski »

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*/
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Distro & polcore update 10/01/2015

Post by Yukiko »

Ooops. Not sure how that got left in anyway. It was mostly leftover code from the original createnpc command.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Distro & polcore update 10/01/2015

Post by boberski »

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";

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

Re: Distro & polcore update 10/01/2015

Post by Yukiko »

Fixed.

Will update repo in a few.

changed the line to:
include ":alchemy:drinkPotion";
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Distro & polcore update 10/01/2015

Post by boberski »

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.
:)
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Distro & polcore update 10/01/2015

Post by Yukiko »

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.
Post Reply