Jump to content

darking123

Members
  • Posts

    931
  • Joined

  • Last visited

Everything posted by darking123

  1. this topic is already outdated http://rathena.org/board/topic/91314-star-gladiator-soul-link-effect/ how to enable Star Gladiators to Use Parryling lvl 10 with Books
  2. bump for this topic. it's already outdated error skill.c: In function 'skill_check_condition_mercenary': skill.c:3499: warning: unused variable 'sc' skill.c: In function 'skill_check_condition_castbegin': skill.c:14707: error: 'skill' undeclared (first use in this function) skill.c:14707: error: (Each undeclared identifier is reported only once skill.c:14707: error: for each function it appears in.) skill.c:14707: error: expected statement before ')' token
  3. successfully recompiled my server files but i have 1 concern sir @Sehrentos
  4. 7338,RO_Transportation_Card,One-way Ticket,3,0,,0,,,,,,,,,,,,,{ callfunc "VIPBROADCAST";},{},{} function script VIPBROADCAST { if(@Delay < gettimetick(2)){ input @megaphone$; announce strcharinfo(0) + "[VIP SHOUT]: " + @megaphone$,bc_all,0x00FF00; set @Delay,gettimetick(2) + 180; } else if(@Delay > 0){ mes "Sorry , but you have to wait 3 Minutes To Use VIP Shout Again."; close; } end; } but everytime i double click the item. nothing works. help
  5. i'm requesting for script that will disable gm from opening vending and buying from vendings
  6. I added it manually replace src/map Hi sir. when I tried to use the devotion skill to my party member. it says skill has failed. help please my item type is set to 4. i also tried to use type 5 but still doesn't work
  7. I'm noob in those. could you elaborate more, tell me step by step. and where to put.
  8. I added it manually replace src/map Thank you sir. for future researchers I'm using git version 12427 Thank you for this one also. This will help the person who needs it and using the latest git
  9. sir your diff doesn't support my git version i'm using 12427 downloaded last september 26 here is my src to help you src.zip
  10. devotion icon is showing. but the autoguard and reflect shield doesnt show
  11. When a paladin devo a player. the Autoguard & Reflect Shield should also pop up to the screen of the player being devod. But only the defender skills shows. please help. attached image
  12. I'm requesting that after using the guild recall skill. a cooldown effect will show and tell the GM how many more minutes he/she will wait before he can you recall again
  13. is this good for no skill delay server? the hansip Skill Packet Protection part?
  14. please update this to be able to be compatible to the latest git
  15. update this one please to support the latest rev
  16. White spaces has a big impact on the php? hahaha. well thank you for this. it solve my problem
  17. It seems that if the character doesn't have any skill casting time, the asura strike text will not show how to show the asura strike text even if the asura strike won't have any skill casting time
  18. I'm using 20100730 client when i try to click the pub of the player that has a buying store. my client will stop responding how to fix? Also How to fix the price limit
  19. attached the image of the problem how to fix it?
  20. when a player login. @dropoff is automatically initiated. functions of drop off and drop on drop off= any item cannot be drop but can be stored to the storage and can be sold. drop on= can drop the item and etc. AnnieRuru made a .diff for hercules only if someone can convert this to rathena i'll be glad. src/map/atcommand.c | 26 ++++++++++++++++++++++++++ src/map/pc.c | 5 +++++ src/map/pc.h | 2 ++ 3 files changed, 33 insertions(+) diff --git a/src/map/atcommand.c b/src/map/atcommand.c index b5e8fa7..af092eb 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -9374,6 +9374,31 @@ static inline void atcmd_channel_help(int fd, const char *command, bool can_crea clif->message(fd,atcmd_output); return true; } + +ACMD(drop) { + if ( stristr( message, "on" ) ) { + if ( sd->candrop ) + clif->message( fd, "You already turn on @drop." ); + else { + sd->candrop = 1; + clif->message( fd, "You are now turn ON @drop. You can drop items now." ); + } + } + else if ( stristr( message, "off" ) ) { + if ( !sd->candrop ) + clif->message( fd, "You already turn off @drop" ); + else { + sd->candrop = 0; + clif->message( fd, "You are now turn OFF @drop. You can't drop items now." ); + } + } + else { + clif->message( fd, "Syntax: @drop on|off." ); + return false; + } + return true; +} + /** * Fills the reference of available commands in atcommand DBMap **/ @@ -9384,6 +9409,7 @@ void atcommand_basecommands(void) { * Command reference list, place the base of your commands here **/ AtCommandInfo atcommand_base[] = { + ACMD_DEF(drop), ACMD_DEF2("warp", mapmove), ACMD_DEF(where), ACMD_DEF(jumpto), diff --git a/src/map/pc.c b/src/map/pc.c index 2372d31..1c0c934 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -4123,6 +4123,11 @@ int pc_dropitem(struct map_session_data *sd,int n,int amount) return 0; //Can't drop items in nodrop mapflag maps. } + if ( !sd->candrop ) { + clif->message( sd->fd, "You can't drop items. Type '@drop on' to allow drop items." ); + return 0; + } + if( !pc->candrop(sd,&sd->status.inventory[n]) ) { clif->message (sd->fd, msg_txt(263)); diff --git a/src/map/pc.h b/src/map/pc.h index bec4522..c84c9a3 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -547,6 +547,8 @@ struct map_session_data { const char* delunit_prevfile; int delunit_prevline; + bool candrop; + }; #define EQP_WEAPON EQP_HAND_R
  21. It's good for me to just use 2010-07-30. what could be the specific error?
×
×
  • Create New...