Jump to content

Takuyakii

Members
  • Posts

    215
  • Joined

  • Last visited

Everything posted by Takuyakii

  1. - script SistemaKillFaccoes -1,{ OnPCKillEvent: if (strcharinfo(3) != "guild_vs3") { end; } set .@killer, getcharid(0); set .@killed, killedrid; query_sql "SELECT faction FROM `char` WHERE char_id = " + .@killer + ";", .@killer_faction; query_sql "SELECT faction FROM `char` WHERE char_id = " + .@killed + ";", .@killed_faction; if (.@killer_faction == .@killed_faction) { query_sql "UPDATE faction_kills SET mortes = mortes - 2 WHERE faction_id = " + .@killer_faction + ";"; dispbottom "--- Você matou um membro da própria Facção [-2 pontos] -----"; end; } if (.@killer_faction == 1 || .@killer_faction == 2) { query_sql "UPDATE faction_kills SET mortes = mortes + 1 WHERE faction_id = " + .@killer_faction + ";"; dispbottom "----- Você eliminou um membro da Facção inimiga [+1 ponto] -----"; } end; }
  2. Why is it so hard to understand? if you purchase the map it's your responsibility to make it work or adjust to your quest/warp etc.
  3. Good day, how can i make an account bound / character bound on Barter Shop? for example all items in barter shop will be Account bounded. i want to have an option to be Account/Char Bound. Thank you
  4. try to use google, i have no time for now to search it im using phone. don't be spoon feed
  5. use the search button there's plenty of that script here.
  6. Hello guys can i request for a Reset npc For the first 3 reset is free. After that you should have to pay zeny. Thank you in advance. //===== rAthena Script ======================================= //= Reset NPC //===== Description: ========================================= //= Resets skills, stats, or both. //===== Additional Comments: ================================= //= 1.0 First Version //= 1.1 Optimized for the greater good. [Kisuka] //= 1.2 Cleaning [Euphy] //= 1.3 All statuses removed upon skill reset. [Euphy] //= 1.4 Compressed Script, Added limit use option [Stolao] //= Changed set -> setarray, Improved text with F_InsertPlural //= 1.5 Added sc_end_class to reset related status changes [sader1992] //============================================================ prontera,150,193,4 script Reset Girl 124,{ // Skills, Stats, Both, Limit setarray .@Reset, 5000, 5000, 9000, 0; mes "[Reset Girl]"; if(.@Reset[3] && reset_limit > .@Reset[3]) { mes "Sorry you can only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+" in your life."; close; } mes "I am the Reset Girl."; mes "Reset Stats: "+ callfunc("F_InsertComma",.@Reset[1]) +"z"; mes "Reset Skills: "+ callfunc("F_InsertComma",.@Reset[0]) +"z"; mes "Reset Both: "+ callfunc("F_InsertComma",.@Reset[2]) +"z"; if(.@Reset[3]) mes "You may only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+", so use "+((.@Reset[3]>1)?"them":"it")+" wisely."; mes "Please select the service you want:"; next; set .@i,(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")); if(.@i > 3) close; mes "[Reset Girl]"; if (Zeny < .@Reset[.@i-1]) { mes "Sorry, you don't have enough Zeny."; close; } if(.@Reset[3]){ mes "You can only reset "+callfunc("F_InsertPlural",.@Reset[3],"time")+" in your life, are you sure?"; if(select("Let me think:That's fine") == 1) close; } set Zeny, Zeny-.@Reset[.@i-1]; if(.@i&1){ sc_end_class; ResetSkill; } if(.@i&2) ResetStatus; mes "There you go!"; if(.@Reset[3]) set reset_limit,reset_limit + 1; close; }
  7. Hello can someone help me to make this what i want to happen is waiting room on npc but it will fetch or get the /* Time Events */ /* On<weekday><hour><minute>: */ OnWhisperGlobal: OnSun1200: OnMon1200: OnTue1200: OnWed2233: OnThu1200: OnFri1200: OnSat1200: for example in waiting room Example today is Wednesday it will get the time for Thursday Activate in (TIME)
  8. function viewid { function md { while(1) { set .@zt,.@zt+1; if(.@zt&13) sleep2(1); if(strmobinfo(3,set(.@t,rand(1001,1323)))) break; } return .@t; } set .@t,md(); for(set .@i,0;.@i<30;set .@i,.@i+1) if(.@t==.viewid[.@i]||.@t==1285||.@t==1286||.@t==1287||.@t==1288) { set .@t,md(); set .@i,-1; } return .@t; } function gviewid { set .@n,getarraysize(.viewid); while(1) { set .@zt,.@zt+1; if(.@zt&13) sleep2(1); if(set(.@u,.viewid[set(.@t,rand(.@n))])) break; } for(;.@t<.@n;set .@t,.@t+1) set .viewid[.@t],.viewid[.@t+1]; return .@u; }
  9. //mag_dun01 mag_dun01.gat,0,0,0,0 monster Explosion 1383,10,0,0,0 mag_dun01.gat,0,0,0,0 monster Blazer 1367,10,0,0,0 mag_dun01.gat,0,0,0,0 monster Diabolic 1382,10,0,0,0 mag_dun01.gat,0,0,0,0 monster Grizzly 1381,5,0,0,0 mag_dun01.gat,0,0,0,0 monster Lava Golem 1366,3,0,0,0 mag_dun01.gat,0,0,0,0 monster Kaho 1072,10,0,0,0 //mag_dun02 mag_dun02.gat,0,0,0,0 monster Gig 1387,10,0,0,0 mag_dun02.gat,0,0,0,0 monster Blazer 1367,10,0,0,0 mag_dun02.gat,0,0,0,0 monster Diabolic 1382,10,0,0,0 mag_dun02.gat,0,0,0,0 monster Nightmare Terror 1379,3,0,0,0 mag_dun02.gat,0,0,0,0 monster Sky Deleter 1384,5,0,0,0 mag_dun02.gat,0,0,0,0 monster Earth Deleter 1385,5,0,0,0 mag_dun02.gat,0,0,0,0 monster Kaho 1072,10,0,0,0
  10. set your PACKETVER /CLIENT DATE then recompile.
  11. have u fix this? im getting this too.
  12. Takuyakii

    Error

    check your all custom quest, that have 300.
  13. is this will work on 2020 Git?
  14. if(agitcheck() || agitcheck2()) end; monster "this",-1,-1,"--ja--",-1-MOBG_BLOODY_DEAD_BRANCH,1,"";
  15. case TK_JUMPKICK: // debuff the following statuses if( dstsd && dstsd->class_ != MAPID_SOUL_LINKER && !tsc->getSCE(SC_PRESERVE) ) { status_change_end(bl, SC_SPIRIT); status_change_end(bl, SC_ADRENALINE2); status_change_end(bl, SC_KAITE); status_change_end(bl, SC_KAAHI); status_change_end(bl, SC_ONEHAND); status_change_end(bl, SC_ASPDPOTION2); // New soul links confirmed to not dispell with this skill // but thats likely a bug since soul links can't stack and // soul cutter skill works on them. So ill add this here for now. [Rytech] status_change_end(bl, SC_SOULGOLEM); status_change_end(bl, SC_SOULSHADOW); status_change_end(bl, SC_SOULFALCON); status_change_end(bl, SC_SOULFAIRY); } break; skill.cpp remove this
  16. Good Day rA, i dont' know if this is the right question or section to post this. please move this to right section ty just want to ask is this Sprite edit? or client modification? etc. the text above of npc, i know showscript but i think its not.
  17. skill.cpp change case PA_PRESSURE: status_percent_damage(src, bl, 0, 15+5*skill_lv, false); to: case PA_PRESSURE: status_percent_damage(src, bl, 0, 1+5, false);
  18. changed if (.msg_die) message .@victimaid, "You have been killed by "+ .@killername$; if (.msg_kill) message .@killeraid, "You just killed "+ .@victimname$; to if (.msg_die) message .@victimname$, "You have been killed by "+ .@killername$; if (.msg_kill) message .@killername$, "You just killed "+ .@victimname$; dotapvpladder.txt
  19. go to the npc/mobs/ and look for the pvp.txt i think u missing those files or deleted
  20. 1019,PECOPECO,Peco Peco,Peco Peco,19,531,0,159,72,1,50,64,0,0,1,13,13,25,27,9,10,12,2,2,23,0x1089,200,0,0,576,0,0,0,0,0,0,0,925,9000,2402,20,508,200,507,900,1604,100,0,0,582,1000,0,0,0,0,4031,1 @reloadmobdb
×
×
  • Create New...