Jump to content

sandbox

Members
  • Posts

    949
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by sandbox

  1. Based on Euphy's WoE controller prontera,149,193,4 script WOE 835,{ OnAgitStart: while(agitcheck()) { npctalk "WoE is on!"; specialeffect EF_BEGINSPELL6; sleep 425; } end; }
  2. Kindly post any debug/warning/errors given by your console..
  3. That's sad after all those cheating. fuuu.
  4. Try to edit Spider Web's skill_unit_db entry to this 405,0x91, , 0, 1,1000,enemy, 0x006 //PF_SPIDERWEB
  5. - script TownInvasion -1,{ OnMinute00: if(gettime(3) % 2 == 1 && !agitcheck() && !agitcheck2()) { for(.@i = 0; .@i < 4; .@i++) { //Spawn on 4 towns do { .@index = rand(.num_towns); } while (.@temp_check[.@index]); .@temp_check[.@index] = 1; announce .Town$[.@index]+" Guard: Help us! Our town is being invaded!",bc_blue|bc_all; for(.@ix = 0; .@ix < 5; .@ix++) { //MvP spawner monster .Town$[.@index],0,0,"--ja--",.MvP[rand(getarraysize(.MvP))],1,strnpcinfo(1)+"::OnInvadeDeath"; } for(.@iy = 0; .@iy < 100; .@iy++) { //Mob spawner monster .Town$[.@index],0,0,"--ja--",-1,1,strnpcinfo(1)+"::OnMobsDeath"; } } } end; OnInvadeDeath: .@RandMvP = rand(getarraysize(.Prize)); getitem .Prize[.@RandMvP],.PAmt[.@RandMvP]; goto CheckWipe; end; OnMobsDeath: .@RandMob = rand(getarraysize(.Prize2)); getitem .Prize2[.@RandMob],.PAmt2[.@RandMob]; goto CheckWipe; end; CheckWipe: if(mobcount(strcharinfo(3),"OnInvadeDeath") < 1 && mobcount(strcharinfo(3),"OnMobsDeath") < 1) Saved++; if(Saved >= 4) { announce "Thank you! All the cities have been saved!",bc_blue|bc_all; Saved = 0; } end; OnInit: //Towns to Invade setarray .Town$[0],"prontera","izlude","geffen","payon","alberta","aldebaran","yuno","lighthalzen","einbroch","einbech","comodo","umbala","amatsu","gonryun","ayothaya","louyang","hugel","rachel","veins"; set .num_towns, getarraysize(.Town$); //MvPs to summon setarray .MvP[0],1583,1832,1312; //Prize to give MVP setarray .Prize[0],7227,607,608,501,502,503,504,505,506,507,508,509,510,511,512; setarray .PAmt[0],1,1,1,1,1,1,1,1,1,1,1,1,1,1,1; //Prize to give Mobs setarray .Prize2[0],7227,607,608,501,502,503,504,505,506,507,508,509,510,511,512; setarray .PAmt2[0],1,1,1,1,1,1,1,1,1,1,1,1,1,1,1; end; }
  6. How was the result anyway? Did RO won? @Kido
  7. Try this script of mine http://rathena.org/board/topic/92827-utility-gm-reward-giver/
  8. Effects on/off? Could be a factor
  9. they should've used flux v4p for counting votes! :3
  10. Yes, or to any value you want. Because based on the skill, after level 6, its heal will be a constant 777. You can try looking for the formula of heal too, and based it on int
  11. src/map/skill.c Edit this line: case PR_SANCTUARY: hp = (skill_lv>6)?777:skill_lv*100; break;
  12. Try this. I don't get your 4th/5th statement though.. prontera,100,200,4 script Promo 46,{ if(getgroupid() == 99) { goto P_Menu; P_Menu: mes .Npc_Name$; mes "Hi "+(Sex?"Mr.":"Ms.")+" Admin!"; switch(select("Set a promo code:Expire promo code")) { next; mes .Npc_Name$; case 1: mes "Please input the promo code:"; input .@pcode$; next; mes .Npc_Name$; mes "Please input the item ID reward for this code:"; input .@item; next; mes .Npc_Name$; mes "Please input the amount of the reward to be given."; input .@amt; next; mes .Npc_Name$; mes "Kindly confirm.."; mes "Promo Code: ^880000"+.@pcode$+"^000000"; mes "Promo Reward: ^000088"+getitemname(.@item)+" "+.@amt+"x^000000"; while(select("Confirmed:Ugh, I change my mind.")== 2) { goto P_Menu; } $Promo$ = .@pcode$; $PromoItem = .@item; $PromoAmt = .@amt; $PromoAct = 1; $PromoNum++; next; mes .Npc_Name$; mes "Promo has been set!"; close; break; case 2: next; mes .Npc_Name$; mes "Promo Code: ^880000"+.@pcode$+"^000000"; mes "Has been expired."; $PromoAct = 0; close; break; } } mes .Npc_Name$; mes "Hi "+(Sex?"Mr.":"Ms.")+" "+strcharinfo(0); mes "Do you have a promo code to claim?"; menu "Yup!",L_Claim,"Just passing by..",-; close; L_Claim: mes .Npc_Name$; mes "Input the promo code you received."; input .@code$; next; mes .Npc_Name$; if(.@code$ == $Promo$ && $PromoAct != 0 && #Claimed != $PromoNum) { mes "Here you go, thanks!"; getitem $PromoItem,$PromoAmt; set #Claimed,$PromoNum; close; } else { mes .Npc_Name$; mes "Sorry, the code you have given maybe invalid or is already expired."; close; } end; OnInit: .Npc_Name$ = "[^0000FF "+strnpcinfo(1)+" ^000000]"; end; }
  13. You have less space on your hardrive/vps and the datas cant be saved properly?
  14. You can try to supply <send_target> parameter as long as a coordinate has been set.
  15. http://rathena.org/board/topic/54190-release-basic-rathena-client/
  16. Hmm.. I think your queries should be like this query_sql("DELETE FROM char WHERE `char_id` ='"+.char_id+"'");
  17. Try prontera,100,200,4 script basilica 46,{ OnInit: specialeffect 374; setcell "prontera",80,180,120,220,cell_basilica,1; end; }
  18. All variables that has '@' included in the prefix are considered temporary and will be removed when they logout or if the server reboots
  19. Try repairing / creating a new table for guild_storage
  20. Try to put them on the OnNightTerror or OnPCDieEvent label instead of OnPCLogoutEvent, you can try to put a 1 second sleep after kicking the character. To make fully sure of it, you can try blocking the character just in case he logs in right after getting kicked. Then unblock him after the query_sql scripts.. ex. - script Test -1,{ OnPCDieEvent: if(strcharinfo(3) == "your_map") { atcommand "@kick "+strcharinfo(0); atcommand "@block "+strcharinfo(0); sleep2 1000; query_sql("DELETE FROM char WHERE `char_id` ="+.char_id); atcommand "@unblock "+strcharinfo(0); } end; }
  21. Try patching it manually by copy pasting the codes.
  22. No, of course they are different because each skill has its own formula.. You can easily interpret them by reading their formula based on their skill description.
×
×
  • Create New...