Welcome to the Builder Academy

Question Will this snippet work as is with tba ?

More
13 Jan 2018 06:22 #7334 by JTP
Can't open zip :(

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

More
13 Jan 2018 09:21 #7335 by thomas
Tried a repackage on windows. Same contents, but now the zipfile behaves correctly also under non-linux.
Attachments:

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

More
13 Jan 2018 09:28 #7336 by JTP
Well i work on iPad, never been able to open zip

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

More
13 Jan 2018 20:32 #7341 by JTP
ok got someone to open it and send.

But what did you change in it ?

What should i look for ?

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

More
14 Jan 2018 14:09 #7343 by thomas
First things first: Here's how to open zip files on your ipad .

Ok, so what happened in the patch file?
I rewrote clans so they do the things you asked for (minus the ability to have a mob clan leader - I have no idea how you'd want that to even work).
I tried to make the clan.c file as self-contained as possible, and in practice it handles everything relevant to clans; the clan list, the loading and saving, every command a player or immort can make, etc.
In clan.h we export the few functions needed in the rest of the system. In db.c we trigger the loading and freeing of clan data, and in interpreter.c we add the "clan" command to the main command list. In comm.c we make sure online clan members have the correct clan set.
I would suggest removing any changes made by the previous patch, before adding this. They are not compatible - the macros exported by the previous patch do not exist anymore.

The original clan patch had no concept of a clan (no really, hear me out). It simply delegated the right to set an extra title. Due to this, it was extremely difficult to make changes to the clan; after all, if I changed the name of the clan, every current member would be thrown out - their save file would not match. But they'd still have the old name pop up in the who list. Now, though, no one could dismiss them from their clan, because there was no clan by that name that had a leader. What if a clan leader left the clan?

With this clan system, the clan leader currently can set clan name and individual rank names and the code is ready to add more functionality to clans, because there's already a load/save mechanism in place. There's a relationship from clan to members, meaning that any changes in the clan are immediately visible to all members. If a clan leader leaves the clan, the next highest ranked member steps up as leader, or it is disbanded.
Most, if not all of this is apparent from the help entry lined out in the README. Please help me making it better - what is missing there?
The following user(s) said Thank You: WhiskyTest, Sascha

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

More
14 Jan 2018 14:39 #7346 by JTP
I think it was sascha that needed the hole thing, i already have the old version in. I just need the code to allow Big letters, but getting cross eyes trying to find where that was fixed.

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

Time to create page: 0.228 seconds