Jump to content

brianj070707

Members
  • Posts

    48
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Philippines

Recent Profile Visitors

1855 profile views

brianj070707's Achievements

Poring

Poring (1/15)

0

Reputation

1

Community Answers

  1. NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO Maybe I should try the NPC version of your's, if didn't works it just says. The whole script is rA version.
  2. Auto Vend: /*========================================== * @autotrade by durf [Lupus] [Paradox924X] * Turns on/off Autotrade for a specific player *------------------------------------------*/ ACMD_FUNC(autotrade) { nullpo_retr(-1, sd); if( map[sd->bl.m].flag.autotrade != battle_config.autotrade_mapflag ) { clif_displaymessage(fd, "Autotrade is not allowed on this map."); return -1; } if( pc_isdead(sd) ) { clif_displaymessage(fd, "Cannot Autotrade if you are dead."); return -1; } if( !sd->state.vending && !sd->state.buyingstore ) { //check if player is vending or buying clif_displaymessage(fd, msg_txt(549)); // "You should have a shop open to use @autotrade." return -1; } sd->state.autotrade = 1; 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); return 0; } { "autotrade", 10,10, atcommand_autotrade }, GStorage /*========================================== * *------------------------------------------*/ ACMD_FUNC(guildstorage) { nullpo_retr(-1, sd); if (!sd->status.guild_id) { clif_displaymessage(fd, msg_txt(252)); return -1; } if (sd->npc_id || sd->state.vending || sd->state.buyingstore || sd->state.trading) return -1; if (sd->state.storage_flag == 1) { clif_displaymessage(fd, msg_txt(250)); return -1; } if (sd->state.storage_flag == 2) { clif_displaymessage(fd, msg_txt(251)); return -1; } storage_guild_storageopen(sd); clif_displaymessage(fd, "Guild storage opened."); return 0; } { "gstorage", 50,50, atcommand_guildstorage },
  3. So we will just add this at command function right? cause I have already added the get_item_map sources before. BTW. Thank you so much for this. EDIT: I added only the atcommand.c and got this atcommand.c: In function ‘atcommand_itemmap’: atcommand.c:9337: error: ‘LOG_TYPE_COMMAND’ undeclared (first use in this function) atcommand.c:9337: error: (Each undeclared identifier is reported only once atcommand.c:9337: error: for each function it appears in.) atcommand.c:9337: error: too many arguments to function ‘pc_getitem_map’ atcommand.c:9347: error: too many arguments to function ‘pc_getitem_map’ atcommand.c:9354: error: too many arguments to function ‘pc_getitem_map’ make[1]: *** [obj_sql/atcommand.o] Error 1 make[1]: Leaving directory `/opt/test1/src/map' using 3ceam661
  4. got this fixed by mixing rA track changes to 3ceam. Thank you guys
  5. well that's a really really sad part there. Maybe when I learn on source modification I can fix this someday.
  6. So How can I do this? required dex for 2nd / trans job to no cast: 150 max aspd: 190 required dex for 3rd job to no cast: 180 max aspd: 193 Thanks in advance bump!
  7. Good Day rAthena, How can i solve this? What I did: read grf first, load lub before lua, multiple grf. 2011-03-15
  8. I have no idea about that? LOL maybe yes.
  9. Then you should remove that patch. Since you're using lubs. I managed to bring back the skill arrow (+ - skill level). The only problem right now it doesn't show the job description. (for 3rd jobs only).
  10. Client : 2011 - 03 - 15a Lub Files: 2011 - 03 - 16
  11. no i am using 3ceam661. Well do you know where to edit in lua to add that?
  12. Good Day rAthena Users, may I request endless cellar script? (endless tower 2). found this link on eathena forums but the download file is already deleted. http://www.eathena.w...howtopic=244541 bump? any luck with this.
  13. So I just wanna ask if this is correct. - I disabled my mail system on my server since It's number 1 source of item duplication. Can you check if I got this correct? FROM: for(set .@i,0;.@i<getarraysize(.@gmcid);set .@i,.@i+1) { if(isloggedin(.@gmaid[.@i])) message rid2name(.@gmaid[.@i]),getarg(9); if(!isloggedin(.@gmaid[.@i])&&!getarg(1)) continue; query_sql "insert into mail ( send_name, dest_id, title, message, nameid, amount, identify, zeny, time ) values ( '"+escape_sql(getarg(2))+"',"+.@gmcid[.@i]+", '"+escape_sql(getarg(3))+"', '"+escape_sql(getarg(4))+"', "+getarg(5)+", "+getarg(6)+", "+getarg(7)+", "+getarg(8)+", unix_timestamp( now() ) )"; } TO: for(set .@i,0;.@i<getarraysize(.@gmcid);set .@i,.@i+1) { if(isloggedin(.@gmaid[.@i])) message rid2name(.@gmaid[.@i]),getarg(9); if(!isloggedin(.@gmaid[.@i])&&!getarg(1)) continue; getitem 501,1,1,0; }
×
×
  • Create New...