how add a command is @shop?

User avatar
Scriptic
Posts: 27
Joined: Wed Jul 23, 2014 7:54 pm

Re: how add a command is @shop?

Post by Scriptic » Fri Aug 08, 2014 6:23 pm

I understand GM settings and I reset the server. The problem was naming the file. I renamed it to ahanywhere.lua instead of leaving it as ah.lua . It works though. Thanks again. Both of ya.

kennxonline
Posts: 56
Joined: Sun Mar 23, 2014 2:58 pm

Re: how add a command is @shop?

Post by kennxonline » Thu Oct 29, 2015 11:01 pm

is there anyway to sell gear that has augments?

User avatar
TeoTwawki
Developer
Posts: 527
Joined: Mon Jul 15, 2013 9:50 pm

Re: how add a command is @shop?

Post by TeoTwawki » Fri Oct 30, 2015 9:29 pm

kennxonline wrote:is there anyway to sell gear that has augments?
Can't be done in a shop script. Even if you try and mod the core code to make the items augmented you can't alter the display of the shop in the client, so nobody would see what the augments were till its in their characters inventory.

Its better to rig an NPC to take an existing item exchange it for an augmented version via trade.
Hi, I run The Demiurge server.


Image
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
PLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE
DO NOT PRIVATE MESSAGE ME ABOUT BUGS

Swerv
Posts: 1
Joined: Thu Nov 29, 2018 10:39 am

Re: how add a command is @shop?

Post by Swerv » Thu Jan 17, 2019 6:44 pm

hmmm seems this no longer works? I can get the system messages but not the shops

User avatar
TeoTwawki
Developer
Posts: 527
Joined: Mon Jul 15, 2013 9:50 pm

Re: how add a command is @shop?

Post by TeoTwawki » Tue Jan 29, 2019 7:57 pm

Swerv wrote:
Thu Jan 17, 2019 6:44 pm
hmmm seems this no longer works? I can get the system messages but not the shops
Shop command was updated:
https://github.com/DarkstarProject/darkstar/pull/4958

ancient forum posts like this haven't been updated to new formats
Hi, I run The Demiurge server.


Image
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
PLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE
DO NOT PRIVATE MESSAGE ME ABOUT BUGS

Post Reply