Jump to content

Raikumi

Members
  • Posts

    49
  • Joined

  • Last visited

Posts posted by Raikumi

  1. For some reason, when trying to choose the "Final Destination" option, you are not warped and the NPC window is forced to stay on your screen with no buttons, forcing you to log out because you can not click "enter" to type any commands or ESC to go to the Character Screen.

    Also, is there a way I can limit the Final Destination room to 2 people, and also put a 60 second time limit inside of that room?

    Thanks everyone!

    caspen.gat,160,214,5 script PvP Warper 730,{
    if (.pvp_square$=="") donpcevent "Ultimate PVP warper::OnClock0000";
     mes "[PvP Warper]";
    mes "Which arena do you want to go to?";
    switch(select("Final Destination ["+getmapusers(.pvp_square$)+"/100]:Platform ["+getmapusers("guild_vs3")+"/100]:No Potion PVP ["+getmapusers("guild_vs5")+"/100]: ")) {
    case 1: // Final Destination
     if (getmapusers(.pvp_square$) > 99) callsub S_full;
     callsub S_payment;
     warp .pvp_square$,0,0;
     announce "[ "+strcharinfo(0)+" ] has joined the Final Destination PVP room.",0;
     end;
    
    case 2: // Platform
     if (getmapusers("guild_vs3") > 99) callsub S_full;
     callsub S_payment;
     warp "guild_vs3",0,0;
     announce "[ "+strcharinfo(0)+" ] has joined the Platform PVP room.",0;
     end;
    case 3: // PVP NoPotion
     if (getmapusers("guild_vs5") > 99) callsub S_full;
     for( set .@i,0; .@i<getarraysize(.NoPotion_ids); set .@i,.@i+1 ) {
      if (countitem(.NoPotion_ids[.@i])) {
    mes "You can not bring potions in this pvp.";
    close;
      }
     }
     callsub S_payment;
     warp "guild_vs5",0,0;
     announce "[ "+strcharinfo(0)+" ] has joined the No Potion PVP room.",0;
     end;
    }
    
    S_full:
    mes " ";
    mes "I'm sorry, this arena is full.  Please try again later...";
    close;
    S_payment:
    if (Zeny < (0)) {
     mes "You don't have enough zeny.";
     mes "It costs "+(0)+" zeny for you to enter.";
     close;
    }
    set Zeny, Zeny - (0);
    return;
    
    OnInit:
    	end;
    OnClock0000:
    // set the "PVP Square" map, based on day of the weeek
    switch(gettime(4)) {
    case 0: // Sunday
    case 1: // Monday
     set .pvp_square$, "final_dest";
     break;
    case 2: // Tuesday
    case 3: // Wednesday
     set .pvp_square$, "final_dest";
     break;
    case 4: // Thursday
    case 5: // Friday
     set .pvp_square$, "final_dest";
     break;
    case 6: // Saturday
     set .pvp_square$, "final_dest";
     break;
    }
    
    // items not allowed in PVP NoPotion
    setarray .NoPotion_ids[0], 607, 608, 504;
    
    // items not allowed in Non Donator PVP
    setarray .NoDonator_ids[0], 2410, 1530;
    end;
    }
    

  2. prontera,155,181,5 script Sample 757,{

    mes "Go in PVP Room ?";

    if( select("Yes:No") == 1 ){

    warp "guild_vs5",0,0;

    announce "[ "+strcharinfo(0)+" ] has joined PVP.",0;

    }

    close;

    OnInit:

    while( 1 ){

    delwaitingroom;

    waitingroom "Users : "+getmapusers("guild_vs5"),0;

    sleep 1000;

    }

    end;

    }

    Can someone add a function to this script so when a player kills someone it announces it inside the pvp room only?

    Also, can an option be added to go to a 1v1 PvP room? When 2 people are on the map, this room can not be entered, also this room should have a timer so people dont just go in there and prevent others from playing? The name of this map would be "final_dest" its a custom map which is already implented into our server. The announcement effect can or cannot be added to this map, it doesnt matter.

    Thank you very much!

  3. Hey,

    In patch_site parameter, change the value to https://dl.dropbox.com ( just delete the forward slash at the end of the url ) then try again

    Thank you for your reply. However, this did not fix the problem. Any other suggestions anyone? It would really help im at a wall here :P

    Problem solved!

    Dropbox isnt weird about direct linking to folders.

    So I switched to webs.com for now and now its working perfectly.

    Thanks everyone.

  4. Hey everyone. I set up everything for neoncube just like the wiki told me to.

    I am hosting all of my files in a public folder on dropbox.

    As you can see, they can all be viewed from a web browser.

    https://dl.dropbox.c...iRO/notice.html

    https://dl.dropbox.c...O/patchlist.txt

    However, I keep getting this error. I opened all of my current settings/configurations for anyone that is willing to lend a hand.

    PCS1s.jpg

    I have also tired making my neoncube.ini patch_list the full URL to the patchlist.txt and that didnt work.

    Eg:

    Anyone know what I am doing wrong?

    Should I not use dropbox even though it is public and can be viewed directly from a web browser and even though it works for the notice.html file?

    If not, where should I host, I dont have a website at the moment.

    Thank you everyone that can help even if only a tiny bit.

  5. The NPC is still unclickable.I tried to edit it but still cant get it to be clickable. This is what I have as of right now. I know some servers have already implented Oboro. Does ANYONE have a job changer or know how to fix this script to make the NPC clickable?

    //-- Kageou/Oboro Quest

    prontera,157,194,4 script Ninja Job Changer 588,{

    function Job_Menu; function A_An;

    mes "[Ninja Master]";

    if (Class == Job_Ninja) {

    if (JobLevel == 70) {

    if (BaseLevel == 99) {

    mes "[ ^C8BBBETemporary Job Changer^000000 ]";

    mes "Do you want to become Kagerou or Oboro?.";

    mes "Im the temporary job changer of a Ninja to advance their job.";

    mes "Kagerou is only for Boy Ninja.";

    mes "Oboro is only for Girl Ninja.";

    menu "Kagerou",L_boy,"Oboro",L_girl;

    close; }

    L_boy:

    next;

    jobchange 4211;

    mes "Have a nice day~.";

    close;

    L_girl:

    next;

    jobchange 4212;

    mes "Have a nice day~.";

    close;

    }

    }

    }

    }

  6. Bump as I am looking for this too. I tried your script, Loke, but the NPC is still unclickable as lusReservoir mentioned with the other one. I tried to edit it but still cant get it to be clickable. This is what I have as of right now. I know some servers have already implented Oboro. Does ANYONE have a job changer or know how to fix this script to make the NPC clickable?

    //-- Kageou/Oboro Quest

    prontera,157,194,4 script Ninja Job Changer 588,{

    function Job_Menu; function A_An;

    mes "[Ninja Master]";

    if (Class == Job_Ninja) {

    if (JobLevel == 70) {

    if (BaseLevel == 99) {

    mes "[ ^C8BBBETemporary Job Changer^000000 ]";

    mes "Do you want to become Kagerou or Oboro?.";

    mes "Im the temporary job changer of a Ninja to advance their job.";

    mes "Kagerou is only for Boy Ninja.";

    mes "Oboro is only for Girl Ninja.";

    menu "Kagerou",L_boy,"Oboro",L_girl;

    close; }

    L_boy:

    next;

    jobchange 4211;

    mes "Have a nice day~.";

    close;

    L_girl:

    next;

    jobchange 4212;

    mes "Have a nice day~.";

    close;

    }

    }

    }

    }

  7. Im going to try it again. Should I have it read data folder also?

    I diffed it with Load LUA before LUB unchecked and with Read Data folder Checked.

    No nil errors upon opening this time, however, still Korean and getting rejected from server (22).

  8. Whenever using an updated client (that would be able of viewing Oboro sprites), the client is always in KOREAN. I cannot login either. Earlier, prepatched clients work, however. I have an updated data folder, patched completely, and a lua files folder. Am I missing something? I dont use any lub files and dont know where I would put them if I did. Please help me out here guys.

×
×
  • Create New...