SphereCommunity
Vendor Speech - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Vendor Speech (/Thread-Vendor-Speech)



Vendor Speech - Art - 04-15-2012 05:05 AM

Hello.I have hireling vendors for players, with brain_vendor, but can't control some speech triggers. I have TSPEECH=spk_test for example, and there

ON=STATUS
serv.log test works
return 1

but it doesn't works. I tried to make same with spk_hireling and spk_pet, but failed.


RE: Vendor Speech - darksun84 - 04-15-2012 05:27 AM

The trigger is ok ,it's the word Status that is "internally" used in brain_vendor.

It gives a wrong list of how many item the vendor has and how much money he has.


With other brains , status get simply skipped . Maybe it's a bug Big Grin


RE: Vendor Speech - Art - 04-15-2012 05:47 AM

(04-15-2012 05:27 AM)darksun84 Wrote:  The trigger is ok ,it's the word Status that is "internally" used in brain_vendor.

I figured it, but how to override it?


RE: Vendor Speech - Shaklaban - 04-15-2012 09:07 AM

If its hardcoded, its not possible. I just look to the spheresvr.exe with hex editor, all npc commands are sequencing. Maybe you can try to replace "status" string with another thing with same length, it can work or mess up your spheresvr.exe Big Grin


RE: Vendor Speech - Art - 04-15-2012 04:16 PM

Uh, then tell me please, how to make command "drop all" working? It doesn't works Sad Vendor doing nothing, and i can't override that by my script.