Jump to content

PewN

Members
  • Posts

    892
  • Joined

  • Last visited

Everything posted by PewN

  1. how can i make it 30 days? function script F_VIPstart { set .@ticks, getarg(0, "15"); // getarg(0) = ticks (seconds) if (.@ticks <= 0) { debugmes "F_VIPstart - tried to set a timer in the past"; end; } // set a variable, #VIP_expire, as the Unixtime when this expires set #VIP_expire, gettimetick(2) + .@ticks; // add a timer with that tick (in case they stay logged in that long) if (.@ticks < 2147483) { // prevent overflow error addtimer .@ticks *1000, "vip_rental::OnVIPend"; } else { addtimer 2147483, "vip_rental::OnVIPcheck"; } // change them to GM level 1 atcommand "@adjgroup 1 "+strcharinfo(0); dispbottom "You now have access to VIP commands!"; return; } - script vip_rental -1,{ OnPCLoginEvent: if (#VIP_expire > gettimetick(2)) { // timer in future dispbottom "VIP Rental : expires in " + callfunc("Time2Str",#VIP_expire); atcommand "@adjgroup 1 "+strcharinfo(0); } OnVIPcheck: if (#VIP_expire > gettimetick(2)) { if ((#VIP_expire - gettimetick(2)) < 2147483) { // prevent overflow error addtimer (#VIP_expire - gettimetick(2)) *1000, strnpcinfo(3)+"::OnVIPend"; } else { addtimer 2147483, strnpcinfo(3)+"::OnVIPcheck"; } } else if (#VIP_expire) { // timer already expired doevent strnpcinfo(3)+"::OnVIPend"; } end; OnVIPend: // change them to GM level 0 atcommand "@adjgroup 0 "+strcharinfo(0); set #VIP_expire, 0; // clear timer dispbottom "Your VIP Rental has expired."; end; }
  2. //Quest ID,Time Limit,Target1,Val1,Target2,Val2,Target3,Val3,Quest Title 60xxx,0,0,0,0,0,0,0,"Name of your quest" on npc. setquest 60xxx;
  3. is anyone experiencing someone log this id when other accounts login?
  4. so it will look like this? if( nameid != 12622 || nameid != 12623 && sc->sc.option&OPTION_MOUNTING ) or if ( nameid != 12622,12623 && sc->sc.option&OPTION_MOUNTING )
  5. i made a custom halter lead i just copy it The Original 12622,Reins_Of_Mount,Reins Of Mount,11,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ setmounting(); },{},{} i make for Ninja/ SL 12623,Ancient_Frog_Summoner,Ancient Frog Summoner,11,0,,10,,,,,0x02100000,7,2,,,,,,{ setmounting(); },{},{} the mount is okay but when im on the mount i tried to click again but the mount doesn't release how to fix it?
  6. can anyone update this please
  7. how can i add a npc here that can buy a Vip using an item. then after he buy it the vip system will start! //===== eAthena Script ======================================= //= VIP Rental System //===== By: ================================================== //= Brian //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= eAthena SVN (SQL only) //===== Description: ========================================= //= Makes a player VIP (GM level 1) for a set amount of time. //===== Additional Comments: ================================= //= //============================================================ function script F_VIPstart { set .@ticks, getarg(0); // getarg(0) = ticks (seconds) if (.@ticks <= 0) { debugmes "F_VIPstart - tried to set a timer in the past"; end; } // set a variable, #VIP_expire, as the Unixtime when this expires set #VIP_expire, gettimetick(2) + .@ticks; // add a timer with that tick (in case they stay logged in that long) if (.@ticks < 2147483) { // prevent overflow error addtimer .@ticks *1000, "vip_rental::OnVIPend"; } else { addtimer 2147483000, "vip_rental::OnVIPcheck"; } // change them to GM level 1 atcommand "@adjgmlvl 1 "+strcharinfo(0); dispbottom "You now have access to VIP commands!"; return; } - script vip_rental -1,{ OnPCLoginEvent: if (#VIP_expire > gettimetick(2)) { // timer in future dispbottom "VIP Rental : expires in " + callfunc("Time2Str",#VIP_expire); atcommand "@adjgmlvl 1 "+strcharinfo(0); } OnVIPcheck: if (#VIP_expire > gettimetick(2)) { if ((#VIP_expire - gettimetick(2)) < 2147483) { // prevent overflow error addtimer (#VIP_expire - gettimetick(2)) *1000, strnpcinfo(3)+"::OnVIPend"; } else { addtimer 2147483000, strnpcinfo(3)+"::OnVIPcheck"; } } else if (#VIP_expire) { // timer already expired doevent strnpcinfo(3)+"::OnVIPend"; } end; OnVIPend: // change them to GM level 0 atcommand "@adjgmlvl 0 "+strcharinfo(0); set #VIP_expire, 0; // clear timer dispbottom "Your VIP Rental has expired."; end; }
  8. yeah, why not? wow. how did you do that?
  9. Request Socket enchant on here equip except Weapon\ npc will get here equip items like a refine but socket enchant
  10. +1 --- and I'm sorry if 000000 is black, if so, than I used FFFFFF, thor patcher config applyer sees white as transparent and I have tryied magenta as transparent, didn't work ) +1 --- and I'm sorry if 000000 is black, if so, than I used FFFFFF, thor patcher config applyer sees white as transparent and I have tryied magenta as transparent, didn't work ) is your server status working?
  11. for thor patcher use white color and save it on bmp
  12. what are u using ra or ea? if ea use if(getgmlvl()
  13. where can I modify ".GMaccess" ? do I need to set a value for it ? like set .GMacces, 99 ? yup
  14. npc:nameofnpc then type anything menu wil pop up
  15. I have problem applying patch on cent os. u can check the image below it say bash: patch : command not found
×
×
  • Create New...