Jump to content

nermit

Members
  • Posts

    13
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

nermit's Achievements

Santa Poring

Santa Poring (3/15)

  • Reacting Well
  • Collaborator
  • First Post
  • One Month Later
  • Conversation Starter

Recent Badges

0

Reputation

  1. How do i disable or change braggi sound effect? i tried the following but default sound effect still plays out A - modifying the bragis_poem.wav (used heal skill sound effect) file under data/wav on data.grf B - deleted above file C - added bragis_poem.wav (edited version) on same folder on another GRF
  2. Scenario : Pally casts devotion on Prof, Prof then proceeds to cast bolt skills to Enemy wearing maya card Magic damage is reflected as number to both the prof and pally However, the Prof does a melee attack animation towards the pt'd Paladin upon receiving the reflected magic. Found this video with has the same behavior as above. The problem is how do i remove the melee attack animation for reflected magic, as same with the video, it does interrupt casting/spamming. currently have these devo settings in skill.conf devotion_rdamage: 100 devotion_rdamage_skill_only: yes (changing this to "no" still have the same issue)
  3. nvm solved with changes to custom bg scripts
  4. thanks @ckx_ applied this and is working.
  5. Thanks for the replies @Poring King @mrfizi will try these out
  6. Hello, is there a way to restrict a player from opening a box item by mac (gepard) using script from the item rather than using npc? This is to prevent players from abusing free items from custom boxes.
  7. So how do i introduce the changes i made to battleground_db.yml, by restarting the server? Does it require compile?
  8. hello, how do you reload /db/battleground_db.yml? i tried @reloadstatusdb (as i found an old answer to similar question in RA) but it does not work
  9. Hello, how do i solve this warning msg? it spams the map server when the player is killed (unitkill) doing cluckers event. im using the default cluckers in rathena
  10. Hello, i'm still new to Ragnarok coding and have decided to fiddle with Battlegrounds. The current server im looking at is using modified bg and has a @reportafk command that kicks and afk player. It does work, but the on the kicked-player's client it is black screen/or current BG map with all the NPC's on the main town. below is the code at src/custom/atcommand.inc ACMD_FUNC(reportafk) { map_session_data *pl_sd; nullpo_retr(-1,sd); if( !sd->bg_id ) clif_displaymessage(fd, msg_txt(sd, 2029)); // This command is reserved for Battleground else if( !sd->bmaster_flag && battle_config.bg_reportafk_leaderonly ) clif_displaymessage(fd, msg_txt(sd, 2014)); // This command is reserved for Team Leaders. else if( !message || !*message ) clif_displaymessage(fd, msg_txt(sd, 2030)); // Please enter the AFK player's nick (usage: @reportafk <name>). else if( (pl_sd = map_nick2sd((char *)message,false)) == NULL ) clif_displaymessage(fd, msg_txt(sd,3)); // Character not found. else if( sd->bg_id != pl_sd->bg_id ) clif_displaymessage(fd, msg_txt(sd,2026)); // The player is not part of your Team. else if( sd == pl_sd ) clif_displaymessage(fd, msg_txt(sd,2031)); // You cannot report yourself. else if( pl_sd->state.bg_afk == 0 ) clif_displaymessage(fd, msg_txt(sd,2032)); // The player is not AFK in this Battleground else { // Everytest OK! std::shared_ptr<s_battleground_data> bg = util::umap_find(bg_team_db, sd->bg_id); if(!bg) return -1; bg_team_leave(pl_sd, true, true); clif_displaymessage(pl_sd->fd, msg_txt(sd,2001)); // You have been kicked from Battleground for your AFK status pc_setpos(pl_sd,mapindex_name2id(pl_sd->status.save_point.map),pl_sd->status.save_point.x,pl_sd->status.save_point.y,CLR_OUTSIGHT); clif_refresh(pl_sd); sprintf(atcmd_output, msg_txt(sd, 2034), pl_sd->status.name); // - AFK [%s] Kicked - clif_broadcast2(&sd->bl, atcmd_output, (int)strlen(atcmd_output)+1, bg->color, 0x190, 20, 0, 0, BG); return 0; } return -1; } A. [Kicked player's Client] B. Kicked player's Client vs Another player's view Any ideas why this is happening? any help will be much appreciated
  11. Hello, im new to scripting (started 2weeks ago) and found the @resist command very helpful in doing pvp/woe builds. With that said, is there a counterpart command/script for this which shows for Race/Element Damage amplification? Ex. When equipping 1 Hydra and 1 Galion 20% Demi/Player Race Damage 5% Water Element Damage
×
×
  • Create New...