npc buy problem, help me? - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: npc buy problem, help me? (/Thread-npc-buy-problem-help-me) |
npc buy problem, help me? - jexnico - 02-20-2018 07:37 PM well, when i try to make a purchase on an npc the purchase is not finalized i make the command buy, i select the item that i want to buy and confirm, the gump trade does not close and the item does not appear in my inventory ... i do not know if it is some mistake because when i make a purchase nothing appears without a sphere the only error that is appearing is this: 06:36:ERROR:(sphere_vendors.scp,333)Undefined symbol 'VENDOR_S_DEED_TEMPLATE' ['VENDOR_S_DEED_TEMPLATE'] but i do not know if there is anything related to my problem note: i can not finish the purchase in any npc any help me please? RE: npc buy problem, help me? - darksun84 - 02-20-2018 10:26 PM Open sphere_template_vend.scp and check if you have this Code: [TEMPLATE VENDOR_S_DEED_TEMPLATE] If you don't have probably you have some wrong/old scripts You can still add the one above btw. RE: npc buy problem, help me? - Coruja - 02-21-2018 02:49 AM the error itself is already telling the problem: on sphere_vendors.scp, the vendor on line 333 is trying to use an sell template list which doesn't exist (VENDOR_S_DEED_TEMPLATE). So you must create this template or remove this line from this NPC anyway, based on your report (you click on "confirm" and nothing happens) this seems occur when you try to buy from an NPC out o LOS RE: npc buy problem, help me? - jexnico - 02-21-2018 07:15 AM (02-21-2018 02:49 AM)Coruja Wrote: the error itself is already telling the problem: on sphere_vendors.scp, the vendor on line 333 is trying to use an sell template list which doesn't exist (VENDOR_S_DEED_TEMPLATE). So you must create this template or remove this line from this NPC yeah, template was off haha Quote://[TEMPLATE VENDOR_S_DEED_TEMPLATE] but anyway im still having problems trying to buy, now even the buying gump appears, npc says that it has nothing to sell me... i believe the problem is in my restock script, but i used it without problems before... check this: **** edit: gump appeared but i can not complete the purchase RE: npc buy problem, help me? - darksun84 - 02-21-2018 07:33 AM Do you have any custom scripts that handles buy/sell/restock, also in new UO client the buy/sell range was reduced so you need to be near the vendor for completing the transaction RE: npc buy problem, help me? - jexnico - 02-21-2018 11:13 AM (02-21-2018 07:33 AM)darksun84 Wrote: Do you have any custom scripts that handles buy/sell/restock, also in new UO client the buy/sell range was reduced so you need to be near the vendor for completing the transaction yes, im on the sellers side, even so my purchase is not complete RE: npc buy problem, help me? - jexnico - 02-21-2018 08:15 PM i need help :c RE: npc buy problem, help me? - darksun84 - 02-21-2018 08:43 PM Try to buy/sell from a NPC by using a the default script pack, that means just default sphere files without any custom script: https://github.com/Sphereserver/Scripts/archive/master.zip If it works it means something is wrong on your custom scripts, if you moved from 56b to 56c/d there could be some incompabitilies that you need to address RE: npc buy problem, help me? - jexnico - 02-22-2018 08:18 AM (02-21-2018 08:43 PM)darksun84 Wrote: Try to buy/sell from a NPC by using a the default script pack, that means just default sphere files without any custom script: i deactivated my new script to buy and sell, now the purchases are back to normal, i do not know why, because the sphere does not accuse any errors... RE: npc buy problem, help me? - azmanomer - 02-22-2018 11:02 PM In your script probably there is some return 1 when u hit accept so it dont let you to finish your purchase so u need to check your scripts. |