Jump to content

Jade

Members
  • Posts

    33
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Jade's Achievements

Poring

Poring (1/15)

0

Reputation

  1. oh that's how it is? " + " i'll try ...
  2. just want to ask regarding Randgris Card dispel only enable on normal/melee attack how to enable auto dispel on normal and skills (like bb, despe, ds, etc.) thanks in advance { bonus bUnbreakableWeapon,0; bonus2 bAddClass,Class_All,10; bonus3 bAutoSpell,"SA_DISPELL",1,50; },{},{} in item_bonus IDK how does all this works.
  3. how to randomize castle drop on SE castle i have copied my TE castle main script.. but it seems that it is not working on SE castle... it only drops treasure box without any castle drops on it original script OnClock0001: // Spawn Treasure Chests based on castle economy. if (strnpcinfo(2) == "template") end; if (!getcastledata(strnpcinfo(2),1)) end; killmonster strnpcinfo(2),strnpcinfo(0)+"::OnTreasureDied"; if (getcastledata(strnpcinfo(2),4)) { set .@Economy,getcastledata(strnpcinfo(2),2); setcastledata strnpcinfo(2),2,.@Economy+getcastledata(strnpcinfo(2),4)+(rand(2) && getgdskilllv(getcastledata(strnpcinfo(2),1),10014)); if (getcastledata(strnpcinfo(2),2) > 100) setcastledata strnpcinfo(2),2,100; setcastledata strnpcinfo(2),4,0; } if (getcastledata(strnpcinfo(2),5)) { set .@Defence,getcastledata(strnpcinfo(2),3); setcastledata strnpcinfo(2),3,.@Defence+getcastledata(strnpcinfo(2),5); if (getcastledata(strnpcinfo(2),3) > 100) setcastledata strnpcinfo(2),3,100; setcastledata strnpcinfo(2),5,0; } set .@Treasure,getcastledata(strnpcinfo(2),2)/5+4; if (!.@Treasure) end; freeloop(1); if (compare(strnpcinfo(2),"arug")) { if (strnpcinfo(2) == "arug_cas01") { set .@treasurebox,1943; setarray .@treasurex[0],251,252,253,254,255,256,257,258,251,252,253,254,255,256,257,258,251,252,253,254,255,256,257,258; setarray .@treasurey[0],369,369,369,369,368,368,368,368,367,367,367,367,366,366,366,366,365,365,365,365,364,364,364,364; } else if (strnpcinfo(2) == "arug_cas02") { set .@treasurebox,1944; setarray .@treasurex[0],382,383,384,385,386,387,384,385,386,387,388,389,382,383,384,385,386,387,384,385,386,387,388,389; setarray .@treasurey[0],231,231,231,231,231,231,230,230,230,230,230,230,225,225,225,225,225,225,224,224,224,224,224,224; } else { // Castles 3,4,5 are identical, except 4's treasure. set .@treasurebox,(strnpcinfo(2) == "arug_cas04")?1946:1945; setarray .@treasurex[0],291,292,293,294,295,296,293,294,295,296,297,298,291,292,293,294,295,296,293,294,295,296,297,298; setarray .@treasurey[0],276,276,276,276,276,276,274,274,274,274,274,274,272,272,272,272,272,272,269,269,269,269,269,269; } } else { if (strnpcinfo(2) == "schg_cas02") { set .@treasurebox,1939; setarray .@treasurex[0],249,250,251,252,253,246,247,248,249,250,250,251,252,253,246,247,248,249,250,249,250,251,252,253; setarray .@treasurey[0],378,378,378,378,378,376,376,376,376,376,374,374,374,374,372,372,372,372,372,370,370,370,370,370; } else if (strnpcinfo(2) == "schg_cas03") { set .@treasurebox,1940; setarray .@treasurex[0],189,190,191,192,193,194,189,190,191,192,193,194,189,190,191,192,193,194,189,190,191,192,193,194; setarray .@treasurey[0], 21, 21, 21, 21, 21, 21, 19, 19, 19, 19, 19, 19, 17, 17, 17, 17, 17, 17, 15, 15, 15, 15, 15, 15; } else { // Castles 1,4,5 are identical, except treasures. if (strnpcinfo(2) == "schg_cas01") set .@treasurebox,1938; else if (strnpcinfo(2) == "schg_cas04") set .@treasurebox,1941; else set .@treasurebox,1942; setarray .@treasurex[0],388,388,388,387,386,385,384,384,384,384,384,384,385,386,387,388,389,390,390,390,389,388,387,386; setarray .@treasurey[0],388,389,390,390,390,390,389,388,387,386,385,384,384,384,384,384,384,384,385,386,386,386,386,386; } } for(set .@i,0; .@i<4; set .@i,.@i+1) monster strnpcinfo(2),.@treasurex[.@i],.@treasurey[.@i],"Treasure Chest",(.@i%2)?.@treasurebox:1324,1,strnpcinfo(0)+"::OnTreasureDied"; for(set .@i,4; .@i<24; set .@i,.@i+1) { if (.@Treasure < .@i+1) break; monster strnpcinfo(2),.@treasurex[.@i],.@treasurey[.@i],"Treasure Chest",(.@i%2)?.@treasurebox:1324,1,strnpcinfo(0)+"::OnTreasureDied"; } freeloop(0); end; OnTreasureDied: end; } my current script OnClock1215: // Spawn Treasure Chests based on castle economy. if (strnpcinfo(2) == "template") end; if (!getcastledata(strnpcinfo(2),1)) end; killmonster strnpcinfo(2),strnpcinfo(0)+"::OnTreasureDied"; if (getcastledata(strnpcinfo(2),4)) { set .@Economy,getcastledata(strnpcinfo(2),2); setcastledata strnpcinfo(2),2,.@Economy+getcastledata(strnpcinfo(2),4)+(rand(2) && getgdskilllv(getcastledata(strnpcinfo(2),1),10014)); if (getcastledata(strnpcinfo(2),2) > 100) setcastledata strnpcinfo(2),2,100; setcastledata strnpcinfo(2),4,0; } if (getcastledata(strnpcinfo(2),5)) { set .@Defence,getcastledata(strnpcinfo(2),3); setcastledata strnpcinfo(2),3,.@Defence+getcastledata(strnpcinfo(2),5); if (getcastledata(strnpcinfo(2),3) > 100) setcastledata strnpcinfo(2),3,100; setcastledata strnpcinfo(2),5,0; } set .@Treasure,getcastledata(strnpcinfo(2),2)/5+4; if (!.@Treasure) end; freeloop(1); if (compare(strnpcinfo(2),"arug")) { if (strnpcinfo(2) == "arug_cas01") { //set .@treasurebox,1943; setarray .randTB[0],1324,1326,1328,1330,1332,1334,1336,1338,1340,1342,1344,1346,1348,1350,1352,1354,1356,1358,1360,1362; set .Random, rand( getarraysize( .randTB ) ); set .@treasurebox,.randTB[ .Random ]; setarray .@treasurex[0],251,252,253,254,255,256,257,258,251,252,253,254,255,256,257,258,251,252,253,254,255,256,257,258; setarray .@treasurey[0],369,369,369,369,368,368,368,368,367,367,367,367,366,366,366,366,365,365,365,365,364,364,364,364; } else if (strnpcinfo(2) == "arug_cas02") { //set .@treasurebox,1944; setarray .randTB[0],1324,1326,1328,1330,1332,1334,1336,1338,1340,1342,1344,1346,1348,1350,1352,1354,1356,1358,1360,1362; set .Random, rand( getarraysize( .randTB ) ); set .@treasurebox,.randTB[ .Random ]; setarray .@treasurex[0],382,383,384,385,386,387,384,385,386,387,388,389,382,383,384,385,386,387,384,385,386,387,388,389; setarray .@treasurey[0],231,231,231,231,231,231,230,230,230,230,230,230,225,225,225,225,225,225,224,224,224,224,224,224; } else { // Castles 3,4,5 are identical, except 4's treasure. //set .@treasurebox,(strnpcinfo(2) == "arug_cas04")?1946:1945; setarray .randTB[0],1324,1326,1328,1330,1332,1334,1336,1338,1340,1342,1344,1346,1348,1350,1352,1354,1356,1358,1360,1362; set .Random, rand( getarraysize( .randTB ) ); set .@treasurebox,(strnpcinfo(2) == "arug_cas04")?.randTB[ .Random ]:.randTB[ .Random ]; setarray .@treasurex[0],291,292,293,294,295,296,293,294,295,296,297,298,291,292,293,294,295,296,293,294,295,296,297,298; setarray .@treasurey[0],276,276,276,276,276,276,274,274,274,274,274,274,272,272,272,272,272,272,269,269,269,269,269,269; } } else { if (strnpcinfo(2) == "schg_cas02") { //set .@treasurebox,1939; setarray .randTB[0],1324,1326,1328,1330,1332,1334,1336,1338,1340,1342,1344,1346,1348,1350,1352,1354,1356,1358,1360,1362; set .Random, rand( getarraysize( .randTB ) ); set .@treasurebox,.randTB[ .Random ]; setarray .@treasurex[0],249,250,251,252,253,246,247,248,249,250,250,251,252,253,246,247,248,249,250,249,250,251,252,253; setarray .@treasurey[0],378,378,378,378,378,376,376,376,376,376,374,374,374,374,372,372,372,372,372,370,370,370,370,370; } else if (strnpcinfo(2) == "schg_cas03") { //set .@treasurebox,1940; setarray .randTB[0],1324,1326,1328,1330,1332,1334,1336,1338,1340,1342,1344,1346,1348,1350,1352,1354,1356,1358,1360,1362; set .Random, rand( getarraysize( .randTB ) ); set .@treasurebox,.randTB[ .Random ]; setarray .@treasurex[0],189,190,191,192,193,194,189,190,191,192,193,194,189,190,191,192,193,194,189,190,191,192,193,194; setarray .@treasurey[0], 21, 21, 21, 21, 21, 21, 19, 19, 19, 19, 19, 19, 17, 17, 17, 17, 17, 17, 15, 15, 15, 15, 15, 15; } else { // Castles 1,4,5 are identical, except treasures. setarray .randTB[0],1324,1326,1328,1330,1332,1334,1336,1338,1340,1342,1344,1346,1348,1350,1352,1354,1356,1358,1360,1362; set .Random, rand( getarraysize( .randTB ) ); //set .@treasurebox,.randTB[ .Random ]; if (strnpcinfo(2) == "schg_cas01") set .@treasurebox,.randTB[ .Random ]; else if (strnpcinfo(2) == "schg_cas04") set .@treasurebox,.randTB[ .Random ]; else set .@treasurebox,.randTB[ .Random ]; setarray .@treasurex[0],388,388,388,387,386,385,384,384,384,384,384,384,385,386,387,388,389,390,390,390,389,388,387,386; setarray .@treasurey[0],388,389,390,390,390,390,389,388,387,386,385,384,384,384,384,384,384,384,385,386,386,386,386,386; } } for(set .@i,0; .@i<4; set .@i,.@i+1) monster strnpcinfo(2),.@treasurex[.@i],.@treasurey[.@i],"Treasure Chest",(.@i%2)?.@treasurebox:1324,1,strnpcinfo(0)+"::OnTreasureDied"; for(set .@i,4; .@i<24; set .@i,.@i+1) { if (.@Treasure < .@i+1) break; monster strnpcinfo(2),.@treasurex[.@i],.@treasurey[.@i],"Treasure Chest",(.@i%2)?.@treasurebox:1324,1,strnpcinfo(0)+"::OnTreasureDied"; } freeloop(0); end; OnTreasureDied: end; }
  4. Hi sorry if it is the wrong section for this, I just want to ask if there's anyone who can help me with this.. how to set specific costume on all player when the player goes to a certain map, (example woe map, gvg maps) then bring the original costume back (the one that they are wearing) when the player is not on that map .. thank you
  5. can anyone help me with this ... thanks a lot ... • automated every 2hrs, (opens a warp in prontera to go in the event waiting room map "g_room2 40 370") • broadcast: warp opens for 5mins.... bla bla bla ... • warps opens for 5mins only • warp will closed automatically if 10 person is in the event map "g_room2" • if less than 10 players in g_room2 (after that 5mins warp) . all players will be warp back to prontera. here's the script - script bg_pvp#control -1,{ OnInit: .eventlasting = 20*60; // how long would the event last or it auto-reset. 20*60 = 20 mins .minplayer2start = 5; // how many players require to start ? if 5vs5, set to 5 setarray .rewarditem, 674, 1; // reward to the winning team end; OnStart: if ( getwaitingroomstate( 0, .rednpcname$ ) < .minplayer2start || getwaitingroomstate( 0, .blacknpcname$ ) < .minplayer2start ) end; .red = waitingroom2bg( "guild_vs2", 9,50, strnpcinfo(0)+"::OnRedQuit", strnpcinfo(0)+"::OnRedDead", .rednpcname$ ); copyarray .team1aid, $@arenamembers, $@arenamembersnum; .team1count = .minplayer2start; .black = waitingroom2bg( "guild_vs2", 90,50, strnpcinfo(0)+"::OnblackQuit", strnpcinfo(0)+"::OnblackDead", .blacknpcname$ ); copyarray .team2aid, $@arenamembers, $@arenamembersnum; .team2count = .minplayer2start; delwaitingroom .rednpcname$; delwaitingroom .blacknpcname$; bg_warp .red, "guild_vs2", 9,50; bg_warp .black, "guild_vs2", 90,50; .score[1] = .score[2] = .minplayer2start; bg_updatescore "guild_vs2", .score[1], .score[2]; sleep .eventlasting * 1000; if ( .score[1] > .score[2] ) { mapannounce "guild_vs2","Red Side Wins !",0; callsub L_reward, 1; } else if ( .score[1] < .score[2] ) { mapannounce "guild_vs2","Black Side Wins !",0; callsub L_reward, 2; } else mapannounce "guild_vs2", "Draw !", 0; bg_warp .red, "prontera",152,178; bg_warp .black, "prontera",154,178; bg_destroy .red; bg_destroy .black; donpcevent .rednpcname$ +"::OnStart"; donpcevent .blacknpcname$ +"::OnStart"; end; L_reward: for ( .@i = 0; .@i < getd(".team"+ getarg(0) +"count"); .@i++ ) getitem .rewarditem[0], .rewarditem[1], getd(".team"+ getarg(0) +"aid["+ .@i +"]" ); return; OnRedDead: callsub L_dead, 1; OnblackDead: callsub L_dead, 2; L_dead: .score[ getarg(0) ]--; bg_updatescore "guild_vs2", .score[1], .score[2]; if ( !.score[ getarg(0) ] ) awake strnpcinfo(0); bg_leave; sleep2 1250; percentheal 100,100; end; OnRedQuit: callsub L_quit, 1, .red; OnblackQuit: callsub L_quit, 2, .black; L_quit: .score[ getarg(0) ]--; bg_updatescore "guild_vs2", .score[1], .score[2]; percentheal 100, 100; while ( getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ) != getcharid(3) && .@i < getd(".team"+ getarg(0) +"count") ) .@i++; deletearray getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ), 1; setd ".team"+ getarg(0) +"count", getd(".team"+ getarg(0) +"count") -1; if ( .score[ getarg(0) ] ) end; awake strnpcinfo(0); end; } g_room2,38,379,5 script Red Side 733,{ end; OnInit: set getvariableofnpc( .rednpcname$, "bg_pvp#control" ), strnpcinfo(0); OnStart: waitingroom "Red Team", getvariableofnpc( .minplayer2start, "bg_pvp#control" ) +1, "bg_pvp#control::OnStart", getvariableofnpc( .minplayer2start, "bg_pvp#control" ); end; } g_room2,45,379,4 script Black Side 734,{ end; OnInit: set getvariableofnpc( .blacknpcname$, "bg_pvp#control" ), strnpcinfo(0); OnStart: waitingroom "Black Team", getvariableofnpc( .minplayer2start, "bg_pvp#control" ) +1, "bg_pvp#control::OnStart", getvariableofnpc( .minplayer2start, "bg_pvp#control" ); end; } guild_vs2 mapflag battleground 2 guild_vs2 mapflag nosave SavePoint guild_vs2 mapflag nowarp guild_vs2 mapflag nowarpto guild_vs2 mapflag noteleport guild_vs2 mapflag nomemo guild_vs2 mapflag nopenalty guild_vs2 mapflag nobranch guild_vs2 mapflag noicewall
  6. Jade

    LMS POINTS

    thank you @Alayne . fixed... just also deleted this line in setting a point. ,.register_aid
  7. Jade

    LMS POINTS

    when i changed it to this.. congratulations ~ the winner of LMS event is (null) (stuck in the map, no rewards and no points given) ---- also whenever i checked .... there's still no points given ... i added dispbottom message... dispbottom "Total LMS Points = "+#lmspoints,.register_aid; but it can only be seen on the losing person ..
  8. Jade

    LMS POINTS

    still no points on the winner ?
  9. Jade

    LMS POINTS

    how to add #LMSPOINTS on the winner? (lmspoints can be used in lms shop) im currently using this script but the winner doesnt get any lms points prontera,150,150,5 script Last Man Standing 100,{ if ( !.start ) { mes "no event at the moment"; close; } if ( .start == 2 ) { mes "event is running"; close; } if ( .register_count >= .register_limit ) { mes "this event has reach the maximum player participations"; close; } percentheal 100,100; warp "guild_vs5", 0,0; .register_aid[ .register_count ] = getcharid(3); .register_count+++; end; OnWhisperGlobal: if ( getgmlevel() < 60 ) end; //OnClock0000: // put all your start timer here OnClock0030: OnClock0430: OnClock0730: OnClock1030: OnClock1230: OnClock1630: OnClock1930: OnClock2230: //OnMinute30: if ( .start == 2 ) callsub L_resetmap; else if ( .start == 1 ) end; announce "LMS event registration start", 0; .start = 1; sleep 120000; // registration timer here announce "LMS event registration close", 0; .start = 2; sleep 3000; mapannounce "guild_vs5", "THIS IS SPARTA !!!!!", 0; if ( .register_count < .register_min ) { announce "not enough participants for LMS event", 0; mapwarp "guild_vs5", .map$, .x, .y; callsub L_resetmap; end; } gvgon "guild_vs5"; pvpon "guild_vs5"; end; OnPCDieEvent: OnPCLogoutEvent: if ( .start != 2 || strcharinfo(3) != "guild_vs5" ) end; while ( .register_aid != getcharid(3) && .@i < .register_count ) .@i++; deletearray .register_aid[.@i], 1; .register_count--; warp "SavePoint", 0,0; if ( .register_count > 1 ) end; killmonsterall "guild_vs5"; announce "congratulations ~ the winner of LMS event is "+ rid2name( .register_aid ), 0; getitem .reward_item_id, .reward_item_amount, .register_aid; // winner prize set #lmspoints,#lmspoints+1; dispbottom "Total LMS Points = "+#lmspoints; warpchar "SavePoint", 0,0, getcharid( 0, rid2name( .register_aid ) ); callsub L_reset; end; L_resetmap: mapwarp "guild_vs5", .map$, .x, .y; L_reset: .start = 0; deletearray .register_aid; .register_count = 0; pvpoff "guild_vs5"; gvgoff "guild_vs5"; return; OnInit: getmapxy .map$, .x, .y, 1; .register_min = 4; // minimum amount of players to start this event, or else it auto-abort .register_limit = 50; // maximum amount of players able to participate in this event .reward_item_id = 674; .reward_item_amount = 2; end; } guild_vs5 mapflag nosave SavePoint guild_vs5 mapflag nowarp guild_vs5 mapflag nowarpto guild_vs5 mapflag noteleport guild_vs5 mapflag nomemo guild_vs5 mapflag nopenalty guild_vs5 mapflag nobranch guild_vs5 mapflag noicewall guild_vs5 mapflag pvp_noparty guild_vs5 mapflag pvp_noguild
  10. for job_db2.txt if your server is at job 120? do i have to add also on that files? with only 70 jobs? just 0,0,0,0,0, and so on just to complete the 120 reading?.. ? the skill icon got a negative timer? how's that?? update: i thought it was on the healer part he's the script of my healer sometimes whenever i click the healer, (got the agi and bless icon with the timer 4mins) then after i click it again, the timer wont refresh to 4mins, then thats when the bug starts, after the 4mins timer it goes negative, then the stats are now bug. //===== rAthena Script ======================================= //= Healer //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.1 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= Basic healer script. //===== Additional Comments: ================================= //= 1.0 Initial script. //= 1.1 Aligned coordinates with @go. //============================================================ - script Healer -1,{ .@Price = 0; // Zeny required for heal .@Buffs = 1; // Also buff players? (1: yes / 0: no) .@Delay = 10; // Heal delay, in seconds if (@HD > gettimetick(2)) end; if (.@Price) { message strcharinfo(0), "Healing costs " + callfunc("F_InsertComma",.@Price) + " Zeny."; if (Zeny < .@Price) end; if (select("^0055FFHeal^000000:^777777Cancel^000000") == 2) end; Zeny -= .@Price; } specialeffect2 EF_HEAL2; percentheal 100,100; atcommand "@identifyall"; if (.@Buffs) { specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,240000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10; sc_end SC_BROKENARMOR; sc_end SC_BROKENWEAPON; } repairall; if (.@Delay) @HD = gettimetick(2) + .@Delay; end; } ayothaya,207,169,6 duplicate(Healer) Healer#ayo 677 then i used my char skills (true sight for example) so the icon with 30secs timer goes on, and then when i click again, the timer wont reset to 30secs. it continues to tick then goes negative UPDATE: got this error [Error]: delete_timer error : function mismatch (nil)(unknown timer function) != 0x501ab0(status_change_timer)
  11. at first they thought that it's a negative buffs on gefenia monster or mvp monster then it occurs so sudden on town... when they uses a skill or changed equip
  12. where will this be in source? do i have to drop my src files here, for you to see
  13. some of the picture i sent don't have any item equipped on
  14. sorry, i really don't know if it is the right section for this, I don't know where to start regarding this problem. the bug is that it give an overflowing stats so sudden in any job, (when they're using skill? or what) +9k+ on some stats, somethimes +500+, or a negative 2k stats. can someone help me with this? is it on source? status? or what / where would it be? i'll give the necessary file that you need for you to check...
  15. Jade

    HELP - @whosell

    i keep getting "Nobody is selling it now." on that script ? how to fix it?
×
×
  • Create New...