Jump to content

hendra814

Members
  • Content Count

    84
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by hendra814


  1. On 8/14/2018 at 1:32 PM, wasaru said:

    can anyone do me a script a buy skill points npc with limit of 10skill points to buy

    using this item 20x required

    itemid ,30001,"Ubercoins"

     

    thank you in advance :D

    not test, but try this

    prontera,147,162,5     script  Point Merchant  47,{
    // ===================== Settings ===========================
    set .@skillname$,"^0000FF[ Baldur ]^000000";
    set .numitem,30001;
    // ================== End of Settings =======================
    mes .@skillname$;
    mes "Hello ^FF0000["+strcharinfo(0)+"]^000000!";
    mes "What do you want to do?";
    next;
    switch(select("-Buy Skill Point:-Cancel")) {
    case 1:
    		if (.numitem < 22) {
    		mes "You don't have enough "+getitemname(.numitem)+"";
    		end;
    		}
    		
            mes .@skillname$;
            mes "Okay input the Amount";
            mes "of Points you want to buy!";
            next;
            mes .@skillname$;
            mes "1 Point has a cost of 20 pcs "+getitemname(.numitem)+"";
            input .@amount;
            delitem .numitem,.@amount*20;
            set SkillPoint, SkillPoint + .@amount;
            mes "There you are, enjoy your new points!";
            close;
            }
    case 2:
            mes .@skillname$;
            mes "Come again...";
            close;
    }

     


  2. Yesterday my hercules server detected some files as a virus by avast antivitus.

    and i got problem when load all the server beause missing some file include runserver.bat.

    now i try to recompile the server again, but runserver.bat still not appear in my hercules server folder.

    So please help me to fix this, how to show it again.

     herc.thumb.jpg.a1fc7ff5959404d8a8e9d599b0e25db1.jpg

    folder.jpg.e46f7ac71e03cb00b8eacee32c5c41c4.jpg


  3. 23 hours ago, Dastgir said:

    Remove the quotes.

    Constant's are without quotes

    already try change the script. after i remove the quote when load the script got error.

    1.jpg.f2c2c5a6e7c120dda58a9e1294336b1a.jpg

    okay here the lastest script works for hercules

    Spoiler
    
    //===== Hercules Script ======================================================
    //= Quest for Zodiac Headgeards
    //===== By: ==================================================================
    //= Ridley
    //===== Current Version: =====================================================
    //= 1.0
    //===== Description: =========================================================
    //= Rotates each month. January (Capricorn) to December (Sagittarius)
    //= Counts and displays required items and how much you miss
    //= Player can choose to make diadem or crown
    //============================================================================
    prontera,155,181,5	script	Zodiac#hats	4_F_PINKWOMAN,{
    	mes("[Zodiac of the Month]");
    	mes("Hello there, I am in charge of the Zodiac items. Please select which Zodiac item you are interested in.");
    		if (select("Zodiac Diadem", "Zodiac Crown") == 1) {
    			function Zodiac;
    			setarray .Zodiac[0], Capricon_Diadem, Aquarius_Diadem, Pisces_Diadem, Aries_Diadem, Taurus_Diadem, Gemini_Diadem, Cancer_Diadem, Leo_Diadem, Virgo_Diadem, Libra_Diadem, Scorpio_Diadem, Sagittarius_Diadem;
    		} else {		
    			function Zodiac;
    			setarray .Zodiac[0], Capricon_Crown, Aquarius_Crown, Pisces_Crown,	Aries_Crown, Taurus_Crown, Gemini_Crown, Cancer_Crown, Leo_Crown, Virgo_Crown, Libra_Crown, Scorpio_Crown, Sagittarius_Crown;
    		}
    	next;
    	mes("[Zodiac of the Month]");
    	mesf("Would you like to make 1 ^FF0000%s^000000 for the %dth Month of this year ?", getitemname (.Zodiac[gettime(6) -1]), (gettime(6)));
    	next;
    		if (select("Yes", "No") == 2)
    			close;
    	switch (gettime(6)) {
    	// (Item,Amount, Item,Amount,..);
    	case 1: Zodiac(7511, 300, 2256, 1, "Goat_Card", 1, 7107, 100, 7106, 100);
    		break;
    	case 2: Zodiac(7511, 300, "Aqua_Elemental_Card", 1, "Crystalized_Teardrop", 100, "Water_Of_Darkness", 20, "Holy_Water", 50);
    		break;
    	case 3: Zodiac(7511, 300, "Lip_Of_Ancient_Fish", 100, "Fisherman's_Dagger", 1, "Sword_Fish_Card", 1, "Water_Of_Darkness", 50);
    		break;
    	case 4: Zodiac(7511, 300, 2256, 1, "Book_Of_Blazing_Sun_", 1, 7107, 100, 7106, 100);
    		break;
    	case 5: Zodiac(7511, 300, "Nose_Ring", 100, "Hammer_Of_Blacksmith", 10, "Majoruros_Card", 1, "Minorous_Card", 1);
    		break;
    	case 6: Zodiac(7511,300, "Twinhorn_Helm",100, "Book_Of_Gust_Of_Wind_",1, "Rough_Wind",15, "Windhawk",1);
    		break;
    	case 7: Zodiac(7511,300, 960,100, 991,50, 943,100, 4049,1);
    		break;
    	case 8: Zodiac(7511,300, "Tiger_Footskin",1, "Horn_Of_Hilsrion",100, "Hilsrion_Card",1, "Horn_Of_Hilthrion",1);
    		break;
    	case 9: Zodiac(7511,300, "Skirt_Of_Virgin",1, "Kiss_Of_Angel",1, "Angel's_Arrival",1, "Angel's_Warmth",1, "Angel's_Safeguard",1, "Angel's_Protection",1, "Angelic_Chain",1);
    		break;
    	case 10: Zodiac(7511,300, "Whip_Of_Balance",1, "Prohibition_Red_Candle",1, "Red_Feather",50, "Injustice_Card",1);
    		break;
    	case 11: Zodiac(7511,300, "Scorpion_Card",1, "Scorpion's_Tail",100, "Scropion's_Nipper",100);
    		break;
    	case 12: Zodiac(7511,300, "Piece_Of_Darkness",50, "Veteran_Axe",1, "Burning_Bow",1, "Burning_Heart",100);
    		break;
    	}
    	mes("[Zodiac of the Month]");
    	mesf("Awesome! Here you go. You gained ^FF0000%s^000000 for this month!", getitemname (.Zodiac[gettime(6) -1]));
    	getitem .Zodiac[gettime(6) -1], 1;
    	close;
    	function Zodiac {
    		mes("[  ^0000FF Required Items ^000000  ]\r"
    			"^FFFFFF________________________________^000000");
    		for (@i = 0; getarg(.@i, 0); .@i+=2) {
    			mesf(((countitem(getarg(.@i)) < getarg(.@i + 1))?"^FF0000":"^0000FF")+"[ %d / %d ] ^0000FF%s^000000", countitem(getarg(.@i)), getarg(.@i + 1), getitemname(getarg(.@i)));
    				if (countitem(getarg(.@i)) < getarg(.@i + 1))
    					.@j++;
    		}
    		mes("^FFFFFF________________________________^000000");
    		if (.@j) {
    		mesf("[  ^FF0000Await completion for %d Items^000000  ]", .@j);
    			close;
    		}
    		next;
    			if (select("^FF0000Continue^000000", "Cancel") == 2) close;
    			for(.@i = 0; getarg(.@i,0); .@i+=2)
    			delitem getarg(.@i), getarg(.@i + 1);
    			return;
    	}
    }

     

     


  4. 13 hours ago, OverLord said:

    Have one way in Party vs Party i get friendly monster for each party and this monster attack only monster from other party and players from party?

    using @summon command. but this i'm creating for rathena.

    not test yet for hercules.

    screenrAthena028.thumb.jpg.c549571064b848b64ec561fff10c2af2.jpg


  5. 14 hours ago, Dastgir said:

    Problem is the item constant.

    Item constant cannot contain ' (which was allowed previously)

    most probably, just the ' is removed, so you can Replace "Goat's_Horn" with "Goats_Horn", however, you should double-check if constant exist in https://raw.githubusercontent.com/HerculesWS/Hercules/stable/db/re/item_db.conf (the AegisName field is the constant)

    @Dastgir

    Thank you very much, it's working now.

    Spoiler
    
    //===== Hercules Script ======================================================
    //= Quest for Zodiac Headgeards
    //===== By: ==================================================================
    //= Ridley
    //===== Current Version: =====================================================
    //= 1.0
    //===== Description: =========================================================
    //= Rotates each month. January (Capricorn) to December (Sagittarius)
    //= Counts and displays required items and how much you miss
    //= Player can choose to make diadem or crown
    //============================================================================
    prontera,155,181,5	script	Zodiac#hats	4_F_PINKWOMAN,{
    	mes("[Zodiac of the Month]");
    	mes("Hello there, I am in charge of the Zodiac items. Please select which Zodiac item you are interested in.");
    		if (select("Zodiac Diadem", "Zodiac Crown") == 1) {
    			function Zodiac;
    			setarray .Zodiac[0], Capricon_Diadem, Aquarius_Diadem, Pisces_Diadem, Aries_Diadem, Taurus_Diadem, Gemini_Diadem, Cancer_Diadem, Leo_Diadem, Virgo_Diadem, Libra_Diadem, Scorpio_Diadem, Sagittarius_Diadem;
    		} else {		
    			function Zodiac;
    			setarray .Zodiac[0], Capricon_Crown, Aquarius_Crown, Pisces_Crown,	Aries_Crown, Taurus_Crown, Gemini_Crown, Cancer_Crown, Leo_Crown, Virgo_Crown, Libra_Crown, Scorpio_Crown, Sagittarius_Crown;
    		}
    	next;
    	mes("[Zodiac of the Month]");
    	mesf("Would you like to make 1 ^FF0000%s^000000 for the %dth Month of this year ?", getitemname (.Zodiac[gettime(6) -1]), (gettime(6)));
    	next;
    		if (select("Yes", "No") == 2)
    			close;
    	switch (gettime(6)) {
    	// (Item,Amount, Item,Amount,..);
    	case 1: Zodiac("Rune_Of_Darkness",300, "Magestic_Goat",1, "Goat_Card",1, "Gaoat's_Skin",100, "Goats_Horn",100);
    		break;
    	case 2: Zodiac("Rune_Of_Darkness",300, "Aqua_Elemental_Card",1, "Crystalized_Teardrop",100, "Water_Of_Darkness",20, "Holy_Water",50);
    		break;
    	case 3: Zodiac("Rune_Of_Darkness",300, "Lip_Of_Ancient_Fish",100, "Fisherman's_Dagger",1, "Sword_Fish_Card",1, "Water_Of_Darkness",50);
    		break;
    	case 4: Zodiac("Rune_Of_Darkness",300, "Magestic_Goat",1, "Book_Of_Blazing_Sun_",1, "Gaoat's_Skin",100, "Goats_Horn",100);
    		break;
    	case 5: Zodiac("Rune_Of_Darkness",300, "Nose_Ring",100, "Hammer_Of_Blacksmith",10, "Majoruros_Card",1, "Minorous_Card",1);
    		break;
    	case 6: Zodiac("Rune_Of_Darkness",300, "Twinhorn_Helm",100, "Book_Of_Gust_Of_Wind_",1, "Rough_Wind",15, "Windhawk",1);
    		break;
    	case 7: Zodiac("Rune_Of_Darkness",300, "Nipper",100, "Crystal_Blue",50, "Solid_Shell",100, "Vadon_Card",1);
    		break;
    	case 8: Zodiac("Rune_Of_Darkness",300, "Tiger_Footskin",1, "Horn_Of_Hilsrion",100, "Hilsrion_Card",1, "Horn_Of_Hilthrion",1);
    		break;
    	case 9: Zodiac("Rune_Of_Darkness",300, "Skirt_Of_Virgin",1, "Kiss_Of_Angel",1, "Angel's_Arrival",1, "Angel's_Warmth",1, "Angel's_Safeguard",1, "Angel's_Protection",1, "Angelic_Chain",1);
    		break;
    	case 10: Zodiac("Rune_Of_Darkness",300, "Whip_Of_Balance",1, "Prohibition_Red_Candle",1, "Red_Feather",50, "Injustice_Card",1);
    		break;
    	case 11: Zodiac("Rune_Of_Darkness",300, "Scorpion_Card",1, "Scorpion's_Tail",100, "Scropion's_Nipper",100);
    		break;
    	case 12: Zodiac("Rune_Of_Darkness",300, "Piece_Of_Darkness",50, "Veteran_Axe",1, "Burning_Bow",1, "Burning_Heart",100);
    		break;
    	}
    	mes("[Zodiac of the Month]");
    	mesf("Awesome! Here you go. You gained ^FF0000%s^000000 for this month!", getitemname (.Zodiac[gettime(6) -1]));
    	getitem .Zodiac[gettime(6) -1], 1;
    	close;
    	function Zodiac {
    		mes("[  ^0000FF Required Items ^000000  ]\r"
    			"^FFFFFF________________________________^000000");
    		for (@i = 0; getarg(.@i, 0); .@i+=2) {
    			mesf(((countitem(getarg(.@i)) < getarg(.@i + 1))?"^FF0000":"^0000FF")+"[ %d / %d ] ^0000FF%s^000000", countitem(getarg(.@i)), getarg(.@i + 1), getitemname(getarg(.@i)));
    				if (countitem(getarg(.@i)) < getarg(.@i + 1))
    					.@j++;
    		}
    		mes("^FFFFFF________________________________^000000");
    		if (.@j) {
    		mesf("[  ^FF0000Await completion for %d Items^000000  ]", .@j);
    			close;
    		}
    		next;
    			if (select("^FF0000Continue^000000", "Cancel") == 2) close;
    			for(.@i = 0; getarg(.@i,0); .@i+=2)
    			delitem getarg(.@i), getarg(.@i + 1);
    			return;
    	}
    }

     

     


  6. not working, got error

    [Error]: script error in file 'npc/custom/zodiac.txt' line 18 column 4
        script:add_word: invalid word. A word consists of undercores and/or alphanumeric characters, and valid variable prefixes/postfixes.
        15:         next;
        16:         mes "[Zodiac of the Month]";
        17:                 mes "Would you like to make the Zodiac "+((.@Z==1)?"Diadem":"Crown")+" for the "+gettime(6)+"th Month of this year ?";
    *   18:                         ((is_clientver(0,54))?"<ITEM>"+getitemname(.Zodiac[gettime(6)-1])+"<INFO>"+.Zodiac[gettime(6) -1]+"</INFO></ITEM>":"^FF0000"+getitemname (.Zodiac[gettime(6)-1])+"^000000");
            ~~~~~~~~~~~~~~~~~~~~~~~~^
        19:         next;
        20:         if(select("Yes:No") == 2) close;
        21:         switch(gettime(6)){

    and so much error after edit that part.


  7. Need new option in NEMO,

    load custom OngoingQuestInfoList_Sakray.lub

    because when update my KRO client, it's became KRO test again.

     


  8. 4 hours ago, luan122 said:

    could you give me a working patch list? i cant make this work

    are you using packet obfuscation?

    because i didn't see disable packet encryption in your nemo log.

    here mine if you want to try 

    Spoiler

    2 Chat Flood Allow
    6 Force Send Client Hash Packet
    9 Disable 1rag1 type parameters (Recommended)
    13 Disable Ragexe Filename Check (Recommended)
    16 Disable Swear Filter
    19 Enable Title Bar Menu
    20 Extend Chat Box
    21 Extend Chat Room Box
    22 Extend PM Box
    23 Enable /who command (Recommended)
    24 Fix Camera Angles (Recommended)
    28 Increase Headgear ViewID
    33 Always Call SelectKoreaClientInfo() (Recommended)
    34 Enable /showname (Recommended)
    35 Read Data Folder First
    36 Read msgstringtable.txt (Recommended)
    38 Remove Gravity Ads (Recommended)
    39 Remove Gravity Logo (Recommended)
    40 Restore Login Window (Recommended)
    41 Disable Nagle Algorithm (Recommended)
    44 Translate Client (Recommended)
    46 Use Normal Guild Brackets (Recommended)
    47 Use Ragnarok Icon
    48 Use Plain Text Descriptions (Recommended)
    49 Enable Multiple GRFs (Recommended)
    51 Always Show License Screen
    52 Use Custom Font
    53 Use Ascii on All LangTypes (Recommended)
    61 Disable Packet Encryption
    64 @ Bug Fix (Recommended)
    65 Load Custom lua file instead of iteminfo*.lub (Recommended)
    68 Enable 64k Hairstyle
    69 Extend Npc Dialog Box
    71 Ignore Resource Errors
    72 Ignore Missing Palette Error
    74 Increase Screenshot Quality
    76 Enforce Official Login Background
    84 Remove Serial Display (Recommended)
    85 Show Cancel To Service Select
    86 Only First Login Background
    88 Allow space in guild name
    90 Enable DNS Support (Recommended)
    91 Disconnect to Login Window
    96 Remove GM Sprites
    97 Cancel to Login Window (Recommended)
    101 Skip Friend list Cheat Check
    102 Skip Guild Member Cheat Check
    104 Increase Hair Style & Color Limits
    115 Enable Effect for all Maps [Experimental]
    204 Increase Attack Display
    207 Resize Font
    208 Restore Cash Shop Icon
    212 Restore Roulette
    213 Disable Help Message on Login (Recommended)
    215 Increase Map Quality
    222 Show Replay Button
    223 Move Item Count Upwards [Experimental]
    225 Show Register Button
    234 Ignore Lua Errors

     


  9. can some one tell me what my problem is.

    here the detail, when i'm use 2017 client i could open advanced setting and change screen size by setup.exe

    Spoiler

    2017.jpg.5d2b5fc4e4b7c25e0f5bfb5012c71f29.jpg

    but when i'm use 2018 client, i'm can't open advanced setting and change screen size.

    what ever i'm pick in the setup.exe the game client always show 1024x600 (because this is max screen size in my laptop)

    Spoiler

    2018.jpg.61dccd8618b79b3ed717ed775aa6e1af.jpg

    my laptop using windows 7 32 bit.

    but when i'm run in my pc with windows 7 64 bit all function in 2018 game client work normal

    my KRO already update to the lastest.

    so what the problem is. because my friend use same os like my laptop and could open advanced settings too.

    once more, the problem when in char select, 5 top character screen select crop by default

    here the ss

    Spoiler

    new.thumb.jpg.23c92eef9be094b4b928569ae9c8c60e.jpg

    here my diff option

    Quote

    3 Chat Flood Remove Limit
    6 Force Send Client Hash Packet
    9 Disable 1rag1 type parameters (Recommended)
    13 Disable Ragexe Filename Check (Recommended)
    16 Disable Swear Filter
    19 Enable Title Bar Menu
    23 Enable /who command (Recommended)
    24 Fix Camera Angles (Recommended)
    33 Always Call SelectKoreaClientInfo() (Recommended)
    34 Enable /showname (Recommended)
    35 Read Data Folder First
    36 Read msgstringtable.txt (Recommended)
    37 Read questid2display.txt (Recommended)
    38 Remove Gravity Ads (Recommended)
    39 Remove Gravity Logo (Recommended)
    40 Restore Login Window (Recommended)
    41 Disable Nagle Algorithm (Recommended)
    44 Translate Client (Recommended)
    46 Use Normal Guild Brackets (Recommended)
    47 Use Ragnarok Icon
    48 Use Plain Text Descriptions (Recommended)
    49 Enable Multiple GRFs (Recommended)
    51 Always Show License Screen
    53 Use Ascii on All LangTypes (Recommended)
    61 Disable Packet Encryption
    64 @ Bug Fix (Recommended)
    65 Load Custom lua file instead of iteminfo*.lub (Recommended)
    71 Ignore Resource Errors
    72 Ignore Missing Palette Error
    76 Enforce Official Login Background
    84 Remove Serial Display (Recommended)
    85 Show Cancel To Service Select
    86 Only First Login Background
    88 Allow space in guild name
    90 Enable DNS Support (Recommended)
    91 Disconnect to Login Window
    96 Remove GM Sprites
    97 Cancel to Login Window (Recommended)
    104 Increase Hair Style & Color Limits
    115 Enable Effect for all Maps [Experimental]
    205 Enable Monster Tables
    208 Restore Cash Shop Icon
    212 Restore Roulette
    213 Disable Help Message on Login (Recommended)
    215 Increase Map Quality
    222 Show Replay Button
    223 Move Item Count Upwards [Experimental]
    225 Show Register Button
    238 Always Load Client Plugins [Experimental]

     


  10. 5 minutes ago, botka4aet said:

    Like this?

    
    // Network configuration file
    
    /*
     * List here any LAN subnets this server is in.
     * Example:
     * - char- (or map-) server's IP in LAN is 192.168.0.10
     * - Public IP is 198.51.100.37
     * If the list contains "192.168.0.10:255.255.255.0", any clients connecting
     * from the same 192.168.0.0/24 network will be presented with the LAN IP
     * (192.168.0.10) in the server list, rather than the public IP (198.51.100.37).
     */
    lan_subnets: (
    	"127.0.0.1:255.0.0.0",
    		// "192.168.1.1:255.255.255.0",
    )
    
    /*
     * List here any IP ranges a char- or map-server can connect from.
     * A wildcard of "0.0.0.0:0.0.0.0" means that server connections are allowed
     * from ANY IP. (not recommended).
     */
    allowed: (
    	// "0.0.0.0:0.0.0.0",
    	"127.0.0.1:255.0.0.0",
    )
    
    /*
     * List here any IP ranges a char- or map-server can connect from. These ranges
     * will also be excluded from the automatic ipban in casee of password failure.
     * Any entry present in this list is also automatically included in the
     * allowed IP list.
     * Note: This may be a security threat. Only edit this list if you know what
     * you are doing.
     */
    trusted: (
    	"127.0.0.1:255.0.0.0",
    )

     

    Just edit at lan_subnets,

    put your subnet network into lan_subnets

×
×
  • Create New...

Important Information

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