Jump to content

MarkSuck

Members
  • Posts

    24
  • Joined

  • Last visited

Posts posted by MarkSuck

  1. 30 minutes ago, chromatic05 said:

    Hello MarkStuck

    • When you patch your client make sure to check this option.

    image.png.0eb55224b0d350ec13ffad1d1f85fcc9.png

    • Open your grf file and go to data/luafiles514/service_korea and open ExternalSettings_kr.lub and edit the following: (Or simply just insert these before the function GetTableIntValueForC)
    EmblemDataUrl = {
        Upload = "http://127.0.0.1:8888/emblem/upload",
        Download = "http://127.0.0.1:8888/emblem/download"
    }

    image.png.9a592c539218cc444c757a0bf47a9626.png

    • Don't forget to change the port and the IP address that your webserver is using.

    Thank you sir i'll try just a moment. ^^

  2. On 9/6/2021 at 4:51 AM, Easycore said:

    You can use cutin script.

    *cutin "<filename>",<position>;
    
    This command will display a picture, usually an NPC illustration, also called
    cutin, for the currently attached client. The position parameter determines the
    placement of the illustration and takes following values:
    
    	0	bottom left corner
    	1	bottom middle
    	2	bottom right corner
    	3	middle of screen in a movable window with an empty title bar
    	4	middle of screen without the window header, but still movable
    	255	clear all displayed cutins

    But you also need to copy all the BMP files located in data.grf from 'texture\À¯ÀúÀÎÅÍÆäÀ̽º\cardbmp\' to 'texture\À¯ÀúÀÎÅÍÆäÀ̽º\illust\'.

    wow thank you sir!!

  3. On 6/22/2021 at 7:45 AM, Enoch said:

    HELLO GUYS I WANT TO ASK IF THERE'S A SCRIPT THAT CAN RENT A CART FOR ALL JOBS, BUT THE MAX WEIGHT FOR OTHERS JOB IS 2K MAX CART WEIGHT AND FOR MERCHANT CLASSS IS STILL 8K MAX WEIGHT. I HOPE THERE'S ONE THANK YOU VERY MUCH

    I found here

     

    • Love 1
  4. 7 hours ago, Emistry said:

    1. if you are checking for total of item count in current inventory

    getinventorylist;
    dispbottom "Your inventory has "+ @inventorylist_count +" items";

    2. if you are checking whether the player can hold the upcoming rewards

    if (checkweight(512, 100)) {
        getitem 512, 100; 
    }
    else {
    	dispbottom "You cant hold 100x Apple.";
    }
    

     

    Thank you sir.

    I try it's not check item count over 100

    exmple. if item count > 80 goto .....

    is it possible.

    Screenshot_1.png

  5. 22 hours ago, chadness said:

    i think you dont need to check for item count because you already have the script for weight check so if ithe item counts will exceed in weight it will already detect it

    It's deferent if item count is full 100/100 you can't keep item from any reward.

     

    21 hours ago, chadness said:

    ow i see got interested to this topic hope someone help you

    Hahahaha i hope so..

  6. 3 hours ago, Akkarin said:

    It's a web panel and an item that has a menu.. that's literally it.

    You can accomplish the same thing by using SQL for your items/mobs and FluxCP (or just phpmyadmin or similar will do) to change the values of an item. The GM item they use in-game will be an item that calls a function, the function provides a message and then a menu, when you select to reload the item db the script will run 'atcommand @reloaditemdb;'.

    Very easy to setup if you look at script_commands.txt in the Github repo.

    wow Thank you sir.

  7. On 9/10/2020 at 1:46 AM, Songbird said:

    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;
    }

     

    Thank you for this script

    How to config muti item id and price.

×
×
  • Create New...