Jump to content
  • 0

setitemscript does not work ?


Truly

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  201
  • Reputation:   47
  • Joined:  11/17/11
  • Last Seen:  

Hey, pretty simple question here, does the setitemscript function work ?

I tried using the function and made my own unique version which (After editing and getting the errors out) still did not work. I also tried using the example the function gives you with no luck. I was wondering if this was never working or if it was fixed at a certain revision. (I am currently on revision 14742)

Any information will help, Thanks,

Truly~

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  201
  • Reputation:   47
  • Joined:  11/17/11
  • Last Seen:  

After thinking on this for a while, i thought the command might only be working for the txt version of item_db (And im running SQL). After testing this, i was actually correct with my idea. This is somewhat the end of my question i had at the start, but i have a new question:

Is it possible to make the command setitemscript to change the SQL entry (Only the one), and refresh it so it automatically is applied to the server without @reloaditemdb? (I ask because i have a few ideas where i want to update existing items in game through a script, without having to reload the itemdb and hang the server for a sec or two)

Thanks~

P.s. Sorry for the double post, i just felt it was necessary because it was not a bump, and i was including new information that may help others.

I was actually wrong with the above idea ^, i tested the same thing with both methods and it seems to work fine now. I'm not sure what exactly was going on, but it seems to work properly.

Edited by Truly
  • Upvote 1
Link to comment
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.   Paste as plain text instead

  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...