Jump to content

whine06

Members
  • Posts

    29
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Caloocan Ph

Recent Profile Visitors

2,021 profile views

whine06's Achievements

Poring

Poring (1/15)

1

Reputation

  1. You show us the wrong NPC Sorry wrong NPC Script thanks for correction.
  2. [Error]: script:getarg: no callfunc or callsub! [Debug]: Source (NPC): PVPLADDER (invisible/not on a map) //===== eAthena Script ======================================= //= eAthena PVP-Ladder //===== By: ================================================== //= Terces //===== Current Version: ===================================== //= 1.7.2 //===== Compatible With: ===================================== //= Any Athena Version that has "for" implemented //===== Credits: ============================================= //= The whole eAthena Board and the eAthena Chat //===== Notes: =============================================== //= Note 1: //= Experience gain works like this formula: //= ([email protected](<new position>-1))*[email protected] //= so if someone gets the first place he'll get //= [email protected]*[email protected] experience points. //============================================================ //= Fixxed by Dante //= V1.7.2 //= Hosted by Dant3 aka Dante // HAFE FUN! READ THE TOPIC! IT DONT WORKS MAYBE ON OLDER REV // // // LAST UPDATE: 12th,February.2008 // // Main Script - Terces (Main Thanks to Terces ) // V1.7.0 - Dant3 // v1.7.1 - AnnieRuRu // v1.7.2 - Dant3 // THIS SCRIPT WORKS ONLY ON THE NEW EATHENA REVISIONS! ENJOY! - script PVPLADDEROPTIONS -1,{ end; OnInit: // 0 = Disabled (NO) // 1 = Enable (YES) set [email protected], 0; //Enable/Disable language selection [English/German] (Default: 1) set [email protected], 0; //Enable/Disable the announcement when a char reaches a new position in the ladder (Default: 1) set [email protected], 30; //Set the length of the Ladder [!Not higher than 128!] (Default: 30) set [email protected], 10; //Set the views per page (Default: 10) set [email protected], 1; //Enable/Disable experience gain when reaching a new position in the ladder (*Note1) set [email protected], 50; //Set Experience gain value (*Note1) // Update v1.7.0 set [email protected], 1; //Enable/Disable zeny gain when reaching a new position in the ladder set [email protected], 50; //Set Zeny gain value set [email protected], 1; //Enable/Disable an Chat Room over the NPC with the message "PvP Ladder" (Users can not enter the Chat room) // Update v1.7.1 (Thanks to AnnieRuRu) // Added GM PvP Ladder Reset Function // Update v1.7.2 // Thanks to for the Feedback set [email protected], 1; //Enable/Disable that the NPC asks about the Broadcast when a Player logins / or with the Npc Chat (0 = Login Ask , 1 = Npc Chat) Related: 0 } - script PVPLADDER -1,{ OnPCKillEvent: if (terces_PVP_resets != $terces_PVP_resets) { dispbottom "Please relog your character, in order to get the correct kills for you in the PVP ladder."; dispbottom "Because a GM just reset the ladder."; end; } if ( killedrid == getcharid(3) ) { set PVPDeaths, PVPDeaths +1; set #PVPDeathsAccount, #PVPDeathsAccount +1; set @PVPDeathstoday, @PVPDeathstoday +1; end; } set [email protected],[email protected]+1; set getd("[email protected]"[email protected]),getcharid(3); //getd to avoid errors when more than 1 people kill someone attachrid(killedrid); set PVPDeaths,PVPDeaths+1; set @PVPDeathstoday,@PVPDeathstoday+1; set #PVPDeathsAccount,#PVPDeathsAccount+1; set getd("[email protected]"[email protected]+"$"), strcharinfo(0); //again, getd to avoid possible glitches detachrid; attachrid(getd("[email protected]"[email protected])); CountKills: set PVPKills,PVPKills+1; set @PVPKillstoday,@PVPKillstoday+1; set #PVPKillsAccount,#PVPKillsAccount+1; setarray @playerstats[0],@PVPKillstoday,@PVPDeathstoday,PVPKills,PVPDeaths,#PVPKillsAccount,#PVPDeathsAccount; l_ladder: set @considerdeath,0; for (set @PosinLadder, 0; @PosinLadder < [email protected]; set @PosinLadder, @PosinLadder + 1){ if (PVPKills >= $terces_PVP_kills[@PosinLadder]){ //Player deserves to be in the ladder //Check if Death plays a role on the position if ((PVPKills == $terces_PVP_kills[@PosinLadder]) && (PVPDeaths > $terces_PVP_deaths[@PosinLadder])) set @considerdeath,1; //Consider Deaths //Check if the player only topped his own scores if ($terces_PVP_names$[@PosinLadder] == strcharinfo(0)){ set $terces_PVP_kills[@PosinLadder],PVPKills; set $terces_PVP_deaths[@PosinLadder],PVPDeaths; end; } //Moves all characters in the Ladder for (set @beginmoving, [email protected]; @beginmoving >= (@[email protected]); set @beginmoving, @beginmoving - 1){ if ($terces_PVP_names$[@beginmoving] == strcharinfo(0)){ //If the player already is in the Ladder it only has to move players between characters new position and characters old position callsub L_LadderMove,0; end; } else if (@beginmoving == (@[email protected])){ //Player is not in the Ladder and therefor it has to move all players from characters new position downwards callsub L_LadderMove,1; end; } } end; } } L_LadderMove: if (getarg(0) == 0) set @length,@beginmoving; if (getarg(0) == 1) set @length,[email protected]gth; for (set @movecycle, @length; @movecycle > (@[email protected]); set @movecycle, @movecycle - 1){ set $terces_PVP_names$[@movecycle],$terces_PVP_names$[(@movecycle-1)]; set $terces_PVP_kills[@movecycle],$terces_PVP_kills[(@movecycle-1)]; set $terces_PVP_deaths[@movecycle],$terces_PVP_deaths[(@movecycle-1)]; set $terces_PVP_times[@movecycle],$terces_PVP_times[(@movecycle-1)]; } //sets the character's stats in the new position set $terces_PVP_names$[(@[email protected])],strcharinfo(0); set $terces_PVP_kills[(@[email protected])],PVPKills; set $terces_PVP_deaths[(@[email protected])],PVPDeaths; set $terces_PVP_times[(@[email protected])],gettimetick(2); //Experience Gain if ([email protected] == 1){ set BaseExp,BaseExp+(([email protected]((@[email protected])-1))*[email protected]); dispbottom "You have just been rewarded with "+(([email protected]((@[email protected])-1))*[email protected])+" base experience points"; } //Zeny Gain if ([email protected] == 1){ set Zeny,Zeny+(([email protected]((@[email protected])-1))*[email protected]); dispbottom "You have just been rewarded with "+(([email protected]((@[email protected])-1))*[email protected])+" Zeny"; } end; OnPCLoginEvent: if (terces_PVP_resets != $terces_PVP_resets){ set PVPDeaths,0; set @PVPDeathstoday,0; set #PVPDeathsAccount,0; set PVPKills,0; set @PVPKillstoday,0; set #PVPKillsAccount,0; set terces_PVP_resets,$terces_PVP_resets; } if ([email protected] == 0){ if (#pvpbroadcast == 2) goto L_ignore; if (pvpbroadcast == 2) goto L_ignore; if (#pvpbroadcast == 1) goto L_ignore; if (pvpbroadcast == 1) goto L_ignore; if (pvpbroadcast == 0) mes "Hi, "+strcharinfo(0)+""; mes "Me is the PvP Top Management!"; mes "Let me ask you one Question and i will let you play!"; menu "Later please",L_close,"Okay, fine",L_fine; L_fine: next; mes "Well, do you want read Broadcast Messages when a Player reach a new position on the PvP Ranglist?"; menu "Yeah, why not",L_accept,"No, thanks",L_accept_2,"Wtf is Broadcast?",L_broadcast; L_accept: next; mes "Yay, thank you! ^_^"; mes "Will this Setting work on all your Chars on this account or only this char?"; menu "Account",L_account,"Only this char",L_char; L_account: set #pvpbroadcast,2; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; close; L_char: set pvpbroadcast,2; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; goto access_eng; close; L_accept_2: next; mes "Yay, thank you! ^_^"; mes "Will this Setting work on all your Chars on this account or only this char?"; menu "Account",L_account_2,"Only this char",L_char_2; L_close: close; L_account_2: set #pvpbroadcast,1; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; close; L_char_2: set pvpbroadcast,1; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; goto access_eng; close; L_broadcast: mes "Broadcasts are this yellow messages from the GMs"; goto L_fine; } } prontera.gat,141,181,5 script PvP Ladder 57,{ if ([email protected] == 1) { waitingroom "PvP Top "[email protected]+"",0; // Look on the configuration! } set @name$,"[PvP-Ladder]"; //Colour of: Position Name Kills Deaths Time setarray @colour$[0], "^996600", "^006699", "^00AA00", "^FF0000", "^EE8800"; if ([email protected] == 1){ if (#pvpbroadcast == 2) goto access_eng; if (pvpbroadcast == 2) goto access_eng; if (#pvpbroadcast == 1) goto access_eng; if (pvpbroadcast == 1) goto access_eng; if (pvpbroadcast == 0) mes "Hi, "+strcharinfo(0)+""; mes "Me is the PvP Top Management!"; mes "Let me ask you one Question and i will let you play!"; menu "Later please",L_close,"Okay, fine",L_fine; L_fine: next; mes "Well, do you want read Broadcast Messages when a Player reach a new position on the PvP Ranglist?"; menu "Yeah, why not",L_accept,"No, thanks",L_accept_2,"Wtf is Broadcast?",L_broadcast; L_accept: next; mes "Yay, thank you! ^_^"; mes "Will this Setting work on all your Chars on this account or only this char?"; menu "Account",L_account,"Only this char",L_char; L_account: set #pvpbroadcast,2; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; close; L_char: set pvpbroadcast,2; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; goto access_eng; close; L_accept_2: next; mes "Yay, thank you! ^_^"; mes "Will this Setting work on all your Chars on this account or only this char?"; menu "Account",L_account_2,"Only this char",L_char_2; L_close: close; L_account_2: set #pvpbroadcast,1; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; close; L_char_2: set pvpbroadcast,1; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; goto access_eng; close; L_broadcast: mes "Broadcasts are this yellow messages from the GMs"; goto L_fine; } access_eng: mes @name$; mes "Hello "+strcharinfo(0)+"..."; mes "If you want to I can show you your PVP stats."; next; M_selection_eng: if ( getgmlevel () < 99 ) menu "Show me the PVP Ladder",M_Ladder_eng,"PvP stats since my login",M_seitLogin_eng,"PvP stats of this Char",M_dieserChar_eng,"Stats of the whole account",M_vomAccount_eng,"Cancel",M_abbrechen_eng; else menu "Show me the PVP Ladder",M_Ladder_eng,"PvP stats since my login",M_seitLogin_eng,"PvP stats of this Char",M_dieserChar_eng,"Stats of the whole account",M_vomAccount_eng,"Reset Ladder",L_reset,"Cancel",M_abbrechen_eng; M_Ladder_eng: mes "Alright...I'll show you the Top "+ [email protected] +" with "[email protected]+" entries per page."; mes "It'll be viewed like this:"; mes @colour$[0]+"Place^000000: "[email protected]$[1]+"<name>^000000 :"[email protected]$[2]+"<kills>^000000:"[email protected]$[3]+"<deaths>^000000 "[email protected]$[4]+"<time>"; next; callsub L_Ladder; goto M_selection_eng; M_seitLogin_eng: mes @name$; mes "Your stats since your login:"; mes @PVPKillstoday+"/"[email protected]+"(Kills/Deaths)"; next; goto M_selection_eng; M_dieserChar_eng: mes @name$; mes "Your stats of this Char:"; mes PVPKills+"/"+PVPDeaths+"(Kills/Deaths)"; next; goto M_selection_eng; M_vomAccount_eng: mes @name$; mes "Your stats of the whole account:"; mes #PVPKillsAccount+"/"+#PVPDeathsAccount+"(Kills/Deaths)"; next; goto M_selection_eng; M_abbrechen_eng: mes @name$; mes "OK. You can come back to me and see your stats whenever you want."; close; L_reset: if (getgmlevel() < 99) end; mes "Do you want to reset the ladder?"; if (select ("Yes","No") == 2) goto L_end; mes "Are you really really sure you want to reset it?"; menu "Yes, ffs!!",-,"No",L_end; deletearray $terces_PVP_kills,128; deletearray $terces_PVP_deaths,128; deletearray $terces_PVP_names$,128; deletearray $terces_PVP_times,128; set $terces_PVP_resets,$terces_PVP_resets +1; L_end: mes "Okay...cya"; close; L_Ladder: for (set @y,0; @y < [email protected]; set @y,@[email protected]){ for (set @x,@y; (@x < (@[email protected])) && (@x < ([email protected])); set @x,@x+1){ if ($terces_PVP_names$[@x] != ""){ mes @colour$[0]+(@x+1)+"^000000: "[email protected]$[1]+$terces_PVP_names$[@x]+"^000000 "[email protected]$[2]+$terces_PVP_kills[@x]+"^000000:"[email protected]$[3]+$terces_PVP_deaths[@x]+"^000000 ~ "[email protected]$[4]+callfunc ("Gettime",$terces_PVP_times[@x])+"^000000"; } else { mes "^DD0000"+(@x+1)+": ^006699None^000000 "; } } next; } return; } function script Gettime { if (getarg(0)==0) return; set @difftimedays,(gettimetick(2) - getarg(0)); set @difftimehours,@difftimedays%86400; set @difftimeminutes,@difftimehours%3600; set @difftimeseconds,@difftimeminutes%60; set @days,@difftimedays/86400; set @hours,@difftimehours/3600; set @minutes,@difftimeminutes/60; set @seconds,@difftimeseconds; set @result$,""; if(@days != 0) set @result$,@[email protected]+"d "; if(@hours != 0) set @result$,@[email protected]+"h "; if(@minutes != 0) set @result$,@[email protected]+"m "; if(@seconds != 0) set @result$,@[email protected]+"s"; return (@result$); }
  3. Hey Cyber please make me 1 for my RO Color : Red and Black Name : TemptationRO Size : 420 x 60 Anime : Trans Job of Ragnarok Animation : 255/100 8000x/8000x/300x
  4. i see .. badly i cannot separate my V4p and Hourly point shop
  5. How to remove Can Buy using FreeCash at V4p Shop using Points this is my v4p shop prontera,144,186,5 script VotePoints Trader 893,{ setarray @vote_item[0], 512, 512; // Item ID setarray @vote_item_count[0], 1, 1; // Item Count wich will be given setarray @vote_cost[0], 1, 1; // Cost in Vote Points set @min_vote, 0; // minimum count on Vote Points to see the Item List set @npcname$,"[^ff0000Vote Point Trader^000000]"; query_sql ("SELECT `points` FROM `cp_vote` WHERE `account_id` = ('"+getcharid(3)+"')", @vote); mes @npcname$; mes "You have ^ff0000"[email protected]+"^000000 Vote Points!"; if( @vote < @min_vote ) { mes "^ff0000You will need "[email protected]_vote+" or more Vote Points to trade them with me!^000000"; close; } if (select("Trade my Points!","Cancel~") == 2) close; next; mes "[^ff0000List^000000]"; mes "^0000ffItem^000000 = ^00aa00Cost^000000"; for( set [email protected], 0; [email protected] < getarraysize(@vote_item); set [email protected], [email protected] + 1 ) { mes "^0000ff"[email protected]_item_count[[email protected]]+"x "+getitemname(@vote_item[[email protected]])+"^000000 = ^00aa00"[email protected]_cost[[email protected]]+"^000000"; if( [email protected] < 1 ) set [email protected]$, getitemname(@vote_item[[email protected]]); else set [email protected]$, [email protected]$+":"+getitemname(@vote_item[[email protected]]); } next; select([email protected]$); set @choice, @menu - 1; mes @npcname$; if( @vote_cost[@choice] > @vote ) { mes "^ff0000You dont have enought Vote Point for "[email protected]_item_count[@choice]+"x '"+getitemname(@vote_item[@choice])+"' :/^000000"; close; } mes "Are u realy sure to trade "[email protected]_item_count[@choice]+"x '^ff0000"+getitemname(@vote_item[@choice])+"^000000' for ^00aa00"[email protected]_cost[@choice]+"^000000 Vote Points?"; if(select("No! Cancel!:Yes, Trade me!") == 1 ) { mes "^ff0000Trade was canceled~^000000"; close; } set [email protected], @vote - @vote_cost[@choice]; if( [email protected] < 0 ) // safty first.. set [email protected], 0; query_sql("UPDATE `voting_points` SET `points` = '"[email protected]+"' WHERE `account_id` = ('"+getcharid(3)+"')"); getitem @vote_item[@choice], @vote_item_count[@choice]; mes "^00aa00Trade was Successfull Hope to see u again =)!^000000"; close; }
  6. i always get this error in pvp ladder //===== eAthena Script ======================================= //= eAthena PVP-Ladder //===== By: ================================================== //= Terces //===== Current Version: ===================================== //= 1.7.2 //===== Compatible With: ===================================== //= Any Athena Version that has "for" implemented //===== Credits: ============================================= //= The whole eAthena Board and the eAthena Chat //===== Notes: =============================================== //= Note 1: //= Experience gain works like this formula: //= ([email protected](<new position>-1))*[email protected] //= so if someone gets the first place he'll get //= [email protected]*[email protected] experience points. //============================================================ //= Fixxed by Dante //= V1.7.2 //= Hosted by Dant3 aka Dante // HAFE FUN! READ THE TOPIC! IT DONT WORKS MAYBE ON OLDER REV // // // LAST UPDATE: 12th,February.2008 // // Main Script - Terces (Main Thanks to Terces ) // V1.7.0 - Dant3 // v1.7.1 - AnnieRuRu // v1.7.2 - Dant3 // THIS SCRIPT WORKS ONLY ON THE NEW EATHENA REVISIONS! ENJOY! - script PVPLADDEROPTIONS -1,{ end; OnInit: // 0 = Disabled (NO) // 1 = Enable (YES) set [email protected], 0; //Enable/Disable language selection [English/German] (Default: 1) set [email protected], 0; //Enable/Disable the announcement when a char reaches a new position in the ladder (Default: 1) set [email protected], 30; //Set the length of the Ladder [!Not higher than 128!] (Default: 30) set [email protected], 10; //Set the views per page (Default: 10) set [email protected], 1; //Enable/Disable experience gain when reaching a new position in the ladder (*Note1) set [email protected], 50; //Set Experience gain value (*Note1) // Update v1.7.0 set [email protected], 1; //Enable/Disable zeny gain when reaching a new position in the ladder set [email protected], 50; //Set Zeny gain value set [email protected], 1; //Enable/Disable an Chat Room over the NPC with the message "PvP Ladder" (Users can not enter the Chat room) // Update v1.7.1 (Thanks to AnnieRuRu) // Added GM PvP Ladder Reset Function // Update v1.7.2 // Thanks to for the Feedback set [email protected], 1; //Enable/Disable that the NPC asks about the Broadcast when a Player logins / or with the Npc Chat (0 = Login Ask , 1 = Npc Chat) Related: 0 } - script PVPLADDER -1,{ OnPCKillEvent: if (terces_PVP_resets != $terces_PVP_resets) { dispbottom "Please relog your character, in order to get the correct kills for you in the PVP ladder."; dispbottom "Because a GM just reset the ladder."; end; } if ( killedrid == getcharid(3) ) { set PVPDeaths, PVPDeaths +1; set #PVPDeathsAccount, #PVPDeathsAccount +1; set @PVPDeathstoday, @PVPDeathstoday +1; end; } set [email protected],[email protected]+1; set getd("[email protected]"[email protected]),getcharid(3); //getd to avoid errors when more than 1 people kill someone attachrid(killedrid); set PVPDeaths,PVPDeaths+1; set @PVPDeathstoday,@PVPDeathstoday+1; set #PVPDeathsAccount,#PVPDeathsAccount+1; set getd("[email protected]"[email protected]+"$"), strcharinfo(0); //again, getd to avoid possible glitches detachrid; attachrid(getd("[email protected]"[email protected])); CountKills: set PVPKills,PVPKills+1; set @PVPKillstoday,@PVPKillstoday+1; set #PVPKillsAccount,#PVPKillsAccount+1; setarray @playerstats[0],@PVPKillstoday,@PVPDeathstoday,PVPKills,PVPDeaths,#PVPKillsAccount,#PVPDeathsAccount; l_ladder: set @considerdeath,0; for (set @PosinLadder, 0; @PosinLadder < [email protected]; set @PosinLadder, @PosinLadder + 1){ if (PVPKills >= $terces_PVP_kills[@PosinLadder]){ //Player deserves to be in the ladder //Check if Death plays a role on the position if ((PVPKills == $terces_PVP_kills[@PosinLadder]) && (PVPDeaths > $terces_PVP_deaths[@PosinLadder])) set @considerdeath,1; //Consider Deaths //Check if the player only topped his own scores if ($terces_PVP_names$[@PosinLadder] == strcharinfo(0)){ set $terces_PVP_kills[@PosinLadder],PVPKills; set $terces_PVP_deaths[@PosinLadder],PVPDeaths; end; } //Moves all characters in the Ladder for (set @beginmoving, [email protected]; @beginmoving >= (@[email protected]); set @beginmoving, @beginmoving - 1){ if ($terces_PVP_names$[@beginmoving] == strcharinfo(0)){ //If the player already is in the Ladder it only has to move players between characters new position and characters old position callsub L_LadderMove,0; end; } else if (@beginmoving == (@[email protected])){ //Player is not in the Ladder and therefor it has to move all players from characters new position downwards callsub L_LadderMove,1; end; } } end; } } L_LadderMove: if (getarg(0) == 0) set @length,@beginmoving; if (getarg(0) == 1) set @length,[email protected]; for (set @movecycle, @length; @movecycle > (@[email protected]); set @movecycle, @movecycle - 1){ set $terces_PVP_names$[@movecycle],$terces_PVP_names$[(@movecycle-1)]; set $terces_PVP_kills[@movecycle],$terces_PVP_kills[(@movecycle-1)]; set $terces_PVP_deaths[@movecycle],$terces_PVP_deaths[(@movecycle-1)]; set $terces_PVP_times[@movecycle],$terces_PVP_times[(@movecycle-1)]; } //sets the character's stats in the new position set $terces_PVP_names$[(@[email protected])],strcharinfo(0); set $terces_PVP_kills[(@[email protected])],PVPKills; set $terces_PVP_deaths[(@[email protected])],PVPDeaths; set $terces_PVP_times[(@[email protected])],gettimetick(2); //Experience Gain if ([email protected] == 1){ set BaseExp,BaseExp+(([email protected]((@[email protected])-1))*[email protected]); dispbottom "You have just been rewarded with "+(([email protected]((@[email protected])-1))*[email protected])+" base experience points"; } //Zeny Gain if ([email protected] == 1){ set Zeny,Zeny+(([email protected]((@[email protected])-1))*[email protected]); dispbottom "You have just been rewarded with "+(([email protected]((@[email protected])-1))*[email protected])+" Zeny"; } end; OnPCLoginEvent: if (terces_PVP_resets != $terces_PVP_resets){ set PVPDeaths,0; set @PVPDeathstoday,0; set #PVPDeathsAccount,0; set PVPKills,0; set @PVPKillstoday,0; set #PVPKillsAccount,0; set terces_PVP_resets,$terces_PVP_resets; } if ([email protected] == 0){ if (#pvpbroadcast == 2) goto L_ignore; if (pvpbroadcast == 2) goto L_ignore; if (#pvpbroadcast == 1) goto L_ignore; if (pvpbroadcast == 1) goto L_ignore; if (pvpbroadcast == 0) mes "Hi, "+strcharinfo(0)+""; mes "Me is the PvP Top Management!"; mes "Let me ask you one Question and i will let you play!"; menu "Later please",L_close,"Okay, fine",L_fine; L_fine: next; mes "Well, do you want read Broadcast Messages when a Player reach a new position on the PvP Ranglist?"; menu "Yeah, why not",L_accept,"No, thanks",L_accept_2,"Wtf is Broadcast?",L_broadcast; L_accept: next; mes "Yay, thank you! "; mes "Will this Setting work on all your Chars on this account or only this char?"; menu "Account",L_account,"Only this char",L_char; L_account: set #pvpbroadcast,2; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; close; L_char: set pvpbroadcast,2; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; goto access_eng; close; L_accept_2: next; mes "Yay, thank you! "; mes "Will this Setting work on all your Chars on this account or only this char?"; menu "Account",L_account_2,"Only this char",L_char_2; L_close: close; L_account_2: set #pvpbroadcast,1; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; close; L_char_2: set pvpbroadcast,1; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; goto access_eng; close; L_broadcast: mes "Broadcasts are this yellow messages from the GMs"; goto L_fine; } } prontera.gat,141,181,5 script PvP Ladder 57,{ if ([email protected] == 1) { waitingroom "PvP Top "[email protected]+"",0; // Look on the configuration! } set @name$,"[PvP-Ladder]"; //Colour of: Position Name Kills Deaths Time setarray @colour$[0], "^996600", "^006699", "^00AA00", "^FF0000", "^EE8800"; if ([email protected] == 1){ if (#pvpbroadcast == 2) goto access_eng; if (pvpbroadcast == 2) goto access_eng; if (#pvpbroadcast == 1) goto access_eng; if (pvpbroadcast == 1) goto access_eng; if (pvpbroadcast == 0) mes "Hi, "+strcharinfo(0)+""; mes "Me is the PvP Top Management!"; mes "Let me ask you one Question and i will let you play!"; menu "Later please",L_close,"Okay, fine",L_fine; L_fine: next; mes "Well, do you want read Broadcast Messages when a Player reach a new position on the PvP Ranglist?"; menu "Yeah, why not",L_accept,"No, thanks",L_accept_2,"Wtf is Broadcast?",L_broadcast; L_accept: next; mes "Yay, thank you! "; mes "Will this Setting work on all your Chars on this account or only this char?"; menu "Account",L_account,"Only this char",L_char; L_account: set #pvpbroadcast,2; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; close; L_char: set pvpbroadcast,2; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; goto access_eng; close; L_accept_2: next; mes "Yay, thank you! "; mes "Will this Setting work on all your Chars on this account or only this char?"; menu "Account",L_account_2,"Only this char",L_char_2; L_close: close; L_account_2: set #pvpbroadcast,1; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; close; L_char_2: set pvpbroadcast,1; next; mes "Okay, "+strcharinfo(0)+""; mes "Thank you for your time and have fun!"; goto access_eng; close; L_broadcast: mes "Broadcasts are this yellow messages from the GMs"; goto L_fine; } access_eng: mes @name$; mes "Hello "+strcharinfo(0)+"..."; mes "If you want to I can show you your PVP stats."; next; M_selection_eng: if ( getgmlevel () < 99 ) menu "Show me the PVP Ladder",M_Ladder_eng,"PvP stats since my login",M_seitLogin_eng,"PvP stats of this Char",M_dieserChar_eng,"Stats of the whole account",M_vomAccount_eng,"Cancel",M_abbrechen_eng; else menu "Show me the PVP Ladder",M_Ladder_eng,"PvP stats since my login",M_seitLogin_eng,"PvP stats of this Char",M_dieserChar_eng,"Stats of the whole account",M_vomAccount_eng,"Reset Ladder",L_reset,"Cancel",M_abbrechen_eng; M_Ladder_eng: mes "Alright...I'll show you the Top "+ [email protected] +" with "[email protected]+" entries per page."; mes "It'll be viewed like this:"; mes @colour$[0]+"Place^000000: "[email protected]$[1]+"<name>^000000 :"[email protected]$[2]+"<kills>^000000:"[email protected]$[3]+"<deaths>^000000 "[email protected]$[4]+"<time>"; next; callsub L_Ladder; goto M_selection_eng; M_seitLogin_eng: mes @name$; mes "Your stats since your login:"; mes @PVPKillstoday+"/"[email protected]+"(Kills/Deaths)"; next; goto M_selection_eng; M_dieserChar_eng: mes @name$; mes "Your stats of this Char:"; mes PVPKills+"/"+PVPDeaths+"(Kills/Deaths)"; next; goto M_selection_eng; M_vomAccount_eng: mes @name$; mes "Your stats of the whole account:"; mes #PVPKillsAccount+"/"+#PVPDeathsAccount+"(Kills/Deaths)"; next; goto M_selection_eng; M_abbrechen_eng: mes @name$; mes "OK. You can come back to me and see your stats whenever you want."; close; L_reset: if (getgmlevel() < 99) end; mes "Do you want to reset the ladder?"; if (select ("Yes","No") == 2) goto L_end; mes "Are you really really sure you want to reset it?"; menu "Yes, ffs!!",-,"No",L_end; deletearray $terces_PVP_kills,128; deletearray $terces_PVP_deaths,128; deletearray $terces_PVP_names$,128; deletearray $terces_PVP_times,128; set $terces_PVP_resets,$terces_PVP_resets +1; L_end: mes "Okay...cya"; close; L_Ladder: for (set @y,0; @y < [email protected]; set @y,@[email protected]){ for (set @x,@y; (@x < (@[email protected])) && (@x < ([email protected])); set @x,@x+1){ if ($terces_PVP_names$[@x] != ""){ mes @colour$[0]+(@x+1)+"^000000: "[email protected]$[1]+$terces_PVP_names$[@x]+"^000000 "[email protected]$[2]+$terces_PVP_kills[@x]+"^000000:"[email protected]$[3]+$terces_PVP_deaths[@x]+"^000000 ~ "[email protected]$[4]+callfunc ("Gettime",$terces_PVP_times[@x])+"^000000"; } else { mes "^DD0000"+(@x+1)+": ^006699None^000000 "; } } next; } return; } function script Gettime { if (getarg(0)==0) return; set @difftimedays,(gettimetick(2) - getarg(0)); set @difftimehours,@difftimedays%86400; set @difftimeminutes,@difftimehours%3600; set @difftimeseconds,@difftimeminutes%60; set @days,@difftimedays/86400; set @hours,@difftimehours/3600; set @minutes,@difftimeminutes/60; set @seconds,@difftimeseconds; set @result$,""; if(@days != 0) set @result$,@[email protected]+"d "; if(@hours != 0) set @result$,@[email protected]+"h "; if(@minutes != 0) set @result$,@[email protected]+"m "; if(@seconds != 0) set @result$,@[email protected]+"s"; return (@result$); }
  7. pde kya po iscript nlang sa npc like dispel SG with union pag relog ?
  8. @keikun hnd paren po gumagana yan .. nka set na ng ganyan sa status ko .. hnd po nawawala yung Union ng SG
  9. Pede po mka request ng DeBuff Union para sa SG pag nag recon mwawala yung Union thanks in advance
  10. eto po sir try mo.. 2115,Valkyrie_Shield,Valkyrie Shield,5,30000,,500,,3,,1,0xFFFFFFFE,7,2,32,,65,1,4,{},{},{} 2357,Valkyrie_Armor,Valkyrian Armor,5,10,,100,,1,,1,0xFFFFFFFF,7,2,16,,0,1,0,{},{},{} 2421,Valkyrie_Shoes,Valkyrian Shoes,5,3500,,400,,2,,1,0xFFFFFFFE,7,2,64,,0,1,0,{},{},{} 2524,Valkyrie_Manteau,Valkyrian Manteau,5,5000,,400,,2,,1,0xFFFFFFFE,7,2,4,,0,1,0,{},{},{}
  11. still waiting for you Mr. Elven
  12. update mo po yung agit_template mo .. /npc/guild/agit_template.txt
  13. bka nag typographical ka lang .. kac po yung sa web mo my s dapat wala e replace mo po ni2 main.ini file_url=http://www.jimro.uphero.com/public_html/thor/Web/patchs/
  14. bka po yung index.php mo mali ng script .. pag ok po yun alam ko dapat lalabas na yung webpage na upload mo
  15. lahat po ng links broken na eh sino po meron diff or not po .. pa share nmn thanks
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.