|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here. |
06-14-2009, 06:04 PM
|
Banned
|
|
Join Date: Sep 2006
Posts: 841
|
|
Ldon Merchants Buying
Seems I can't get the LDON merchants to buy the stuff back ? It should buy stuff back with LDONSOLD set to 1 I would think but no dice...
LDON merchants usually would buy back the items for 85% of the price (or maybe if you can make it so we can set that value)
King
|
06-14-2009, 06:09 PM
|
|
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
Buying back indeed works on TGC, though we just use stock LDoN items. I haven't looked into all the columns just yet to see how they work/what they do.
|
06-14-2009, 07:24 PM
|
Banned
|
|
Join Date: Sep 2006
Posts: 841
|
|
Hmm can you give me a few item examples maybe i can pick through it..
Thanks cavedude
King
|
06-14-2009, 07:32 PM
|
Administrator
|
|
Join Date: Sep 2006
Posts: 1,348
|
|
What's the error? The sellrate should be 70%, and it should work if your item is setup right. Ever fallthrough error should have an error message though.
|
06-14-2009, 08:43 PM
|
Banned
|
|
Join Date: Sep 2006
Posts: 841
|
|
No error they will have the already bought item on cursor and the sell button is grey...
|
06-14-2009, 09:41 PM
|
Administrator
|
|
Join Date: Sep 2006
Posts: 1,348
|
|
Did you have updated code and .conf files.
|
06-15-2009, 02:00 AM
|
|
Demi-God
|
|
Join Date: May 2007
Location: b
Posts: 1,447
|
|
Quote:
Originally Posted by KLS
Did you have updated code and .conf files.
|
He's on rev 529 if I remember correctly, and I hope to god he has updated conf files, lol.
|
|
|
|
06-15-2009, 11:57 AM
|
Banned
|
|
Join Date: Sep 2006
Posts: 841
|
|
Yes i'm pretty sure I do.. (Though the blue section in bazaar isn't working right) perhaps I don't....
This has NEVER worked you would think this wasn't something new ?
Perhaps it's just something with the Items that are on the merchant something missing...
Here is one of the LDON items for sale..
Code:
INSERT INTO `items` (`id`, `minstatus`, `Name`, `aagi`, `ac`, `accuracy`, `acha`, `adex`, `aint`, `artifactflag`, `asta`, `astr`, `attack`, `augrestrict`, `augslot1type`, `augslot1visible`, `augslot2type`, `augslot2visible`, `augslot3type`, `augslot3visible`, `augslot4type`, `augslot4visible`, `augslot5type`, `augslot5visible`, `augtype`, `avoidance`, `awis`, `bagsize`, `bagslots`, `bagtype`, `bagwr`, `banedmgamt`, `banedmgraceamt`, `banedmgbody`, `banedmgrace`, `bardtype`, `bardvalue`, `book`, `casttime`, `casttime_`, `charmfile`, `charmfileid`, `classes`, `color`, `combateffects`, `extradmgskill`, `extradmgamt`, `price`, `cr`, `damage`, `damageshield`, `deity`, `delay`, `augdistiller`, `dotshielding`, `dr`, `clicktype`, `clicklevel2`, `elemdmgtype`, `elemdmgamt`, `endur`, `factionamt1`, `factionamt2`, `factionamt3`, `factionamt4`, `factionmod1`, `factionmod2`, `factionmod3`, `factionmod4`, `filename`, `focuseffect`, `fr`, `fvnodrop`, `haste`, `clicklevel`, `hp`, `regen`, `icon`, `idfile`, `itemclass`, `itemtype`, `ldonprice`, `ldontheme`, `ldonsold`, `light`, `lore`, `loregroup`, `magic`, `mana`, `manaregen`, `enduranceregen`, `material`, `maxcharges`, `mr`, `nodrop`, `norent`, `pendingloreflag`, `pr`, `procrate`, `races`, `range`, `reclevel`, `recskill`, `reqlevel`, `sellrate`, `shielding`, `size`, `skillmodtype`, `skillmodvalue`, `slots`, `clickeffect`, `spellshield`, `strikethrough`, `stunresist`, `summonedflag`, `tradeskills`, `favor`, `weight`, `unknown002`, `unknown003`, `unknown005`, `unknown007`, `unknown018`, `unknown019`, `unknown020`, `UNK012`, `UNK013`, `benefitflag`, `unknown061`, `UNK054`, `unknown067`, `unknown069`, `UNK059`, `UNK061`, `unknown081`, `unknown105`, `booktype`, `unknown122`, `unknown123`, `unknown124`, `recastdelay`, `recasttype`, `guildfavor`, `unknown128`, `UNK123`, `UNK124`, `attuneable`, `nopet`, `unknown133`, `updated`, `comment`, `UNK127`, `pointtype`, `potionbelt`, `potionbeltslots`, `stacksize`, `notransfer`, `stackable`, `UNK134`, `UNK137`, `proceffect`, `proctype`, `proclevel2`, `proclevel`, `UNK142`, `worneffect`, `worntype`, `wornlevel2`, `wornlevel`, `UNK147`, `focustype`, `focuslevel2`, `focuslevel`, `UNK152`, `scrolleffect`, `scrolltype`, `scrolllevel2`, `scrolllevel`, `UNK157`, `serialized`, `verified`, `serialization`, `source`, `UNK033`, `lorefile`, `UNK014`, `svcorruption`, `UNK038`, `UNK060`, `augslot1unk2`, `augslot2unk2`, `augslot3unk2`, `augslot4unk2`, `augslot5unk2`, `UNK098`, `UNK109`, `UNK120`, `UNK121`, `questitemflag`, `UNK131`, `UNK132`, `clickunk5`, `clickunk6`, `clickunk7`, `procunk1`, `procunk2`, `procunk3`, `procunk4`, `procunk6`, `procunk7`, `wornunk1`, `wornunk2`, `wornunk3`, `wornunk4`, `wornunk5`, `wornunk6`, `wornunk7`, `focusunk1`, `focusunk2`, `focusunk3`, `focusunk4`, `focusunk5`, `focusunk6`, `focusunk7`, `scrollunk1`, `scrollunk2`, `scrollunk3`, `scrollunk4`, `scrollunk5`, `scrollunk6`, `scrollunk7`, `UNK193`, `purity`, `evolvinglevel`, `UNK129`, `clickname`, `procname`, `wornname`, `focusname`, `scrollname`, `dsmitigation`, `heroic_str`, `heroic_int`, `heroic_wis`, `heroic_agi`, `heroic_dex`, `heroic_sta`, `heroic_cha`, `healamt`, `spelldmg`, `clairvoyance`, `backstabdmg`, `created`) VALUES
(391, 0, 'Kehns Old Robe', 0, 293, 0, 22, 5, 25, 0, 17, 0, 0, 0, 8, 1, 12, 1, 12, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, '', '0', 15360, 2147483647, '0', 0, 0, 31700, 15, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 9052, 20, 0, 0, 0, 3150, 5, 1575, 'IT63', 0, 10, 31700, 1, 1, 0, 'Runes of an unknown language are stitched into the robe', -1, 1, 3650, 11, 0, 10, -1, 15, 0, 255, 0, 15, 0, 65535, 0, 0, 0, 87, 1, 1, 3, 255, 0, 131072, -1, 4, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0', 0, -1, 0, '0', -1, 0, 0, 0, '0', '2006-04-18 07:58:40', '', 0, 0, 0, 0, 20, 0, 0, '00000000000000000000000000000000000000', 0, -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 6, 0, 70, 0, -1, 0, 0, 0, 0, NULL, '2006-04-12 17:28:12', NULL, 'KingMort', 0, '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, '', 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
|
|
|
|
06-15-2009, 12:24 PM
|
Banned
|
|
Join Date: Sep 2006
Posts: 841
|
|
Strange after looking at it, I right click the merchant.. Click on the Kehns Robe says: I will not give you any adventure points for the Kehns Old Robe
Then i accidently clicked on an item with an augment it says:
I will not give you any adventure points for Flameshield Stone
I will not give you any adventure points for Grandmaster's Chest Symbol of Terror
I will not give you any adventure points for Last Blood of the Warmonger
I will not give you any adventure points for Chestplate of the Raid Addict
Listing the augments first ? (could be a new bug)
|
06-15-2009, 01:31 PM
|
Administrator
|
|
Join Date: Sep 2006
Posts: 1,348
|
|
It's a recently implemented feature that needs both new code + updated .conf files.
|
06-15-2009, 02:20 PM
|
|
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
Yeah, you need a newer version of the server, Mort. 529 is before the adventure/instancing stuff went into the trunk.
As for bazaar not working, make sure you have doors with either type 153 or 155 placed where you want people to sell. One is for sellers, and the other for buyers. I am not sure which is which by looking, though on TGC it doesn't seem to matter. Players can buy and sell on either. If you're using the standard bazaar zone, PORCH_SHORT and PORCH_LONG are the doors you want. If not, then you'll need to find doors that are invisible or match the current zone's terrain.
|
06-15-2009, 08:53 PM
|
Banned
|
|
Join Date: Sep 2006
Posts: 841
|
|
DOH hehe well thanks guys appreciate it... Time to upgrade at some point I guess...
|
06-15-2009, 09:15 PM
|
Fire Beetle
|
|
Join Date: Oct 2008
Location: Washington
Posts: 23
|
|
My Adventure Merchant will buy back stuff with Titanium, but will not with SoF.
Using 670 source and 669 database. I'm using the latest conf.
It tells me "I will not give you any adventure points for Nightrage Sash."
|
06-15-2009, 09:22 PM
|
|
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
Just a guess, but I would bet that for SoF we need to set encodes/decodes for buying from Adventure Merchants. This is because of the slot difference between the 2 clients caused by the addition of the Power Source slot. It should be pretty easy to get the encodes setup and I already have a function that automatically converts the slot numbers, so it shouldn't be too tough. The only thing I don't have much info on is actual slot number that merchants use. I am not sure if that matters or not, though.
|
06-16-2009, 04:01 AM
|
Administrator
|
|
Join Date: Sep 2006
Posts: 1,348
|
|
Starting after titanium trev the items have a ldonsellbackrate field somewhere. In titanium it's hardcoded to 70, but sometime after they added it to the item struct, it's usually 70 but in some cases it's 0, I'd set it to 70 if we can find it just to retain backwards compatibility.
edit:
isbs.ldonpoint_type = 0;
isbs.ldontheme = item->LDoNTheme;
isbs.ldonprice = item->LDoNPrice;
isbs.unk098 = 70;
isbs.ldonsold = item->LDoNSold;
perhaps this isn't 100% right?
Oh I guess I should also mention: that message he's seeing is generated by the client not the server which is why I think the item struct may be off.
Last edited by KLS; 06-16-2009 at 12:06 PM..
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 04:35 AM.
|
|
|
|
|
|
|
|
|
|
|
|
|