Jump to content

Mice

Members
  • Posts

    82
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Mice

  1. No, did you add any custom source code to your server? When you access the command, does it only appear there? Did you add any custom commands before?
  2. Hello, try to revert the changes you made in the source related to the packet, because the issue you're facing is an unsupported packet.
  3. I just realized this function now. It's better if you implement it this way. Below
  4. Im not master or legendary scripter but try this After each function header, make sure to add this: query_sql("SELECT zeny FROM `char` WHERE `char_id` = " + getcharid(0), .@zeny_); and update the Balance section to: "+.@zeny_+" Example: function script 1hs_Shop1 { query_sql("SELECT zeny FROM `char` WHERE `char_id` = " + getcharid(0), .@zeny_); // <---------------------- mes "[ ^FF0000Account Information^000000 ]"; mes "^8b8b8b____________________________^000000"; mes "Name: ^0000FF"+strcharinfo(0)+"^000000"; mes "Zeny Balance : ^8b8b8b"+.@zeny_+"^000000 z"; // <---------------------- callshop "1hs_Shop2",1; end; }
  5. Do you mean that the NPC will display how much zeny you currently have?
  6. Hello, if you purchased the auto attack directly from Shakto, it should come with a database.sql or autoattack.sql file something like that. Simply import or execute it in your SQL database or phpMyAdmin, or whichever name you're more familiar with between the two. CREATE TABLE `aa_common_config` ( `char_id` int UNSIGNED NOT NULL, ` ` so on .. ); ALTER TABLE `aa_common_config` ADD UNIQUE KEY `char_id` (`char_id`); CREATE TABLE `aa_items` ( `char_id` int UNSIGNED NOT NULL, ` ` so on .. ); ALTER TABLE `aa_items` ADD UNIQUE KEY `char_id` (`char_id`,`type`,`item_id`); CREATE TABLE `aa_mobs` ( `char_id` int UNSIGNED NOT NULL, ` ` so on .. ); ALTER TABLE `aa_mobs` ADD UNIQUE KEY `char_id` (`char_id`,`mob_id`); CREATE TABLE `aa_skills` ( `char_id` int UNSIGNED NOT NULL, ` ` so on .. );
  7. I think you didn't follow the instructions in Nemo on how to download the client, and the .exe file you targeted in Nemo is the download for Client.EXE.
  8. I understand. How can I identify an item that has been refined using Enrich or Normal Elunium? Yes, it's possible for the bonuses to get stuck on the item when traded to another character, but regarding the logic of identifying items refined with Enrich and Normal Elunium, how would that be applied? The only method I can think of is having separate refiners for Elunium and Enrich Elunium, using the unique ID of the item for identification of the variable. Please correct me if I'm wrong.
  9. Try - script Kill2Cash -1,{ OnInit: .killCount = 0; .pointsPerKill = 50; end; OnNPCKillEvent: .killCount++; if (.killCount >= .pointsPerKill) { #CASHPOINTS += 1; .killCount -= .pointsPerKill; dispbottom "รับ : 1 Cash รวม : " + #CASHPOINTS + " Cash"; } end; }
  10. I think this is possible, but it requires source modification to identify whether an item has been refined from an enriched elu. This can also be done through scripting, but there’s a potential issue: if the item is traded, the variable added in the script might be lost, which could result in the bonus stats disappearing.
  11. Make sure your userid nad passwd is same in your sql database login table
  12. Change the packet version of your server and specify the packet version based on the client date you used. https://github.com/rathena/rathena/blob/fd817faaff206237d0045899309929b43cb3a43f/src/config/packets.hpp#L16
  13. On client dif enable multiple window
  14. Yes this error came from https://github.com/rathena/rathena/blob/master/npc/custom/quests/quest_shop.txt check your questshop npc and id: 20336 and 20862 and remove it from your script
  15. You can use the one in this link.
  16. This is from your script. You can check the scripts related to the quest.
  17. Young Man = https://github.com/rathena/rathena/blob/ec04ceba27efe4f56a9157f158316b550466883d/npc/quests/skills/bard_skills.txt#L30 Aelie = https://github.com/rathena/rathena/blob/ec04ceba27efe4f56a9157f158316b550466883d/npc/quests/skills/dancer_skills.txt#L403
  18. Hello, I'm not a great developer, but I'm willing to give this a try. OnPcAttackEvent.diff
  19. If your concern is to remove that message, Any work in progress (NPC dialog, manufacturing...) quit and try again you can disable it in npc.cpp find: clif_msg(sd, MSI_BUSY); and // comment this line
  20. @miaodiao Try not tested lasagna,142,271,3 script Homi 4_ep18_imril,{ mes "[Homi]"; mes "hello"; next; menu " - ^E63946yeah^000000",caihonghj," - no",caihongfj; caihonghj: set .@hasAll, 1; for (.@i = 0; .@i < getarraysize($@Chzhili); .@i++) { if (countitem($@Chzhili[.@i]) <= 0) { .@hasAll = 0; break; } } if (.@hasAll) { mes "[Homi]"; mes "Sorry, you cannot draw anymore because you already have all the items!"; close; end; } set .@i, rand(0, (getarraysize($@Chzhili) - 1)); while (countitem($@Chzhili[.@i]) > 0) { .@i = rand(0, (getarraysize($@Chzhili) - 1)); } if (countitem(12384) < 1) { mes "[Homi]"; mes "oh no!"; close; end; } mes "[Homi]"; mes "haha!"; next; getitem $@Chzhili[.@i], 1; mes "[Homi]"; mes "you get "+getitemname($@Chzhili[.@i])+" x 1"; close; end; caihongfj: delitem 12384, 1; getitem 12385, 1; close; end; OnInit: setarray $@Chzhili[0], 10000, 10001, 10002, 10003, 10004, 10005, 10006, 10007; end; }
  21. Hello, do you mean that once you've drawn ID: 10003, you can't obtain it again, even if it's no longer in your inventory?
×
×
  • Create New...