Jump to content

Songbird

Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by Songbird

  1. Hello, were you able to modify this window? It would be helpful if someone shares this knowledge
  2. I already sent a message to Akkarin as well, have been waiting for almost 3 years now And I'm in the same situation as you ?
  3. I've been waiting for my 1st ever Withdrawal for exactly 2 years, 4 months and 4 days and I'm still waiting. My original plan was to release lot of content I have and sell it but after waiting for some months and not getting my money I decided not to sell more stuff because I was afraid to lose that money. Right now I have approx 25 request in queue waiting for withdrawal starting from March 20, 2020 and the most recent April 2, 2022 I'm not trying to riot or something I'm not even mad and I have never argued about this, is not like I'm in need for this money like rn but yes, it was very discouraging for my main purpose to see this happening.
  4. I didn't mean to remove the whole function, just this line: if(!getarg(1)) { debugmes "Error in KDR function, getarg(1) invalid value"; return 0; } // [Lighta] Regarding your second question, I recommend you to call this event with "donpcevent ", for example, in your Arena PvP NPC you can write this line: prontera,158,193,3 script Arena PvP 801,{ donpcevent "Versus::OnPCLogoutEvent"; mes "[Loki]"; mes "What can I do for you today?"; switch(select("Player Ranking:PvP Statistic")){ case 1: //Player Ranking next; This way you're forcing to update when you talk with the NPC.
  5. Try using *preg_match(<regular expression pattern>,<string>{,<offset>}) Searches a string for a match to the regular expression provided. The offset parameter indicates the index of the string to start searching. Returns offsets to captured substrings, or 0 if no match is found. This command is only available if the server is compiled with the regular expressions library enabled. Something like this could work: if (preg_match("^[a-zA-Z0-9]+$",.@yourString$) { // This means it found a coincidence, meaning that no symbols where fund } else { // No matches, symbols where found }
  6. This line... if(!getarg(1)) { debugmes "Error in KDR function, getarg(1) invalid value"; return 0; } // [Lighta] I can't find any purpose for it, I recommend you to delete it. Check if script works well without it //Ghost's KDR Algorithm function script KDR_Calc { if(!getarg(1)) { debugmes "Error in KDR function, getarg(1) invalid value"; return 0; } // [Lighta] if(getarg(0) >= getarg(1)){ if(getarg(1)){ set .@i, getarg(0)/getarg(1); if((getarg(0)%getarg(1)) == 0){ return .@i+".00"; } set .@j, (getarg(0)%getarg(1))*100/getarg(1); return .@i+"."+.@j; } else { return getarg(0)+".00"; } } if(getarg(0) < getarg(1)){ if(getarg(0)){ set .@i, (getarg(0)*10)/getarg(1); set .@j, ((getarg(0)*10)%getarg(1))*10/getarg(1); return "0."+.@i +.@j; } else { return "0.00"; } } }
  7. Try this script I made (Is not tested so it could not work): prontera,150,150,7 script Quick Sell NPC#QSN1 815,{ goto OnClick; end; OnInit: // = CONFIGURE YOUR NPC HERE ========== // Enter the Item ID the NPC will buy .buyItemID = 999; // If 1, the npc will buy all the item stack at once .buyAllItems = 0; // If .buyAllItems is 0, NPC will buy the quantity set here .buyQuantity = 1; // Show deal message: 1 or not: 0 .showDealMessage = 1; // ==================================== waitingroom "B>" + getitemname(.buyItemID),0; end; OnClick: if (countitem(.buyItemID)) { .@itemPrice = getiteminfo(.buyItemID,1); if (.buyAllItems) { Zeny += .@itemPrice * countitem(.buyItemID); .@zenyEarned = .@itemPrice * countitem(.buyItemID); if (.showDealMessage) dispbottom "You sold " + countitem(.buyItemID) + " " + getitemname(.buyItemID) + " for " + callfunc("F_InsertComma",.@zenyEarned) + " Zeny."; delitem .buyItemID,countitem(.buyItemID); } else { if (.buyQuantity > 1 && countitem(.buyItemID) < .buyQuantity) { Zeny += .@itemPrice * countitem(.buyItemID); .@zenyEarned = .@itemPrice * countitem(.buyItemID); if (.showDealMessage) dispbottom "You sold " + countitem(.buyItemID) + " " + getitemname(.buyItemID) + " for " + callfunc("F_InsertComma",.@zenyEarned) + " Zeny."; delitem .buyItemID,countitem(.buyItemID); } Zeny += .@itemPrice * .buyQuantity; .@zenyEarned = .@itemPrice * .buyQuantity; if (.showDealMessage) dispbottom "You sold " + .buyQuantity + " " + getitemname(.buyItemID) + " for " + callfunc("F_InsertComma",.@zenyEarned) + " Zeny."; delitem .buyItemID,.buyQuantity; } } else { dispbottom "Not enough items to sell."; } end; }
  8. Bump, I would like if someone shares the solution for this.
  9. Hi (an apology for my English), we use the Quest System like this: 45002,600,1063,20,0,0,0,0,0,0,0,0,0,0,0,0,0,"Example" So you have 10 minutes to kill 20 Lunatics and everything works well, what we're trying to do is to prevent this message from coming out every time the Lunatic counter increases. Can someone help us to find where to change that message or even better prevent it from coming out?
  10. Srry for my bad English Hi, this is awesome, seriously I was serching for this. I hope you dont mind if I post here another Style - Color Theme for the language, the colors they were not to my liking so I chage them a little to be more user-friendly I think? There, hope you like it. How to use it: Goto /user/.atom/packages/language-athena/styles/ Back-up the original (just in case) Paste and replace (if you want) Restart Atom styles.less
×
×
  • Create New...