Page 1 of 1
Distro & polcore update 10/01/2015
Posted: Sun Jan 10, 2016 3:55 am
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.
Re: Distro & polcore update 10/01/2015
Posted: Sun Jan 10, 2016 3:59 am
by Yukiko
More bugs fixed with static housing system and a few other changes posted to repo. See Distro changes.txt for specifics.
Re: Distro & polcore update 10/01/2015
Posted: Sun Jan 10, 2016 4:11 am
by boberski
Done updating, I edited first post.

Re: Distro & polcore update 10/01/2015
Posted: Sun Jan 10, 2016 4:21 am
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*/
Re: Distro & polcore update 10/01/2015
Posted: Sun Jan 10, 2016 9:59 pm
by Yukiko
Ooops. Not sure how that got left in anyway. It was mostly leftover code from the original createnpc command.
Re: Distro & polcore update 10/01/2015
Posted: Mon Jan 11, 2016 9:45 am
by boberski
Few more bugs (I do not know how I missed them

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

Re: Distro & polcore update 10/01/2015
Posted: Mon Jan 11, 2016 10:00 pm
by Yukiko
Fixed.
Will update repo in a few.
changed the line to:
include ":alchemy:drinkPotion";
Re: Distro & polcore update 10/01/2015
Posted: Tue Jan 12, 2016 12:31 am
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.

Re: Distro & polcore update 10/01/2015
Posted: Tue Jan 12, 2016 12:47 am
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.