Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Keirath, Yandex, Sogou, DotBot

Members: 1
Guests: 10
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Coding » Shop
Forum Rules | Mark all | Recent Posts

Shop
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Dec 3, 2008, 11:18 am
Go to the top of the page
Go to the bottom of the page

dbna2
Sorcerer
GroupMembers
Posts600
JoinedDec 2, 2008

I am currently running a dbsc code, and I believe it used original smaug1.4 shop coding with a few differences. But I have come to notice that if you sell two of the same items, you can buy them back for the price of one. I am stumped on how to actually fix this. any suggestions is welcomed.
       
Post is unread #2 Dec 3, 2008, 11:52 am
Go to the top of the page
Go to the bottom of the page

tphegley
Magician
GroupMembers
Posts176
JoinedMay 21, 2006

I think there was a fix on here concerning seperating same items before doing something.

It was something like seperate_obj(obj);


I'll have to look for it.
       
Post is unread #3 Dec 3, 2008, 12:06 pm
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,868
JoinedJul 26, 2005

Well smaug doesn't allow you to sell the same item to a shopkeeper. (Another words if he already has the item he will not buy another one from someone). Yea you can use separate_obj to get it to split them when someone buys them if you want to though.
       
Pages:<< prev 1 next >>