Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/28/14 in Posts

  1. You're right theses npc are missing (at last Meidi). I will make a commit later
    1 point
  2. look for this L_start: and add something like this OnHour07: L_start: meaning it will start at 7:00 am on your server time. now lets go to when will it ends. look for this L_end: and then it will look like this OnHour08: L_end:
    1 point
  3. What sc_def, sc_def2, tick_def and tick_def2 mean is explained at the top of the function where the variables are declared, just read the description and set them accordingly in the SC_FREEZE case as displayed above. tick_def2 of status->luk*10 certainly will make duration being reduced by 1 second for 100 luk as those values are in milliseconds 100*10 = 1000ms = 1 second. Be careful that if you don't define tick_def it will automatically use sc_def, so any changes you do to sc_def, will also be done to tick_def.
    1 point
  4. Ohh, I see. I kind of feel guilty replying at topics posted in the wrong section. lol
    1 point
  5. Try changing this line" $dt = new DateTime("@$vipexpiretime"); To this: $dt = new DateTime("$vipexpiretime"); Let us know if it worked.
    1 point
  6. I've renamed the topic title, 'cause it was bothering me. @Nerfwood, database support should be fine, as he had the item in the first place. He just needed the 'script' part of it.
    1 point
  7. I really don't like to spoonfeed people, but since I already have the code: 18666,CD_In_Mouth,CD In Mouth,4,20,,200,,0,,0,0xFFFFFFFE,63,2,1,,20,0,815,{ autobonus "{ bonus3 bAutoSpell,8013,5,40; bonus3 bAutoSpell,8013,4,40; bonus3 bAutoSpell,8013,3,40; bonus3 bAutoSpell,8013,2,40; bonus3 bAutoSpell,8013,1,40; bonus3 bAutoSpell,13,1,10; bonus3 bAutoSpell,13,2,10; bonus3 bAutoSpell,13,3,10; bonus3 bAutoSpell,13,4,10; bonus3 bAutoSpell,13,1,10; }",60,5000,0,"{ specialeffect2 EF_POTION_BERSERK; }"; },{},{} Notes: Skill ID 8013 = Caprice; 13 = Soul Strike. Autobonus doesn't support skill names since they (skill names) break the quotation ("") marks. Caprice randomly casts FB, LB, CB and ES. I gave it a 4% chance of autocasting so as if each bolt is casted at a 1% rate. Edit: Should have been posted at the requests section?
    1 point
  8. You can check if a cell is walkable or not and then let the npc walk to it or use a new random coordination. checkcell("<map name>",<x>,<y>,<type>); source: Checkcell
    1 point
  9. It's a bit tricky, but you can use both. Especially for older clients. The way I do it is (for 2012-04-10): Diff the client using WeeDiffGen / xDiffGen first, add ALL the diff options I want Load the client up on NEMO, and select only the diff options I want, but isn't available on WeeDiff / xDiff. Submit the Client to Harmony, and download the client / install the server files, etc. (Optional) I included the Harmony step because that's the only reason I see, to possibly prevent you to update to newer, better clients (2013-08-07).
    1 point
  10. You can, though you'd have to write 4x more queries for it, it's still do-able. Here's an example for cart_inventory; UPDATE `cart_inventory` SET `card0` = '0' WHERE `cart_inventory`.`card0` = 'XXXX'; UPDATE `cart_inventory` SET `card1` = '0' WHERE `cart_inventory`.`card1` = 'XXXX'; UPDATE `cart_inventory` SET `card2` = '0' WHERE `cart_inventory`.`card2` = 'XXXX'; UPDATE `cart_inventory` SET `card3` = '0' WHERE `cart_inventory`.`card3` = 'XXXX'; Replace XXXX with the Item ID of the MVP Card you wanted to delete. Setting it to 0 is better than deleting it, for me at least.
    1 point
  11. Use the OnClock<time>, label and then set an npc-only variable to disable access to the said rooms. Sample: OnClock2000: set .partyonly,1; announce "1v1 and No Party PvP rooms have been closed.",bc_all; end; OnClock2300: set .partyonly,0; announce "1v1 and No-Party PvP rooms are now open.",bc_all; end; Then, add an if statement: switch( select( "PVP No Party ["+getmapusers("guild_vs3")+"]", "PVP Normal ["+getmapusers("Party_PvP")+"]", "PVP 1 vs 1 ["+getmapusers("1vs1_PvP")+"]" ) ){ Case 1: if(.partyonly) { mes "This PvP room is currently closed. Please comeback later."; close; } warp "guild_vs3",0,0; break; Case 2: warp "Party_PvP",0,0; break; Case 3: if(.partyonly) { mes "This PvP room is currently closed. Please comeback later."; close; } if( getmapusers("1vs1_PvP") > 1 ){ mes "Room Full"; }else{ warp "1vs1_PvP",40,34; } break; } close; You can also disable the rooms by making the menu as a variable instead, then change its value with the OnClock label. I haven't tested that yet though.
    1 point
  12. download dari sini bisa ngga? http://s000.tinyupload.com/index.php?file_id=94148337967984395766 bisa gan thank you. let's see what I can do.
    1 point
  13. Latest Stable Client Latest Stable LUB Latest Stable Data Files/GRF Clean RO Folder PM Judas if you have any useful content to add, suggestions, or information to make this setup process much easier! Thanks!
    1 point
×
×
  • Create New...