Closed: set guild membership/rank via console commands

Discuss Daggerfall Unity and Daggerfall Tools for Unity.
Post Reply
User avatar
Nystul
Posts: 1501
Joined: Mon Mar 23, 2015 8:31 am

Closed: set guild membership/rank via console commands

Post by Nystul »

would someone be interested in implementing setting guild membership and rank via console commands (would come in handy for testing)?

User avatar
Hazelnut
Posts: 3015
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: set guild membership/rank via console commands

Post by Hazelnut »

Yes, I'll implement them when I remove the relaxed rules currently in place for guild testing. Will try to do it this week if I get time, as it should be pretty quick.

I noticed that you implemented some commands with the mapper classes rather than with the main commands class, do you / Interkarma think I should do the same for these commands?
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: set guild membership/rank via console commands

Post by Interkarma »

It doesn't bother me and I'm happy if you want to do that. :)

The default commands file is getting a bit bloaty these days.

User avatar
Hazelnut
Posts: 3015
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: set guild membership/rank via console commands

Post by Hazelnut »

Interkarma wrote: Mon May 14, 2018 8:23 pm The default commands file is getting a bit bloaty these days.
Middle age spread affects all! lol
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
Hazelnut
Posts: 3015
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: set guild membership/rank via console commands

Post by Hazelnut »

Nystul, wrote the join guild command tonight, I can submit now or wait until setguildrank is done.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
Nystul
Posts: 1501
Joined: Mon Mar 23, 2015 8:31 am

Re: set guild membership/rank via console commands

Post by Nystul »

You rock, take the time you need, no hurry. Will wait for it and test other guild's quests first and postpone tg and dbh quests till it is finished

User avatar
Hazelnut
Posts: 3015
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: set guild membership/rank via console commands

Post by Hazelnut »

Thanks, will submit when completed both commands which I hope will be tonight.

Just had to break read only on rank encapsulation in Guild class to avoid a load of complexity this doesn't warrant and be able to force rank to a given value. I've taken to C# much more than I expected to and it has a lot of good aspects. However, I regularly curse the lack of the equivalent to Java package private access level - almost every time I do any programming with C# really!! Drives me flipping bananas.. half the times I end up searching the docs again because I just can't believe it's true. :evil:

Rant over. :D (I'm sure there's a good reason for it, but I don't care.. lol)
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
Hazelnut
Posts: 3015
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: set guild membership/rank via console commands

Post by Hazelnut »

Please let me know if these don't fulfil your expectations mate. It's hard to be really thorough when ya mind is battered from work. :)
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
Nystul
Posts: 1501
Joined: Mon Mar 23, 2015 8:31 am

Re: set guild membership/rank via console commands

Post by Nystul »

thank you for adding the console commands - will test asap ;)

update: works like a charm! thank you ;) now it is easy for me to test spymaster ;)

User avatar
Hazelnut
Posts: 3015
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: set guild membership/rank via console commands

Post by Hazelnut »

You're most welcome.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

Post Reply