Jump to content

Lelouch vi Britannia

Members
  • Posts

    715
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by Lelouch vi Britannia

  1. On 9/11/2021 at 2:13 PM, qtdan said:

    can someone give me example of this new mob_item_ration.yml

     

    ###########################################################################
    # Mob Item Ratio Database
    ###########################################################################
    #
    # Mob Item Ratio Settings
    #
    ###########################################################################
    # - Item          AegisName of item to adjust.
    #   Ratio         Drop rate.
    #   List:         List of monster(s) affected (format <Aegis monster name>: true/false). (Defaulted to all monsters)
    ###########################################################################

    Header:
      Type: MOB_ITEM_RATIO_DB
      Version: 1
     

    # Specific Item Drop Ratio Database
    # This file is a part of rAthena.
    #   Copyright(C) 2021 rAthena Development Team
    #   https://rathena.org - https://github.com/rathena
    #
    # This program is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with this program. If not, see <http://www.gnu.org/licenses/>.
    #
    ###########################################################################
    # Mob Item Ratio Database
    ###########################################################################
    #
    # Mob Item Ratio Settings
    #
    ###########################################################################
    # - Item          AegisName of item to adjust.
    #   Ratio         Drop rate.
    #   List:         List of monster(s) affected (format <Aegis monster name>: true/false). (Defaulted to all monsters)
    ###########################################################################
    
    Header:
      Type: MOB_ITEM_RATIO_DB
      Version: 1
    
    Body:
        - Item: Knife_
          Ratio: 100
          List:
            PORING: true

    For additional information please read this...
    https://github.com/rathena/rathena/blob/master/doc/mob_item_ratio.txt

  2. On 12/15/2020 at 12:17 AM, Psyche said:

    what?

    putting Costume_Head_Low makes your equipment in costume accessorry??

    doc/item_db.txt has been updated with new lines so its location has been moved and besides i think Capuche is referring are this lines.

    https://github.com/rathena/rathena/blob/master/doc/item_db.txt#L193
    https://github.com/rathena/rathena/blob/master/doc/item_db.txt#L194

    Shadow_Right_Accessory - Shadow Accessory Right (Earring)
    Shadow_Left_Accessory  - Shadow Accessory Left (Pendant)

     

    • Upvote 1
  3. On 5/13/2020 at 12:01 AM, AyenPanda said:

     

    but what i mean sir is, is there a chance that we can make our own customized HAT EFFECT?

    If you have a custom hat effect just make a folder to data/texture/effect (ex. efst_custom_effect) inside your custom grf also add entry to your luafiles514/lua files/hateffectinfo/hateffectinfo.lub and src.

  4. I also have an unfortunate experience on ragnahosting which takes places maybe 3 or 4 years ago with my partner has already payed for the renewal of the VPS but after a few days our account on the website and VPS suddenly vanished without any prior notice nor email, we did ask for a refund but no reponse so in the end we didnt bother asking it to them again and move to a different host provider.

  5. @Tokei I found this after viewing TB_Layer_Priority.lub from kRO data.grf
     

    	if 2 == layer then
    		-- GRF Editor Decompiler : CodeReconstructor has failed to identify the usage of this goto 3_[24]
    	elseif 3 == layer then
    		-- GRF Editor Decompiler : CodeReconstructor has failed to identify the usage of this goto 3_[30]
    	elseif 4 == layer then
    		-- GRF Editor Decompiler : CodeReconstructor has failed to identify the usage of this goto 3_[36]
    	elseif 8 == layer then
    		-- GRF Editor Decompiler : CodeReconstructor has failed to identify the usage of this goto 3_[42]
    	end
    	-- GRF Editor Decompiler : CodeReconstructor has failed to identify the usage of this goto 3_[46]

    Im using
    Product version : 1.8.3.4
    Assembly version : 1.5.3.3063

  6. On 1/27/2020 at 6:46 PM, Abantao said:

    Sino po pde mag guide sakin pra mabgay ko tong hinihingi ni functor.

     

    Pano ko po to mahhaanap at mbbgay sa knya

     

    - link to website of the server - "src" folder of emulator - IP and ports of login, char, map servers - EXE and dll for GRF encryption(in case if you use it)

     

    Salamat po

     

    Bakit di mo nlng mismo itanong sa kanya yan? ipapaliwanag nmn nya kung ano yang mga yan.

    • Upvote 1
  7. Try this...

    -	script	flooritem	FAKE_NPC,{
    end;
    OnInit:
    	bindatcmd "flooritem", strnpcinfo(0)+"::OnFI", 60,90;
    	end;
    OnFI:
    	.@hditemid = atoi(.@atcmd_parameters$[0]);
    	.@damount = atoi(.@atcmd_parameters$[1]);
    
    if ( !.@damount ) {
    	message strcharinfo(0), "@flooritem <Itemid or itemname> <amount>";
    	end;
    	}
    if ( .@damount < 0 ) {
    	message strcharinfo(0), "@flooritem -> Invalid amount";
    	end;
    	}
    if ( getitemname(.@hditemid) == "null" && !searchitem(.@temp[0],.@atcmd_parameters$[0]) ) {
    	message strcharinfo(0), "@flooritem -> Invalid Item ID";
    	end;
    	}
    if(.@temp[0])		.@dropitemid = .@temp[0];
    	else
    .@dropitemid = .@hditemid;	.@r = (sqrt(.@damount) > 16 ? 16 :sqrt(.@damount));
    
    	getmapxy(.@m$,.@px,.@py,0);
    	.@min_x =((.@px-.@r) < 1?1:(.@px-.@r));
    	.@max_x =((.@px+.@r) > 512 ? 512:(.@px+.@r));
    	.@min_y =((.@py-.@r) < 1?1:(.@py-.@r));
    	.@max_y =((.@py+.@r) > 512 ? 512:(.@py+.@r));
    	freeloop(1);
    	for(.@j=0;.@j< .@damount;.@j++) {
    	while (checkcell(.@m$[.@i],.@px=rand(.@min_x, .@max_x),.@py=rand(.@min_y , .@max_y), cell_chknopass));
    	makeitem .@dropitemid,1,.@m$,.@px,.@py;
    	}
    	freeloop(0);
    	end;
    
    }

     

  8. You can't add custom mob? just follow this...

    src/map/mob.cpp

    Change this

    #define MAX_MOB_DB2 31999

    to this

    #define MAX_MOB_DB2 40000

    db/import/mob_db.txt

    35000,GOD_PORING,God Poring,God Poring,999,999999,999999,27,20,1,999,9999,2,5,999,999,999,999,999,999,10,12,1,3,21,0x83,120,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

    luafiles514/lua files/datainfo/npcidentity.lub

    JT_GOD_PORING = 35000

    luafiles514/lua files/datainfo/jobname.lub

    [jobtbl.JT_GOD_PORING] = "GOD_PORING"

     

    • Love 1
×
×
  • Create New...