Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Yandex, Bing, DotBot

Members: 0
Guests: 17
Stats
Files
Topics
Posts
Members
Newest Member
481
3,739
19,386
621
KellieBusb
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Smaug Snippets » Bank Snippet help
Forum Rules | Mark all | Recent Posts

Bank Snippet help
< Newer Topic :: Older Topic > Bank Snippet help

Pages:<< prev 1 next >>
Post is unread #1 Jun 6, 2003, 11:20 pm
Go to the top of the page
Go to the bottom of the page

Lorenlemcke

GroupMembers
Posts2
JoinedJun 6, 2003

Well i just installed the new bank snippet, and all seems to be working fine, except i found an error in the code wich i fixed.

But how do i set the commands for deposit balance and withdraw?

heres what is says to do
"8. Create commands for balance, deposit, and withdraw."
Im not a newbie coder, but i am a newbie at smaug... how do i make these commands

Thank you all for helping... i really appreciate it.
       
Post is unread #2 Jun 7, 2003, 6:08 am
Go to the top of the page
Go to the bottom of the page

Zhamel

GroupMembers
Posts68
JoinedApr 5, 2005

If you have already added them to mud.h and tables.c (if not using Dlsym), then all you have to do is a few commands online.
Use cedit like so:
cedit balance create do_balance
cedit balance level
Do the same for deposit and withdraw. Then type 'cedit save cmdtable' to save the commands and levels. All done
       
Post is unread #3 Jun 8, 2003, 5:52 pm
Go to the top of the page
Go to the bottom of the page

Lorenlemcke

GroupMembers
Posts2
JoinedJun 6, 2003

Thank you, but another problem has arrisen, For some reason, It always says, "You are not in a bank". Even though you are in the same room as a mob with the flag "Banker" assigned to it. Any clues?
       
Post is unread #4 Jun 9, 2003, 7:38 am
Go to the top of the page
Go to the bottom of the page

Xorith
The Null Value
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003

Best thing to do is doublecheck the flag, and check to make sure the ifchecks were put in right when you installed the snippet. It also doesn't hurt to double check the flags in mud.h against the ones in build.c... the flags in build.c should be in order with the flags in mud.h. If you 'skip' one, then you'll find that you're setting the wrong flags.

-- X
       
Pages:<< prev 1 next >>