Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/08/19 in all areas

  1. View File [SCRIPT COMMAND] Fake Player This modification allows you to create fake players without further using mob_avail for such behavior. Usage: .@monsterGID = fakeplayer( map, x, y, name, job_id, sex, hair_style, hair_color, weapon, shield, head_top, head_mid, head_bottom, option, cloth_color ); Submitter Zell Submitted 08/26/2019 Category Source Modifications Video Content Author Zell  
    1 point
  2. Marketplace link: rAthena Language Support - Visual Studio Marketplace This extension now lives in rAthena organization, my own fork has been archived. This extension provides rAthena-flavored Athena language syntax highlighting and code snippets and automatically highlights files with .rascript extension. Automatic rAthena script detection for .txt files is coming soon. The following is the non-exhaustive list of code snippets provided by Athena Language Support. * `defnpc`, `defnpcfloat`, `defwarp`, and `defshop` (In-game objects definition) * `deffunction` (Function definition) * `On:` event handler snippet * `for`, `while`, `do` flow control snippet report issues: https://github.com/rathena/vsce-rathena-language-support/issues Special thanks to @JoWei for the base extension for Atom.
    1 point
  3. View File @autostore - Picked item will be sent to storage automatically Type (at)autostore Choose the option Kill monster, pick item Submitter Cydh Submitted 06/12/2019 Category Source Modifications Video https://youtu.be/o6y26dZIc7U Content Author Cydh  
    1 point
  4. made in 2013 Set character position、move distance and what skill you want to use and just use it
    1 point
  5. If you want to remove/change the link in the window you can edit tb_cashshop_banner.lub, just replace the kRO link with a link of your own. You can also remove additional banners with the file. tb_cashshop_banner = { [1] = { "shop_banner.bmp","Insert Link Here" }, }
    1 point
  6. Hi, maybe you did not applied properly the diff? Make sure that you have edited next files: src/custom/battle_config_init.inc // Cashshop UI item currency shop: { "cashshop_currency_itemid", &battle_config.cashshop_currency_itemid, 0, 0, MAX_ITEMID, }, src/custom/battle_config_struct.inc // Cashshop currency ItemID shop int cashshop_currency_itemid; conf/battle/items.conf // Instead of Cashpoints in Cashshop UI (interface) // Use ITEMID with ID below. The item must exists in the game // The item must have tradable flags, etc like a normal item // Instead of cashpoints will be consumed the item from players inventory // Set it to 0 if you wish completely disable the system. // Max ID = 65k cashshop_currency_itemid: 505 src/map/cashshop.cpp Find (inside function cashshop_buylist): if(pc_paycash( sd, totalcash, kafrapoints, LOG_TYPE_CASH ) <= 0){ clif_cashshop_result( sd, 0, CASHSHOP_RESULT_ERROR_SHORTTAGE_CASH ); return false; Replace to: // Custom code for using instead of cashpoints itemID as a currency in cashshop UI shop. if(battle_config.cashshop_currency_itemid) { struct item_data *id_cash_currency = itemdb_search(battle_config.cashshop_currency_itemid); if (!id_cash_currency) { clif_cashshop_result(sd, 0, CASHSHOP_RESULT_ERROR_SHORTTAGE_CASH); ShowError("cashshop_currency_itemid: %d itemID not exists in the game, try another one.\n", battle_config.cashshop_currency_itemid); return false; } int item_idx = pc_search_inventory(sd, battle_config.cashshop_currency_itemid); if (item_idx < 0 || pc_delitem(sd, item_idx, totalcash, 0, 0, LOG_TYPE_CONSUME)) { clif_cashshop_result(sd, 0, CASHSHOP_RESULT_ERROR_SHORTTAGE_CASH); return false; } } else // Original Function { if (pc_paycash(sd, totalcash, kafrapoints, LOG_TYPE_CASH) <= 0) { clif_cashshop_result(sd, 0, CASHSHOP_RESULT_ERROR_SHORTTAGE_CASH); return false; } Recompile. Tested with latest github hash
    1 point
  7. Server side. item_db.txt ID,AegisName,Name,Type,Buy,Sell,Weight,ATK,DEF,Range,Slots,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script } ID,Name card,Name card,6,20,,10,,,,,,,,Localisation,,,,,{},{},{} Put an unique ID, a name not necessarily unique and the localisation ( nb. where you insert the card) For Localisation : Client side. System/itemInfo.lub data/cardprefixnametable.txt for prefix equipment name when you insert your card in equipment (optionnal) data/num2cardillustnametable.txt if you want an illustration of your card (optionnal) data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/cardbmp/ to put the illustration (optionnal) itemInfo.lub Just follow the typo. Change the Display name, the description for identified/unindentified item. That's all. cardprefixnametable.txt Add in your file a line following the typo Card ID#Prefix# num2cardillustnametable.txt Add in your file a line following the typo Card ID#Name in cardbmp# cardbmp/ Add your illustration in bmp format 300x400
    1 point
×
×
  • Create New...