Jump to content

Petey Pablo

Members
  • Posts

    569
  • Joined

  • Last visited

Everything posted by Petey Pablo

  1. here int atcommand_sleep(const int fd, struct map_session_data* sd, const char* command, const char* message) { if(map_flag_gvg(sd->bl.m) || map_flag_vs(sd->bl.m)){ clif_displaymessage(fd, "you can't...."); return -1; } if(!battle_config.prevent_logout || DIFF_TICK(gettick(), sd->canlog_tick) > 10) { if(sd->sc.opt1 != 0 && sd->sc.opt1 != OPT1_SLEEP){ clif_displaymessage(fd, msg_txt(707)); //Please refrain from trying to abuse this command. return -1; } if(sd->sc.opt1 != OPT1_SLEEP){ sc_start(&sd->bl, SC_TRICKDEAD, 100, 1, 1000); //Duration does not matters as Trick Dead is "eternal" sd->sc.opt1 = OPT1_SLEEP; sc_start(&sd->bl,SC_COMA,100,1,skill_get_time2(185,1)); clif_displaymessage(fd, msg_txt(705)); //You are now asleep. } else { sd->sc.opt1 = 0; clif_emotion(&sd->bl,45); status_change_end(&sd->bl, SC_TRICKDEAD, -1); sc_start(&sd->bl,SC_COMA,100,1,skill_get_time2(185,1)); clif_displaymessage(fd, msg_txt(706)); //You are now awake. } clif_changeoption(&sd->bl); return 0; } clif_displaymessage(fd, msg_txt(707)); //Please refrain from trying to abuse this command. return -1; }
  2. How to disable @sleep command on pvp and gvg maps? See my source code below int atcommand_sleep(const int fd, struct map_session_data* sd, const char* command, const char* message) { if(!battle_config.prevent_logout || DIFF_TICK(gettick(), sd->canlog_tick) > 10) { if(sd->sc.opt1 != 0 && sd->sc.opt1 != OPT1_SLEEP){ clif_displaymessage(fd, msg_txt(707)); //Please refrain from trying to abuse this command. return -1; } if(sd->sc.opt1 != OPT1_SLEEP){ sc_start(&sd->bl, SC_TRICKDEAD, 100, 1, 1000); //Duration does not matters as Trick Dead is "eternal" sd->sc.opt1 = OPT1_SLEEP; sc_start(&sd->bl,SC_COMA,100,1,skill_get_time2(185,1)); clif_displaymessage(fd, msg_txt(705)); //You are now asleep. } else { sd->sc.opt1 = 0; clif_emotion(&sd->bl,45); status_change_end(&sd->bl, SC_TRICKDEAD, -1); sc_start(&sd->bl,SC_COMA,100,1,skill_get_time2(185,1)); clif_displaymessage(fd, msg_txt(706)); //You are now awake. } clif_changeoption(&sd->bl); return 0; } clif_displaymessage(fd, msg_txt(707)); //Please refrain from trying to abuse this command. return -1; }
  3. Nothing happens. See the image below
  4. Problem with the afk hat. Im using eA and Xray Client. See image below /*========================================== * @afk *------------------------------------------*/ ACMD_FUNC(afk) { nullpo_retr(-1, sd); if( map[sd->bl.m].flag.autotrade == battle_config.autotrade_mapflag ) { if(map[sd->bl.m].flag.pvp || map[sd->bl.m].flag.gvg){ clif_displaymessage(fd, "You may not use the @afk maps PVP or GVG."); return -1;} sd->state.autotrade = 1; sd->state.monster_ignore = 1; pc_setsit(sd); skill_sit(sd,1); clif_sitting(&sd->bl); clif_changelook(&sd->bl,LOOK_HEAD_TOP,471); clif_specialeffect(&sd->bl, 234,AREA); if( battle_config.at_timeout ) { int timeout = atoi(message); status_change_start(&sd->bl, SC_AUTOTRADE, 10000,0,0,0,0, ((timeout > 0) ? min(timeout,battle_config.at_timeout) : battle_config.at_timeout)*60000,0); } clif_authfail_fd(fd, 15); } else clif_displaymessage(fd, "@afk is not allowed on this map."); return 0; } Screenshot problem: how do i change hat to this http://ratemyserver....&isearch=Search Thank you!
  5. how do i remove the lvl 99 aura effect on normal player? but the aura is available only for lvl 99 gm.
  6. Requesting for Star Gladiator on Hatred Skill to reset. Im using eA. Thank you!
  7. Dunno what is the n,x;? Sorry stil newbie in scripting. hehe
  8. what is the correct script for Increase damage skill on Cart Terminitaion by 10%? Thank you
  9. @darristan Dunno how to fix it. I will give my svn revision to you so that you can fix it for me?
  10. I have problem with E-Inquiry. My player is already send a message to lvl99 gm. But the lvl99 gm's is not recieving message from normal characters. See the image below Player lvl99 GM Im using eA. main script sql script
  11. @Jman CentOS 6 64bit. My php is 5.3+ version.
  12. error found. im using old eA revision. See the image below.
  13. Compatible yan. Sa pag delete lng hindi pwede ang UNICODE. Kaya gagamit ka dapat ng ASCII format.
  14. @darristan Thank you very much.
  15. How about the other skills? Increase Throw Fuuma Shuriken Skill Damage but you must use Huuma weapon class. Increase Magic Damage - Must use Huuma weapon class. Reduced Throw Fuuma Sheriken skill delay Reduced Reverse Tatami Skill Delay
  16. @darristan Can you change it for me? I have 255 max stats. and need the right value or formula. Thank you
  17. How to increase damage of final strike?
  18. execute your log.sql to ragnarok database.
  19. UNICODE. at yung ASCII naman para mag delete ng nlalaman ng grf files.
×
×
  • Create New...