Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ Dawn of Time
➜ Administration
➜ mobs and bank manipulation
|
mobs and bank manipulation
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Meerclar
USA (733 posts) Bio
|
| Date
| Thu 14 Nov 2002 01:58 AM (UTC) |
| Message
| | Is there a currently defined method for mobs to manipulate clan bank accts? If not, how ugly would development of one likely be? |
Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org | | Top |
|
| Posted by
| Ixliam
(5 posts) Bio
|
| Date
| Reply #1 on Wed 27 Nov 2002 12:25 PM (UTC) |
| Message
| Are you wanting to create player based shops ? The only way I could think to do it would be to code something up so that a mob could be flagged as an owner, and then any profit would go into that players gold inventory. Or, make it so that particular mobs gold amount is saved (like corpses) and have the player who own's the room go and issue a command to get the mob to give him the 'profit'.
Ixliam
IMP/Founder - War of the Lance
www.wotl.org wotl.org 4020 | | Top |
|
| Posted by
| Cirin
USA (19 posts) Bio
|
| Date
| Reply #2 on Wed 27 Nov 2002 07:41 PM (UTC) |
| Message
| | Or just make it so that the room that they designate for their shop gets flagged as a shop and add a profit[x] variable to rooms. You could use profit[0] to save the actual amount of gold, profit[1] for the silver and profit[2] to save their clan. Then you could just make a clanshop_update for update.cpp to check profits and deposit them into the corresponding clans bank. Granted, the above isn't "simple" persay, but it's only a couple hours work and it makes it so that their profits can still accumulate when they're offline, also allows you to make it so everything saves over reboots. |
ººººººººººººººººººººººº
ºº»º¢îrìñ hëllþørñ身ºº
ººººººººººººººººººººººº | | Top |
|
| Posted by
| Meerclar
USA (733 posts) Bio
|
| Date
| Reply #3 on Wed 27 Nov 2002 08:00 PM (UTC) |
| Message
| | Actually, what I have a need of is a way for mobs to withdraw gold from clan bank accts. Later it may be that I have a need for mobs to deposit into said accts as well but for now I'd like something close to automated payment of stuff like clan guardian fees. |
Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
16,577 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top