-
Posts
569 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Petey Pablo
-
Help to disable @sleep command on pvp and gvg maps
Petey Pablo replied to Petey Pablo's question in Source Support
Topic closed. Thank you guys! -
Thank you! It works now.
-
Help to disable @sleep command on pvp and gvg maps
Petey Pablo replied to Petey Pablo's question in Source Support
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; } -
Help to disable @sleep command on pvp and gvg maps
Petey Pablo replied to Petey Pablo's question in Source Support
Nothing happens. Not working -
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; }
-
Nothing happens. See the image below
-
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!
-
how do i remove the lvl 99 aura effect on normal player? but the aura is available only for lvl 99 gm.
-
Thank you sir Mysterious.
-
Requesting for Star Gladiator on Hatred Skill to reset. Im using eA. Thank you!
-
Dunno what is the n,x;? Sorry stil newbie in scripting. hehe
-
what is the correct script for Increase damage skill on Cart Terminitaion by 10%? Thank you
-
Request NPC Security Account
Petey Pablo replied to Yasunari Ishibashi's question in Script Requests
@darristan Dunno how to fix it. I will give my svn revision to you so that you can fix it for me? -
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
-
@Jman CentOS 6 64bit. My php is 5.3+ version.
-
Request NPC Security Account
Petey Pablo replied to Yasunari Ishibashi's question in Script Requests
-
ASCII or UNICODE?
Petey Pablo replied to Ragnar Lothbrok's topic in Tulong para sa 3rd Party Application
Compatible yan. Sa pag delete lng hindi pwede ang UNICODE. Kaya gagamit ka dapat ng ASCII format. -
@darristan Thank you very much.
-
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
-
@darristan Can you change it for me? I have 255 max stats. and need the right value or formula. Thank you
-
How to increase damage of final strike?
-
execute your log.sql to ragnarok database.
-
ASCII or UNICODE?
Petey Pablo replied to Ragnar Lothbrok's topic in Tulong para sa 3rd Party Application
UNICODE. at yung ASCII naman para mag delete ng nlalaman ng grf files.