New commit to the Distro repo - 08-Aug-2017

Discussion about the development of POL's official distribution scripts.

Moderators: POL Developer, Distro Developer

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

New commit to the Distro repo - 08-Aug-2017

Post by Yukiko »

From Distro-changes.txt:
31-Jul-2017 Yukiko Added Added the Runic Atlas to the Distro contributed by ThisIsMe. Also added itemUtil.inc from ThisIsMe's shard. It's required for the Runic Atlas and I presume for the Rune Book that ThisIsMe is redesigning and will most likely be added to the Distro. I'll have to decide how to handle that if it is added so that old style rune books aren't broken, just in case they exist in someone's server.

31-Jul-2017 Yukiko Changed Previously rune destination info was stored as individual CProps for x, y, z, realm destinations. I changed it to a struct CProp containing the info. I also moved recall runes from the main itemdesc file to a package "runes" and gave them methods. One of the methods is GetDestination(). In that method I added a check for the old destination CProps. If they are present the method will build the struct for the new way of marking the runes, save the struct CProp on the rune and remove the deprecated CProps. This will ensure any runes created prior to the change will be functional and get updated in the process.

02-Aug-2017 Yukiko Added A reworked rune book contributed by ThisIsMe. The old rune books were left in to prevent a server shut down just in case you have them lying around but they currently do not work properly and should be replaced with the current rune books. the old rune books item name is oldrunebook but it doesn't open the correct gump pic for some reason so get rid of them. Sorry for the abrupt deprecation of an item. I strive for legacy support but in this case something broke and I haven't had time to look into it.

06-Aug-2017 Yukiko Fixed The book spawn system was causing excess server load. So DevGIB and I worked out a fix (hopefully) that will solve this. Also cleaned up some code from the old book spawn system.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: New commit to the Distro repo - 08-Aug-2007

Post by boberski »

New compilation errors :)

Code: Select all

Compiling: /home/ancaria/099-official/pkg/items/runebook/runebook.src
Token '(' cannot follow token 'CustomGate'
Function CustomGate() is not defined.
Error compiling statement at /home/ancaria/099-official/pkg/items/runebook/runebook.src, Line 429
Error in function 'GateWithoutCharges', File: /home/ancaria/099-official/pkg/items/runebook/runebook.src, Line 429

Error in function 'GateWithoutCharges'.

Code: Select all

Compiling: /home/ancaria/099-official/pkg/items/sysbook/textcmd/admin/bookSweep.src
Variable who has not been declared on line 8.
Error compiling statement at /home/ancaria/099-official/pkg/items/sysbook/textcmd/admin/bookSweep.src, Line 8
Error detected in program body.
Error occurred at /home/ancaria/099-official/pkg/items/sysbook/textcmd/admin/bookSweep.src, Line 8
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: New commit to the Distro repo - 08-Aug-2007

Post by Yukiko »

Crap! I ran an eCompile on the entire Distro and had no errors. Give me a few minutes to fix them.
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: New commit to the Distro repo - 08-Aug-2007

Post by Yukiko »

Ok. The first error is because that runebook package was renamed to "oldrunebook" and the new runeBook replaced it. So delete the "runebook" package. and make sure you have the "runeBook" package. I assume you are running Linux so your system sees the different case in the names as different directories.
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: New commit to the Distro repo - 08-Aug-2007

Post by Yukiko »

ok. i messed up on the runeBook issue. Windows is stupid. It doesn't change the case when copying things over. it's fixed now. sysbook problem is fixed as well. just let me commit the new fixes.
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: New commit to the Distro repo - 08-Aug-2007

Post by Yukiko »

ok. should be ok now. It appears Git didn't change the case for the runeBook directory either but atleast the correct files are there now.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: New commit to the Distro repo - 08-Aug-2007

Post by boberski »

And runtime error:

Code: Select all

Warning! pkg/items/runebook/runebook/use.ecl does not exist!
Warning! pkg/items/sysbook/books/       books/openBook.ecl does not exist!
Warning! pkg/items/sysbook/books/       books/openBook.ecl does not exist!
Warning! pkg/items/sysbook/books/       books/openBook.ecl does not exist!
Warning! pkg/items/sysbook/books/       books/openBook.ecl does not exist!
Warning! pkg/items/sysbook/books/       books/openBook.ecl does not exist!
Warning! pkg/items/sysbook/books/       books/openBook.ecl does not exist!
Warning! pkg/items/sysbook/books/       books/openBook.ecl does not exist!
Warning! pkg/items/sysbook/books/       books/openBook.ecl does not exist!
Warning! pkg/items/sysbook/books/       books/openBook.ecl does not exist!
Warning! pkg/items/sysbook/books/       books/openBook.ecl does not exist!
Warning! pkg/items/sysbook/books/       books/openBook.ecl does not exist!
Warning! pkg/items/sysbook/books/       books/openBook.ecl does not exist!
Warning! pkg/items/sysbook/books/       books/openBook.ecl does not exist!
Warning! pkg/items/sysbook/books/       books/openBook.ecl does not exist!
Warning! pkg/items/sysbook/books/       books/openBook.ecl does not exist!
Warning! pkg/items/runebook/runebook.ecl does not exist!
Warning! pkg/items/runebook/runeconversion.ecl does not exist!
Warning! pkg/items/runebook/runecaninsert.ecl does not exist!
Warning! pkg/items/runebook/runeoninsert.ecl does not exist!
Warning! pkg/items/runes/recallRune/use.ecl does not exist!
Warning! objtype 0x1F14 : ObjtypeName 'RecallRune' is the same as objtype 0X1F14
Warning! pkg/items/runes/recallRune/methods.ecl does not exist!
Exception caught while loading script pkg/items/runes/recallRune/methods.ecl: Unable to open pkg/items/runes/recallRune/methods.ecl for reading.
Unable to read script 'pkg/items/runes/recallRune/methods.ecl'
Error reading script pkg/items/runes/recallRune/methods.ecl
Error: Objtype 0x1F14 is already defined inconfig/itemdesc.cfg
Error reading configuration file pkg/items/runes/config/itemdesc.cfg:
        ObjType 0x1f14 defined more than once.
        Element: Item 0x1F14, found on line 2
Server Shutdown: load_itemdesc
Initiating POL Cleanup....
Execution aborted due to: Configuration file error
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: New commit to the Distro repo - 08-Aug-2007

Post by Yukiko »

Should be fixed now. I had the wrong syntax in sysbook itemdesc for locating various book related scripts. I had moved them to a subdirectory but didn't get the syntax right for pointing to the new scripts
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: New commit to the Distro repo - 08-Aug-2007

Post by boberski »

Another! Kiko we almost win!

Code: Select all

Warning! pkg/items/runebook/runebook/use.ecl does not exist!
Warning! pkg/items/runebook/runebook.ecl does not exist!
Warning! pkg/items/runebook/runeconversion.ecl does not exist!
Warning! pkg/items/runebook/runecaninsert.ecl does not exist!
Warning! pkg/items/runebook/runeoninsert.ecl does not exist!
Warning! pkg/items/runes/recallRune/use.ecl does not exist!
Warning! objtype 0x1F14 : ObjtypeName 'RecallRune' is the same as objtype 0X1F14
Warning! pkg/items/runes/recallRune/methods.ecl does not exist!
Exception caught while loading script pkg/items/runes/recallRune/methods.ecl: Unable to open pkg/items/runes/recallRune/methods.ecl for reading.
Unable to read script 'pkg/items/runes/recallRune/methods.ecl'
Error reading script pkg/items/runes/recallRune/methods.ecl
Error: Objtype 0x1F14 is already defined inconfig/itemdesc.cfg
Error reading configuration file pkg/items/runes/config/itemdesc.cfg:
        ObjType 0x1f14 defined more than once.
        Element: Item 0x1F14, found on line 2
Server Shutdown: load_itemdesc
Initiating POL Cleanup....
Execution aborted due to: Configuration file error
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: New commit to the Distro repo - 08-Aug-2007

Post by boberski »

There is an naming error in recall rune
You have dir name RecallRune and path in itemdesc as recallRune :)
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: New commit to the Distro repo - 08-Aug-2007

Post by Yukiko »

I think all these issues are fixed.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: New commit to the Distro repo - 08-Aug-2007

Post by boberski »

No, this is thing I get after update to last commit :)
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: New commit to the Distro repo - 08-Aug-2007

Post by Yukiko »

I think you forgot to post the error unless you're referring to the last posted error. If that's the error I removed the duplicate recall rune definition from the main itemdesc file and commited it.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: New commit to the Distro repo - 08-Aug-2007

Post by boberski »

No, last error I posted was next to objtype error you fixed before. It's about naming dirs :)
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: New commit to the Distro repo - 08-Aug-2007

Post by Yukiko »

Ok. Got the recallRune / RecallRune problem fixed in the commit today.
Post Reply