Jump to content

Virtue

Members
  • Posts

    354
  • Joined

  • Days Won

    6

Everything posted by Virtue

  1. Onclock0012: announce "Guild Treasure Box spawned.",0; monster "prtg_cas01",11,209,"Treasure Box",1732,5,strnpcinfo(0)+"::OnMobKilled"; monster "gefg_cas04",117,120,"Treasure Box",1732,5,strnpcinfo(0)+"::OnMobKilled"; monster "aldeg_cas04",85,12,"Treasure Box",1732,5,strnpcinfo(0)+"::OnMobKilled"; monster "arug_cas03",294,272,"Treasure Box",1798,5,strnpcinfo(0)+"::OnMobKilled"; monster "schg_cas03",191,19,"Treasure Box",1798,5,strnpcinfo(0)+"::OnMobKilled"; monster "schg_cas02",249,373,"Treasure Box",1798,5,strnpcinfo(0)+"::OnMobKilled"; monster "arug_cas01",254,366,"Treasure Box",1798,5,strnpcinfo(0)+"::OnMobKilled"; monster "arug_cas03",292,272,"Treasure Box",1955,5,strnpcinfo(0)+"::OnMobKilled"; monster "schg_cas03",189,19,"Treasure Box",1955,5,strnpcinfo(0)+"::OnMobKilled"; monster "schg_cas02",249,373,"Treasure Box",1955,5,strnpcinfo(0)+"::OnMobKilled"; monster "arug_cas01",254,366,"Treasure Box",1955,5,strnpcinfo(0)+"::OnMobKilled"; OnMobKilled: dispbottom "Treasure Box Killed"; getitem 7179,1; /// Set the Item you want to give the Winner here. end; this is not working, or do i need to put an actual npc for this? i just made that to spawn the treasure box that drop certain items
  2. I got a problem at autoloot, I didn't edit/do anytyhing in my src that affects the autoloot but sometimes the items drop even if autoloot is on.. how do you fix that?
  3. Is there any script to Announce whoever breaks the emperium in Sieges?
  4. if im not mistaken I think its in conf/battle/guild.conf
  5. can I make a script that goes like this OnClock00:00: monster Poring amatsu monster Poring amatsu basically its a script that summons a monster every 12am.
  6. Virtue

    Question

    Hi, i've got a question, I am making a Vending Area script, and i want them to vend in proper lines, how do i make it? for example they can only vend at amatsu 100,157 to amatsu 110,157 then another line/row
  7. case CR_ACIDDEMONSTRATION: // updated the formula based on a Japanese formula found to be exact [Reddozen] if(tstatus->vit+sstatus->int_) //crash fix md.damage = (int)((int64)7*tstatus->vit*sstatus->int_*sstatus->int_ / (10*(tstatus->vit+sstatus->int_))); else md.damage = 0; if (tsd) md.damage>>=1; if (md.damage < 0 || md.damage > INT_MAX>>1) //Overflow prevention, will anyone whine if I cap it to a few billion? //Not capped to INT_MAX to give some room for further damage increase. md.damage = INT_MAX>>1; break; How do I make this that Acid Demonstration's damage is based from casters int & str?
  8. well i don't know where to put this exactly, but I just want to know if there is a command that checks the status of the player, for example if player is frozen, other players can't cast status recovery on him if he has a knife equiped. I will put that in an item if there is a script/item bonus or something for that. if not then is there any other way.
  9. case GN_HELLS_PLANT_ATK: md.damage = ((sstatus->int_ * 100) + (status_get_lv(target) * 15) * skill_lv) + (5 / (10 - pc_checkskill(sd,AM_CANNIBALIZE))); break; } that shoud do it. if you have your stats to 120 max. it'll be doing like 34k damage if you want half that then change sstatus->int_ * 100 to sstatus->int_ * 50
  10. so if I want to put more than 2? will it be like If.. else if.. else if.. else if.. etc.. then else? right?
  11. yup that was what i was thinking. just a little lazy to type since im eating. I also could use it like thi right? if( countitem( 512 ) > 9 ){ mes "You have the items."; switch( select("Use:Drop:Nothing") ){ Case 1: Case 2: Case 3: etc.... if( countitem(512) > 9){ mes "You have something."; switch( select("Die:Fly:Soar")){ case 1: case 2: case 3: }else{ mes "You Have Nothing"; } }
  12. alright so if i am not mistaken this should work if( countitem(512 ) < 10 ){ mes "You have less than 10 Apple in your Inventory."; } close; else( countitem(512) => 10){ mes "You have the right items."; next; switch(select("Use:Drop:Nothing")){ (fucntions would be here) } close;
  13. How do I make NPC to check something in players inventory. example if player has an apple in his inventory he can read the next dialog of the NPC. thanks
  14. yes, frost status from everyone, Stormgust,frostdriver,jack frost & other cards/equips that causes the frozen status. thanks
  15. Where do I edit the stats so that 100int becomes Immune to frost?
  16. You could create an NPC that would allow that GM to create an item with the function of disabling some items from being in it. Here's a rough script I made, though it hasn't been tested. prontera,157,190,4 script Item Creator 793,{ if(getgmlevel()<60) end; if(Created >= .MaxCreate) end; mes "Hello GM "+ strcharinfo(0) +"!"; dispbottom "You currently have " +(.MaxCreate - @Created)+" item creations left."; next; mes "Please input the Item you would like to create."; next; input .@item; if(.@item == .Blacklist) { mes "Sorry, that item has been banned by the creator"; close; } else { mes "Your item has been created"; getitem .@item,1; set @Created, @Created + 1; close; } OnInit: setarray .@Blacklist,1599,2199; for ( set .@i, 0; .@i < getarraysize(.@Blacklist); set .@i, .@i +1 ) set .Blacklist, .Blacklist + (.@Blacklist$[.@i]); set .MaxCreate,15; end; OnClock0000: set Created,0; end; } I will try this later. thanks
  17. oic, so i can't copy something from somewhere? alright thanks. will be trying to redo my old db. thanks
  18. pre-re, so how do I fix that?
  19. is there any detailed instancing guide here? I tried search first but I can't find any, or I didn't search properly, I want to learn how to make instances.. anyways, thanks in advance
  20. well, Almost everything changed, renewal drops, renewal stats.. some monsters are not affected by that damage bug, some classes are not either..
  21. no they don't do like 1 to 3 damage. for example at drosera they only do 346 damage no matter what, but its not fixed on everybody some class do normal damage, some class don't. and I don't think the def is the problem. i can't figure out what exactly tho. 1781,DROSERA,Drosera,Drosera,101,10878,0,1350,1013,7,314,381,86,52,1,32,64,38,78,14,10,12,1,3,22,0x84,2000,864,576,336,0,0,0,0,0,0,0,0,7565,3000,1032,2000,1033,2000,621,3,905,1000,6259,200,6217,50,0,0,0,0,4421,1
  22. well i don't know what exactly happened, i just changed my mob_db then this happened. i copypasted some renewal info in my mob db then that happened. damage on players are just fine, its just some mobs. players only do 2 digit damages or 3digits. unless its critical. can somebody help? Thanks
  23. Virtue

    Skill DB

    you should probably go to 3ceam forums because this is rAthena. but to fix that i think you should change something at src. skill.c or battle.c experiment but please don't forget to save back ups
  24. How do I fix spider web? what I want to happen is when player is on prof's. spider web he can't use Back Slide or Body Relocation.. and is it possible that Only Lv99 GM's can create Cards and Godly Equipments Using @item? thanks in advance
×
×
  • Create New...