Hijirikawa

Members
  • Content Count

    155
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

  • Days Won

    1

Hijirikawa last won the day on September 26 2016

Hijirikawa had the most liked content!

Community Reputation

26 Excellent

3 Followers

About Hijirikawa

  • Rank
    Poporing

Profile Information

  • Gender
    Not Telling
  • Location
    Midi City
  • Server
    Show By RoK
  • Github
    None

Recent Profile Visitors

858 profile views
  1. Hijirikawa

    SQL - How to get list, descending

    So I want to list 10 players who are in the top level ranking ,however this code only checks for level 99s, how do I make it so that it can also check for levels that are not 99 yet? query_sql( "SELECT `base_level` FROM `char` WHERE `base_level` = 99",[email protected] ); Because I need the NPC to display first 10 players to reach level 99 and if there is still none, it will display the highest level'd players (up to 10)
  2. Hijirikawa

    Level limitation

    This is the only thing that would be needs to be fixed for me, the guild exp would be fine, any clues as to how?
  3. Hijirikawa

    Level limitation

    So for instance the max level for my server is 120, is it possible to make players stop getting XP when they reach level 99?
  4. Hijirikawa

    Turning buffs to toggle

    How do you turn some buffs into toggles instead? For instance, IMPROVE CONCENTRATION from a timer-based buff, instead becomes a Toggle Buff, pretty much can be turned on and off.
  5. Hijirikawa

    GM Commands

    Thanks Annie, I'll go ahead and test it out and see how it works on my end!
  6. Hijirikawa

    GM Commands

    i could do it via script, however I do want to learn how to fiddle around with source, and I believe this might be a good area to start. Also, I have no clue if I can capture a #command via script. Not that I am aware of.
  7. Hijirikawa

    GM Commands

    I'm trying to put an announcement whenever a GM inputs these following commands @item and any of its variants (including #) @monster and any of its variants @killmonster and any of its variants For instance, @item -> will announce "[ Quality Control ]: <name here> created <name of item>(item id) with the <command used> command" For @monster -> will announce "[ Quality Control ]: <name here> summoned <name of monsters>(mob id) with the <command used> command in <name of map>" For #item -> will announce "[ Quality Control ]: <name here> created <name of item>(item id) for <player name> with the <command used> command" For @killmonster -> will announce "[ Quality Control ]: <name here> has killed all monsters in <name of map>" I can probably do this if someone can provide me a few hints here and there on how to implement it. Thanks and appreciate it!
  8. Hijirikawa

    how to following NPC ?

    Interesting, looking at it, could this be coupled with Emistry's work? The idea being, players can get 1 exclusive NPC for their own use? I am not quite sure if it is possible, but with how the camp fire works, it should be right?
  9. Hijirikawa

    delay script

    - script paytowinbuffs -1,{ end; OnBuffs: if(gettimetick(2) < use_delay){ message strcharinfo(0),"Nope"; end; } if(getgroupid() <= 4) { message strcharinfo(0),"Falha, você não possui VIP."; end; } if(isequipped(4263)) { message strcharinfo(0),"Não funciona equipado com Samurai Encarnado."; end; } if (gettimetick(2) < delay_buffer) { dispbottom( "You have to wait "+Time2Str(delay_bufer)+" to use the command again.", 0xFF0000 ); end; } use_delay = gettimetick(2) + .use_delay; [email protected]$ = implode(.buffs$,":"); [email protected] = prompt([email protected]$) -1; if([email protected] < 255) { sc_start .elements[[email protected]],180000,5; //atcommand "@refresh "+strcharinfo(0); delay_buffer = gettimetick(2) + .delay; } end; OnInit: .use_delay = 5; // 5 second use delay .delay = 3 * 2; // 5 = 5 seconds *60 = 360 seconds setarray .buffs$, "^800080Envenenar Arma^000000", "^40E0D0Aspersio^000000", "^000000Sombrio^000000", "^FFD700Encantar com Ventania^000000", "^0000FFEncantar com Geada^000000", "^FF0000Encantar com Chama^000000", "^B8860BEncantar com Terremoto^000000"; setarray .elements, 26, 37, 144, 98, 97, 96, 99; bindatcmd "encantar","paytowinbuffs::OnBuffs",0,99; end; }
  10. Hijirikawa

    delay script

    Try - script paytowinbuffs -1,{ end; OnBuffs: if(getgroupid() <= 4) { message strcharinfo(0),"Falha, você não possui VIP."; end; } if(isequipped(4263)) { message strcharinfo(0),"Não funciona equipado com Samurai Encarnado."; end; } if(@buffs_inuse == 1) { end; } if (gettimetick(2) < delay_buffer) { dispbottom( "You have to wait "+Time2Str(delay_bufer)+" to use the command again.", 0xFF0000 ); end; } @buffs_inuse = 1; [email protected]$ = implode(.buffs$,":"); [email protected] = prompt([email protected]$) -1; if([email protected] < 255) { sc_start .elements[[email protected]],180000,5; //atcommand "@refresh "+strcharinfo(0); delay_buffer = gettimetick(2) + .delay; } @buffs_inuse = 0; end; OnInit: .delay = 3 * 2; // 5 = 5 seconds *60 = 360 seconds setarray .buffs$, "^800080Envenenar Arma^000000", "^40E0D0Aspersio^000000", "^000000Sombrio^000000", "^FFD700Encantar com Ventania^000000", "^0000FFEncantar com Geada^000000", "^FF0000Encantar com Chama^000000", "^B8860BEncantar com Terremoto^000000"; setarray .elements, 26, 37, 144, 98, 97, 96, 99; bindatcmd "encantar","paytowinbuffs::OnBuffs",0,99; end; }
  11. Hijirikawa

    Item X or Item Y receive item Z

    If you want to use this one, I advise using this one. prontera,161,194,4 script redeem 717,{ switch(select("card 1:card2")){ case 1: if(countitem(4002) > = 5){ getitem 616,1; delitem 4002,5; } break; case 2: if(countitem(4001) > = 5){ getitem 616,1; delitem 4002,5; } break; } end; }
  12. Hijirikawa

    Using instances to create private rooms?

    It's the only optimal way to do it. Instances that is.
  13. Hijirikawa

    Item X or Item Y receive item Z

    - script asdfjkl -1,{ for([email protected] = 0; [email protected] < getarraysize(.ask); [email protected]++){ if(countitem(.ask[[email protected]]) > 5){ [email protected] = .ask[[email protected]]; break; } } if([email protected]) end; delitem .ask[[email protected]],5; getitem .give,1; OnInit: setarray .ask,501,502; .give = 505; end; } No idea if it works, but it should, i guess.
  14. Hijirikawa

    script respawn pvp

    Isn't this basically the same thing? Lmao, anyways either will do. ^ Change the event label to what this guy says, sorry, my mistake.
  15. Hijirikawa

    script respawn pvp

    Untested. ONPCDieEvent: [email protected]$ = strcharinfo(3); if([email protected]$ == "pvp_y_1-2"){ for([email protected] = 5; [email protected] < 1; [email protected]){ message strcharinfo(0),"You will respawn in "[email protected]; sleep2 1000; } recovery 0; warp [email protected]$,0,0; } end; More flexible ONPCDieEvent: [email protected]$ = strcharinfo(3); for([email protected] = 0; [email protected] < getarraysize(.map$); [email protected]++){ if([email protected]$ == .map$){ for([email protected] = 5; [email protected] < 1; [email protected]){ message strcharinfo(0),"You will respawn in "[email protected]; sleep2 1000; } recovery 0; warp [email protected]$,0,0; } } end; OnInit: setarray .map$, "pvp_y_1-2","guild_vs2","guild_vs3"; end;