Jump to content

Belkan

Members
  • Posts

    33
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Recent Profile Visitors

1568 profile views

Belkan's Achievements

Poring

Poring (1/15)

0

Reputation

  1. Hello, I have found a mistake in the latest released version of rathena. The error is on "magnum break" and in his bonus, as it is possible to fix this? For example at LV 10 it doesn't give me +100 hit
  2. is there a new version compatible with the new update of rathena?
  3. Hi all, i have an error: When i have item, i'll disconnect and relog, the item disapear from the cart. can anyone help me pls? if i will relog, i can't see more the item...
  4. hi, i need the lua/lub file of 2013-03-20, pls
  5. Belkan

    Brancher

    certainly, but there are spawned more than 30 monsters
  6. Belkan

    Brancher

    the mobcount doesn't work :/
  7. Belkan

    Brancher

    but i wanna to active the npc only if there is at least one player on the map so it isn't wrong in my opinion O.o
  8. Belkan

    Brancher

    i have used this: while (getmapusers("pvp_n_3-5") >= 1) { // Loop until event is turned off. monster "pvp_n_3-5",0,0,"--ja--",-1,1; sleep 5000; // Wait 5 seconds. } how can i start automatically the npc when a player join the map? :/
  9. Belkan

    Brancher

    automatizate the event when a player enter in a map
  10. Belkan

    Brancher

    Hi, please help me to fix this script; this is a npc who spawn a random monster The problem who i find are: On: StartEvent i can't insert the "close" if on the map there are 30 mob the event is turned off until at least one monster is killed If is possible automatizate the event: "StartEvent and StopEvent" if there is at least one player thx a lot pvp_n_3-5,99,99,5 script Brancher 757,{ menu "Start",StartEvent,"Stop",StopEvent,"Cancel",cancel; StartEvent: // To turn the event on... set .active,1; dispbottom "Started"; goto OnInit; StopEvent: // To turn it off... set .active,0; dispbottom "Stopped"; close2; goto OnInit; cancel: close; OnInit: while (.active == 1) { // Loop until event is turned off. monster "pvp_n_3-5",0,0,"--ja--",-1,1; // Summon a random monster at random coordinates. sleep 5000; // Wait 5 seconds. } }
  11. is there a npc event who spaw dead branch?
  12. prontera,150,170,9 script HomResetP1 100,{ if(!gethominfo(1)){ mes "[Hom Reseter]"; mes "Hi There "+StrCharInfo(0)+","; mes "Sorry, but you havn't homunculus"; close; }else { mes "[Hom Reseter]"; mes "Hi There "+StrCharInfo(0)+","; mes "You wish to reset your Homunculus?"; mes "for this service, the price is 100,000"; next; switch(select("Yes:No, Thanks")) { case 1: if (Zeny < 100000){ mes "Sorry, but you don't have enough money"; close; } if (Zeny >= 100000){ set zeny,zeny-100000; warp "prontera",155,168; break; } case 2: mes "[Hom Reseter]"; mes ""+StrCharInfo(0)+", if you change your mind,"; mes "I'm here only for you <3"; close; } } } prontera,155,170,9 script HomResetP2 100,{ if(gethominfo(6) == 1){ homshuffle; warp "prontera",150,168; } if(gethominfo(6) >= 90){ if(.ui)end; set .cid,getcharid(0); atcommand "@kick "+strcharinfo(0); Initnpctimer; end; OnTimer1000: set .ui,1; query_sql "SELECT `homun_id` FROM `char` WHERE `char_id` ="+.cid+"",.@homun_id; set .cid,0; if( .@homun_id > 0 ) query_sql "UPDATE `homunculus` SET `level` = 1 WHERE `homun_id` ="+.@homun_id+""; query_sql "UPDATE `homunculus` SET `exp` = 0 WHERE `homun_id` ="+.@homun_id+""; query_sql "UPDATE `homunculus` SET `skill_point` = 0 WHERE `homun_id` ="+.@homun_id+""; set .ui,0; end; } else{ mes "Your Homunculus must be > or = level 90"; next; warp "prontera",150,168; } } can anyone help me to do homshuffle after the sql process, for reduce the 2 npc in 1 complete?
  13. need homshuffle; test with a level 99 and you'll see better. i think to warp the player in one map where you can not escape: if lvl >= 1: i use yoiur script if lv == 1: homshuffle and rewarp on prontera this is the easiest way. I will script this and post the result
×
×
  • Create New...