Jump to content

max65

Members
  • Posts

    120
  • Joined

  • Last visited

Everything posted by max65

  1. Thanks for your answer i will try ^^
  2. Hello rAthena Community, Before anything else, here's the script I want to edit. //===== EinherjarRO Scripts ================================== //= Daily Prize, OnPCLoginEvent //===== By: ================================================== //= Stolao //===== Current Version: ===================================== //= 1.59 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= A reward system for players who play more frequently //===== Comments: ============================================ //= Maybe Make .MinWait an array mins,days,weeks,months,years; //===== Additional Comments: ================================= //= For Older See Forums //= 1.51 Changed set .@g formula and move lower into script //= 1.52 Replace all disbottom -> message //= 1.53 Changed Format to Include minuets instead of just hours //= 1.54 Made Time till next rewards display dynamic //= 1.55 Changed a forgotten .PointType$ -> getd(.@TT[1]) //= 1.56 changed .@XT -> .@XT$ //= 1.57 Added Atoi where nessisary //= 1.58 Fixed a swapped .@x and .@x+1 //= 1.59 Serveral Edit Undocumented to fix //===== Contact Info: ======================================== //= [Stolao] //= Email: [email protected] //============================================================ - script LOGIN -1,{ OnWhisperGlobal: OnLoginCmnd: OnPCLoginEvent: if(.Rest){ set @login, (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) + gettime(2); query_sql("SELECT REPLACE (`last_ip`,'.','_') FROM `login` WHERE `account_id` = "+getcharid(3),@ip$); if((getd("$G_LIP_"+@ip$)+(60*60*24)) <= @c) setd("$G_LIP_"+@ip$,@c); if(@login > #LastDailyReward + .MaxWait ){ set #logintimer, 0; set @login, 0; } set .@rest, (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) + .Rest; message strcharinfo(0),"[ Daily Rewards ]: to collect reward you must remain logged in for "+ ( @login - .@rest ) +" Minuets"; } set .@i, (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) + gettime(2); if(.@i - .Rest >= (#LastDailyReward + .MinWait)){ sleep2 100 + ( .Rest * 60000 ) - ( .@i - #logintimer ); if(.@i < #LastDailyReward + .MaxWait){ set #DRewardCon, #DRewardCon + 1; } else { set #DRewardCon, 0; } set .@g, (#DRewardCon > getarraysize(.Rewards$)) ? (getarraysize(.Rewards$)-1) : #DRewardCon; explode(.@XT$,.Rewards$[.@g],"|"); for(set .@x,0; .@x < getarraysize(.@XT$); set .@x,.@x + 1){ set .@TT[.@x], atoi(.@XT$[.@x]); } if(.Mode & 1 && .@TT[4]){ //[Note]: I need to figure out a checkweight for all items tired atm lol, for now ill leave it missing for(set .@x,4; .@x < getarraysize(.@TT); set .@x,.@x + 2){ getitem .@TT[.@x], .@TT[.@x+1]; message strcharinfo(0),"[ Daily Rewards ]: Recived "+ .@TT[.@x+1] +" "+ getitemname(.@TT[.@x]); } } if(.Mode & 2){ if(.@TT[0]){ set zeny,zeny + .@TT[0]; message strcharinfo(0),"[ Daily Rewards ]: Recived "+ .@TT[0] +"z"; } if(.@TT[1]){ setd getd(.Points$[0]),getd(.Points$[0]) + .@TT[1]; message strcharinfo(0),"[ Daily Rewards ]: Recived "+ .@TT[1] +" "+.Points$[1]; } } if(.Mode & 4 && (.@TT[3] || .@TT[4])) getexp .@TT[3], .@TT[4]; if(.Mode & 8){ for(set .@x,0; .@x < getarraysize(.BuffInfo); set .@x,.@x + 4){ if(#DRewardCon % .BuffInfo[.@x + 1] == 0) sc_start .BuffInfo[.@x], .BuffInfo[.@x + 2] * 60000, .BuffInfo[.@x + 3]; } } message strcharinfo(0),"[ Daily Rewards ]: You have collected your daily reward, for "+#DRewardCon+" day"+((#DRewardCon > 1)?"s":"")+" in a row."; cutin .Pic$[.@g],4; set #LastDailyReward, .@i; set #logintimer, 0; set @login, 0; } else { set .@days,(#LastDailyReward + .MinWait - .@i)/60/24; set .@hours,((#LastDailyReward + .MinWait - .@i)/60)%24; set .@mins,(#LastDailyReward + .MinWait - .@i)%60; message strcharinfo(0),"[ Daily Rewards ]: You have "+ ((.@days) ? .@days +":Days " : "") +""+ ((.@hours) ? .@hours +":Hours " : "") +""+ ((.@mins) ? .@mins +":Minutes " : "") +"till your next reward"; } end; OnPCLogoutEvent: if(@login){ set .@i, (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) + gettime(2); set #logintimer, .@i - @login + #logintimer; set @login, 0; } return; end; OnInit: waitingroom ">->Daily Rewards",0; //Basic Settings // 1: Item | 2: Points | 4: Exp // 8: Gain Buffs Every X Consecutive Days logged in // (a bit value, e.g. 3 = Items & Points from Multi) set .Mode,1 + 2 + 4 + 8; //To Enable @ Command '@loginreward' unslash next lines // * Needs extra commands for typos bindatcmd("daily" ,"LOGIN::OnLoginCmnd",0,99); //Enable Delay if @afk or @autotrade are available to players // remove // to enable certain command checks //bindatcmd("at" ,"LOGIN::OnPCLogoutEvent",0,99); //bindatcmd("autotrade" ,"LOGIN::OnPCLogoutEvent",0,99); //bindatcmd("AT" ,"LOGIN::OnPCLogoutEvent",0,99); //bindatcmd("Autotrade" ,"LOGIN::OnPCLogoutEvent",0,99); //bindatcmd("afk" ,"LOGIN::OnPCLogoutEvent",0,99); //bindatcmd("AFK" ,"LOGIN::OnPCLogoutEvent",0,99); //Minimum Minuets Between Collecting Daily Reward // Day: 22*60 - 24*60 // Week: 10080 set .MinWait,24*60; //Minuets Before Lose Consecutive Daily Reward // Day: 48*60 - 50*60 // Week: 20160 set .MaxWait,3000; //Number of mins after logging before collecting prize set .Rest,60; //Point Type // [0] Points earned // [1] Point name in mes setarray .Points$,"#KAFRAPOINTS","K-Points"; // Consecutive Days Buff // Each buff contains 4 variables (32 Total Max) // <Type>,<Days>,<Duration>,<Rate>, // Buff 1 // <Type>,<Days>,<Duration>,<Rate>, // Buff 2 // ...; // // Example: 188,7,45,3 // -Every 7th consecutive day logged in Player gains +3 Str for 45 mins // // Type is 188, which references which SC_ to use, SC_INCSTR in this example // -For a full list of SC_ visit the db/const.txt // Days is days buff is applied, in this example 7, so every 7th day, 14,21,28.... // Duration is buff duration is Minuits, in this example 45 mins // Rate is buff strength, in this example player gains 3 Str //setarray .BuffInfo ,260,2,360,1 // Life Insurance for 360 Mins Every 2nd Day //,198,3,120,10 // +10% Hp for 120 Mins Every 3th Day //,196,5,120,25 // +25 Flee for 120 Mins Every 5th Day //,257,7,240,50; // +50% Exp for 240 Mins Every 7th Day // Daily Prize items (max 128 days): // "<Zeny>|<Points>|<BaseExp>|<JobExp>|<itemID-1>|<amount-1>|<itemID-2>|<amount-2>...etc", // Day 1 // "<Zeny>|<Points>|<BaseExp>|<JobExp>|<itemID-1>|<amount-1>|<itemID-2>|<amount-2>...etc" // Day 2 // ...; // Total length of any days string must be 255 or shorter // * If players login longer than the last set // day, they will keep getting the last prize. setarray .Rewards$, "0|0|0|0|7059|5", // Day 1: 5 Free Ticket for Kafra Storage "0|0|0|0|7060|5", // Day 2: 5 Free Ticket for Kafra Transportation "0|0|0|0|12208|1", // Day 3: 1 Battle Manual "0|0|0|0|12766|1", // Day 4: 1 JOB Battle Manual "0|0|0|0|12210|1", // Day 5: 1 Bubble Gum "0|0|0|0|12211|3", // Day 6: 3 Kafra Card "0|0|0|0|601|1", // Day 7: ######### 1 Random Box ########## "0|0|0|0|11503|50", // Day 8: 50 Siege White Potions "0|0|0|0|11504|20", // Day 9: 20 Siege Blue Potions "0|0|0|0|12411|1", // Day 10: 1 HE Battle Manual "0|0|0|0|12016|5", // Day 11: 5 Speed Potion "0|0|0|0|12216|10", // Day 12: 10 LV10 Agil Scroll "0|0|0|0|12215|10", // Day 13: 10 LV10 Blessing Scroll "0|0|0|0|601|1", // Day 14: ######### 1 Random Box ########## "0|0|0|0|12622|1", // Day 15: 1 Boarding Halter "0|0|0|0|12214|2", // Day 16: 2 Convex Mirror "0|0|0|0|12103|1", // Day 17: 1 Bloody Branch "0|0|0|0|6910|1", // Day 18: 1 Enriched Oridecon "0|0|0|0|6911|1", // Day 19: 1 Enriched Eluminium "0|0|0|0|14003|3", // Day 20: 3 Elite Siege Supply Box "0|0|0|0|601|1", // Day 21: ######### 1 Random Box ########## "0|0|0|0|6286|1", // Day 22: 1 Gym Pass "0|0|0|0|12535|1", // Day 23: 1 Yggdrasil Berry "0|0|0|0|12817|3", // Day 24: 3 Old Card Album "0|0|0|0|6833|10", // Day 25: 10 Token of Ziegfried "0|0|0|0|12261|2", // Day 26: 2 Miracle Medicine "0|0|0|0|601|1", // Day 27: ######### 1 I ♥ Games Hat ########## "0|0|0|0|601|1"; // Day 28: ######### 1 Random Box ########## setarray .Pic$, "Daily_00_1", //pic with day1 highlighted "Daily_01_1", //pic with day2 highlighted "Daily_02_1", //pic with day3 highlighted "Daily_03_1", //pic with day4 highlighted "Daily_04_1", //pic with day5 highlighted "Daily_05_1", //pic with day6 highlighted "Daily_06_1", //pic with day7 highlighted "Daily_07_1", //pic with day8 highlighted "Daily_08_1", //pic with day8 highlighted "Daily_09_1", //pic with day8 highlighted "Daily_10_1", //pic with day8 highlighted "Daily_11_1", //pic with day8 highlighted "Daily_12_1", //pic with day8 highlighted "Daily_13_1", //pic with day8 highlighted "Daily_14_1", //pic with day8 highlighted "Daily_15_1", //pic with day8 highlighted "Daily_16_1", //pic with day8 highlighted "Daily_17_1", //pic with day8 highlighted "Daily_18_1", //pic with day8 highlighted "Daily_19_1", //pic with day8 highlighted "Daily_20_1", //pic with day8 highlighted "Daily_21_1", //pic with day8 highlighted "Daily_22_1", //pic with day8 highlighted "Daily_23_1", //pic with day8 highlighted "Daily_24_1", //pic with day8 highlighted "Daily_25_1", //pic with day8 highlighted "Daily_26_1", //pic with day8 highlighted "Daily_27_1"; //pic with day8 highlighted end; } Daily_01_n.bmpDaily_01_h.bmpDaily_01_4.bmpDaily_01_3.bmpDaily_01_2.bmpDaily_01_1.bmp What i would? This script works perfectly! I would like to add several months let me explain ^^ ------------------------------------------------- First: January = Daily_01_1 February= Daily_01_2 March= Daily_01_3 October= Daily_01_h December= Daily_01_n etc... I created the other months after ^^ ------------------------------------------------- Second: -I would like a system where it is easy to add the other months . -when I restart the server the script doesn't start at the beginning of the month. ------------------------------------------------- Thank you to all who will help me! "i can pay for this script" ps: I am looking for a good writer for my server .we are a team of 4 people and we are looking for 1 scripteur and 1 animator, the server is about 90% finished.
  3. thx for your reply emisty, When i change this values , my byorge recall slave but dont re spawn =s exemple: if i kill bow guardian , my byorgue call sword all 10sec and dont respawn bow 1839,Byorgue@NPC_SUMMONSLAVE,idle,196,2,10000,1000,10,no,self,slavele,1,1829,1830,,,,, 1839,Byorgue@NPC_SUMMONSLAVE,chase,196,2,10000,1000,10,no,self,slavele,1,1829,1830,,,,, 1839,Byorgue@NPC_SUMMONSLAVE,attack,196,2,10000,1000,10,no,self,slavele,1,1829,1830,,,,, 1839,Byorgue@NPC_CALLSLAVE,idle,352,1,10000,0,10,yes,self,always,0,,,,,,, 1839,Byorgue@SM_BASH,attack,5,5,500,0,5000,yes,target,always,0,,,,,,, 1839,Byorgue@AL_TELEPORT,idle,26,1,10000,0,0,yes,self,rudeattacked,,,,,,,, 1839,Byorgue@AL_TELEPORT,walk,26,1,5000,0,5000,yes,self,rudeattacked,,,,,,,, 1839,Byorgue@AS_GRIMTOOTH,idle,137,5,10000,0,5000,yes,target,always,0,,,,,,6, 1839,Byorgue@AS_GRIMTOOTH,chase,137,5,10000,0,5000,yes,target,skillused,18,,,,,,6, 1839,Byorgue@ASC_BREAKER,chase,379,3,2000,0,5000,yes,target,always,0,,,,,,, 1839,Byorgue@ASC_METEORASSAULT,attack,406,2,500,0,5000,yes,self,always,0,,,,,,, 1839,Byorgue@AS_SONICBLOW,attack,136,5,1000,0,5000,yes,target,always,0,,,,,,6, 1839,Byorgue@NPC_CRITICALSLASH,attack,170,1,1000,0,5000,yes,target,always,0,,,,,,, 1839,Byorgue@NPC_STUNATTACK,attack,179,5,1000,0,5000,yes,target,always,0,,,,,,, 1839,Byorgue@NPC_CALLSLAVE,attack,352,1,10000,0,10,yes,self,always,0,,,,,,,
  4. Hi rathena, my byorgue on thor map do not summon bow guardian and sword guardian can you tell me how fixe that? 1839,Byorgue@NPC_SUMMONSLAVE,idle,196,2,10000,1000,60000000,no,self,slavele,1,1829,1830,,,,, 1839,Byorgue@NPC_SUMMONSLAVE,chase,196,2,10000,1000,60000000,no,self,slavele,1,1829,1830,,,,, 1839,Byorgue@NPC_SUMMONSLAVE,attack,196,2,10000,1000,60000000,no,self,slavele,1,1829,1830,,,,, 1839,Byorgue@NPC_CALLSLAVE,idle,352,1,10000,0,10000,yes,self,always,0,,,,,,, thx for your help ^^
  5. Hi rathena, i use SQL Db and i see many hat with bad effect , i have try to put good script in my sql but have same error with 2 hat for bacsojin hat ( ID : 5464 ) and for King Tiger Doll hat ( ID : 5497 ) my cmd tell me unexpected eof @ string . how can fixe that plz? ^^
  6. Hello Rathena, I created @go Dbroom but when I @go 39 he teleports me on db room (nov_02) but not in my instance =s because have create 4 - @go @go Battleground @go Market @go Eden @go DbRoom all works but for DBRoom i use a specialy db who create one instance(for private db) can you tell me how fixe that plz ? ? Thx for your repply
  7. Hi Rathena can you tell me how fixed that plz? thx for your repply ^^
  8. hhmmm ok but if I disable them how can I check if a player insults another player or troll?
  9. Hi, rathena have a big problèm's , when a player want to talking in chatbox my map server freezz and we can't move or anything but in my cmd i dont see any bug or crash or others. i use https://github.com/rathena/rathena I try something else and I think that it comes from the database when someone does an action that changes information on the database for information this morning it works perfectly and without that I touch his made his can you help me plz
  10. thx i will try that =p i use SQL db for item =p for any whant for SQL db if(!getmapflag(strcharinfo(3),mf_noteleport)) { warp strcharinfo(3),0,0; } thx all ^^
  11. Hi Rathena, have a little problèm's with my item =s i would like add in my serveur this item Infinite Flywing ItemID #12887 (C_Wing_Of_Fly) http://ratemyserver.net/index.php?iname=12887&page=re_item_db&quick=1&isearch=Search but when i use it , he use item, don't teleport and he are deleted at my inventory =s and its not alone item have same problèms with Halter Lead Day Box 7 day #16682 and I think it's the same for a lot of things can you help me to resolve that pleaze ? Thanks for your reply.
  12. same problèms , have save with notepad++ on uncode --> UTF8 without BOM
  13. its your emulator XD, how i can fixed that?
  14. Hi rathena, i dont know why when i restart my server all @autotrade respawn at prontera ( i used a custom map for vendingmap ) thx for your reply
  15. Thx emistry but now have that in my console //= Wheel of Fortune //===== By =================================================== //= Habilis //= Edited by Myriad //===== Version ============================================== //= 1.02 - June 15, 2018 // - Made the script work with zeny, to be more accesibly to everyone. //= 1.01 - June 14, 2018 // - Added @wheel_of_fortune GM command (level 98+). // - Merged S_Pay and S_Loop subs into main line of text. // - S_Gamble is now S_Spin and it will 'return' instead of // calling back to the initial sub. //= 1.00 - June 13, 2018 // - Initial script edit for Habilis. //===== Description ========================================== //= Wheel of fortune something. //============================================================ - script Wheel_of_Fortune FAKE_NPC ,{ OnInit: disablenpc("Wheel of Fortune#Main"); .EventName$ = "[Wheel Of Fortune]"; end; OnClock0900: OnClock1600: OnClock2200: OnStart: .Start = true; announce(sprintf("%s : The event will begin in 1 minute, near the center of Prontera.", .EventName$), bc_blue | bc_all); initnpctimer(); end; OnTimer60000: // 1 min enablenpc("Wheel of Fortune#Main"); announce(sprintf("%s : Come to Prontera and test your luck", .EventName$), bc_yellow | bc_all); end; OnTimer60500: // 1 mins announce(sprintf("%s : One minute, do your last spin!", .EventName$), bc_yellow | bc_all); end; OnTimer120000: // 2 mins OnStop: .Start = false; stopnpctimer(); disablenpc("Wheel of Fortune#Main"); end; OnCommand: if (.@atcmd_numparameters != 1) { dispbottom(sprintf("Usage: %s <start/end>", .@atcmd_command$), 0x00FF00); dispbottom(sprintf("%s failed.", .@atcmd_command$), 0x00FF00); end; } if (.@atcmd_parameters$[0] == "start") { if (!.Start) donpcevent(sprintf("%s::OnStart", strnpcinfo(NPC_NAME))); else { dispbottom("The Wheel of Fortune has already started.", 0x00FF00); dispbottom(sprintf("%s failed.", .@atcmd_command$), 0x00FF00); } } else if (.@atcmd_parameters$[0] == "end") { if (.Start) donpcevent(sprintf("%s::OnEnd", strnpcinfo(NPC_NAME))); else { dispbottom("The Wheel of Fortune is not active.", 0x00FF00); dispbottom(sprintf("%s failed.", .@atcmd_command$), 0x00FF00); } } else { dispbottom(sprintf("Usage: %s <start/end>", .@atcmd_command$), 0x00FF00); dispbottom(sprintf("%s failed.", .@atcmd_command$), 0x00FF00); } end; } prontera,164,169,1 script Wheel of Fortune#Main 2_SLOT_MACHINE,{ OnTalk: if (Zeny < .Zeny_Cost && #freewheelfortunespin < 0) { mes("[^0055FFLucky Spin^000000]", .EventName$); mes("You are out of Zeny"); mes("and have no more"); mes("free spins. Come back"); mes("next time for more!"); close(); } .@mes$ = (#freewheelfortunespin > 0) ? sprintf(", but you, my friend, have %d free spin%s!", #freewheelfortunespin, (#freewheelfortunespin == 1) ? "" : "s") : "."; addtimer(1, sprintf("%s::OnEnd", strnpcinfo(NPC_NAME))); mes("[^0055FFLucky Spin^000000]", .EventName$); mes("Do you want to spin the wheel?"); mes("It costs ^FF000050.000 Zeny^000000 to play", .@mes$); next(); while (true) { if (Zeny < .Zeny_Cost && #freewheelfortunespin < 0) callsub(S_End); switch (select( (#freewheelfortunespin > 0) ? sprintf("Yes! Use free spin! (%d left)", #freewheelfortunespin) : "", (Zeny >= .Zeny_Cost ) ? sprintf("Yes! Use Zeny. (costs %dz)", .Zeny_Cost) : "", "No (Leave)" )) { // pay with free spin case 1: if (#freewheelfortunespin > 0) { if ((#freewheelfortunespin -= 1) < 0) #freewheelfortunespin = 0; callsub(S_Spin); } else callsub(S_End); break; // Pay with zeny case 2: if (Zeny >= .Zeny_Cost) { Zeny -= .Zeny_Cost; callsub(S_Spin); } else { cutin("aca_salim02", 2); mes("[^0055FFLucky Spin^000000]", .EventName$); mes("Awww, you don't have enough to gamble..."); mes(" "); mes("Have you ever heard?"); mes("'Money isn't all that matters' Got it?"); mes("Byeeeeeeeeeeeeee ;)"); callsub(S_End); } break; default: break; } callsub(S_End); } // Wheel spin animation S_Spin: .@Sector = rand(.Sector_Range[0], .Sector_Range[1]); .@Display = .@Sector * 2 - 1; .@Speed = .Spin_Speed; for (.@i = 0; .@i < .nbTurns; .@i++) { .@b = .Cutin_Range[0]; while (.@b <= .Cutin_Range[1]) { cutin(sprintf("%s%d", .Cutin$, .@b), 4); sleep2(.@Speed); .@b++; .@Speed += 1; // not ++, because you may want to adjust the stopping +1 +2 +3 } } .@b = .Cutin_Range[0]; while (.@b < .@Display) { cutin(sprintf("%s%d", .Cutin$, .@b), 4); sleep2(.@Speed); .@b++; } cutin(sprintf("%s%d", .Cutin$, .@b), 4); if (.Prize_ID[.@Sector] == -1) { // Free spin if (.Sound_Effects) soundeffect("wheel_jackpot.wav", 0); announce(sprintf("[%s] : Wow, %dx more Free spins!!!", .EventName$, .Prize_Qty[.@Sector]), bc_blue | bc_self); #freewheelfortunespin = #freewheelfortunespin == 0 ? .Prize_Qty[.@Sector] : #freewheelfortunespin + .Prize_Qty[.@Sector]; } else if (.Prize_ID[.@Sector] == 0) { // Nothing if (.Sound_Effects) soundeffect("wheel_lost.wav", 0); announce(sprintf("[%s] : Awwww, no luck in your gamble, more luck in love...", .EventName$), bc_blue | bc_self); } else { // Item if (.Sound_Effects) soundeffect("wheel_won.wav", 0); announce(sprintf("[%s] : %dx %s - enjoy your prize!", .EventName$, .Prize_Qty[.@Sector], getitemname(.Prize_ID[.@Sector])), bc_blue | bc_self); getitem(.Prize_ID[.@Sector], .Prize_Qty[.@Sector]); } sleep2(1000); if (Zeny < .Zeny_Cost && #freewheelfortunespin < 0) { mes("[^0055FFLucky Spin^000000]", .EventName$); mes("You are out of Zeny"); mes("and have no more"); mes("free spins. Come back"); mes("next time for more!"); close(); } return; S_End: close2(); OnEnd: cutin("", 255); end; OnInit: .EventName$ = "Wheel Of Fortune"; bindatcmd("wheel_of_fortune", "Wheel_of_Fortune::OnCommand", 98,false); .Spin_Speed = 50; // What is the base spin speed? (ms) .nbTurns = 2; // How many times the arrow makes a complete turn, before entering the stopping routine .Zeny_Cost = 50000; // How much zeny does it cost for a spin? .Sound_Effects = true; // Enable sound effects? (true/false) // You must have a total of 10 prizes. DO NOT remove 0 or -1 from the array and do not // change their order. setarray(.Prize_ID[1], -1, 7539, 14345, 7539, 617, 607, 7539, 604, 0, 12214); setarray(.Prize_Qty[1], 2, 3, 1, 1, 3, 3, 1, 3, 0, 1); // Don't touch below .Cutin$ = "WheelOfFortune_"; setarray(.Sector_Range, 1, 10); // Sector range setarray(.Cutin_Range, 0, 19); // Cutin range end; }
  16. Thx for this script , When we created the list, how do we restock after? when i have create my list and i use item on this list my cmd tell me that fixed you have missing in your .diff search in ../ pc.cpp fixed by @n0tttt
  17. thx for your repply i will try that ^^ dosn't works =s * its work with your script n0ttt thx =p
  18. Thx for your repply , its works ^^
  19. Hi rathena, i need you for this script , when my player want buys on tools dealer he's can't put Enter =s how i can change that ? - script Tool Dealer::Tool Dealer 900,{ mes "What do you like to buy?"; switch( select( "^FF0000~~Sell^000000","Consumable", "Miscellaneous","Arrow/Ammunition","^009900Taming Pet^000000","^009900Pet Armor^000000", "Nothing" ) ) { next; case 1: callshop "sell",2; end; case 2: callshop "Consumable",1; end; case 3: callshop "Miscellaneous",1; end; case 4: callshop "Arrow/Ammunition",1; end; case 5: callshop "TamingPet",1; end; case 6: callshop "Pet Armor",1; end; case 7: mes "Okay, have a nice day"; close; } } - shop Tool Dealer#shop::Consumable -1,611:-1,1750:-1,501:-1,502:-1,503:-1,504:-1,506:-1,568:-1,533:-1,645:-1,656:-1,657:-1,601:-1,602:-1,1065:-1,610:-1 - shop Tool Dealer#shop::Miscellaneous -1,713:-1,717:-1,716:-1,715:3000,12020:-1,523:-1,993:-1,992:-1,991:-1,990:-1,12042:25000,12057:25000,12052:25000,12047:25000,12062:25000,12067:25000 - shop Tool Dealer#shop::Arrow/Ammunition -1,1750:-1,1751:-1,1752:-1,1753:-1,1754:-1,1755:-1,1756:-1,1772:-1,1757:-1,1767:-1,13200:-1,13201:-1,13202:-1,13203:-1,13207:-1,13204:-1,13250:-1,13251:-1,13252:-1,13253:-1,13254:-1 - shop sell -1,512:-1 - shop Tool Dealer#shop::TamingPet -1,643:-1,639:100000,621:100000,642:100000,12373:100000,12365:100000,12340:100000,641:100000,12361:100000,630:100000,623:100000,632:100000,12363:100000,660:100000,12366:100000,12370:100000,14572:100000,12374:100000,12367:100000,626:100000,637:100000,620:100000,635:100000,622:100000,624:100000,640:100000,638:100000,629:100000,661:100000,627:100000,633:100000,634:100000,619:100000,14574:100000,12359:100000,628:100000 - shop Tool Dealer#shop::Pet Armor -1,10013:-1,10017:500000,10010:500000,10037:500000,10024:500000,10016:500000,10023:500000,10015:500000,10025:500000,10038:500000,10029:500000,10034:500000,10018:500000,10002:500000,10004:500000,10027:500000,10008:500000,10006:500000,10019:500000,10031:500000,10014:-1,10007:500000,10001:500000,10011:500000,10012:500000,10003:500000,10005:500000,10009:500000 prontera,154,196,5 duplicate(Tool Dealer) Tool Dealer#pront 900 guild_base,49,375,4 duplicate(Tool Dealer) Barman#guildbase1 61 guild_base,49,241,4 duplicate(Tool Dealer) Barman#guildbase2 61 guild_base,49,105,4 duplicate(Tool Dealer) Barman#guildbase3 61 guild_base,171,105,4 duplicate(Tool Dealer) Barman#guildbase4 61 guild_base,171,241,4 duplicate(Tool Dealer) Barman#guildbase5 61 guild_base,171,375,4 duplicate(Tool Dealer) Barman#guildbase6 61 guild_base,289,375,4 duplicate(Tool Dealer) Barman#guildbase7 61 guild_base,287,241,4 duplicate(Tool Dealer) Barman#guildbase8 61 guild_base,287,105,4 duplicate(Tool Dealer) Barman#guildbase9 61 Thx for your repply
  20. Hi rathena , have a problèm's , my site and forum attack by bots , i would like Verification on my site but he tell me when i create account that: but I do not receive the confirmation email. i use Gmail and my configuration are: 'AllowUserInPassword' => false, // Whether or not to allow the password to contain the username. (NOTE: A case-insensitive search is performed) 'AllowDuplicateEmails' => false, // Whether or not to allow duplicate e-mails to be used in registration. (See Mailer config options) 'RequireEmailConfirm' => true, // Require e-mail confirmation during registration. 'RequireChangeConfirm' => false, // Require confirmation when changing e-mail addresses. 'EmailConfirmExpire' => 48, // E-mail confirmations expire hours. Unconfirmed accounts will expire after this period of time. 'MailerFromAddress' => '[email protected]', // The e-mail address displayed in the From field. 'MailerFromName' => 'TheFairiesOfRo', // The name displayed with the From e-mail address. 'MailerUseSMTP' => false, // Whether or not to use a separate SMTP server for sending mail. 'MailerSMTPUseSSL' => true, // Whether or not mailer should connect using SSL (yes for GMail). 'MailerSMTPUseTLS' => false, // Same as above SSL setting, but for TLS. This setting will override the SSL setting. 'MailerSMTPPort' => 465, // When MailerUseSMTP is true: SMTP server port (mailer will default to 25). 'MailerSMTPHosts' => 'ssl://smtp.gmail.com', // When MailerUseSMTP is true: A string host or array of hosts (e.g., 'host1' or array('host1', 'backuphost')). 'MailerSMTPUsername' => '[email protected]', // When MailerUseSMTP is true: Authorized username for SMTP server. 'MailerSMTPPassword' => '------------', can you help me plz.
  21. Nice thx for your repply =p
  22. thx for your repply, its on my client not in ro/folder When i click on Fullscreen he close my client and open http://ro.gnjoy.com/ and i would like just he close my client and not open url or if i can modif this url , i pref put my site url. thx for your repply =p
  23. Hi rathena, my player find a bug on my server and i dont know how resolve that can you help me plz? i need to remove the global cooldown on flywings. this message: thx for your repply
×
×
  • Create New...