Closed: set guild membership/rank via console commands
- Nystul
- Posts: 1501
- Joined: Mon Mar 23, 2015 8:31 am
Closed: set guild membership/rank via console commands
would someone be interested in implementing setting guild membership and rank via console commands (would come in handy for testing)?
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: set guild membership/rank via console commands
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?
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
- Interkarma
- Posts: 7251
- Joined: Sun Mar 22, 2015 1:51 am
Re: set guild membership/rank via console commands
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.
The default commands file is getting a bit bloaty these days.
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: set guild membership/rank via console commands
Middle age spread affects all! lolInterkarma wrote: ↑Mon May 14, 2018 8:23 pm The default commands file is getting a bit bloaty these days.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: set guild membership/rank via console commands
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
- Nystul
- Posts: 1501
- Joined: Mon Mar 23, 2015 8:31 am
Re: set guild membership/rank via console commands
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
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: set guild membership/rank via console commands
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.
Rant over. (I'm sure there's a good reason for it, but I don't care.. lol)
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.
Rant over. (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
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: set guild membership/rank via console commands
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
- Nystul
- Posts: 1501
- Joined: Mon Mar 23, 2015 8:31 am
Re: set guild membership/rank via console commands
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
update: works like a charm! thank you now it is easy for me to test spymaster
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: set guild membership/rank via console commands
You're most welcome.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods