Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×

Leaderboard

Popular Content

Showing content with the highest reputation on 10/18/24 in Posts

  1. Allows you to send private messages to a player (char_id), you can use the char_id or a title as the sender. /** [Hyroshima] * whisper <CHAR_ID_TARGET>,<MESSAGE>,<CHAR_ID_SENDER/TITLE>}; * @return: 0 success, 1 target not found, 2 sender not found. **/ BUILDIN_FUNC(whisper){ map_session_data *ssd,*tsd; char message[70] = {0}; char wisp_title[NAME_LENGTH] = {0}; uint8 len = strlen(script_getstr(st,3)); if(!script_charid2sd(2,tsd)) { //Target not found / offline script_pushint(st,1); return SCRIPT_CMD_SUCCESS; } if(atoi(script_getstr(st,4))) { if(!script_charid2sd(4,ssd)) { //Sender not found. / offline script_pushint(st,2); return SCRIPT_CMD_SUCCESS; } else safestrncpy(wisp_title,ssd->status.name,NAME_LENGTH); } else safestrncpy(wisp_title,script_getstr(st,4),NAME_LENGTH); script_pushint(st,0); safestrncpy(message,script_getstr(st,3),len); clif_wis_message(tsd,wisp_title,message,len,0); return SCRIPT_CMD_SUCCESS; } BUILDIN_DEF(whisper, "is?"), //Hyroshima Example: *whisper 150001,"message test","Tester"; *whisper(150001,"message test",150002; A member had asked me if I would do it, I ended up doing it but then he had replied that he had already done it, so I am making available what I did.
    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. This was posted before in eAthena forum and I don't know if this is compatible in how to add custom mobs in rAthena. but I hope so..
    1 point
×
×
  • Create New...