Jump to content

Mootie

Members
  • Posts

    815
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Mootie

  1. My bad. zhakastia,104,68,3 script PvP Warper 413,{ mes "[PvP Warper]"; mes "Which arena do you want to go to?"; next; switch(select("Normal PvP ["+getmapusers("guild_vs5")+"/100]:Dispel PvP ["+getmapusers("guild_vs3")+"/100]:No Healing Potions PvP ["+getmapusers("guild_vs2")+"/100]")) { case 1: // Normal PvP if (getmapusers("prt_are01") > 99) callsub S_full; set .@map$, "guild_vs5"; break; Case 2: // Dispel PvP if (getmapusers("guild_vs3") > 99) callsub S_full; set .@map$, "guild_vs3"; dispell__(); break; Case 3: // No Healing Potions PvP if (getmapusers("guild_vs2") > 99) callsub S_full; set .@map$, "guild_vs2"; break; } warp .@map$, 0, 0; end; S_full: mes " "; mes "I'm sorry, this arena is full. Please try again later..."; close; function dispell__ { for( .@i = 0; .@i < 308; .@i++ ) if( (.@i != 53) && (.@i != 54) && (.@i != 249) && (.@i != 103) ) //Do not dispell SC_WEIGHT50, SC_WEIGHT90, SC_JAILED, SC_NOCHAT sc_end .@i; return; } } prt_are01,150,130,4 script PvP Exit 868,{ warp "prontera",0,0; end; } //============= MAP FLAG =============== // Player guild_vs3 mapflag nosave guild_vs3 mapflag noteleport guild_vs3 mapflag nowarpto guild_vs3 mapflag nowarp guild_vs3 mapflag nomemo guild_vs3 mapflag nopenalty guild_vs3 mapflag nobranch guild_vs3 mapflag noicewall guild_vs3 mapflag noreturn guild_vs3 mapflag pvp_noguild guild_vs5 mapflag noteleport guild_vs5 mapflag nowarp guild_vs5 mapflag nosave guild_vs5 mapflag nopenalty guild_vs5 mapflag nobranch guild_vs5 mapflag noicewall guild_vs5 mapflag pvp_noguild guild_vs2 mapflag nopenalty guild_vs2 mapflag nosave SavePoint guild_vs2 mapflag nowarp guild_vs2 mapflag noteleport guild_vs2 mapflag nomemo guild_vs2 mapflag loadevent guild_vs2 mapflag noreturn guild_vs2 mapflag nobranch guild_vs2 mapflag pvp_noguild cant talk to the npc o.o because of this lol dispell__();
  2. All room turn to dispell i want only 1 room that what listed on the rooms Case 2: // Dispel PvP if (getmapusers("guild_vs3") > 99) callsub S_full; set .@map$, "guild_vs3"; break;
  3. althought i was thinking to add callfunc instead.... pvp2: callfunc("dispell"); warp "pvp_n_1-3",0,0; close; function script dispell { while ( .@STATUS < 297 ) { if ( .@STATUS != SC_WEIGHT50 && .@STATUS != SC_WEIGHT90 && .@STATUS != SC_NOCHAT && .@STATUS != SC_XMAS && .@STATUS != SC_SUMMER && .@STATUS != SC_JAILED ) sc_end .@STATUS; set .@STATUS, .@STATUS+1; } return; } look like doesnt work even
  4. is this function will work on my script? zhakastia,104,68,3 script PvP Warper 413,{ mes "[PvP Warper]"; mes "Which arena do you want to go to?"; next; switch(select("Normal PvP ["+getmapusers("guild_vs5")+"/100]:Dispel PvP ["+getmapusers("guild_vs3")+"/100]:No Healing Potions PvP ["+getmapusers("guild_vs2")+"/100]")) { case 1: // Normal PvP if (getmapusers("prt_are01") > 99) callsub S_full; warp "guild_vs5",0,0; end; Case 2: // Dispel PvP if (getmapusers("guild_vs3") > 99) callsub S_full; warp "guild_vs3",0,0; end; Case 3: // No Healing Potions PvP if (getmapusers("guild_vs2") > 99) callsub S_full; warp "guild_vs2",0,0; end; } S_full: mes " "; mes "I'm sorry, this arena is full. Please try again later..."; close; } prt_are01,150,130,4 script PvP Exit 868,{ warp "prontera",0,0; end; } //============= MAP FLAG =============== // Player guild_vs3 mapflag nosave guild_vs3 mapflag noteleport guild_vs3 mapflag nowarpto guild_vs3 mapflag nowarp guild_vs3 mapflag nomemo guild_vs3 mapflag nopenalty guild_vs3 mapflag nobranch guild_vs3 mapflag noicewall guild_vs3 mapflag noreturn guild_vs3 mapflag pvp_noguild guild_vs5 mapflag noteleport guild_vs5 mapflag nowarp guild_vs5 mapflag nosave guild_vs5 mapflag nopenalty guild_vs5 mapflag nobranch guild_vs5 mapflag noicewall guild_vs5 mapflag pvp_noguild guild_vs2 mapflag nopenalty guild_vs2 mapflag nosave SavePoint guild_vs2 mapflag nowarp guild_vs2 mapflag noteleport guild_vs2 mapflag nomemo guild_vs2 mapflag loadevent guild_vs2 mapflag noreturn guild_vs2 mapflag nobranch guild_vs2 mapflag pvp_noguild
  5. Case 2: // Dispel Pvp if (getmapusers("guild_vs3") > 99) callsub S_full; //Dispell single buff sc_end <buff>; is it?
  6. //Dispell single buff sc_end <buff>; can put any where?
  7. how to put dispel on Case 2: // Dispel PvP zhakastia,104,68,3 script PvP Warper 413,{ mes "[PvP Warper]"; mes "Which arena do you want to go to?"; next; switch(select("Normal PvP ["+getmapusers("prt_are01")+"/100]:Dispel PvP ["+getmapusers("guild_vs3")+"/100]:No Healing Potions PvP ["+getmapusers("guild_vs2")+"/100]")) { case 1: // Normal PvP if (getmapusers("prt_are01") > 99) callsub S_full; warp "guild_vs5",0,0; end; Case 2: // Dispel Pvp if (getmapusers("guild_vs3") > 99) callsub S_full; warp "guild_vs3",0,0; end; Case 3: // No Healing Potions PvP if (getmapusers("guild_vs2") > 99) callsub S_full; warp "guild_vs2",0,0; end; } S_full: mes " "; mes "I'm sorry, this arena is full. Please try again later..."; close; } prt_are01,150,130,4 script PvP Exit 868,{ warp "prontera",155,194; end; } //============= MAP FLAG =============== // Player guild_vs3 mapflag nosave guild_vs3 mapflag noteleport guild_vs3 mapflag nowarpto guild_vs3 mapflag nowarp guild_vs3 mapflag nomemo guild_vs3 mapflag nopenalty guild_vs3 mapflag nobranch guild_vs3 mapflag noicewall guild_vs3 mapflag noreturn guild_vs3 mapflag pvp_noguild guild_vs5 mapflag noteleport guild_vs5 mapflag nowarp guild_vs5 mapflag nosave guild_vs5 mapflag nopenalty guild_vs5 mapflag nobranch guild_vs5 mapflag noicewall guild_vs5 mapflag pvp_noguild guild_vs2 mapflag nopenalty guild_vs2 mapflag nosave SavePoint guild_vs2 mapflag nowarp guild_vs2 mapflag noteleport guild_vs2 mapflag nomemo guild_vs2 mapflag loadevent guild_vs2 mapflag noreturn guild_vs2 mapflag nobranch guild_vs2 mapflag pvp_noguild
  8. refer to this http://rathena.org/board/topic/71122-project-2012-client-translation/ next time use search engine
  9. next time bro use search engine all of your answer is within it so here we go http://ratemyserver.......&i_status=-1[%20]=-1&isearch=Search&itype=4&page=item_db use your own risk look for Tae Goo Lyeon item thats the similar for when refining here's another info { bonus2 bSubRace,RC_DemiHuman,10; if(getrefine()>7) { bonus2 bSubRace,RC_DemiHuman,3; } },{},{} just look for items that has a similar and make your script for per refine example +1 +2 +3 gets +3 of str or something that you put it on here { bonus2 bSubEle,Ele_Neutral,30; if(getrefine()>1) {bonus2 bSubEle,Ele_Neutral,1; } if(getrefine()>2) {bonus2 bSubEle,Ele_Neutral,1; } if(getrefine()>3) {bonus2 bSubEle,Ele_Neutral,1; } if(getrefine()>4) {bonus2 bSubEle,Ele_Neutral,1; } if(getrefine()>5) {bonus2 bSubEle,Ele_Neutral,1; } if(getrefine()>6) {bonus2 bSubEle,Ele_Neutral,1; } if(getrefine()>7) {bonus2 bSubEle,Ele_Neutral,1; } if(getrefine()>8) {bonus2 bSubEle,Ele_Neutral,1;} if(getrefine()>9) {bonus2 bSubEle,Ele_Neutral,1;} if(getrefine()>10) {bonus2 bSubEle,Ele_Neutral,1;} },{},{} i just give you example for per refine you have to fix it for your own script
  10. make you you have lest .lub and data folders to avoid errors
  11. i got this error while un-wearing equips on me i guess the npc looking for 1 not -1 lol wondering to prevent this
  12. Thats really true sometimes maps has have own problem even in headgears or wings it has a problem on design prthe file itself
  13. Gets shins diff latest with newest .dll for evry plugin to fix your client diffed and also get new msgstring just search in rathena using search engine
  14. you need to resize those image there is a width and height each image you have there just resize them
  15. Mootie

    Login

    refer to this http://rathena.org/board/topic/67109-flux-control-panel-setup-with-screens/
  16. If you guys having a problem regarding to resetpos,resetlook and ETC here's what i've discover a little fix for you UNAUTORIZED as you see flux is based for renewal as of now so the fix for the pre-renewal users will be this method if you do config/error.php and turn it to true and config/application.php debugmode = true you will see exactly what errors you've got so here's the little fix. STEP BY STEP 1.Go to your webhosting or what you use for your flux control panel then go to modules/account/view.php search for item_db and replace it as item_db_re and for the item_db2 leave it alone since item_db2 dnt have re. 2.After done in 1st step go to modules/item/view.php and again replace item_db to item_db_re This will fix for your unautorized resetpos,resetlooks and item viewing....just do the same method for others like mob_db and set this to YES //Use SQL item_db, mob_db and mob_skill_db for the map server use_sql_db: no If you dont want to replace them NOTE: this guide is only for pre-renewal if you are going to ask if your database gonna effected or something NO it wont harm anything unless you do a correct thing. i will update this thread for more pre-renewal things. thank you
  17. Maybe your flux is using `level` while your login table has `group_id` (vice versa) this will cause you some errors i got a fix for your problem change all item_db to item_db_re if you are using rathena with pre-renewal each item_db on modules you have to rename it into item_db_re and you are good proven tested
  18. Mootie

    Overflow

    to prevent the overflowing what i need to do? change entire script? or re-edit something.... i already tryed all i know about scripting still nube @emis actually i get thisc script on http://upaste.me/851341191e32f77 made by you and i made some editing usual so boom overflow also possible for mvp card drop rate to be affect?
  19. Mootie

    Overflow

    prontera,155,181,5 script Sample 757,{ mes "Wan to be Premium Users for 1 week ?"; mes "Then give me "+.Amount+" x "+getitemname(.ItemID); if( countitem( .ItemID ) >= .Amount ){ if( select("YES:NO") == 1 ){ delitem .ItemID,.Amount; set #PremiumUser,gettimetick(2) + ( .Day * 3600 * 24 ); sc_start SC_ITEMBOOST,( #PremiumUser * 1000 ),200; sc_start SC_EXPBOOST,( #PremiumUser * 1000 ),200; mes "Done. enjoy your Premium Services for 1 Week."; } } close; OnPCLoginEvent: if( #PremiumUser > gettimetick(2) ){ sc_start SC_ITEMBOOST,( ( #PremiumUser - gettimetick(2) ) * 1000 ),200; sc_start SC_EXPBOOST,( ( #PremiumUser - gettimetick(2) ) * 1000 ),200; } end; } i already set sc_start SC_ITEMBOOST,( #PremiumUser * 50 ),30; sc_start SC_EXPBOOST,( #PremiumUser * 50 ),30; still overflowing o.o
  20. //--- Bitmasks ---- // 1 - Top Headgear // 2 - Armor // 4 - Left Hand // 8 - Right Hand // 16 - Garment // 32 - Shoes // 64 - Left Accessory // 128 - Right Accessory // 256 - Middle Headgear // 512 - Lower Headgear // .....callfunc( "RefineFunc",<itemID>,<Amount>,<BitMasks>,<MinRefine>,<MaxRefine>,<CheckEquip>,<RefineMode>,<Percent> ); // 1. itemID -> Item that will be used during Refine. // 2. Amount -> Amount of Required Items. // 3. BitMask -> Refer to above bitmask table. // 4. MinRefine -> Required Min Refine to use. // 5. MaxRefine -> What is the Max Refine. [ Can Bypass Default Server Max Refine ] // 6. CheckEquip -> Check Equipments is Refineable or not. [ 0 = Disable / 1 = Enable ] // 7. RefineMode -> +1 / Max Refine. [ 0 = +1 Refine / 1 = Max Refine ] // 8. Percent -> Rate of Success to refine current Equipment. // Notes : You can Customize it according to whatever way you want. // Different NPCs / Items with Different Settings. // It will consume the items that you defined to Refine the Equipments according to your Settings. //----------- If used this as Item Script ----------- // Example : Red Potion with 100% Refine Rate 31115,Refine_Ticket_6Up,Refine Ticket 1-5,11,0,,0,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc( "RefineFunc",31115,1,1023,0,10,1,0,100 ); },{},{} 31116,Refine_Ticket_7Up,Refine Ticket 6-8,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc( "RefineFunc",31116,1,1023,0,10,1,0,25 ); },{},{} 31117,Refine_Ticket_8Up,Refine Ticket 9-10,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc( "RefineFunc",31117,1,1023,0,10,1,0,10 ); },{},{} // Change Item Type to 11 and Amount Required to 1 ( Advised ) //----------- If used this as NPC Script ------------ // Example : 90% Success Rate Refiner. // zhakastia,62,61,5 script Refiner 6-8 759,{ // callfunc( "RefineFunc",31116,1,831,0,8,1,0,25 ); // } function script RefineFunc { for( set .@i,1; .@i <= 10; set .@i,.@i + 1 ) set .@Menu$,.@Menu$ + (( getarg(2) & pow( 2,(.@i-1 ) ) && getequiprefinerycnt( .@i ) >= getarg(3) && getequiprefinerycnt( .@i ) < getarg(4) && getequipisequiped( .@i) )?"^FF0000+"+getequiprefinerycnt( .@i )+" ^0000FF"+getequipname( .@i )+" "+( getitemslots( getequipid( .@i ) )?"["+getitemslots( getequipid( .@i ) )+"]":"" )+"^000000":"" )+":"; set .@Refine,select( .@Menu$ ); mes "Required ^FF0000"+getarg(1)+" x "+getitemname( getarg(0) )+"^000000"; if( getarg(5) == 1 && !getequipisenableref( .@Refine ) ) mes "I cant refine this items. Because it is ^FF0000Un-Refineable^000000."; else{ if( select( "^FF0000Refine^000000:Cancel" ) == 2 ) close; if( countitem( getarg(0) ) < getarg(1) ) close; delitem getarg(0),getarg(1); if( rand(100) < getarg(7) ){ if( getarg(6) ) while( getequiprefinerycnt( .@Refine ) < getarg(4) ) successrefitem ( .@Refine ); else successrefitem ( .@Refine ); mes "You have refined : "; mes "^FF0000+"+getequiprefinerycnt( .@Refine )+" ^0000FF"+getequipname( .@Refine )+"^000000"; }else{ failedrefitem ( .@Refine ); mes "Sorry, Failed in Refine and Equipment...Destroyed."; } } close; }
  21. advised to use miruku if you are going to use renewal or even both
  22. refer to this http://rathena.org/board/topic/71122-project-2012-client-translation/
×
×
  • Create New...