Jump to content
  • 0
Hit`

BG Shop Script

Question

Hello,

I was looking for a script about it to use along with Hercules' Battlegrounds and found one here (starts at line #644) but it has an error.

Here's the error, 

So I tried to PM one of the Script Developers for help and @Asheraf pointed out that the script uses custom script commands. My question is, is there a way for it to work and be compatible with Hercules? Like maybe change the part where custom commands are used and instead use Hercules script commands.

Here's the script,

  Reveal hidden contents

 

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hercules does not have a command to put items directly in storage so just use getitem/getitem2 and remove the storeitem/storeitem2. The use of checkweight guarantees it can be put in the inventory so you don't need to mess with storage anyway

Share this post


Link to post
Share on other sites
  • 0

the checkweight() command now checks for both weight and inventory space so you can use that instead of the custom checkspace()

 

Btw your terminal font makes it very hard to differentiate between parentheses and angle brackets. You could try the following:
https://github.com/adobe-fonts/source-code-pro
https://github.com/mozilla/Fira
 

If you use Powerline they also offer their own patched fonts:
https://github.com/powerline/fonts

Share this post


Link to post
Share on other sites
  • 0
  On 9/14/2017 at 5:21 PM, meko said:

the checkweight() command now checks for both weight and inventory space so you can use that instead of the custom checkspace()

 

Btw your terminal font makes it very hard to differentiate between parentheses and angle brackets. You could try the following:
https://github.com/adobe-fonts/source-code-pro
https://github.com/mozilla/Fira
 

If you use Powerline they also offer their own patched fonts:
https://github.com/powerline/fonts

Hi, so I changed the checkspace custom command to checkweight and it solved the error I posted above but there's another error and I think it's because of the custom command storeitem/storeitem2.

Btw here's the new error,

Also, I am very sorry but I really do not know how to apply those fonts, bear with me please. Thank you!

Share this post


Link to post
Share on other sites
  • 0

The script works now except for storing items to storage after purchasing. It'd be nice to have it implemented tho, till then, I guess we'll just have to wait.

Thank you for helping me out!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.