Jump to content

nexus1528

Members
  • Posts

    20
  • Joined

  • Last visited

2 Followers

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

1383 profile views

nexus1528's Achievements

Poring

Poring (1/15)

0

Reputation

  1. i tried it but no errors on me .. try my attchments ExtendedVendingSystem_1.8.8.patch
  2. I have successfully patched the diff file given by annie .. but i got error on my script .. prontera,156,185,5 script Battleground 100,{ mes "Wanna sign up ?"; if ( select( "yes", "no" ) == 2 ) close; else if ( .signup_count == 128 ) { mes "Sorry the whole queue is full"; close; } while ( .signup_aid[.@i] != getcharid(3) && .@i < .signup_count ) set .@i, .@i +1; if ( .@i < .signup_count ) { mes "you have already sign up in this event"; close; } set .signup_aid[ .signup_count ], getcharid(3); set .signup_count, .signup_count +1; mes "You are now signed to the BG event"; // set .@i, 0; // DEBUG // while ( .signup_aid[.@i] ) { // set .@signup_name$, .@signup_name$ +","+ rid2name( .signup_aid[.@i] ); // set .@i, .@i +1; // } // mes "[Debug] Currently have "+ .signup_count +" sign-in and they are "+ .@signup_name$; close2; L_start: if ( .signup_count < .min2start ) end; for ( set .@i, 0; .@i < .signup_count; set .@i, .@i +1 ) { if ( attachrid( .signup_aid[.@i] ) ) { if ( getmapflag( strcharinfo(3), mf_nowarp ) ) { // player has went into another event deletearray .signup_aid[.@i], 1; set .signup_count, .signup_count -1; set .@i, .@i -1; } } else { deletearray .signup_aid[.@i], 1; set .signup_count, .signup_count -1; set .@i, .@i -1; } } if ( .start || .signup_count < .min2start ) end; announce "event started", 0; set .start, 1; for ( set .@i, 0; .@i < .signup_count; set .@i, .@i +1 ) setbgid ( .@i %2 )? .red : .blue, .signup_aid[.@i]; deletearray .signup_aid, .min2start; set .signup_count, .signup_count - .min2start; bg_warp .red, "guild_vs3", 13,50; bg_warp .blue, "guild_vs3", 86,50; cleararray .score[1], .startingscore, 2; bg_updatescore "guild_vs3", .score[1], .score[2]; sleep .eventlasting * 1000; if ( .start == 1 ) { if ( .score[1] == .score[2] ) mapannounce "guild_vs3", "Draw !", 0; else if ( .score[1] > .score[2] ) { mapannounce "guild_vs3", " Red side wins !", 0; callsub L_reward, .red; } else if ( .score[1] < .score[2] ) { mapannounce "guild_vs3", " Blue side wins !", 0; callsub L_reward, .blue; } } bg_warp .red, "prontera", 155,182; bg_warp .blue, "prontera", 158,182; bg_kickall .red; bg_kickall .blue; set .start, 0; deletearray .score; goto L_start; L_reward: getbgusers getarg(0); for ( set .@i, 0; .@i < $@arenamembersnum; set .@i, .@i +1 ) getitem 501, 1, $@arenamembers[.@i]; // item reward return; OnredDead: callsub L_dead, 1; OnblueDead: callsub L_dead, 2; L_dead: set .score[ getarg(0) ], .score[ getarg(0) ] -1; bg_updatescore "guild_vs3", .score[1], .score[2]; if ( !.score[ getarg(0) ] ) awake strnpcinfo(0); sleep2 1250; percentheal 100,100; end; OnredQuit: callsub L_quit, 1, .red; OnblueQuit: callsub L_quit, 2, .blue; L_quit: percentheal 100, 100; if ( bg_get_data( getarg(1), 0 ) ) end; set .score[ getarg(0) ], 0; awake strnpcinfo(0); end; OnInit: set .eventlasting, 30 * 60; // how long would the event last or it auto-reset. 30 *60 = 30 mins set .min2start, 2; // minimum player to start set .startingscore, 3; // score at start set .red, createbgid( "guild_vs3", 13,50, strnpcinfo(0)+"::OnredQuit", strnpcinfo(0)+"::OnredDead" ); set .blue, createbgid( "guild_vs3", 86,50, strnpcinfo(0)+"::OnblueQuit", strnpcinfo(0)+"::OnblueDead" ); end; } guild_vs3 mapflag battleground 2 guild_vs3 mapflag nosave SavePoint guild_vs3 mapflag nowarp guild_vs3 mapflag nowarpto guild_vs3 mapflag noteleport guild_vs3 mapflag nomemo guild_vs3 mapflag nopenalty guild_vs3 mapflag nobranch the mapserver says that it cant find npc event Battleground::OnredDead and Battleground::OnredQuit both on OnblueDead and OnblueQuit .. any help please ?
  3. sorry about this .. but i cant understand how it works .. can u please give a step by step instructions .. please i realy need this ..
  4. hi there . do you guys know why in my server there is no monsters respawning in their respective maps .. its like a ghost town no monsters in any maps . dungeons . fields and anywhere else .. i dont know what to do . can anyone help me ?
  5. can anyone help me how to configure the +10 stats food because when the player dies the effect of the foods dissapears .. i dont want it to disapear when the player dies . the +10 stats food im talking about are steamed dessert scorpion hwergmic tonic immortal stew and i forgot the other 3 ..
  6. tnx to all of you for your help.. more powers
  7. hmmm here is my script - script killmark,{ OnPcKillEvent: getitem 7420,1; } i want this to be on pvp maps only ..
  8. help I have a script that when a player kills another player they will getitem 7420 . or skulls in their inventory but I want this to be on pvp maps only and woe maps only . how to do it ? my pvp map is on bat_c02 ..
  9. tama nmn ung view id ko sa lahat .. kpg nga ginwa kong normal items lang ngviview nmn sya .. tapos ndi pa umeepek ung script ng item kpg costume na sya .. Begginer eAthena by chetan ang gamit ko
  10. yes @reloaditemdb may problem ako .. nkaequip n sya sa costume tab pero ndi ngchachange ng sprite ung character eto screenie
  11. mga sir may problem ako sa costume item . kapag ginawa ko ung Loc ng isang item na 1024 eh ndi sya maequip sa style tab . cant equip this item ang nkalagay . patulong nmn po . or kung pwede paturo kung pano tanggaling ang costume/style tab .. Im using Begginer eAthena v4 for editing/beta testing purposes only . tnx in advance
  12. guys pahelp nmn po kung pano mglagay ng atcommand na @joinbg at @pvpmode . tnx
×
×
  • Create New...