Jump to content

Songbird

Members
  • Posts

    19
  • Joined

  • Last visited

Posts posted by Songbird

  1. 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.

  2. Slot Machine - Items / Credits


    Songbird's Repo
    NPC, Scripts, Maps, Sprites, Mobs & More

    ==========================================================================================================================================

    Players love Slot Machines! Specially if it is easy to use with a pretty cutin-based interface!

    This is a configurable Slot Machine where you're able to change the Item ID allowing you to use a custom or existing item, like Apples or a Casino exclusive coin bought with Zeny, this NPC allows you to configure the Odds, Payoff, and Winnings so you will always win! It is user-friendly and has a realistic cutin-based animation (575 .bmp files where used to create this).

    WARNING: Bad use of this NPC can break your server's economy, if you don't know about Slot Machine formulas and odds, just configure the item ID ".CoinID" and "$SlotCoinPrice" variables.

    7527.gif.a2fbba8ec89746e06b204e8d94552aff.gif NPC INFORMATION:

    Slot Machine - This script is going to create 8 NPCs in the Comodo Casino, it is recommended to replace the cmd_in02 map with the provided one if you plan to use this location.

    • This Slot Machine has 5 images, here is the order from best to worse: Chest Coin, Bell, Yggdrasil, and Apple.
    • Configuration is script-based.
    • Prize is X times the bet (Depending on the multiplier) if the GiveItems feature is disabled.

    Features for GMs:

    • You can configure the Odds, Winnings, and Payoff (An excel document is provided to help you configure this).
    • GM Menu where you can see/erase statistics (Password protected), batch play-test to calculate winning chance or play normally (this doesn't affect common player statistics).
    • General Player statistics (Gives you information about how many games have been lost, how much Zeny has been spent and the quantity of items earned by the users. (You can set Credit - Zeny price relation to calculate this: Default = 0).
    • 2 Prize options:
      • Credit Mode: Give credits like normal Slot Machines, you get X times the bet for combinations.
      • GiveItem Mode: Instead of earning credits, users will earn Items. This option disables the option to bet more than 1 coin per game.
    • Play Test Mode: You can batch-play X number of games to see quick statistics.

    Features for Players:

    • Clean interface and easy to use (cutin-based animation).
    • Users can configure the spin speed so they can play faster.
    • Users can bet X1, X2, or x3 times in a single play. If they play x3 the Jackpot (3 Chests) pays extra (This is configurable too).
    • NPC Information (provided to the players) is updated automatically based in your configuration like winnings and prizes.
    • Sound feedback and effects!

    6238.gif.c972e7df46af21d91fad929a0869880d.gif WINNING COMBINATIONS (AND DEFAULT PRIZES):

    • 12399.gif.37be0eec1673c7a574d7da08a803965a.gif 12399.gif.37be0eec1673c7a574d7da08a803965a.gif 12399.gif.37be0eec1673c7a574d7da08a803965a.gif    x60
    • 7959.gif.38e51f5b292500b6216b3c3f002d7c7d.gif 7959.gif.38e51f5b292500b6216b3c3f002d7c7d.gif 7959.gif.38e51f5b292500b6216b3c3f002d7c7d.gif    x30
    • 10016.gif.3f2f7cbcae27abc17c1da8513ba50ce1.gif 10016.gif.3f2f7cbcae27abc17c1da8513ba50ce1.gif 10016.gif.3f2f7cbcae27abc17c1da8513ba50ce1.gif    x10
    • 12292.gif.f08db1b4c235c490d1a565f66fbde1e7.gif 12292.gif.f08db1b4c235c490d1a565f66fbde1e7.gif 12292.gif.f08db1b4c235c490d1a565f66fbde1e7.gif    x5
    • 512.gif.96eaa47f266736c4d524ed58a96af2de.gif 512.gif.96eaa47f266736c4d524ed58a96af2de.gif 512.gif.96eaa47f266736c4d524ed58a96af2de.gif    x3
    •   A     A   512.gif.96eaa47f266736c4d524ed58a96af2de.gif     x2
    •   A     B   512.gif.96eaa47f266736c4d524ed58a96af2de.gif     x1

    Where A and B can be any object.

    5137.gif.f090c01f14b912da0780e62a1730c110.gif WHAT CAN I DO WITH THIS NPC?

    You can use it in a lot of ways! Here are some examples:

    • To get event coins/tickets to be exchanged for other prices.
    • Zeny sink.
    • Poring Coins.
    • Cash Shop Pints (Custom item needed).
    • Costume Hat Ticket exchange.
    • Give coins so players can change them for items in this NPC, let luck decide.
    • And more!

    6037.gif.a809519e10f0c3b4285e0b64b372c050.gif FILE CONTENTS: (167 MB - 3 .rar files)

    • 1 Excel document to help you decide your winnings and payoff.
    • 1 Script
    • 1 Map (Replace cmd_in02 with this one if you plan to use this NPC here)
    • 6 .wav files (Sound effects)
    • 576 .bmp files (Cutins)
    • 1 sprite (A silver-colored version of the original Slot Machine NPC to match cutin)

    7942.gif.eaf062ee3f0ee6ac656a4db9a2f72995.gif  BUYING TERMS:

    • You are not allowed to redistribute this script in any way, shape, or form.
    • Chargeback scams are not tolerated and will get you punished on rAthena.
    • I still retain all rights to this script.
    • You can modify this script as you like, but to receive support you must tell me what you changed.
    • No Renewal, free updates.

    Contact Me on DiscordSongbird#3918

    IMPORTANT: If you bought this script before, please contact me trough Discord.


     

    • Upvote 1
  3. 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.

  4. 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
    }

     

    • Upvote 1
  5. 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";
    	}
     }
    }
  6. 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;
    }

     

    • Upvote 2
  7. 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.
    image.png.b6c39b55bf7e0c4114603ac589f0c871.png

    Can someone help us to find where to change that message or even better prevent it from coming out?

  8. 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...