Jump to content

kasim03

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by kasim03

  1. i have an error with the hairstyle reset to "0" i should fix it to 1 or a number other than 0

    watch this vid

     

    i already fix it...

    original :
    min_hair_style: 0
    max_hair_style: 43
    min_hair_color: 0
    max_hair_color: 251
    min_cloth_color: 0 
    max_cloth_color: 553
     

    after edit :
    min_hair_style: 1
    max_hair_style: 43
    min_hair_color: 1
    max_hair_color: 251
    min_cloth_color: 1 
    max_cloth_color: 553

     

    tq for a nice script... ?


  2. hi chris... You have a very interesting script, one of which is MVP Rank, I have tried this script, but can this shop point be changed according to the item I want to sell? I do not want to sell MVP Cards as in the script, if possible I want to decide for myself what I want to sell as well as the price of items that I can change.

  3. On 2/25/2013 at 5:07 AM, Bahmut said:

    I think this is what you are searching for:

    http://www.eathena.ws/board/index.php?showtopic=265121&hl=old+payon+warps

     

    If you don't have an account there:

    
    payo2,17,151,0	warp	oldpay00	1,1,pay_gld,370,149
    //pay_gld,374,149,0	warp	oldpay00-1	1,1,payo2,21,151
    payo2,111,173,0	warp	oldpay01	1,2,pa2_in01,15,68	
    payo2,133,81,0	warp	oldpay02	2,2,pa2_in01,134,171	
    payo2,141,91,0	warp	oldpay03	2,2,pa2_in01,98,173	
    payo2,172,133,0	warp	oldpay04	1,2,pa2_in01,163,108	
    payo2,175,189,0	warp	oldpay05	4,2,pay_arche,81,22	
    payo2,189,69,0	warp	oldpay06	2,4,pay_fild08,20,74	
    payo2,22,174,0	warp	oldpay07	2,1,pa2_in01,98,25	
    payo2,30,176,0	warp	oldpay08	2,1,pa2_in01,80,63	
    payo2,38,174,0	warp	oldpay09	2,1,pa2_in01,142,45	
    payo2,68,173,0	warp	oldpay10	1,2,pa2_in01,44,138	
    payo2,90,167,0	warp	oldpay11	2,1,pa2_in01,72,89	
    payo2,90,25,0	warp	oldpay12	5,3,pay_fild01,333,356	
    pa2_in01,101,25,0	warp	oldpay13	1,3,payo2,22,171	
    pa2_in01,111,177,0	warp	oldpay14	2,3,pa2_in01,129,177	
    pa2_in01,113,107,0	warp	oldpay15	1,2,pa2_in01,63,107	
    pa2_in01,113,143,0	warp	oldpay16	1,2,pa2_in01,63,145	
    pa2_in01,113,77,0	warp	oldpay17	1,2,pa2_in01,63,99	
    pa2_in01,12,68,0	warp	oldpay18	1,3,payo2,108,173	
    pa2_in01,122,107,0	warp	oldpay19	1,2,pa2_in01,80,107	
    pa2_in01,122,77,0	warp	oldpay20	1,2,pa2_in01,80,99	
    pa2_in01,124,143,0	warp	oldpay21	1,2,pa2_in01,80,145	
    pa2_in01,126,177,0	warp	oldpay22	2,3,pa2_in01,108,177	
    pa2_in01,130,36,0	warp	oldpay23	3,2,pa2_in01,70,72	
    pa2_in01,134,168,0	warp	oldpay24	3,1,payo2,129,81	
    pa2_in01,143,179,0	warp	oldpay25	1,3,pa2_in01,167,179	
    pa2_in01,145,45,0	warp	oldpay26	1,3,payo2,38,171	
    pa2_in01,160,108,0	warp	oldpay27	1,3,payo2,169,133	
    pa2_in01,164,179,0	warp	oldpay28	1,2,pa2_in01,140,179	
    pa2_in01,167,74,0	warp	oldpay29	1,2,pa2_in01,168,50	
    pa2_in01,168,53,0	warp	oldpay30	1,2,pa2_in01,167,77	
    pa2_in01,170,100,0	warp	oldpay31	1,2,pa2_in01,170,83	
    pa2_in01,170,119,0	warp	oldpay32	1,2,pa2_in01,170,136	
    pa2_in01,170,132,0	warp	oldpay33	1,2,pa2_in01,170,115	
    pa2_in01,170,87,0	warp	oldpay34	1,2,pa2_in01,170,104	
    pa2_in01,22,26,0	warp	oldpay35	3,2,pa2_in01,30,78	
    pa2_in01,26,115,0	warp	oldpay36	3,2,pa2_in01,30,129	
    pa2_in01,26,164,0	warp	oldpay37	3,2,pa2_in01,30,148	
    pa2_in01,30,126,0	warp	oldpay38	3,2,pa2_in01,26,112	
    pa2_in01,30,151,0	warp	oldpay39	3,2,pa2_in01,26,167	
    pa2_in01,30,59,0	warp	oldpay40	3,1,pa2_in01,52,32	
    pa2_in01,30,81,0	warp	oldpay41	3,2,pa2_in01,22,29	
    pa2_in01,47,138,0	warp	oldpay42	1,3,payo2,71,173	
    pa2_in01,52,35,0	warp	oldpay43	3,1,pa2_in01,30,62	
    pa2_in01,60,107,0	warp	oldpay44	1,2,pa2_in01,110,107	
    pa2_in01,60,145,0	warp	oldpay45	1,2,pa2_in01,110,143	
    pa2_in01,60,170,0	warp	oldpay46	3,1,pa2_in01,72,156	
    pa2_in01,60,99,0	warp	oldpay47	1,2,pa2_in01,110,77	
    pa2_in01,70,52,0	warp	oldpay48	3,2,pa2_in01,86,34	
    pa2_in01,70,75,0	warp	oldpay49	3,2,pa2_in01,130,39	
    pa2_in01,72,121,0	warp	oldpay50	3,1,pa2_in01,72,137	
    pa2_in01,72,134,0	warp	oldpay51	3,1,pa2_in01,72,118	
    pa2_in01,72,159,0	warp	oldpay52	3,1,pa2_in01,60,173	
    pa2_in01,72,86,0	warp	oldpay53	3,1,payo2,90,164	
    pa2_in01,83,107,0	warp	oldpay54	1,2,pa2_in01,125,107	
    pa2_in01,83,145,0	warp	oldpay55	1,2,pa2_in01,127,143	
    pa2_in01,83,63,0	warp	oldpay56	1,3,payo2,30,173	
    pa2_in01,83,99,0	warp	oldpay57	1,2,pa2_in01,124,77	
    pa2_in01,86,37,0	warp	oldpay58	3,2,pa2_in01,70,55	
    pa2_in01,98,170,0	warp	oldpay59	3,1,payo2,141,95	
    pa2_in02,10,25,0	warp	oldpay60	2,2,pa2_in02,72,67	
    pa2_in02,35,67,0	warp	oldpay61	2,2,pa2_in02,55,67	
    pa2_in02,50,4,0	warp	oldpay62	3,1,pay_arche,92,166	
    pa2_in02,52,67,0	warp	oldpay63	2,2,pa2_in02,32,67	
    pa2_in02,61,33,0	warp	oldpay64	2,2,pa2_in02,73,33
    pa2_in02,64,56,0	warp	oldpay65	2,2,pay_arche,141,161	
    pa2_in02,70,33,0	warp	oldpay66	2,2,pa2_in02,58,33	
    pa2_in02,75,67,0	warp	oldpay67	2,2,pa2_in02,13,25	
    pa2_in02,82,45,0	warp	oldpay68	2,2,pay_arche,74,153	

    I want to ask for help, do you have old script morocc and payon? I did not find it on github, I do not know if this link can help me.
    https://github.com/rathena/rathena/tree/e2e0a1818e6cacf93b75bbffb920344d48f8766b

    If possible I would like to get a list of spawn mobs in the old morocc field.

  4.  

    On 1/10/2020 at 2:43 AM, Disabled LOOLP said:
    
    Completing the script : @BeWan
    
    prontera,154,179,4	script	summoner	100,{
    
    if( countitem(512) > 500){
    	delitem 512,500;
    	monster "prontera", 0, 0, "Poring", 1005, 1, strnpcinfo(0) + "::OnMobKilled";
    	monster "prontera", 0, 0, "Poring", 1115, 1, strnpcinfo(0) + "::OnMobKilled";
    	end;
    }else{
    	mes "sorry you need 500 apple to summon";
    }
    
    OnMobKilled:
    set @amount, rand(1,5); //quantity of different items
    set @whatItem, rand(0,.@size); //Which item was chosen
    set @amountItem, rand(1,10); //Quantity of item you will receive
    
    for (i = 0; i < @amount; i++) {
    getitem @whatItem, @amountItem;
    }
    end;
    
    OnInit:
    setarray .@listItens[0],500,501,502,503,504,505,506,507; //Itens
    .@size = getarraysize(.@listItens); //Size Array Itens
    end;
    }

     

    this script have bug, item random not drop...

  5. 3 minutes ago, Disabled LOOLP said:
     
    
    To spawn random mobs, use the same array idea as the items, set the quantity, id of the mobs, and invoke the same way as the poring in question.
    
    Just use the array [x]
    alb2trea,84,69,4	script	summoner	100,{
    set .monster, .mob_id[.random];
    if( countitem(512) > 1){
    	delitem 512,1;
    	monster "alb2trea",0,0,getmonsterinfo(.monster, 0),.monster,.amount,strnpcinfo(0)+ "::OnMobKilled";
    	end;
    }else{
    	mes "sorry you need 1 apple to summon";
    }
    
    OnMobKilled:
    announce "Monster is already killed",0;
    set @amount, rand(1,5); //quantity of different items
    set @whatItem, rand(0,.@size); //Which item was chosen
    set @amountItem, rand(1,10); //Quantity of item you will receive
    
    for (i = 0; i < @amount; i++) {
    getitem @whatItem, @amountItem;
    }
    end;
    
    OnInit:
    
    		setarray .@listItems[0],501,502,503; //Items
    		.@size = getarraysize(.@listItems); //Size Array Items
    		setarray .mob_id[0],1002,1113,1399,1159;
    		set .size, getarraysize(.mob_id);
    		set .random, rand(.size);
    		set .amount, 2; // amount of monster spawned
    end;
    }
    

    I'm not sure if the script I'm editing is working properly or not.
    Monster spawn - ok
    Item use - ok
    Random spawn - not sure
    Random item drop - not sure

    and i have this error n bug??

    111.png.960fa8b3cf81f6371d39544640ba00af.png

  6. 4 hours ago, Disabled LOOLP said:
    
    Completing the script : @BeWan
    
    prontera,154,179,4	script	summoner	100,{
    
    if( countitem(512) > 500){
    	delitem 512,500;
    	monster "prontera", 0, 0, "Poring", 1005, 1, strnpcinfo(0) + "::OnMobKilled";
    	monster "prontera", 0, 0, "Poring", 1115, 1, strnpcinfo(0) + "::OnMobKilled";
    	end;
    }else{
    	mes "sorry you need 500 apple to summon";
    }
    
    OnMobKilled:
    set @amount, rand(1,5); //quantity of different items
    set @whatItem, rand(0,.@size); //Which item was chosen
    set @amountItem, rand(1,10); //Quantity of item you will receive
    
    for (i = 0; i < @amount; i++) {
    getitem @whatItem, @amountItem;
    }
    end;
    
    OnInit:
    setarray .@listItens[0],500,501,502,503,504,505,506,507; //Itens
    .@size = getarraysize(.@listItens); //Size Array Itens
    end;
    }

     

    Thanks for this script and for your help.

    Actually there is a little more to add, if possible, I want a random spawn mob.

     

  7. prontera,154,179,4	script	summoner	100,{
    monster "prontera", 157, 181, "Poring", 1005, 1, strnpcinfo(0) + "::OnMobKilled";
    monster "prontera", 157, 181, "Poring", 1115, 1, strnpcinfo(0) + "::OnMobKilled";
    end;
    
    
    OnMobKilled:
    getitem 501, 1; // 1 red potion
    end;
    }
    

    My plan is to have this script have a random spawn and to spawn it requires an item. If you press this npc it will ask for the item to avoid spam.

    I already love this script spawn, it just needs extra random spawn on this script. If possible, I want random items to fall off the mob as well.

     

    Thanks to those who helped me...?

  8. prontera,149,189,4    script    Event NPC    859,{
    function F_Warp;
    
        if (countitem(501) > 0)    goto    case_1;
        if (countitem(502) > 0)    goto    case_2;
        if (countitem(503) > 0)    goto    case_3;
     {
        case_1:
            F_Warp(501,1,"prontera",150,160);
            end;
        case_2:
            F_Warp(502,1,"prontera",150,160);
            end;
        case_3:
            F_Warp(503,1,"prontera",150,160);
            end;
        }
        end;
    
        function    F_Warp    {
            .@item = getarg(0);
            .@amount = getarg(1);
            .@map$ = getarg(2,"");
            .@x = getarg(3,0);
            .@y = getarg(4,0);
            if ( countitem(.@item) < .@amount ) {
                mes "You dont have enough item A to use Event NPC.";
                close;
            }
            delitem .@item, .@amount;
            warp .@map$, .@x, .@y;
            return;
        }
    }

    I tried to edit the script a little bit and this is the result.

     

    I think this is the solution, if there is a better script than this you can share it with me here.

  9. Good script you give, but I don't want to have a menu or 'mes' on the script, I just want the npc warp script to send players to different locations according to different items, just one click on npc it continues to send to the destination according to items owned by the player.?

     

  10. Hi Guy, i already create this script, but this script have bug and i need help to fix it...

    prontera,149,189,4    script    Event NPC    859,{
    
        if (countitem(501) > 0)    goto    callfunc    ("E_Warp1");
        if (countitem(502) > 0)    goto    callfunc    ("E_Warp2");
        else    
        mes    "you dont have item A to use Event NPC";    end;
    }
    function    script    E_Warp1    {
    
        if (countitem(501) > 0)    goto    warp ("prontera",151,185);
        end;
    }
    function    script    E_Warp2    {
    
        if (countitem(502) > 0)    goto    warp ("prontera",151,185);
        end;
    }

    i want make script can send you to different warp with different items, this script work but have bug.. i already use other script but have error... if you guy have script more simpler then this i like to try it...

    Desktop-1-7-2020-11-37-08-AM-571.png

  11. i hope someone can help me make script pvp with auto and random buff...
    my plan with small map pvp this, those who stay longer in pvp can get random buff like give stat buff...

    example:
     

    Quote

     

    1. sc_start SC_AGIFOOD,180000,3;
    2. sc_start SC_VITFOOD,180000,3;
    3. sc_start SC_VITFOOD,180000,3;
    4. and more....

     

    sry my bad english and thx for help...

  12. location script : /npc/events/idul_fitri.txt

    i need someone help me change this script for me...

    Actually I have a bit of editing in this script ...
    My problem, how to make this event active for 7 days after Ramadan.
    Now this script is only active on 'June /16/18' and only happens 1 time after ramadan.

    //===== rAthena Script ======================================= 
    //= Feast Day Of Ramadan Idul Fitri Event
    //===== By: ================================================== 
    //= $ephiroth
    //===== Current Version: ===================================== 
    //= 1.1
    //===== Compatible With: ===================================== 
    //= rAthena Project
    //===== Description: ========================================= 
    //= Info : Official idRO
    //= 2006/10/16: 1.0 Release and fully working. [$ephiroth]
    //= 1.1 Replaced effect numerics with constants. [Samuray22]
    //============================================================
    
    scythero,99,81,0	script	Event Raya	58,{
    	mes "[Staff Idul Fitri]";
    	if((gettime(DT_MONTH)==JUNE && (gettime(DT_DAYOFMONTH)==16 || gettime(DT_DAYOFMONTH)==18))==0) {
    		mes "Congratulation! Celebrate Feast Day Of Ramadan Idul Fitri 1439 H.";
    		mes "This event will start at 1 Syawal and ends at 7 Syawal.";
    		specialeffect EF_SANDMAN;
    		next;
    		mes "[Info Events Raya]";
    		mes "I have something that might interest you.";
    		mes "I need all of the following items:";
    		mes "^D5A500Ketupat Sayur Ingredient :^000000";
    		mes "^00B6FF~5 Ketupat, 5 Carrot~,^000000";
    		mes "^CC6633~5 Sweet Potato, 10 Meat~,^000000";
    		mes "^000088~2 Green Herb, 5 Stem~.^000000";
    		next;
    		mes "[Info Events Raya]";
    		mes "If you collect all ingredient, I will cook it to you.";
    		mes "and give you ^D5A500 3 Ketupat Sayur^000000";
    		mes "You want to know what is the effect of ^D5A500 Ketupat Sayur^000000 ?";
    		next;
    		OnStartMenu:
    		menu "Yes",Y_info,"No",N_info;
    Y_info:
    	mes "[Info Events Raya]";
    	mes "^D5A500Ketupat Sayur :^000000";
    	mes "Heal 100%.";
    	mes "Give All Stat +5.";
    end;
    
    N_info:
    	mes "[Info Events Raya]";
    	mes "Oh well, I hope we meet again.";
    end;
    
    	}
    	mes "Haii......^FF8800"+strcharinfo(0)+"^000000!!";
    	mes "First day of Idul Fitri has arrived.";
    	mes "Congratulation celebrate him.";
    	mes "There is event special today.";
    	next;
    	mes "[Staff Idul Fitri]";
    	mes "Event today.....^009500Idul Fitri Quest!^000000";
    	next;
    	mes "[Staff Idul Fitri]";
    	mes "If you interest to follow this event, I will cook it to you.";
    	next;
    	switch(select("Allright. I like that!!","Next time.... Thanks.")){
    	case 1:
    		mes "[Staff Idul Fitri]";
    		mes "I have something that might interest you.";
    		mes "I need all of the following items:";
    		mes "^D5A500Ketupat Sayur Ingredient :^000000";
    		mes "^00B6FF~5 Ketupat, 5 Carrot~,^000000";
    		mes "^CC6633~5 Sweet Potato, 10 Meat~,^000000";
    		mes "^000088~2 Green Herb, 5 Stem~.^000000";
    		next;
    		mes "[Staff Idul Fitri]";
    		if ( (countitem(552)<5 || countitem(515)<5 ||countitem(516)<5 || countitem(517)<10 || countitem(511)<2 || countitem(905)<5) ) { 
    			mes "You don't have enough items.";
    			mes "Come back when you have them all.";
    			close;
    		}
    		delitem 552,5;
    		delitem 515,5;
    		delitem 516,2;
    		delitem 517,10;
    		delitem 511,2;
    		delitem 905,5;
    		mes "I see you already have all the items you need.";
    		mes "Just a moment, please!!";
    		next;
    		mes "^009500-Plupping snapping bubbling~^000000";
    		next;
    		mes "^009500-Clinking clingking~^000000";
    		next;
    		mes "^009500-Clang clang~^000000";
    		getitem 583,2;
    		next;
    		mes "[Staff Idul Fitri]";
    		mes "We appreciate your participation in this special event.";
    		close;
    	case 2:
    		mes "[Staff Idul Fitri]";
    		mes "Oh well, maybe you will participate in tommorow's quest.";
    		close;
    	}
    
    	OnInit:
    	waitingroom "Event Raya",0;
    	end;
    }

    Sry my bad english... and thx for help...

  13. I have problem here with SQL Table...

    Quote

    //SQL Table for Ghost's PvP System
    CREATE TABLE IF NOT EXISTS `pvp_rank` (
      `char_id` int(11) NOT NULL,
      `account_id` int(11) NOT NULL,
      `char` varchar(30) NOT NULL,
      `kill` int(11) NOT NULL,
      `death` int(11) NOT NULL,
      `kdr` varchar(30) NOT NULL,
      `killingstreak` int(11) NOT NULL,
      `multikill` int(11) NOT NULL,
      `killingspree` int(11) NOT NULL,
      `dominating` int(11) NOT NULL,
      `megakill` int(11) NOT NULL,
      `unstoppable` int(11) NOT NULL,
      `wickedsick` int(11) NOT NULL,
      `monsterkill` int(11) NOT NULL,
      `godlike` int(11) NOT NULL,
      `beyondgodlike` int(11) NOT NULL,
      `doublekill` int(11) NOT NULL,
      `triplekill` int(11) NOT NULL,
      `ultrakill` int(11) NOT NULL,
      `rampage` int(11) NOT NULL,
      `ownage` int(11) NOT NULL,
      `nemesiskill` int(11) NOT NULL,
      `feedcount` int(11) NOT NULL,
      PRIMARY KEY (`char_id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;

    when I try copy this and make sql, then I try Import.. after that become like this :

     

    Quote

     

    Error

    Static analysis:

    2 errors were found during analysis.

    1. Ending quote ' was expected. (near "" at position 902)
    2. Unrecognized statement type. (near "SQL" at position 2)

    SQL query:

    //SQL Table for Ghost's PvP System CREATE TABLE IF NOT EXISTS `pvp_rank` ( `char_id` int(11) NOT NULL, `account_id` int(11) NOT NULL, `char` varchar(30) NOT NULL, `kill` int(11) NOT NULL, `death` int(11) NOT NULL, `kdr` varchar(30) NOT NULL, `killingstreak` int(11) NOT NULL, `multikill` int(11) NOT NULL, `killingspree` int(11) NOT NULL, `dominating` int(11) NOT NULL, `megakill` int(11) NOT NULL, `unstoppable` int(11) NOT NULL, `wickedsick` int(11) NOT NULL, `monsterkill` int(11) NOT NULL, `godlike` int(11) NOT NULL, `beyondgodlike` int(11) NOT NULL, `doublekill` int(11) NOT NULL, `triplekill` int(11) NOT NULL, `ultrakill` int(11) NOT NULL, `rampage` int(11) NOT NULL, `ownage` int(11) NOT NULL, `nemesiskill` int(11) NOT NULL, `feedcount` int(11) NOT NULL, PRIMARY KEY (`char_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;

    MySQL said: Documentation

    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '//SQL Table for Ghost's PvP System
    CREATE TABLE IF NOT EXISTS `pvp_rank` (
      `' at line 1

     

    what should I do with this?

    Ghost's PvP System v1.0.sql

×
×
  • Create New...