Jump to content
  • 0

Item script to bypass custom @AT time limit


Adam

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  111
  • Reputation:   3
  • Joined:  06/29/12
  • Last Seen:  

Hi rAthena, hello people :)

I Need your help regarding an ITEM script:

On my server @autotrade is configured with a default 72hours limit (to keep the market dynamic).

My objective now is to create an item (single-use voucher) that allows players to bypass the 3 days limit; but we're experiencing issues :

We created the item but can't find a way to script a single item to bypass the time limit without modifying the whole server @AT time settings

To be more specific:

- Voucher should be removed from user's inventory as soon as he turned his merch in AT mode.

- After 168 hours in @at, the merch gets automatically disconnected

All suggestions are welcome and appreciated.

Thanks !

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

Question: How did you manage to put a time limit in autotrade? I don't recall rA having a setting for that. Was it via a script or a source modification?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

@arcencial

https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/conf/battle/misc.conf

// Set this to the amount of minutes autotrade chars will be kicked from the server.
at_timeout: 0

@topic...

i think it is better to do it in src ..

example..create another autotrade command that read different timeout limit.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  111
  • Reputation:   3
  • Joined:  06/29/12
  • Last Seen:  

@arcencial

https://rathena.svn....attle/misc.conf

// Set this to the amount of minutes autotrade chars will be kicked from the server.
at_timeout: 0

@topic...

i think it is better to do it in src ..

example..create another autotrade command that read different timeout limit.

Thanks Emistry, we gonna look in this direction, great suggestion :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

@Emistry: Oh thanks!

Moving this topic to source request.

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