Jump to content

Petey Pablo

Members
  • Posts

    569
  • Joined

  • Last visited

Everything posted by Petey Pablo

  1. Topic closed. Thank you guys!
  2. Thank you! It works now.
  3. 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; }
  4. Nothing happens. Not working
  5. 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; }
  6. Nothing happens. See the image below
  7. 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!
  8. how do i remove the lvl 99 aura effect on normal player? but the aura is available only for lvl 99 gm.
  9. Thank you sir Mysterious.
  10. Requesting for Star Gladiator on Hatred Skill to reset. Im using eA. Thank you!
  11. Dunno what is the n,x;? Sorry stil newbie in scripting. hehe
  12. what is the correct script for Increase damage skill on Cart Terminitaion by 10%? Thank you
  13. @darristan Dunno how to fix it. I will give my svn revision to you so that you can fix it for me?
  14. 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
  15. @Jman CentOS 6 64bit. My php is 5.3+ version.
  16. error found. im using old eA revision. See the image below.
  17. @bump
  18. Compatible yan. Sa pag delete lng hindi pwede ang UNICODE. Kaya gagamit ka dapat ng ASCII format.
  19. Welcome Stolao.
  20. @darristan Thank you very much.
  21. 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
  22. @darristan Can you change it for me? I have 255 max stats. and need the right value or formula. Thank you
  23. How to increase damage of final strike?
  24. execute your log.sql to ragnarok database.
  25. UNICODE. at yung ASCII naman para mag delete ng nlalaman ng grf files.
×
×
  • Create New...