Welcome to the Builder Academy

Loved New OLC Craft System

More
27 Jun 2012 23:29 #295 by Liko
Replied by Liko on topic Re: New OLC Craft System
Might want to post how you fixed this for other people who added your features.

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

More
27 Jun 2012 23:43 - 27 Jun 2012 23:44 #298 by Halenbane
Replied by Halenbane on topic Re: New OLC Craft System
Well I actually haven't even posted my most recent addition in its entirety which is the rare item chance. I had only posted my fail msg change. I will be putting something together soon tho for any that want to make use of it.

Props to Vatiken for his help and patience.
Last edit: 27 Jun 2012 23:44 by Halenbane.

Please Log in or Create an account to join the conversation.

More
09 Jul 2012 20:47 #344 by Papaya Pete
Hey was just wondering, how is this snippit coming along? It sounds very interesting and promising!

Please Log in or Create an account to join the conversation.

More
10 Jul 2012 03:06 #345 by Vatiken
Replied by Vatiken on topic Re: New OLC Craft System
I won't be releasing an "Official" version until tbaMUD 3.64 is out, but the ALPHA version contains 99% of the functionality that the "Official" release will have, so feel free to try it out.

tbaMUD developer/programmer

Please Log in or Create an account to join the conversation.

More
09 Aug 2012 00:00 #598 by Papaya Pete
So I'm working on putting the Crafting System Alpha in, and it's working... except when I exit craftedit. The mud crashes, but what I was working on is saved just fine. The crash occurs even when I don't modify anything. Here is what the message is on the crash log...

Aug 8 16:52:58 :: OLC: Admin starts editing the craft file
Aug 8 16:53:00 :: SYSERR: Attempting to remove contents that don't exist in list.

This is new to me, where would I start to resolve this problem?

Please Log in or Create an account to join the conversation.

More
09 Aug 2012 00:51 #599 by Vatiken
Replied by Vatiken on topic Re: New OLC Craft System
Should solve the issue:
Code:
static void save_crafts_to_disk(void) { FILE *fp; struct craft_data * c; struct requirement_data * r; struct iterator_data Iterator; + /* Just in case */ + if (global_craft_list->iSize <= 0) + return; if ((fp = fopen(CRAFT_FILE, "w")) == NULL) { log("Cannot open craft file for writing!"); return; }

tbaMUD developer/programmer

Please Log in or Create an account to join the conversation.

Time to create page: 0.241 seconds