Jump to content

PHiLiP

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by PHiLiP

  1. check line 1829 at StateIconInfo.lua
  2. PHiLiP

    Mapflags

    i think there is no mapflag for that. You may try my script. - script Tested -1,{ OnPCLoadMapEvent: for(set .@i,0; .@i<30; set .@i,.@i+1){ if (strcharinfo(3) == .Map$[.@i] && Class < 1) { warp "prontera",155,181; dispbottom "Novice are not allowed here."; end; } } OnInit: setarray .Map$[0], "prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05", "payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05", "gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05", "aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05", "arug_cas01","arug_cas02","arug_cas03","arug_cas04","arug_cas05", "schg_cas01","schg_cas02","schg_cas03","schg_cas04","schg_cas05"; for(set .@i,0; .@i<30; set .@i,.@i+1){ setmapflag .Map$[.@i],mf_loadevent; } end; }
  3. OnAgitStart: OnAgitStart2: disablenpc "<NPC name>"; end; OnAgitEnd: OnAgitEnd2: enablenpc "<NPC name>"; end;
  4. Like this? //Script Author: PHiLiP prontera,155,181,5 script Item to TCG 763,{ //<Payment> set .pay,7227; //<item id>,<tcg repayment> setarray .item,5022,100,5032,200; for(set .@i,0; .@i<getarraysize(.item); set .@i,.@i+2){ set .item_name$[.@i],getitemname(.item[.@i]); set .item_id[.@i],.item[.@i]; set .amount[.@i],.item[.@i+1]; } mes "Exchange what?"; .@item = select( implode( .item_name$,":" ) ) - 1; mes "Amount: " +.amount[.@item]+ " " +getitemname(.pay); if(select("Proceed:Close")==2){close;} if(countitem(.item_id[.@item])<1){ mes "Error!"; close; } delitem .item_id[.@item],1; getitem .pay,.amount[.@item]; close; }
  5. PHiLiP

    Max Zeny

    src\common\mmo.h Find: #define MAX_ZENY 1000000000 Replace #define MAX_ZENY <value that you want>
  6. conf\battle\items.conf // The highest value at which an item can be sold via the merchant vend skill. (in zeny) vending_max_value: 1000000000
  7. gawa gawa lang ahha d ko pa siya tested - script xmassuit -1,{ OnPCLoginEvent: if ($suit == 2){ end; } sc_start SC_Xmas,-1,0; getitem 5811,1; getitem 2236,1; autoequip 5811,1; autoequip 2236,1; set $suit,2; end; }
  8. PHiLiP

    R> bindatcmd

    Thanks! you already move it.
  9. I am Requesting for a bindatcmd @alootnoitem <id#> <mob/#> this will aloot all the items drop by the <mob> except the <id#> Thanks in advance!
  10. You can use this //PHiLiP //For 1 hour WoE Only - script WoECountdown -1,{ OnAgitStart: initnpctimer; OnTimer1800000: announce "[WoE]: Last 30 minutes",0; end; OnTimer2400000: announce "[WoE]: Last 20 minutes",0; end; OnTimer3000000: announce "[WoE]: Last 10 minutes",0; end; OnTimer3300000: announce "[WoE]: Last 5 minutes",0; end; OnTimer3360000: announce "[WoE]: Last 4 minutes",0; end; OnTimer3420000: announce "[WoE]: Last 3 minutes",0; end; OnTimer3480000: announce "[WoE]: Last 2 minutes",0; end; OnTimer3540000: announce "[WoE]: Last 1 minute",0; end; OnTimer3570000: announce "[WoE]: Last 30 Seconds",0; end; OnTimer3571000: announce "[WoE]: Last 29 Seconds",0; end; OnTimer3572000: announce "[WoE]: Last 28 Seconds",0; end; OnTimer3573000: announce "[WoE]: Last 27 Seconds",0; end; OnTimer3574000: announce "[WoE]: Last 26 Seconds",0; end; OnTimer3575000: announce "[WoE]: Last 25 Seconds",0; end; OnTimer3576000: announce "[WoE]: Last 24 Seconds",0; end; OnTimer3577000: announce "[WoE]: Last 23 Seconds",0; end; OnTimer3578000: announce "[WoE]: Last 22 Seconds",0; end; OnTimer3579000: announce "[WoE]: Last 21 Seconds",0; end; OnTimer3580000: announce "[WoE]: Last 20 Seconds",0; end; OnTimer3581000: announce "[WoE]: Last 19 Seconds",0; end; OnTimer3582000: announce "[WoE]: Last 18 Seconds",0; end; OnTimer3583000: announce "[WoE]: Last 17 Seconds",0; end; OnTimer3584000: announce "[WoE]: Last 16 Seconds",0; end; OnTimer3585000: announce "[WoE]: Last 15 Seconds",0; end; OnTimer3586000: announce "[WoE]: Last 14 Seconds",0; end; OnTimer3587000: announce "[WoE]: Last 13 Seconds",0; end; OnTimer3588000: announce "[WoE]: Last 12 Seconds",0; end; OnTimer3589000: announce "[WoE]: Last 11 Seconds",0; end; OnTimer3590000: announce "[WoE]: Last 10 Seconds",0; end; OnTimer3591000: announce "[WoE]: Last 9 Seconds",0; end; OnTimer3592000: announce "[WoE]: Last 8 Seconds",0; end; OnTimer3593000: announce "[WoE]: Last 7 Seconds",0; end; OnTimer3594000: announce "[WoE]: Last 6 Seconds",0; end; OnTimer3595000: announce "[WoE]: Last 5 Seconds",0; end; OnTimer3596000: announce "[WoE]: Last 4 Seconds",0; end; OnTimer3597000: announce "[WoE]: Last 3 Seconds",0; end; OnTimer3598000: announce "[WoE]: Last 2 Seconds",0; end; OnTimer3599000: announce "[WoE]: Last 1 Second",0; stopnpctimer; end; }
  11. http://eathena.ws/forum/topic/872-deathmatch/
  12. -<tab>script<tab>Script<tab><npcsprite>,{ OnPCLoadMapEvent: getmapxy @map$,@x,@y,0; if (@map$ == "prontera") { disguise 1002; } end; } prontera<tab>mapflag<tab>loadevent
  13. <map>,<x>,<y>,<position><tab>script<tab>PVP<tab><npcsprite>,{ mes "[PVP]"; mes "Do you really wanna go to the Arena?"; switch(select("Sure:Nope")) { case 1: announce "["+strcharinfo(0)+"] Has Enter the Arena",bc_all,"0xFF0066",FW_BOLD,10; warp "guild_vs3",0,0; close; case 2: mes "Ok,see you later."; close; } OnPCKillEvent: if( killedrid == getcharid(3) || strcharinfo(3) != "guild_vs3" ) end; announce strcharinfo(0)+" has Pawned "+rid2name(killedrid),0; end; } //mapflags guild_vs3<tab>mapflag<tab>pvp guild_vs3<tab>mapflag<tab>nosave guild_vs3<tab>mapflag<tab>noteleport guild_vs3<tab>mapflag<tab>nowarpto guild_vs3<tab>mapflag<tab>nowarp guild_vs3<tab>mapflag<tab>nogo guild_vs3<tab>mapflag<tab>nobranch
  14. palitan mo po ung type armor -> misc 5 -> 3
  15. So it should be like this? if ( getgmlevel() >= 99 ) { OnWhisperGlobal: if ( @whispervar0$ != "ON" && @whispervar0$ != "OFF" ){ dispbottom "You have to type [ON] or [OFF] to enable or disable event"; end; } if ( @whispervar0$ == "ON" ){ callsub OnActive; end; } if ( @whispervar0$ == "OFF" ){ announce "Bg has been Cancelled.",bc_all; callsub OnEndd; end; } end; }
  16. try to add this OnWhisperGlobal: if ( @whispervar0$ != "ON" && @whispervar0$ != "OFF" ){ dispbottom "You have to type [ON] or [OFF] to enable or disable event"; end; } if ( @whispervar0$ == "ON" ){ callsub OnActive; end; } if ( @whispervar0$ == "OFF" ){ announce "Bg has been Cancelled.",bc_all; set .status,0; bg_destroy $@bg_id_a; bg_destroy $@bg_id_b; set $@bg_id_a,0; set $@bg_id_b,0; setarray .point[1],0,0; killmonsterall "endless_war"; bg_updatescore "endless_war",.point[1],.point[2]; deletearray .playerid[0],128; mapwarp "endless_war","prontera",150,180; callsub OnDisa; return; end; } end;
  17. PHiLiP

    gm zone

    prontera,155,185,5 script GM Room 998,{ if (getgmlevel() >= 1){ mes "Hello there GM " + strcharinfo(0) + " !"; mes "Would you like to warp you in your room?"; switch(select("YES:NO")) { case 1: next; warp "job3_sha01",72,25; end; case 2: mes "Ok..."; mes "Have a Nice Day!!!"; close; } } }
  18. why does that when i add custom item all are fix but 1 just problem is when i equip the item, the item do not show but when i drop it i can be shown so whats the problem?
  19. i Just done this script ) with the Help of Emistry
  20. [DeathMatch Arena] - PvP room - Once you die, you warp into a safe place in the same map, it will teleport you automatically in 15 seconds to the action - In the safe place, there is a NPC that it's a Healer/buffer (lvl 10 bless/agi), another one that its a RepairMan and gives an option to leave and another one that warps you directly to the action - Each time you kill someone you receive 1 PvP point and a message appears for all the entire map that "Player1 has killed Player2" - PvP Shop [DeathMatch BG type] - A minimum of 5 players each team, the first team reaches an amount of kills, wins. - Same features as regular DM. Can you please make a script like that to me.. Aw /sob /sob no one know how to do this?
  21. Help me to do this script [DeathMatch Arena] - PvP room - Once you die, you warp into a safe place in the same map, it will teleport you automatically in 15 seconds to the action - In the safe place, there is a NPC that it's a Healer/buffer (lvl 10 bless/agi), another one that its a RepairMan and gives an option to leave and another one that warps you directly to the action - Each time you kill someone you receive 1 PvP point and a message appears for all the entire map that "Player1 has killed Player2" - PvP Shop [DeathMatch BG type] - A minimum of 5 players each team, the first team reaches an amount of kills, wins. - Same features as regular DM.
×
×
  • Create New...