Jump to content

REKT

Members
  • Posts

    206
  • Joined

  • Days Won

    1

Posts posted by REKT

  1. On 7/31/2020 at 9:08 AM, Capuche said:

    There is getunitdata to retrieve x y for monster. Sample untested :

    
    
    
    
    
    
    -	script	CustomDrop	FAKE_NPC,{
    function add_drop;
    
    OnNPCKillEvent:
    	if (!playerattached())
    		end;
    	.@mob_id = killedrid;
    	.@size = getd(".size_" + .@mob_id);
    	if (.@size < 1)
    		end;
    	getunitdata killedgid, .@v;
    	.@x = .@v[UMOB_X];
    	.@y = .@v[UMOB_Y];
    	.@map$ = strcharinfo(3);
    
    	for (.@i = 0; .@i < .@size; .@i++) {
    		.@chance = getd(".chance_" + .@mob_id + "[" + .@i + "]");
    		if (rand(10000) < .@chance) {
    			.@id = getd(".item_id_" + .@mob_id + "[" + .@i + "]");
    			.@amt = getd(".item_amount_" + .@mob_id + "[" + .@i + "]");
    			while (.@amt > 0) {
    				makeitem .@id, 1, .@map$, .@x, .@y;
    				.@amt--;
    			}
    		}
    	}
    	end;
    	
    OnInit:
    	// <mob_id>, <item_id>, <item_amount>, <chance>
    	// Chance ========================
    	// 10000 	= 100%
    	// 1000		= 10%
    	// 100		= 1%
    	// 99		= 0.99%
    	// 50		= 0.50%
    	// 1		= 0.01%
    	// ===============================
    	add_drop( 1002, 607, 2, 10000 );	// poring will drop 2 ygg berries on the floor with 100% chance
    	add_drop( 1002, 608, 3, 10000 ); // poring will drop 3 ygg seeds on the floor with 100% chance
    	end;
    
    function add_drop {
    	.@arg_count = getargcount();
    	if (.@arg_count % 4)
    		return;
    
    	for (.@i = 0; .@i < .@arg_count; .@i += 4) {
    		.@mob_id = getarg(.@i);
    		.@size = getd(".size_" + .@mob_id);
    		setd ".item_id_" + .@mob_id + "[" + .@size + "]", getarg(.@i+1);	// <item_id>
    		setd ".item_amount_" + .@mob_id + "[" + .@size + "]", getarg(.@i+2);	// <item_amount>
    		setd ".chance_" + .@mob_id + "[" + .@size + "]", getarg(.@i+3);	// <chance>
    		setd ".size_" + .@mob_id, .@size + 1;
    	}
    	return;
    }
    }

     

    Possible to add a setarrays map cuz i want something a specific maps? Thank you!

  2.  

    Sorry to bump this, but I've already updated the link to a new repository hosted in GitLab together with a new documentation on how to install this addon.

     

    https://gitlab.com/carloquilala/fluxbb

     

    NOTE: Some of the functions are not yet stable. I still need to look through the whole process, please bare with me :D

    there is a bug when you click the Administration on your fluxcp you will get this error. "Unauthorized" and it will redirect you to home. but when you view this Administration via fluxbb link you can access it. only on fluxcp

     

    Kindly please report it? i also follow this thread and so on with Hercules. i need this FluxBBCP badly.

  3. This error happens if the filename doesn't match the one used for the encryption. Make sure it is exact (it is case sensitive).

    Sorry i know this is soud stupid but, what do u mean doesnt match? U mean my GRF? So if i encrypt it e.g new.grf if encrypted it shoild be new.grf again? Am i corrrct?

    Than you Tokei i appreciate it!

  4.  

    UaNQuBq.png

    Hi, thanks for the respond i appreciate it. That is also my method.

    Howerver as i said to my post. It gives error when opening the client.

    Unmodified Your grf. Everything is smooh and works.if you encrypted it it shows error and missing lua files.

    When i get time.

    I'll make a video and show u the errors.

    UaNQuBq.png

    Hi, thanks for the respond i appreciate it. That is also my method.

    Howerver as i said to my post. It gives error when opening the client. my default GRF without any encrypt everything is smooth and works.if you encrypted it it shows error and missing lua files.

    When i get time.

    I'll make a video and show u the errors.

  5. Obviously, but most people have the common sense and decency to not just steal work and use it as their own.

    Though the concept is being used far and wide and I'm okay with that, simply re-using my graphic without my permission isn't okay.

    This is why many people in the RO community refuse to share their work and projects, because their work is stolen with no credit.

    I understand that. yeah your exactly right most pserver nowadays have this kind of Daily-Login (they ripped from your server and made their own).

    But overall the idea is unique don't worry your still the ORIGINAL :D

     

     

     

    This graphics is now everywhere 1 click of ScreenShot and edit >_>

    That still counts as stealing. Other people stealing stuffs doesn't make you stealing the same thing right.

    People with mindset like yours should not exist here.

     

    Yep i know, you don't have to tell me that. i'm way to old for that shit things.

    And also i don't do that kind of stuff stealing others work.

     

  6.  

     

    You just add in cutins, then reference the file names in the corresponding day in the bottom of my conf file. Google and wiki are your friends on how to add cutin files.

     

    Mine works perfectly thanks Stolao

     

    -- Removed Contents -- 

     

    Except for the fact that you stole my graphic work. :^]

     

    This graphics is now everywhere 1 click of ScreenShot and edit >_>

  7. Hi, i would like to ask for help, if anyone good in phpMyAdmin? i was wondering if how can i get rid of this warning/note?
    I tried to 'reload the privileges' but still keeps on poping up? anyone has knowledge to share how to fixed it?

    post-686-0-48950700-1469763731_thumb.png

     

    Thanks in advanced.

    Regards,
    - Keysito

  8. They're all official systems, but custom implementations and with customisation in mind. I mostly got tired with waiting for an emulator to develop them, so I did it myself.

     

    Since I don't have a kRO account, I looked at the client-side lubs (achievements are in System/achievements.lub, titles in datainfo/titletable.lub and random options are in datainfo/addrandomoptionname.lub and enumvar.lub) and used these to "guess" how they were implemented and worked back from there.

    You really did a great job on this, i think your the only person who works in this kind of system. i've waited also in the commits however i think this is not priority in their to-do list correct me if i'm wrong.

    I wish you can contribute this in rAthena Community so that people can help expand this system and close to official kRO.

     

  9. First of all, I downloaded: Global-damage-adjustment-rA-20150914-d1f94700.diff

     

    After applying everything manually im getting this when compiling.

     

    alp7pf.jpg

     

    Im using rAthena with eAmods.

     

    Also I had to change MF_NOPVPMODE = 70 to MF_NOPVPMODE for being able to use MF_ATK_RATE = 70 because I was getting an error there too.

     

    (I dont know if thats a right thing to do, since eAmod uses MF_NOPVPMODE = 70 for something)

     

    Any ideas?

     

     i guess your missing in battle.h you need to declare

    did you put:

    atk_damage_attacker;

     

    in battle.h?

     

    rAmod is different from default rAthena. so expected there are lots of error occurs. better ask Zephyrus via Skype if you have contact.

    • Upvote 1
×
×
  • Create New...