Jump to content

hthuong

Members
  • Posts

    39
  • Joined

  • Last visited

Posts posted by hthuong

  1. exp_homum.txt

    //Homunculus LvUp experience value table
    50
    110
    180
    260
    350
    630
    950
    1310
    1710
    2150
    3180
    4300
    5510
    6810
    8200
    10800
    13560
    16480
    19560
    22800
    28090
    33630
    39420
    45460
    51750
    61500
    70910
    81030
    91510
    102350
    117580
    133300
    149510
    166210
    183400
    206480
    230200
    254560
    279560
    305200
    338450
    372510
    407380
    443060
    479550
    525590
    572630
    620670
    669710
    719750
    781500
    844460
    908630
    974010
    1040600
    1121280
    1203400
    1286960
    1371960
    1458400
    1561530
    1666350
    1772860
    1881060
    1990950
    2120350
    2251710
    2385030
    2520310
    2657550
    2817340
    2979380
    3143670
    3310210
    3479000
    3673600
    3870760
    4070480
    4272760
    4477600
    4711730
    4948750
    5188660
    5431460
    5677150
    5955830
    6237750
    6522910
    6811310
    7102950
    7431500
    7763660
    8099430
    8438810
    8781800
    9165840
    9553880
    9945920
    0   
    

  2. this event should be control by GM command, not by scripts

    read the youtube comment

    a gm summoning both MVP's to make em fight eachother -.-????

    how to reproduce

    // When a mob is attacked by another monster, will the mob retaliate against the master of said mob instead of the mob itself?

    // NOTE: Summoned mobs are both those acquired via @summon and summoned by Alchemists

    retaliate_to_master: no

    1. change to no, then @reloadbattleconf

    2. get 2 GM @hide

    3. @duel between both GM

    4. one GM "@summon 1916 999999999", another GM "@summon 2022 999999999"

    and you get the result

    so simple that everyone can do this in their server

    src\map\unit.c

    	if( src->type == BL_MOB )
    	switch( skill_num )
    	{
    		case NPC_SUMMONSLAVE:
    		case NPC_SUMMONMONSTER:
    		case AL_TELEPORT:
    			if( ((TBL_MOB*)src)->master_id && ((TBL_MOB*)src)->special_state.ai )
    				return 0;
    	}

    when a monster going to cast any of these 3 skills,

    if the monster has a master ID, or the monster itself is in special AI state, it wont summon a slave monster

    special_state.ai is like, a homunculus -> marine sphere .. flora

    or a player summoned monster

    src\map\atcommand.c

    ACMD_FUNC(summon)
    .......
    md->master_id=sd->bl.id;
    md->special_state.ai=1;

    I follow this way. And i enable mapflag monster_noteleport but monster still teleport. How to disable teleport of monster.

  3. Hello. I have problem with drop rate item in my server.

    My server have common drop rate is: x75

    item_rate_common: 7500
    item_rate_common_boss: 100
    item_drop_common_min: 1
    item_drop_common_max: 10000
    

    I have 2 item

    // ID,Sprite_Name,kROName,iROName,LV,HP,SP,EXP,JEXP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK,Range2,Range3,Scale,Race,Element,Mode,Speed,aDelay,aMotion,dMotion,MEXP,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per,Drop1id,Drop1per,Drop2id,Drop2per,Drop3id,Drop3per,Drop4id,Drop4per,Drop5id,Drop5per,Drop6id,Drop6per,Drop7id,Drop7per,Drop8id,Drop8per,Drop9id,Drop9per,DropCardid,DropCardper
    1516,INCREASE_SOIL,Increase Soil,Mi Gao,51,8230,0,2760,2110,1,560,700,30,12,40,45,23,12,69,12,10,12,1,0,62,0x91,445,106,1056,576,0,0,0,0,0,0,0,7264,4365,7004,2300,997,10,969,1,0,0,0,0,0,0,0,0,0,0,4231,1
    1884,MAVKA,Mavka,Mavka,63,19200,0,8301,6353,7,589,623,32,19,1,42,55,35,89,177,10,12,1,3,62,0x3885,170,1536,504,360,0,0,0,0,0,0,0,1572,5,629,300,707,300,710,50,747,2000,748,500,510,3000,0,0,0,0,0,0
    

    Mob id 1516

    DropID: 969

    Dropper: 1

    rate in game is 0.75%

    ~> 1 = 0.75%

    Mob id 1884

    DropID: 748

    Dropper: 500

    Rate in game is 25%

    ~> 1 = 0.05%

    Why is there such a difference? Please explain for me to understand.

    Thanks in advance.

  4. this is the file that enable mvp to summon servant..

    trunk/db/re/mob_skill_db.txt

    the only way to disable summon servant is...remove the skill cast that summon servant...for each monster you want..

    but it will affect the "normal" mvp ...because they shared the same file same data...because they are from same mob_id ...

    your available option.....

    create a new mob_db entry in mob_db file....and summon it using that new mob_id..

    Thanks

    The monsters do both attack each other... o.o

    OsB03.jpg

    Sorry I looked confused because there are so many servant

    Is there a way to have monsters be more like player summons so they don't attack any players and attack monsters they see?

    Or is that what the 0,1 combination does?

    http://rathena.org/b...er/#entry151417

  5. Same request

    You can spawn mobs with a custom 'ai':

    *monster "<map name>",<x>,<y>,"<name to show>",<mob id>,<amount>{,"<event label>",<size>,<ai>};

    <ai> can be:

    0 = none (default)

    1 = attack/friendly

    2 = sphere (Alchemist skill)

    3 = flora (Alchemist skill)

    4 = zanzou (Kagerou/Oboro skill)

    Using AI 0 and 1 on aggressive monsters will make them attack each other.

    -	script	hthuong	-1,{
    OnWhisperGlobal:
    if (getgroupid() < 99) close;
    monster "pvp_2v2", 46, 45, "Test mob 1", 1647, 1,strnpcinfo(0)+"::Dead",0,1;
    sleep2 2000;
    monster "pvp_2v2", 46, 45, "Test mob 2", 1785, 1,strnpcinfo(0)+"::Dead",0,1;
    }
    

    They not attack each other.

    How to call mvp monster without their servant

  6. my script

    mellina,33,78,4	script	Kinh Doanh Nhà Đất::guildreward	899,{
    mes "[^0000FFKinh Doanh Nhà Đất^000000]";
    mes "Ta đang có miếng đất trống đây ngươi có muốn mua không?";
    next;
    switch(select("Guild Home" ,
    			( getgroupid() < 99) ?"":"^FF0000[GM]^000000 Set Winner Guild" )
    ){
    	case 1:
    	if (getcharid(2) != .GuildID)
    	{
    		mes "[^0000FFKinh Doanh Nhà Đất^000000]";
    		mes "Dường như ngươi đến trể mất rồi tên GM Server mRO hắn mua đứt miếng đất này rồi";
    		mes "Hình như hắn mua cho Guild nào thắng WoE đó. Hmm. Mà hình như ngươi không nằm trong guild chiến thành WoE";
    		mes "Thôi by gặp lại sau nhé ";
    		break;
    	}
    	else
    	{
    		warp "home_r01",0,0;
    		break;
    	}
    	case 2:
    	goto GMCustom;
    }
    close;
    
    GMCustom:
    mes "Vui lòng nhập ID của guild đc phép vào GUILD HOUSE";
    mes "Guild hiện đang được vào GUILD HOUSE là guld ^FF0000" + getguildname(.GuildID) + "^000000 có ID ^FF0000" + .GuildID + "^000000";
    next;
    input .@guild_id;
    set .GuildID,.@guild_id;
    mes "Done !";
    close;
    
    /* Set guild id */
    OnInit:
    set .GuildID,1;
    
    
    /* check when pc warp to map */
    OnPCLoadMapEvent:
    //if (getgroupid() > 0) end;
    if (strcharinfo(3) == "home_r01")
    {
    	if (getcharid(2) != .GuildID)
    	{
    		mes "[^0000FFKinh Doanh Nhà Đất^000000]";
    		mes "Quá hạn thanh toán ....";
    		close2;
    		savepoint "mellina",85,55;
    		atcommand "@load";
    	}
    }
    }
    
    home_r01	mapflag	 loadevent
    home_r01	mapflag	nomemo
    

    Why if have 2 line below script will return error?

       	 mes "[^0000FFKinh Doanh Nhà Đất^000000]";
    		mes "Quá hạn thanh toán ....";
    		close2;
    

    error

    [Error]: script_rid2sd: fatal error ! player not attached!
    [Debug]: Function: strcharinfo (1 parameter):
    [Debug]: Data: number value=3
    [Debug]: Source (NPC): Kinh Doanh Nhà Đất at mellina (33,78)
    

  7. I find this error in my map server consoles

    [Error]: pc_getzeny: Obtaining negative Zeny (zeny=-987261323, account_id=2000619, char_id=151049).
    

    Besides, i find some novice player but have 998,000,000 zeny.

    I think it is zeny bug.

    Can somebody help me!!

    Thank you in advanced.

×
×
  • Create New...