Login
User Name:

Password:



Register

Forgot your password?
do_owhere recursive
Author: Khonsu
Submitted by: Khonsu
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
Users Online
AhrefsBot, Bing

Members: 0
Guests: 35
Stats
Files
Topics
Posts
Members
Newest Member
489
3,791
19,644
596
Elwood

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » General » Coding » How to add a new coin.
Forum Rules | Mark all | Recent Posts

How to add a new coin.
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jun 29, 2012 5:29 pm   Last edited Jun 29, 2012 5:30 pm by antram
Go to the top of the page
Go to the bottom of the page

antram
Apprentice
GroupMembers
Posts58
JoinedNov 22, 2010

 
Hi everybody,

I would like to create a economy system in some codebase like smaugfus based in different coins such as Gold coin, Silver coin and copper coin but I am unable to do that the mud recongnizes the object type when i try to get it. It doesn't adds to the counter of coins. For example, if i get a gold coin, wich is supported by every codebases, I can see that my gold amount when I type "gold" has been increased in 1 gold coin. But when I try to do the same with a silver coin, it doesn't increases the silver amount.

Then, I am unable to add these new coins to the mob corpses. Someone can tell me where is this part of the code?

Thanks a lot.

Antram

Post is unread #2 Jun 30, 2012 3:30 am   
Go to the top of the page
Go to the bottom of the page

6Dragons
Fledgling
GroupMembers
Posts48
JoinedNov 24, 2008

 
Look at Garils DOTD mud which is in smaugmuds code bases. Very good foundation there of what you want to do.

Post is unread #3 Jul 1, 2012 4:31 pm   
Go to the top of the page
Go to the bottom of the page

antram
Apprentice
GroupMembers
Posts58
JoinedNov 22, 2010

 
Hi,

I downloaded this source but I can't uncompress the archive. Is there any other way to see it? I am running Windows 7 and use Cygwin. I tried with Cygwin to uncompress too but it doesn't work.

Thanks again.

Post is unread #4 Jul 1, 2012 10:06 pm   
Go to the top of the page
Go to the bottom of the page

kiro_san
Fledgling
GroupMembers
Posts23
JoinedJan 27, 2007

 
Have you tried WinRAR or 7Zip antram?

Post is unread #5 Jul 2, 2012 12:50 am   
Go to the top of the page
Go to the bottom of the page

antram
Apprentice
GroupMembers
Posts58
JoinedNov 22, 2010

 
Hi,

Yes, i tried with winrar but I downloaded the codebase from the oficial website and this is wich I can't uncompress. I didn't see the codebase in the downloads section from here. I am going to try with that.

Thanks again.

Pages:<< prev 1 next >>