Jump to content

Mice

Members
  • Posts

    82
  • Joined

  • Last visited

  • Days Won

    4

Mice last won the day on November 15 2024

Mice had the most liked content!

1 Follower

Recent Profile Visitors

2026 profile views

Mice's Achievements

Magmaring

Magmaring (7/15)

  • Reacting Well
  • Conversation Starter
  • Dedicated
  • First Post
  • Collaborator

Recent Badges

20

Reputation

4

Community Answers

  1. Thank you very much for your beautiful explanation. Now I understand why even if I load in clif_parse_LoadEndAck, it still doesn't work properly. It's because of that. I understand it much better now thanks to your explanation. Thank you so much. The code you provided is a big help to me. I will just use it and add a confirmation so that the storage with ID: 2 will automatically open via a script for checking in order to initialize it.
  2. Hello, it works, but there are some issues I can't figure out. Here's what's happening: On your first login, if you use AutoStore and pick up loot, Storage ID: 2 opens once but doesn't close. However, the item you picked up goes into your main storage instead of Storage ID: 2. After that, any new loot you pick up correctly goes into Storage ID: 2. But if you relog, the same issue happens again. However, if you open Storage ID: 2 first after relogging, everything works fine. So overall, the system works it’s just that the first opening of the storage causes the issue.
  3. Hello, this is Cydh's @autostore feature. // @autostore [Cydh] if (autostoring && sd->state.autostore && !item->expire_time && !id->flag.autoequip && !sd->state.storage_flag && !sd->npc_id) { if ((!sd->autostore_weight || (sd->autostore_weight && get_percentage(sd->weight, sd->max_weight) >= sd->autostore_weight)) && ( (sd->autostore_type&1 && (id->type == IT_HEALING || id->type == IT_USABLE || id->type == IT_DELAYCONSUME || id->type == IT_CASH)) || (sd->autostore_type&2 && (id->type == IT_ARMOR || id->type == IT_WEAPON || id->type == IT_SHADOWGEAR || id->type == IT_PETEGG || id->type == IT_PETARMOR)) || (sd->autostore_type&4 && (id->type == IT_ETC || id->type == IT_AMMO || id->type == IT_UNKNOWN || id->type == IT_UNKNOWN2)) || (sd->autostore_type&8 && id->type == IT_CARD) ) ) { char output[CHAT_SIZE_MAX]; sd->weight += w; clif_updatestatus(*sd, SP_WEIGHT); storage_storageadd(sd, &sd->storage, i, amount); storage_storageclose(sd); clif_storageclose(*sd); sprintf(output, "[ Autostore ] %dx %s", amount, id->ename.c_str()); clif_messagecolor(&sd->bl, color_table[COLOR_LIGHT_GREEN], output, false, SELF); achievement_update_objective(sd, AG_GET_ITEM, 1, id->value_sell); return ADDITEM_SUCCESS; } } ---------------------------------------------------------- - ID: 2 Name: "Storage 2" Table: storage2 Max: 300 - ID: 3 Name: "Storage 3" Table: storage3 Max: 300 This is the part where it stores the item in the storage. storage_storageadd(sd, &sd->storage, i, amount); Any idea how I can call storage ID: 2 or 3 in that part, so that the item to be autostored will go to the custom storage I created?"
  4. Hello try lang search sa youtube halos lahat ng guide ginawan na ng ating mga kasamang pinoy
  5. Find: for (set .@i, 1; .@i <= .@option_rows; set .@i, .@i + 1) { Replace: for (.@i = 1; .@i <= .@option_rows; .@i++) { Find: makeitem2 .@weapon_id, 1, getcharid(CHAR_ID_ACCOUNT), 0, 0, Replace: makeitem2 .@weapon_id, 1, getcharid(0), 0, 0, Not tested
  6. show fullscript so i can test it
  7. Try this if ( getarraysize(.@liga$) == 0 || .@liga$[0] == "") {
  8. What is the error in the map server after completing the quest and not receiving the reward?
  9. Try it like this case 0: getitem2 5100,1,1,0,0,0,0,0,0; announce "Player has received a reward!",0; break;
  10. Could you please explain what kind of help you need with this script? If there's an issue with it, could you describe the problem in more detail? It would be helpful if you could provide more specifics. Would it be possible to use a code box when posting a script? This way, when the script is shared, there won’t be any confusion regarding spaces and tabbing.
  11. Try add this somewhere in your script maybe before the OnInit OnClock0001: query_sql "UPDATE `acc_reg_num` SET `value` = '0' WHERE `key` = '#lastTimeTalked'"; end;
  12. Header: Type: INTER_SERVER_DB Version: 1 Body: - ID: 1 Name: "Storage 2" Table: storage2 Max: 300 At @storeall, how can I transfer the storeall function to a different storage? I want to move it to the Storage 2 I created, but I just don't understand how to recall openstorage2 1,STOR_MODE_GET|STOR_MODE_PUT; Thank you very much to anyone who can help. storage_storageadd(sd, &sd->storage, i, sd->inventory.u.items_inventory[i].amount);
  13. Hello, where should the basis or points come from to say that it's the top 1 job?
  14. Uncomment this line https://github.com/rathena/rathena/blob/3e14940ee1a837984c19f2e8698cdd7b3e5cec23/src/config/core.hpp#L47 And edit the HP/SP specific job on "job_basepoints.yml" depend if you are renewal or pre-re
×
×
  • Create New...