Jump to content

Utility: Manage @alootid - @alootid2


Emistry

Recommended Posts


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

Manage @alootid - @alootid2


Introduction:

Due to the limitation of alootid that can only loot up to 10 items by default. (can change at /src/).

However players are always greedy, they want to loot almost everything, but not every items, so 10 slots can't fill their desires.

So this custom manager are introduced.

  • It help player to setup different combination of alootid settings. (Different hunting monster/maps could switch to different settings)
  • player no longer worry what their previous alootid settings was.
  • player can switch/save any settings whenever they want.
  • alootid settings could be auto loaded when they join the game.

* In short, just a macro to use to the alootid atcommand. To make it less confusing to player, disable the alootid and start using alootid2 instead.

Usage:

@alootid2 list
@alootid2 <save/add/remove> <#> <item1> ... <item10>
@alootid2 <load/clear/reset> <#>
@alootid2 set <#> name <name>
@alootid2 set <#> autoload <1/0>

Example:

chatbox: @alootid2 save 3 609 608 607
Usage: @alootid2 save <3> - save successfully.
chatbox: @alootid2 load 1
Your autolootitem list has been reset.
Autolooting item: 'Green_Herb'/'Green Herb' {511}
Autolooting item: 'Apple'/'Apple' {512}
Autolooting item: 'Banana'/'Banana' {513}
Autolooting item: 'Grape'/'Grape' {514}
Autolooting item: 'Carrot'/'Carrot' {515}
Usage: @alootid2 load <2> - loaded successfully.
chatbox: @alootid2 list
<1>  - 501, 502, 503, 504, 505, 506, 507, 508, 509, 510
<2>  - 511, 512, 513, 514, 515 (autoload upon login)
<3>  - 609, 608, 607
Usage: @alootid2 list - found 3 settings.

Preview:

jb0PRGD.jpg

1jwgwG8.jpg

 


  • Submitter
  • Submitted
    09/15/2019
  • Category
  • Video
  • Content Author
    Emistry

 

  • Upvote 4
  • Love 3
  • MVP 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

Great released! as always @Emistry ! /awsm

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  113
  • Reputation:   1
  • Joined:  12/15/18
  • Last Seen:  

Thanks for the release.

Link to comment
Share on other sites

  • 3 years later...

  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.02
  • Content Count:  148
  • Reputation:   0
  • Joined:  03/06/15
  • Last Seen:  

everytime  i save  then  load  always   Your autolootitem list has been reset       

@alootid2 save 1 607 608 969 

@alootid2 load 1                          

fix already sry sir i forget to put it on sql

alootiderror.PNG

Edited by Sergardo
fix
Link to comment
Share on other sites

  • 2 months later...

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

Version 2.0.0

  1. added option to bulk add/remove item
    (to cater scenario where chat box insufficient max length like 10 items with million ID range)
  2. added option to clear/reset the items in a group.
  3. added option to allow different save mode
    (experimental) use at your own risk (example: other players may share same settings with you)
  4. refactor the script to make it slightly easier to read/maintain

 

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  10/12/19
  • Last Seen:  

diff where

 

Link to comment
Share on other sites

  • 9 months later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  5
  • Reputation:   0
  • Joined:  06/15/21
  • Last Seen:  

On 9/15/2019 at 7:37 PM, Emistry said:

Manage @alootid - @alootid2


Introduction:

Due to the limitation of alootid that can only loot up to 10 items by default. (can change at /src/).

However players are always greedy, they want to loot almost everything, but not every items, so 10 slots can't fill their desires.

So this custom manager are introduced.

  • It help player to setup different combination of alootid settings. (Different hunting monster/maps could switch to different settings)
  • player no longer worry what their previous alootid settings was.
  • player can switch/save any settings whenever they want.
  • alootid settings could be auto loaded when they join the game.

* In short, just a macro to use to the alootid atcommand. To make it less confusing to player, disable the alootid and start using alootid2 instead.

Usage:

@alootid2 list
@alootid2 <save/add/remove> <#> <item1> ... <item10>
@alootid2 <load/clear/reset> <#>
@alootid2 set <#> name <name>
@alootid2 set <#> autoload <1/0>

Example:

chatbox: @alootid2 save 3 609 608 607
Usage: @alootid2 save <3> - save successfully.
chatbox: @alootid2 load 1
Your autolootitem list has been reset.
Autolooting item: 'Green_Herb'/'Green Herb' {511}
Autolooting item: 'Apple'/'Apple' {512}
Autolooting item: 'Banana'/'Banana' {513}
Autolooting item: 'Grape'/'Grape' {514}
Autolooting item: 'Carrot'/'Carrot' {515}
Usage: @alootid2 load <2> - loaded successfully.
chatbox: @alootid2 list
<1>  - 501, 502, 503, 504, 505, 506, 507, 508, 509, 510
<2>  - 511, 512, 513, 514, 515 (autoload upon login)
<3>  - 609, 608, 607
Usage: @alootid2 list - found 3 settings.

Preview:

jb0PRGD.jpg

1jwgwG8.jpg

 


  • Submitter
  • Submitted
    09/15/2019
  • Category
  • Video
     
  • Content Author
    Emistry

 

Want to ask question, where should i put this on src?

CREATE TABLE IF NOT EXISTS `ero_alootid` (

Link to comment
Share on other sites


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

6 hours ago, Queen Freya said:

Want to ask question, where should i put this

run the SQL queries at your database engine, HeidiSQL, MySQL Workbench, PhpMyAdmin etc

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
Reply to this topic...

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