Jump to content

java

Members
  • Posts

    251
  • Joined

  • Last visited

Posts posted by java

  1. On 6/9/2023 at 8:27 PM, Yukaiii said:

    Speak my dears!
    Today I'll be making available a very requested script. It's about the "CTF" That CTF from the xyler PK that I've seen several asking HAHA.
    There's only one but the script doesn't work. It could be because XileRO is eathena and eamod.
    If someone manages to make it work it will be a great achievement for all of us.
    I have all the other scripts.

    it's not only that script, it must have source too

     

  2. On 6/6/2023 at 1:28 AM, Melvant said:

    Kinda need help with Custome "clone" pet that look like master, like the hair style,hair color,body style and equipment.

    i have some of source code from eAmod thats maybe can be as a clue

    but its wont work at latest rAthena

     

    script.c

    //pet looks like master
    BUILDIN_FUNC(petclone)
    {
    	struct pet_data *pd;
    	TBL_PC *sd=script_rid2sd(st);
    	
    	if(sd==NULL || sd->pd==NULL)
    		return 0;
    
    	if( (pd = sd->pd) == NULL )
    		return 0;
    
    	memcpy( &pd->vd, &sd->vd, sizeof( pd->vd ) );
    
    	return 0;
    }
    
    //pet looks like master
    //tpye & 1 = sex
    //type & 2 = hair color
    //type & 4 = cloth dye
    //type & 8 = hair style
    //type & 16 = class
    //type & 32 = weapon
    //type & 64 = shield
    //type & 128 = top
    //type & 256 = middle
    //type & 512 = bottom
    BUILDIN_FUNC(petclonetype)
    {
    	struct pet_data *pd;
    	int type = 0;
    	TBL_PC *sd=script_rid2sd(st);
    	
    	if(sd==NULL || sd->pd==NULL)
    		return 0;
    
    	if( (pd = sd->pd) == NULL )
    		return 0;
    
    	type = conv_num(st,& (st->stack->stack_data[st->start+2]));
    
    	if( type & 1 )
    	{
    		pd->vd.sex = sd->vd.sex;
    	}
    	if( type & 2 )
    	{
    		pd->vd.hair_color = sd->vd.hair_color;
    	}
    	if( type & 4 )
    	{
    		pd->vd.cloth_color = sd->vd.cloth_color;
    	}
    	if( type & 8 )
    	{
    		pd->vd.hair_style = sd->vd.hair_style;
    	}
    	if( type & 16 )
    	{
    		pd->vd.class_ = sd->vd.class_;
    	}
    	if( type & 32 )
    	{
    		pd->vd.weapon = sd->vd.weapon;
    	}
    	if( type & 64 )
    	{
    		pd->vd.shield = sd->vd.shield;
    	}
    	if( type & 128 )
    	{
    		pd->vd.head_top = sd->vd.head_top;
    	}
    	if( type & 256 )
    	{
    		pd->vd.head_mid = sd->vd.head_mid;
    	}
    	if( type & 512 )
    	{
    		pd->vd.head_top = sd->vd.head_top;
    	}
    
    	if( ( pd->vd.class_ == JOB_BABY_BARD || pd->vd.class_ == JOB_BARD || pd->vd.class_ == JOB_CLOWN ) && pd->vd.sex == 0 )
    	{
    		pd->vd.sex = 1;
    	}
    	if( ( pd->vd.class_ == JOB_BABY_DANCER || pd->vd.class_ == JOB_DANCER || pd->vd.class_ == JOB_GYPSY ) && pd->vd.sex == 1 )
    	{
    		pd->vd.sex = 0;
    	}
    	return 0;
    }

    old pet_db

    5400,Clone,Clone,619,19327,,528,80,30,10,100,250,20,200,100,0,0,100,100,100,{ petclone; },{}
     
    5500,NOVICE_PET_M,Novice Pet Male,619,19328,,528,80,30,10,100,250,20,200,100,0,0,100,100,100,{ petclonetype (2|4|8|128|256|512); },{}
    5501,NOVICE_PET_F,Novice Pet Female,619,19329,,528,80,30,10,100,250,20,200,100,0,0,100,100,100,{ petclonetype (2|4|8|128|256|512); },{}
    5502,SWORD_PET_M,Swordman Pet,619,19330,,528,80,30,10,100,250,20,200,100,0,0,100,100,100,{ petclonetype (2|4|8|128|256|512); },{}
    5503,SWORD_PET_F,Swordwoman Pet,619,19331,,528,80,30,10,100,250,20,200,100,0,0,100,100,100,{ petclonetype (2|4|8|128|256|512); },{}
    5504,MAGE_PET_M,Mage Pet Male,619,19332,,528,80,30,10,100,250,20,200,100,0,0,100,100,100,{ petclonetype (2|4|8|128|256|512); },{}
    5505,MAGE_PET_F,Mage Pet Female,619,19333,,528,80,30,10,100,250,20,200,100,0,0,100,100,100,{ petclonetype (2|4|8|128|256|512); },{}
    5506,ARCHER_PET_M,Archer Pet Male,619,19334,,528,80,30,10,100,250,20,200,100,0,0,100,100,100,{ petclonetype (2|4|8|128|256|512); },{}
    5507,ARCHER_PET_F,Archer Pet Female,619,19335,,528,80,30,10,100,250,20,200,100,0,0,100,100,100,{ petclonetype (2|4|8|128|256|512); },{}

    Appreciated for the help,Thanks in advance.

    Still need ctf?

  3. Hi all.. i've been searching for fluxcp integrations with forums software like ipb, vb, phpbb, xenforo etc.. i saw 1 addons ( fluxcp fluxbb ) at rathena , provide by jupeto. i know him since at eathena 2006, after searhcing finally i found him. He has been busy for a long time XD, so i asked to him to write again the guide for his addons. after chit chat a bit long, he said : "if you can get at least 50 users to agree with you for me to write a new one, I'll write a new one 1f61b.png" then i decide to write here to ask all of you who need fluxcp forum integrations XD

    if any of you agreed, just replay here >.< i will gather all of you biggrin.png then 

    thank you before smile.png

  4. Ragnarok Online Hosting Private Server - Malaysia

    Server Details:

    Dedicated Server Details

    Server Hosted AIMS Secure Datacenter

    + Intel Quad Core Xeon E3-1230 3.2 Ghz Processor

    + 8GB DDR3 RAM Memory

    + 2Mbit Dedicated Bandwidth / Unlimited Transfer

    + 2 x 1TB Enterprise Grade Harddisk

    + Linux Platform (CentOS)

    + No bandwidth limit

     

    Website: http://www.ro-server.com/

    Service: http://www.ro-server.com/orders.html

    Order: http://www.ro-server.com/order.html

     

    kenapa advertise disini ? kan ada tempat nya hehe

×
×
  • Create New...