Jump to content

I Cant Stop x3

Members
  • Posts

    14
  • Joined

  • Last visited

Everything posted by I Cant Stop x3

  1. @EDIT Solved with https://rathena.org/wiki/Tips_and_Tricks_(Scripting)-- Dynamic Menu
  2. hello guys i see this npc on npc/custom/etc, i have a question: // Keepers function script Keeper { set .@arg, getarg(0); mes "[ ^0065DF"+strnpcinfo(1)+"^000000 ]"; mes "Which arena would you"; mes "like to enter?"; for(set .@i,1; .@i<9; set .@i,.@i+1) set .@menu$, .@menu$+"Arena "+.@i+" ["+getmapusers("pvp_n_"+.@i+"-"+.@arg)+"/20]:"; set .@i, select(.@menu$); if (getmapusers("pvp_n_"+.@i+"-"+ .@arg)>19) { mes "[ ^0065DF"+strnpcinfo(1)+"^000000 ]"; mes "Sorry, this arena is full!"; close; } warp "pvp_n_"+.@i+"-"+ .@arg,102,102; close; } quiz_00,56,31,4 script Alpha MVP 770,{ callfunc "Keeper",2; } quiz_00,58,31,4 script Beta MVP 773,{ callfunc "Keeper",3; } quiz_00,60,31,4 script Theta MVP 774,{ callfunc "Keeper",4; } quiz_00,62,31,4 script Epsilon MVP 776,{ callfunc "Keeper",5; } // Protectors function script Protector { switch(select(""+((getarg(0)=="")?"":"Harder Monsters")+":Heal:Exit")) { case 1: warp getarg(0),102,102; end; case 2: specialeffect2 EF_HEAL2; percentheal 100,100; end; case 3: warp "prontera",156,179; end; } } how to put the keeper menu on protector , example : when you click on protector , you automatic teleported to another map, but i need the menu show again instead of automatic teleport, if the player is on pvp_n_1-2 show the pvp_n_2 and 3 and 4 but not the 1
  3. i'm trying to create @itembound and right click button to see the item description but the hexed crashes but if i'm trying to create @item it's normal the description appears. HEXED : 2013-08-07 Patches in hexed : if client bug please move to client session sorry for my bad english @EDIT problem solved !!!!! :) i found this //packet_db_ver: 45 == > if i'm put packet db ver 45 the hexed crash packet_db_ver: default
  4. @edit is not a diff .. its a config in emulator . go to src /commom and open mmo.h dont forget to recompile
  5. hello i need help on my first langtype npc .. the idea,just a example of my npc: prontera,150,150,4 script Lannguage 774,{ callfunc "Lang",0; // getarg(0) } function script Lang { if(#langtype == 0){ // English by default mes "Hello"; } if(#langtype == 8){ //Portuguese Language mes "Olá"; } close; } well the example works fine on mes , but i have a problem to put a menu on this ..if used callfunc or only put a menu on npc nothing happen ;\, .. help with this...
  6. it would be nice if the npc talk onwaitingroom: if player enter the npc talk like a mes but inside of chat @edit example : the player is new on the server and the npc is a guide: onwaitingrom : Informations onplayerenter: the npc talks to heal go to prontera , to custom go to ... .
  7. hello guy's i have a question if is possible... example : the defensor have X card or X item with bonus and atacker have a Y Card, this Y card cancel the defensor card effect X
  8. I read the doc , but I did not understand ,and this solved my problem, thanks fot it sir capuche
  9. hello guys i have created an mvp points npc, whell i have a question if its possible to share the points in party? this is my points : OnMvPKill: set .MvpPoint,rand(150,300); set MvpPoint,MvpPoint+.MvpPoint; i need to share it for 5 party members in the same map
  10. Hello guys i have a idea to the another ragnarok event , well the idea of event came from ddtank game. i dont have skills in script and i need help , but i think the script need a src modification too. this event is better in low rates svs. well the idea is it : The Event : The event starts Saturday and Sunday 3:00 pm and have a announce: Announce "The Monster of Ragnarok appeared",8; (its a example). and set the mapflags setmapflag "the_map",mf_nogo; setmapflag "the_map",mf_nowarpto; setmapflag "the_map",mf_nochat; setmapflag "the_map",mf_novending; setmapflag "the_map",mf_nocommand,60; setmapflag "the_map",mf_noskill; The Monster: i have tested in my beta script this monster bigmonster "the_map",0,0,"Monster of Ragnarok",1956,1,strnpcinfo(0)+"::EventLabel"; (its a example) the atack of monster in players is random : 1st atack = 20.000.00 2nd atack = 15.000.00 3rd atack = 15.000.00 4th atack = 30.000.00 5th atack = 50.000.00 6th atack = 100.000.00 and the atack of monster hit a 10 players. show hp of monster if possible in this scale 100% if monster hp = 25% change to total HP if the monster die: getitem exclusiveitem,1;(example) atcommand "@streset"; The Map: if the player enter in event set this commands: atcommand "@storeall"; atcommand "@allstats"; and change the job to Royal Guard and if the player leave the event return to your job, i think this is better an custon item!. set the life of player 100.000.00. if player die for monster: if(strcharinfo(3) == "the_map"){ dispbottom "You Alive in 3 Seconds."; sleep2 3000; atcommand "@alive"; if player atack a monster: i think this is better to set a atack speed 190. i put the points example: set .Points1,rand(50,150); (its a example) set Points,Points+.Points1; dispbottom "You Adquired : "+.Points1+" points"; dispbottom "Total Points : "+Points+" points"; The End of Event: in the end of event in 3 minutes warp all players in the event to the prontera and put another npc to trade itens for the points . well this is my idea please do not steal my idea to put in another script. and sorry for my bad english i'm brazilian member
  11. wow thanks man ..
  12. hello guys i need an npc , similiar to @produce command : example i need the npc set the <name of player in equip> <element> <# of Very's> its possible ? or only in src ? @edit i have a itembound src modify and need to set it on itembound :\
  13. @edit i put the label in the menu works, but how to put in this : and how to put the all equipaments in here: i'm new in scripts ;\ and i'm brazilian sorry for the bad english :S
  14. i have a question , how to put to enchant all Type of equipment ? Works? or no only Armor?
×
×
  • Create New...