Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/20/17 in all areas

  1. Try to check themes\default\css\flux.css if you can change the background color from there. Some custom themes also have style.css located on the same path. Check if there's something you can modify there.
    2 points
  2. you can set any map as a pvp map using mapflags example pvp_y_1-2 mapflag pvp https://github.com/rathena/rathena/blob/master/doc/mapflags.txt
    2 points
  3. prontera,141,172,5 script RFYL Event 100,{ if ( getgmlevel() < 99 ) end; donpcevent "runordie::Onmanually"; end; } prontera,141,170,5 script Run Or Die 100,{ set .@size, getarraysize( getvariableofnpc( .aid, "runordie" ) ); if ( .@size >= 100 ) { mes "I'm sorry, the room is full"; close; } percentheal 100, 100; warp "guild_vs5", 0, 0; set getvariableofnpc( .aid[ .@size ], "runordie" ), getcharid(3); end; } - script runordie -1,{ OnInit: disablenpc "Run Or Die"; bindatcmd "rfyl",strnpcinfo(3)+"::OnRFYL"; end; OnRFYL: if ( getgmlevel() < 99 ) end; else if ( compare( @whispervar0$ , "debug" ) ) { dispbottom "Player left: "+ getarraysize(.aid); end; } else if ( compare( @whispervar0$, "on" ) == 0 ) end; Onmanually: enablenpc "Run Or Die"; deletearray .aid; mapwarp "guild_vs5", "prontera", 142,170; killmonsterall "guild_vs5"; set .stop, 1; disablenpc "RFYL Event"; announce "Run Or Die!!!: Are you ready to join the Run Or Die Event?", 0; sleep 4000; announce "Run Or Die: For those who wants to join please '@warp prontera 142 170' to participate", 0; sleep 6000; announce "Run Or Die: Registration NPC will disappear after 1 minute", 0; sleep 20000; announce "Run Or Die: Last 30 second", 0; sleep 10000; announce "Run Or Die: Make it fast, type in '@warp prontera 142 170' to join", 0; sleep 10000; announce "Run Or Die: Last 10 seconds to register", 0; sleep 5000; announce "Run Or Die: 5", 0; sleep 1000; announce "Run Or Die: 4", 0; sleep 1000; announce "Run Or Die: 3", 0; sleep 1000; announce "Run Or Die: 2", 0; sleep 1000; announce "Run Or Die: 1", 0; sleep 1000; announce "Run Or Die: Time is up...I will come again 3 hour later..", 0; disablenpc "Run Or Die"; mapannounce "guild_vs5", "Welcome to Run Or Die event", 0; sleep 3000; mapannounce "guild_vs5", "This is just an easy event", 0; sleep 3000; mapannounce "guild_vs5", "Just stay AWAY from the PORING BOMBS!!", 0; sleep 3000; mapannounce "guild_vs5", "Stay alive as long as YOU CAN!!!!", 0; sleep 3000; mapannounce "guild_vs5", "The LAST SURVIVOR will be the WINNER", 0; sleep 3000; mapannounce "guild_vs5", "event will start in 3", 0; sleep 1000; mapannounce "guild_vs5", "2...", 0; sleep 1000; mapannounce "guild_vs5", "1...", 0; sleep 1000; mapannounce "guild_vs5", "It's time to run !!", 0; donpcevent "runordie::Onstart"; set .stop, 0; while ( .stop == 0 ) { set .@extra, .@extra + rand(1,2); set .@round, .@round +1; monster "guild_vs5", 0,0, "Come On Baby!!!", 1904, 2 + .@extra, 0; monster "guild_vs5", 0,0, "Come On Baby!!!", 1904, 2 + .@extra, 2; monster "guild_vs5", 0,0, "Come On Baby!!!", 1904, 2 + .@extra, 4; sleep 5000; } end; Onstart: while ( getarraysize(.aid) > 1 ) { sleep 500; for ( set .@i, 0; .@i < getarraysize(.aid); set .@i, .@i +1 ) { if ( isloggedin(.aid[.@i]) == 0 ) { deletearray .aid[.@i], 1; set .@i, .@i -1; } else { attachrid .aid[.@i]; if ( strcharinfo(3) != "guild_vs5" || hp == 0 ) { deletearray .aid[.@i], 1; set .@i, .@i -1; } } } } detachrid; set .stop, 1; killmonsterall "guild_vs5"; if ( getarraysize(.aid) == 1 ) { announce "Congratulations!!! The Winner is "+ rid2name(.aid), 0; sleep 5000; announce rid2name(.aid) +" Win 100 Budots Coin", 0; attachrid .aid; getitem 9524, 100; // winner prize warp "prontera", 156,180; deletearray .aid; } else { announce "Nobody WINS, too bad", 0; } enablenpc "RFYL Event"; end; } guild_vs5 mapflag nowarp guild_vs5 mapflag nowarpto guild_vs5 mapflag noteleport guild_vs5 mapflag nosave SavePoint guild_vs5 mapflag noskill guild_vs5 mapflag nomemo guild_vs5 mapflag nopenalty just added comamnd to the existing RFYL script use @rfyl
    2 points
  4. Hi all, here is my latest work: Emergency Call Cooldown. Easy for the player and good looking. Please review it.
    1 point
  5. Honestly in this situation just save yourself the trouble and use Addrid. - script kdsfksdjhfksdj -1,{ OnInit: bindatcmd "buffall", strnpcinfo(0) +"::Onbuff",99,99; end; Onbuff: addrid 0,0; // ripped almost entirely from Annieruru's script which ripped a little bit from Winz script if ( !checkvending( strcharinfo(0) ) ) { skilleffect 34,0; sc_start SC_BLESSING,600000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,600000,10; } end; }
    1 point
  6. rok point shop prontera,155,181,5 pointshop rok Point Shop 757,#ROK_POINT,909:1,607:1 cashshop prontera,155,181,5 cashshop cash Point Shop 757,909:1,607:1
    1 point
  7. If you know some basic scripting, you can do it using OnWhisperGlobal Sample - script buffs -1,{ OnWhisperGlobal: if (@whispervar0$ == "bless") skilleffect 34,0; sc_start SC_BLESSING,360000,10; end; }
    1 point
  8. If you want PK mode server to enable the "PvP Counter" or ranking calculation Apply this diff PKMODE_withCalcRank.diff to disable the "PvP Counter" or ranking calculation, add pvp_nocalcrank mapflag on the maps.
    1 point
  9. If you activate the pk all dungeons and fields will be on PK :)) if you just want specific maps you should turn it off and apply the pvp mapflags to the specific maps :))
    1 point
  10. You can find them in last kRO or in my hairstyle sprite pack: https://rathena.org/board/topic/101839-showcasedl-hairstyles/
    1 point
  11. Hi as far as i know all 4 elemental resist potion do stack, But when you activated all of it you will just get a 5% resist from all elements since every resist potions have a counterpart of 15% increase damage to their specific weak elements. :))
    1 point
  12. npc/mapflag/pvp.txt new_1-1 mapflag pvp
    1 point
  13. new_1-1 mapflag pvp just load this as normal script or add line in npc/mapflag/pvp.txt
    1 point
  14. good to hear, on last note edit your posts and place your code in codec box insted of quote , whoch makes it look clean for future reference
    1 point
  15. Also check if ports are opened. Try to contact your host and ask them to open port 3306. If they tell you that your ports are open, try to execute this command via root on your ro server vps. setsebool -P httpd_can_network_connect=1 If the above command doesn't work, try to execute this instead /usr/sbin/setsebool httpd_can_network_connect 1
    1 point
  16. make sure your access and port deatils of mysql in fluxcp servers.php recheck 3306 port is opened you can try changing the wait_timeout option within your mysql.ini file.
    1 point
  17. Try this just expand the dialogue. prontera,156,176,5 script sdhsh2323f 100,{ mes "[Identifier]"; mes "Hello, would you like to identify all your unidentified items for 200 zeny each?"; next; getinventorylist; for( .@i=0; .@i<@inventorylist_count; .@i++ ) { if( @inventorylist_identify[.@i] ) continue; .@identify++; } if( !.@identify ) { mes "[Identifier]"; mes "You don't have any unidentified item in your inventory."; close; } mes "[Identifier]"; mes "Found "+.@identify+" unidentified item(s)"; mes "Cost: "+(.@identify*200)+"z"; next; if( select("Identify All:I'll think about it")&2)close; if( Zeny < .@identify*200 ) { mes "[Identifier]"; mes "I'm sorry you don't have enough Zeny"; close; } Zeny -= .@identify*200; atcommand "@identifyall"; mes "[Identifier]"; mes "All your items have been identified!"; close; }
    1 point
  18. nope, its script based command, must be working , no need add anywhere else
    1 point
  19. try that script , i have added @rfyl command for 99 level gms to start the event
    1 point
  20. Job: Equippable jobs. Uses the following bitmask table: (S.) Novice (2^00): 0x00000001 Swordman (2^01): 0x00000002 Magician (2^02): 0x00000004 Archer (2^03): 0x00000008 Acolyte (2^04): 0x00000010 Merchant (2^05): 0x00000020 Thief (2^06): 0x00000040 Knight (2^07): 0x00000080 Priest (2^08): 0x00000100 Wizard (2^09): 0x00000200 Blacksmith (2^10): 0x00000400 Hunter (2^11): 0x00000800 Assassin (2^12): 0x00001000 Unused (2^13): 0x00002000 Crusader (2^14): 0x00004000 Monk (2^15): 0x00008000 Sage (2^16): 0x00010000 Rogue (2^17): 0x00020000 Alchemist (2^18): 0x00040000 Bard/Dancer (2^19): 0x00080000 Unused (2^20): 0x00100000 Taekwon (2^21): 0x00200000 Star Gladiator (2^22): 0x00400000 Soul Linker (2^23): 0x00800000 Gunslinger (2^24): 0x01000000 Ninja (2^25): 0x02000000 Gangsi (2^26): 0x04000000 Death Knight (2^27): 0x08000000 Dark Collector (2^28): 0x10000000 Kagerou/Oboro (2^29): 0x20000000 Rebellion (2^30): 0x40000000 Summoner (2^31): 0x80000000 Novice + Swordman + Magician + Archer = 0x0000000F, why? Because: 10 = A, 11 = B, 12 = C, 13 = D, 14 = E, and 15 = F It's using hexadecimal.
    1 point
  21. Try - script tesqweqweast -1,{ OnInit: initnpctimer; end; OnTimer5000: stopnpctimer; deletearray .players; addrid(5,1,"guild_vs1"); .players[getarraysize(.players)] = getcharid(3); detachrid; while( .@i < getarraysize(.players) ){ if( attachrid( .players[.@i] ) ) if( HP && compare( strcharinfo(3),"guild_vs1" ) ) .@alive++; .@i++; } if( .@alive ){ initnpctimer; end; } deletearray .players; announce "Players are all the dead",0; mapwarp "guild_vs1","prontera",155,181; end; }
    1 point
  22. Add the script provided to your custom scripts. Open your custom grf and add Daily_00.bmp to Daily_28.bmp inside data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\illust folder
    1 point
  23. sir how to enable this what are the things i have to do
    1 point
  24. I believe you have the syntax correct- getareausers("<map name>",<x1>,<y1>,<x2>,<y2>) This function will return the count of connected characters which are located within the specified area - an x1/y1-x2/y2 square on the specified map. This is useful for maps that are split into many buildings, such as all the "*_in" maps, due to all the shops and houses. I've only ever used a coordinate plug like that for setcell but it looks very much the same. setcell instance_mapname("1@payonn"),216,253,216,247,cell_walkable,0; and I went left to right (x) top to bottom (y) and I believe that worked fine. I'm not actually sure if you'd have a problem doing the reverse. I'm also not sure I understood the last question- if you are asking if the coordinates themselves are included in the area check, again the answer is yes. Hope this helps, ~Azura Skyy
    1 point
×
×
  • Create New...