Jump to content

JoshDJX

Members
  • Content Count

    11
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

1 Neutral

About JoshDJX

  • Rank
    Poring

Profile Information

  • Gender
    Male
  • Server
    Deliverance

Recent Profile Visitors

666 profile views
  1. Tried it out and it seems to work. Thanks! How would I make it Per Account? Currently I can use it on each character once per day. With that script does the cooldown reset at midnight?
  2. Hello there, I'm looking for a script for an NPC which will give out a Daily Exp buff per Account. Example dialogue: "Hello, You may receive a Daily 100% Exp Buff lasting 1 Hour." " Would you like to receive your buff now?" Yes/No Yes - "Here you are!" -- Script from battle manual type items: sc_start SC_EXPBOOST,3600000,100; No - "Maybe next time" However if they've already received it on their account for that day then: "You've already received your Daily Exp Buff on this account. Come back tomorrow!" I'm not sure how tracking the day works but if it's possible to track once the day has ticked over to reset it, I'd prefer that rather than a 24 hour cd. Thank you and I appreciate your effort,
  3. Awesome! I hope there's some progress soon. Thank you for the reply! =]
  4. Does anyone have the scripts for Gramps Quests in Eden or the Bounty Board Quests? I would appreciate it. Thank you.
  5. Hello, Wasn't sure whether to ask here or in the Client Support section, apologies if this is in the wrong place. We have a custom item in our in-game Cash Shop that does not display its item image. However, right clicking the item shows its description correctly. Screenshot: http://i.imgur.com/VjU6HT1.jpg Does anyone know how to fix this? Thank you.
  6. Hello, I'm requesting modifications to Stolao's Daily Login Reward script. The latest version is available on Stolao's Github Here. I'd like to request the following if possible: Check if it's the 1st of the Month and if so reset the daily rewards back to Day 1 Rewards per Account Optional - Have it be an NPC players have to click on to get the rewards/information. I'm planning, ideally, to have 21 days of rewards per month and have them reset back to Day 1 as a new month rolls around. Thank you very much for your time and assistance. Base script below: //===== EinherjarRO Scripts ================================== //= Daily Prize, OnPCLoginEvent //===== By: ================================================== //= Stolao //===== Current Version: ===================================== //= 1.5F //===== 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 Old Versions //= 1.51 Changed set [email protected] 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([email protected][1]) //= 1.56 changed [email protected] -> [email protected]$ //= 1.57 Added Atoi where nessisary //= 1.58 Fixed a swapped [email protected] and [email protected]+1 //= 1.59 Serveral Edit Undocumented to fix //= 1.5A Fixed a logic bug, day 1 skipped //= 1.5B Fixed a [-1] bug //= 1.5C Actualy Fixed a logic bug, day 1 skipped //= 1.5D Added A .Rest Notification //= 1.5E Fixed Missing " in .rest message //= 1.5F Fixed error setd -> set //===== Contact Info: ======================================== //= [Stolao] //= Email: [email protected] //============================================================ - script LOGIN -1,{ OnWhisperGlobal: OnLoginCmnd: OnPCLoginEvent: if(.Rest) message strcharinfo(0),"[Daily Rewards]: to collec reward you must remain logged in for "+ .Rest +" Minuets"; sleep2 1000 + .Rest * 60000; set [email protected], (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) +gettime(2); if([email protected] >= (#LastDailyReward + .MinWait)){ if([email protected] < #LastDailyReward + .MaxWait){ set #DRewardCon, #DRewardCon + 1; } else { set #DRewardCon, 0; } set [email protected], (#DRewardCon > getarraysize(.Rewards$)) ? (getarraysize(.Rewards$)-1) : #DRewardCon; explode([email protected]$,.Rewards$[[email protected]],"|"); for(set [email protected],0; [email protected] < getarraysize([email protected]$); set [email protected],[email protected] + 1){ set [email protected][[email protected]], atoi([email protected]$[[email protected]]); } if(.Mode & 1 && [email protected][4]){ //[Note]: I need to figure out a checkweight for all items tired atm lol, for now ill leave it missing for(set [email protected],4; [email protected] < getarraysize([email protected]); set [email protected],[email protected] + 2){ getitem [email protected][[email protected]], [email protected][[email protected]+1]; message strcharinfo(0),"Recived "+ [email protected][[email protected]+1] +" "+ getitemname([email protected][[email protected]]); } } if(.Mode & 2){ if([email protected][0]){ set zeny,zeny + [email protected][0]; message strcharinfo(0),"Recived "+ [email protected][0] +"z"; } if([email protected][1]){ set getd(.Points$[0]),getd(.Points$[0]) + [email protected][1]; message strcharinfo(0),"Recived "+ [email protected][1] +" "+.Points$[1]; } } if(.Mode & 4 && ([email protected][3] || [email protected][4])) getexp [email protected][3], [email protected][4]; if(.Mode & 8){ for(set [email protected],0; [email protected] < getarraysize(.BuffInfo); set [email protected],[email protected] + 4){ if(#DRewardCon % .BuffInfo[[email protected] + 1] == 0) sc_start .BuffInfo[[email protected]], .BuffInfo[[email protected] + 2] * 60000, .BuffInfo[[email protected] + 3]; } } message strcharinfo(0),"You have collected your daily reward, for "+#DRewardCon+" day"+((#DRewardCon > 1)?"s":"")+" in a row."; set #LastDailyReward, [email protected]; } else { set [email protected],(#LastDailyReward + .MinWait - [email protected])/60/24; set [email protected],((#LastDailyReward + .MinWait - [email protected])/60)%24; set [email protected],(#LastDailyReward + .MinWait - [email protected])%60; message strcharinfo(0),"You have "+ (([email protected]) ? [email protected] +":Days " : "") +""+ (([email protected]) ? [email protected] +":Hours " : "") +""+ (([email protected]) ? [email protected] +":Minutes " : "") +"till your next reward"; } end; OnInit: //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("relog" ,"LOGIN::OnLoginCmnd",0,99); //Minimum Minuets Between Collecting Daily Reward // Day: 22*60 - 24*60 // Week: 10080 set .MinWait,1320; //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,0; //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$, "100", // Day 1: 100 Zeny "0|0|0|0|501|5", // Day 2: 5 Red Potion "0|0|0|0|503|5|506|5"; // Day 3: 5 White Potion + 5 Green Potion end; }
  7. Hello, I'm looking for an NPC script that will take a card (of their choosing) from a player and award some sort of points to redeem for item(s). Just a way to turn in useless cards for items like an OCA, etc. For example: I have 5 Poring Cards I want to turn in for 1 Card Point each. I talk to the NPC and it asks if I would like to turn them in for Card Points. It checks my inventory for cards that I can choose from to sell/exchange for points. Asks "are you sure?" Yes/No then awards the card points. Or I can choose to redeem an item from points, such as 5 Card Points for an Old Card Album. Ideal NPC layout/example: Thank you for your time!
  8. Oh! Thank you so much! I also had to remove the @ from @lastwarpname$ but you got me on the right track.
  9. Hello everyone, I'm currently using the script below and am wondering if it's possible for the Last Warp option to save through relogs? Currently Last Warp gets erased when characters log out. I'd like it to save the Last Warp per character even if they log out. Is this possible? Script I'm using atm: //--- Warpra 1.0.0 -----------------------------------------// //----------------------------------------------------------------// // ttt 000000000 // ttt 000 000 // ttttttttt rrrrrrrrr 000 000 nnnnnnnnn // ttt rrr 000 000 nnn nnn // ttt rrr 000 000 nnn nnn // ttt rrr 000 000 nnn nnn // ttttt rrr 000000000 nnn nnn //----------------------------------------------------------------// //--- Changelogs: ------------------------------------------------// // 1.0.0 Release //----------------------------------------------------------------// //--- Main Script ------------------------------------------------// prontera,147,203,4 script Warpra#1-1 708,{ function AddTown; function AddDungeon; function AddField; function LastWarp; //Activate|Deactivate menu here set .lastwarp, 1; set .towns, 1; set .dungeons, 1; set .fields, 1; //Set warp fee here set .townfee, 0; set .dungeonfee, 500; set .fieldfee, 250; set .lastwarpfee, 250; //Checks if maps are loaded, (prevents out of index) if(.mapsloaded==1) goto L_warpmenu; set .mapsloaded, 1; //Add Towns here AddTown("Prontera", "prontera", 155, 183); AddTown("PvP Arena", "arenalounge", 88,50); AddTown("Alberta", "alberta", 28, 234); AddTown("Aldebaran", "aldebaran", 140, 131); AddTown("Amatsu", "amatsu", 198, 84); AddTown("Ayothaya", "ayothaya", 150, 163); AddTown("Comodo", "comodo", 209, 143); AddTown("Einbech (Mining Village);", "einbech", 70, 95); AddTown("Einbroch", "einbroch", 64, 200); AddTown("Geffen", "geffen", 119, 59); AddTown("Gonryun", "gonryun", 160, 121); AddTown("Hugel", "hugel", 96, 145); AddTown("Izlude", "izlude", 128, 114); AddTown("Jawaii", "jawaii", 213, 230); AddTown("Lighthalzen", "lighthalzen", 158, 92); AddTown("Louyang", "louyang", 210, 108); AddTown("Lutie", "xmas", 147, 134); AddTown("Moscovia", "moscovia", 214, 183); AddTown("Morroc", "morocc", 156, 93); AddTown("Nameless Island", "nameless_n", 256, 215); AddTown("Niflheim", "niflheim", 85, 154); AddTown("Payon", "payon", 152, 75); AddTown("Rachel", "rachel", 130, 137); AddTown("Thor Camp", "thor_camp", 254, 90); AddTown("Veins", "veins", 216, 123); AddTown("Yuno", "yuno", 157, 51); AddTown("Umbala", "umbala", 145, 155); //Add Dungeons here AddDungeon("Abbey, Cursed Monastery", "abbey01", 51, 14); AddDungeon("Abyss Lakes", "abyss_01", 262, 273); AddDungeon("Amatsu Dungeon", "ama_dun01", 228, 11); AddDungeon("Anthell", "anthell01", 35, 262); AddDungeon("Beach Dungeon", "beach_dun", 266, 67); AddDungeon("Ayothaya Dungeon", "ayo_dun01", 275, 19); AddDungeon("Byalan Dungeon", "iz_dun00", 168, 168); AddDungeon("Clock Tower", "c_tower1", 199, 159); AddDungeon("Coal Mines", "mjo_dun01", 52, 17); AddDungeon("Culverts", "prt_sewb1", 131, 247); AddDungeon("Einbroch Dungeon", "ein_dun01", 22, 14); AddDungeon("Gefenia", "gefenia01", 40, 103); AddDungeon("Geffen Dungeon", "gef_dun00", 104, 99); AddDungeon("Glast Heim Church", "glast_01", 200, 134); AddDungeon("Glast Heim Churchyard", "gl_chyard", 147, 15); AddDungeon("Glast Heim Castle", "gl_cas01", 199, 27); AddDungeon("Glast Heim Underprison", "gl_prison", 18, 70); AddDungeon("Glast Heim Culvert", "gl_sew01", 258, 255); AddDungeon("Glast Heim Dungeon", "gl_dun01", 133, 271); AddDungeon("Gonryun Dungeon", "gon_dun01", 153, 53); AddDungeon("Hidden Dungeon", "prt_maze01", 176, 7); AddDungeon("Ice Dungeon", "ice_dun01", 157, 14); AddDungeon("Juperos Dungeon", "juperos_01", 53, 247); AddDungeon("Kiel Dungeon", "kh_dun01", 28, 226); AddDungeon("Lighthalzen Dungeon", "lhz_dun01", 150, 288); AddDungeon("The Royal Tomb", "lou_dun01", 218, 196); AddDungeon("Magma Dungeon", "mag_dun01", 126, 68); AddDungeon("Les Forest", "mosk_dun01", 132, 124); AddDungeon("Orc Dungeon", "orcsdun01", 32, 170); AddDungeon("Payon Dungeon", "pay_dun00", 21, 183); AddDungeon("Pyramids", "moc_pryd01", 192, 9); AddDungeon("Rachel Sanctuary", "ra_san01", 140, 11); AddDungeon("Sphinx", "in_sphinx1", 288, 9); AddDungeon("Sunken Ship", "treasure01", 69, 24); AddDungeon("Thanatos Tower", "tha_t01", 150, 39); AddDungeon("Thor Volcano", "thor_v01", 21, 228); AddDungeon("Toy Factory", "xmas_dun01", 205, 15); AddDungeon("Turtle Dungeon", "tur_dun01", 154, 49); AddDungeon("Umbala Dungeon", "um_dun01", 42, 31); AddDungeon("Yggdrasil", "yggdrasil01",38,64); //Add Fields here //AddField("<Map Menu Name>", <"map name">, <x>, <y>); AddField("Kokomo Beach", "cmd_fild02", 223, 370); AddField("Nifelheim Field", "nif_fild01", 341, 324); AddField("Rachel Field", "ra_fild04", 313, 379); AddField("Payon Field", "pay_fild02", 267, 114); AddField("Yuno Field", "yuno_fild06", 362, 138); L_warpmenu: mes "[^FF7700Warpra^000000]"; mes "Welcome!"; switch(select(((.lastwarp)?"Last Warp [^0000FF"+((@lastwarpname$)[email protected]$:"^0000FF-empty-^000000")+"^000000] (^FF0000"+.lastwarpfee+"z^000000)":""), ((.towns)?"Towns (^FF0000"+.townfee+"z^000000)":""), ((.dungeons)?"Dungeons (^FF0000"+.dungeonfee+"z^000000)":""), ((.fields)?"Fields (^FF0000"+.fieldfee+"z^000000)":""), "Exit")) { case 1: if (@lastwarpname$=="") close; if(Zeny<.lastwarpfee){mes "I'm sorry you don't have enought Zeny to warp, please try again later."; close;} set Zeny,Zeny-.lastwarpfee; warp @lastwarpmap$, @lastwarpx, @lastwarpy; break; case 2: set [email protected]$,""; for (set [email protected],0; [email protected] < getarraysize(.townname$); set [email protected],[email protected]+1) { if ([email protected]) set [email protected]$,[email protected]$+":"; set [email protected]$,[email protected]$+.townname$[[email protected]]; } set [email protected],select([email protected]$)-1; if(Zeny<.townfee){mes "I'm sorry you don't have enought Zeny to warp, please try again later."; close;} set Zeny,Zeny-.townfee; warp .townmap$[[email protected]],.townx[[email protected]],.towny[[email protected]]; LastWarp(.townname$[[email protected]], .townmap$[[email protected]], .townx[[email protected]], .towny[[email protected]]); break; case 3: set [email protected]$,""; for (set [email protected],0; [email protected] < getarraysize(.dungeonname$); set [email protected],[email protected]+1) { if ([email protected]) set [email protected]$,[email protected]$+":"; set [email protected]$,[email protected]$+.dungeonname$[[email protected]]; } set [email protected],select([email protected]$)-1; if(Zeny<.dungeonfee){mes "I'm sorry you don't have enought Zeny to warp, please try again later."; close;} set Zeny,Zeny-.dungeonfee; warp .dungeonmap$[[email protected]],.dungeonx[[email protected]],.dungeony[[email protected]]; LastWarp(.dungeonname$[[email protected]], .dungeonmap$[[email protected]], .dungeonx[[email protected]], .dungeony[[email protected]]); break; case 4: set [email protected]$,""; for (set [email protected],0; [email protected] < getarraysize(.fieldname$); set [email protected],[email protected]+1) { if ([email protected]) set [email protected]$,[email protected]$+":"; set [email protected]$,[email protected]$+.fieldname$[[email protected]]; } set [email protected],select([email protected]$)-1; if(Zeny<.fieldfee){mes "I'm sorry you don't have enought Zeny to warp, please try again later."; close;} set Zeny,Zeny-.fieldfee; warp .fieldmap$[[email protected]],.fieldx[[email protected]],.fieldy[[email protected]]; LastWarp(.fieldname$[[email protected]], .fieldmap$[[email protected]], .fieldx[[email protected]], .fieldy[[email protected]]); break; case 5: next; mes "[^FF7700Warpra^000000]"; mes "Bye!"; close; } function AddTown { if(getmapusers(getarg(1)) >= 0) { set .townname$[getarraysize(.townname$)], getarg(0); set .townmap$[getarraysize(.townmap$)], getarg(1); set .townx[getarraysize(.townx)], getarg(2); set .towny[getarraysize(.towny)], getarg(3); return; } return; } function AddDungeon { if(getmapusers(getarg(1)) >= 0) { set .dungeonname$[getarraysize(.dungeonname$)], getarg(0); set .dungeonmap$[getarraysize(.dungeonmap$)], getarg(1); set .dungeonx[getarraysize(.dungeonx)], getarg(2); set .dungeony[getarraysize(.dungeony)], getarg(3); return; } return; } function AddField { if(getmapusers(getarg(1)) >= 0) { set .fieldname$[getarraysize(.fieldname$)], getarg(0); set .fieldmap$[getarraysize(.fieldmap$)], getarg(1); set .fieldx[getarraysize(.fieldx)], getarg(2); set .fieldy[getarraysize(.fieldy)], getarg(3); return; } return; } function LastWarp { set @lastwarpname$, getarg(0); set @lastwarpmap$, getarg(1); set @lastwarpx, getarg(2); set @lastwarpy, getarg(3); return; } } rachel.gat,122,148,4 duplicate(Warpra#1-1) Warpra#1-12-2 708 alberta,110,137,4 duplicate(Warpra#1-1) Warpra#1-13-1 708 aldebaran,147,117,4 duplicate(Warpra#1-1) Warpra#1-14-1 708 amatsu,190,86,1 duplicate(Warpra#1-1) Warpra#1-15-1 708 ayothaya,147,123,6 duplicate(Warpra#1-1) Warpra#1-16-1 708 comodo,206,77,4 duplicate(Warpra#1-1) Warpra#1-17-1 708 einbech,196,83,4 duplicate(Warpra#1-1) Warpra#1-18-1 708 einbroch,182,172,4 duplicate(Warpra#1-1) Warpra#1-19-1 708 einbroch,243,189,2 duplicate(Warpra#1-1) Warpra#1-19-2 708 hugel,88,151,5 duplicate(Warpra#1-1) Warpra#1-110-1 708 lighthalzen,165,94,6 duplicate(Warpra#1-1) Warpra#1-111-1 708 geffen,116,59,0 duplicate(Warpra#1-1) Warpra#1-112-1 708 izlude,122,94,3 duplicate(Warpra#1-1) Warpra#1-113-1 708 xmas,149,136,4 duplicate(Warpra#1-1) Warpra#1-114-1 708 morocc,156,95,4 duplicate(Warpra#1-1) Warpra#1-115-1 708 payon,148,228,4 duplicate(Warpra#1-1) Warpra#1-116-1 708 yuno,160,170,4 duplicate(Warpra#1-1) Warpra#1-117-1 708 moc_fild04.gat,207,331,4 duplicate(Warpra#1-1) Warpra#1-118-1 708 izlu2dun.gat,104,82,4 duplicate(Warpra#1-1) Warpra#1-119-1 708 mjolnir_02.gat,85,363,4 duplicate(Warpra#1-1) Warpra#1-120-1 708 prt_fild05.gat,273,215,4 duplicate(Warpra#1-1) Warpra#1-121-1 708 glast_01.gat,370,308,4 duplicate(Warpra#1-1) Warpra#1-122-1 708 yuno_fild03.gat,37,135,4 duplicate(Warpra#1-1) Warpra#1-123-1 708 gef_fild10.gat,71,339,4 duplicate(Warpra#1-1) Warpra#1-124-1 708 pay_arche.gat,39,135,4 duplicate(Warpra#1-1) Warpra#1-125-1 708 moc_ruins.gat,64,166,4 duplicate(Warpra#1-1) Warpra#1-126-1 708 moc_fild19.gat,106,97,4 duplicate(Warpra#1-1) Warpra#1-127-1 708 alb2trea.gat,73,101,4 duplicate(Warpra#1-1) Warpra#1-128-1 708 tur_dun01.gat,148,239,4 duplicate(Warpra#1-1) Warpra#1-129-1 708 gonryun,162,122,4 duplicate(Warpra#1-1) Warpra#1-130-1 708 louyang,221,120,4 duplicate(Warpra#1-1) Warpra#1-131-1 708 umbala,95,164,4 duplicate(Warpra#1-1) Warpra#1-132-1 708 moscovia,220,198,4 duplicate(Warpra#1-1) Warpra#1-133-1 708 veins,217,127,4 duplicate(Warpra#1-1) Warpra#1-134-1 708 rachel,133,115,4 duplicate(Warpra#1-1) Warpra#1-135-1 708 arenalounge,90,75,5 duplicate(Warpra#1-1) Warpra#1-136-1 708 premcity,154,120,3 duplicate(Warpra#1-1) Warpra#1-137-1 708 Thank you for your time!
  10. Are you having a similar problem? That's the thing. Map server doesn't show any errors besides NPC script errors. (Which I have now corrected) If/when one of these issues occur again I'll monitor the map server and update here. Though, last time this happened there was no distinguishable/distinct error line.
  11. Hello there, Let me start off by saying I recently became an assistant admin for a server and I've been trying to fix some issues we've been having. This also means I may not know everything that has been set up on the server thus far. If some information is needed I'll ask the server owner to chime in. We've been having a couple of issues, perhaps related in some way. The first problem is player characters become stuck at their location cell. Visually it looks like you can take a single step then can no longer move. However using a skill or sitting rubber bands the player back to the cell they're stuck to. The second problem is Mobs/Monsters freeze in place. During this time Monsters do not move, do not aggro, are still killable/lootable and some may cast defensive skills such as high priests in bio3 silencing upon being attacked. (You can imagine players frantically racing to kill harder MVPs/mobs during these times. Lol.) We're unsure of the cause(s) but both issues have happened between 1-8 Days of Server Uptime, as well as requiring a full restart to remedy. They don't typically happen at the same time, either. If anyone has ideas or suggestions that we may try to solve these issues it would be greatly appreciated. Thank you for your time.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.