Jump to content

jigsam

Members
  • Posts

    28
  • Joined

  • Last visited

Posts posted by jigsam

  1. Nevermind... i found the errors.... Facepalm.

    On char athena i put these...

    // Manage possible letters/symbol in the name of charater. Control character (0x00-0x1f) are never accepted. Possible values are:
    // NOTE: Applies to character, party and guild names.
    // 0: no restriction (default)
    // 1: only letters/symbols in 'char_name_letters' option.
    // 2: Letters/symbols in 'char_name_letters' option are forbidden. All others are possibles.
    char_name_option: 2

    shouldve be 1
     

     

  2. Basically, i cannot create character at all...

    creation.thumb.png.c748d586599cd6358b2166e4a5103103.png

    I already try stuff, but nothing work..

     

    1. Putting packet version #define PACKETVER 20180620 to mmo.h line 49 to bypass the packet... not working. Also i already try to put the new packet version packets.hpp and recompile it.

    #ifndef PACKETVER
        /// Do NOT edit this line! To set your client version, please do this instead:
        /// In Windows: Add this line in your src\custom\defines_pre.hpp file: #define PACKETVER YYYYMMDD
        /// In Linux: The same as above or run the following command: ./configure --enable-packetver=YYYYMMDD
        #define PACKETVER 20180620
    #endif

    2. Removing the encryption on nemo + packet obfuscation. Not working.

    #if PACKETVER >= 20110817
        /// Comment to disable the official packet obfuscation support.
        /// This requires PACKETVER 2011-08-17 or newer.
        #ifndef PACKET_OBFUSCATION
            //#define PACKET_OBFUSCATION

            // Define these inside src/custom/defines_pre.hpp or src/custom/defines_post.hpp
            //#define PACKET_OBFUSCATION_KEY1 <key1>
            //#define PACKET_OBFUSCATION_KEY2 <key2>
            //#define PACKET_OBFUSCATION_KEY3 <key3>

            /// Comment this to disable warnings for missing client side encryption
            #define PACKET_OBFUSCATION_WARN
        #endif
    #else
        #if defined(PACKET_OBFUSCATION)
            #error You enabled packet obfuscation for a version which is too old. Minimum supported client is 2011-08-17.
        #endif
    #endif

     

    3. Trying to recheck my database & update sql. Not working.

    Nothing could work. At this point i'm really at y wits ends. Maybe because i set the sclientinfo langtype to 0? 

    <?xml version="1.0" encoding="euc-kr" ?>
    <clientinfo>
        <desc>Ragnarok Client Information</desc>
        <servicetype>american</servicetype>
        <servertype>primary</servertype>
        <connection>
            <display>Local</display>
                  <address>127.0.0.1</address>
                  <port>6900</port>
                  <version>55</version>
                  <langtype>0</langtype>
            <registrationweb></registrationweb>
            <loading>
                <image>loading00.jpg</image>
                <image>loading01.jpg</image>
                <image>loading02.jpg</image>
                <image>loading03.jpg</image>
                <image>loading04.jpg</image>
                <image>loading05.jpg</image>
                <image>loading06.jpg</image>
            </loading>
           </connection>
    </clientinfo>

  3. I put them on item_db_re, since i use renewal. I'm using query tho...

     

     INSERT INTO `ragnarok`.`item_db_re` ( `id` , `name_english` , `name_japanese` , `type` , `price_buy` , `price_sell` , `weight` , `atk:matk` , `defence` , `range` , `slots` , `equip_jobs` , `equip_upper` , `equip_genders` , `equip_locations` , `weapon_level` , `equip_level` , `refineable` , `view` , `script` , `equip_script` , `unequip_script` ) VALUES ( '25420', 'TransparentGoldenButterflyWings', 'Transparentgoldenbutterflywings', '5', '20', NULL , '100', NULL , '13', NULL , '0', '4294967295', '63', '2', '1', NULL , '0', '0', '1379', 'bonus bSpeedRate,25;', NULL , NULL );
    
  4. Is there any difference in renewal and pre renewal? I tried to put some new items, but some of them doesn't work properly.

     

    2vmv5lh.jpg

     

    No errors or anything but no display...

     

    29zr6zs.jpg

     

    I already check the spr and act file at 

    Data\sprite\¾Ç¼¼»ç¸®\¿©\¿©_TransparentGoldenButterflyWings.act

    Data\sprite\¾Ç¼¼»ç¸®\¿©\¿©_TransparentGoldenButterflyWings.spr

    Data\sprite\¾Ç¼¼»ç¸®\³²\³²_TransparentSilverButterflyWings.act

    Data\sprite\¾Ç¼¼»ç¸®\³²\³²_TransparentSilverButterflyWings.spr

     

    check the data at accessories.lua

    ACCESSORY_TransparentGoldenButterflyWings = 1379,

     

    check the data at accname.lua

    [ACCESSORY_IDs.ACCESSORY_TransparentGoldenButterflyWings] = "_TransparentGoldenButterflyWings",

     

    check the database (I'm using mysql)

    25420 TransparentGoldenButterflyWings Transparentgoldenbutterflywings 5 20 NULL 100 NULL 13 NULL 0 4294967295 63 2 1 NULL 0 0 1379 bonus bSpeedRate,25; NULL NULL
     
    check the iteminfo.lua
        [25420] = { 
        unidentifiedDisplayName = "Transparentgoldenbutterflywings", 
        unidentifiedResourceName = "TransparentGoldenButterflyWings", 
        unidentifiedDescriptionName = { "Unidentified item, can be identified with [Magnifier]." }, 
        identifiedDisplayName = "Transparentgoldenbutterflywings", 
        identifiedResourceName = "TransparentGoldenButterflyWings", 
        identifiedDescriptionName = { 
          "Item Not Implemented", 
             "desc", 
             "desc.", 
             "", 
          "^777777^000000" 
          }, 
        slotCount = 1, 
        ClassNum = 1379 
     
    No luck... /hmm
  5. there are no query sql to my php admin

     

    Import your .sql into your phpmyadmin.

    I think it's on sql-files/main.sql

     

    open your phpmyadmin

    click database ragnarok

    click import -> main.sql

     

    or are you already have the database but no query? /hmm

  6. check your item_db.txt

    25009,Large_Red_Wing,Large Red Wing,5,0,,0,,0,,1,0xFFFFFFFF,7,2,4096,,1,0,873,{bonus bCriticalRate,40; bonus bCritAtkRate,25; bonus bLuk,20; },{},{}

    make sure it's same as accessoryid.lua

    ACCESSORY_LARGE_RED_WING = 873,

    if you're using new renewal

    check your iteminfo.lua

    make sure your item is

    ClassNum = 873

    if you're alt Q and you got error, I think you put wrong picture at

    texture\À¯ÀúÀÎÅÍÆäÀ̽º\item

    make sure there's LARGE_RED_WING.bmp not _LARGE_RED_WING.bmp (no _ mark)

  7. If we only change on the client, any player can change the files and be able to get the level 2, no ?

     

    but he's already giving this: 

    2213,11,8,2,0,0x2,15,1,-20,yes,0,0,0,magic,2,	WL_COMET,Comet
    

    max lvl 1.

  8. Anyone? :)

    Why you don't make a custom item,

    and then make it if that class are Rune Knights = heal 100%.

    It's more simple and more practical...

     

    but oh well, try this...

     

    function	script	Sample	{
    	set .@item_id,getarg(0);
    	set .@delay,getarg(1);
    	set .@current_delay,getd( "ITEMDELAY_"+.@item_id );
    	set .@gettimetick,gettimetick(1);
    	
    	if( .@current_delay > .@gettimetick && Class != Job_Rune_Knight && Class != Job_Rune_Knight_T && 
    	     Class != Job_Rune_Knight_T && Class != Job_Rune_Knight2 && 
    	     Class != Job_Baby_Rune && Job_Baby_Rune2 != Job_Baby_Rune ){
    		dispbottom "Item Delay for "+( .@current_delay - .@gettimetick )+" seconds.";
    		end;
    	}else{
    		delitem .@item_id,1;
    		setd( "ITEMDELAY_"+.@item_id ),( .@gettimetick + .@delay );
    	}
    	return;
    }
    
  9. So guys, how to make pet attacking in pvp?

     

    I found the code, but i don't know the block list type.

    I tried to change it, but nothing happen... hmm...

     

    Update: the pet trying to move and attack the player, after he/she at attack range, the pet lost target, and move back.

    Update2: found it, it's on function battle_check_target

     

    you have to change this

    	switch( src->type ) { //Checks on actual src type
    		case BL_PET:
    			if (t_bl->type != BL_MOB && flag &BCT_ENEMY)
    				return 0; //Pet may not attack non-mobs.
    			if (t_bl->type == BL_MOB && ((TBL_MOB*)t_bl)->guardian_data && flag&BCT_ENEMY)
    				return 0; //pet may not attack Guardians/Emperium
    			break; 

    into this

     

    	switch( src->type ) { //Checks on actual src type
    		case BL_PET:
    			if (t_bl->type != BL_MOB && t_bl->type != BL_PC && flag &BCT_ENEMY) //<-- OVER HERE!!
    				return 0; //Pet may not attack non-mobs. // and pc i guess
    			if (t_bl->type == BL_MOB && ((TBL_MOB*)t_bl)->guardian_data && flag&BCT_ENEMY)
    				return 0; //pet may not attack Guardians/Emperium
    			break;
    

     

    and change the pet_target_check function

    int pet_target_check(struct map_session_data *sd,struct block_list *bl,int type) //[this2]
    {
    	struct pet_data *pd;
    	int rate;
    
    	pd = sd->pd;
    
    	Assert((pd->master == 0) || (pd->master->pd == pd));
    
    	if(bl == NULL || (bl->type != BL_MOB && bl->type !=BL_PC) //<-- OVER HERE!!
    			|| bl->prev == NULL ||
    		pd->pet.intimate < battle_config.pet_support_min_friendly ||
    		pd->pet.hungry < 1 ||
    		pd->pet.class_ == status_get_class(bl))
    		return 0;
    
    	if(pd->bl.m != bl->m ||
    		!check_distance_bl(&pd->bl, bl, pd->db->range2))
    		return 0;
    
    	if (!status_check_skilluse(&pd->bl, bl, 0, 0))
    		return 0;
    
    	if(!type) {
    		rate = pd->petDB->attack_rate;
    		rate = rate * pd->rate_fix/1000;
    		if(pd->petDB->attack_rate > 0 && rate <= 0)
    			rate = 1;
    	} else {
    		rate = pd->petDB->defence_attack_rate;
    		rate = rate * pd->rate_fix/1000;
    		if(pd->petDB->defence_attack_rate > 0 && rate <= 0)
    			rate = 1;
    	}
    	if(rnd()%10000 < rate)
    	{
    		if(pd->target_id == 0 || rnd()%10000 < pd->petDB->change_target_rate)
    			pd->target_id = bl->id;
    	}
    
    	return 0;
    }
    
    
    

    My naght sieger is iching to taste human blood. Now he can. XD

    znamp3.jpg

  10. I assume you need a consumable item that can +10 weapon if you eat them?

    well, he's already giving you that...
    501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc( "RefineFunc",63,0,20,2,1,80,-3,50,20,501 ); },{},{}

    btw, I use it, but it won't work do i need to change the .h or .c then recompile it?
    Nah, I found it, thank you BTW

  11. You have to backup your sql via phpmyadmin, are you using linux?

    I assume you're using phpmyadmin, not the console command (btw some people prefer not using phpmyadmin)
    if you're installing phpmyadmin, you can backup your data via phpmyadmin.

    just login to your A server phpmyadmin site
    click ragnarok -> export -> format sql.

    to import the sql.
    login to server B phpmyadmin
    click ->import -> import your sql.

    run your server and viola!

     

    if you don't know how to open phpmyadmin,

    open your browser

    then write this: write.your.ip.here/phpmyadmin,

    or if you're using your computer as a server try this localhost/phpmyadmin

  12. Consider this :

    If the item can be equipped and the effect is there but you can't see it, that is a sprite problem, that means its either in the data folder or .grf problem and a wrong view ID on item_db and on the system folder/itemInfo

    First make sure your client is diffed to read data folder if your using your data folder or else make your data folder a grf.

    Second check if the client is diffed again to read lua before lub else compile your lua files to lub just by saving the .lua to .lub.

    Google is your Friend

    I think he's right.

    Or try this:

    1. diff your client with read data folder checked, and read lua before lub checked.

    if that fail, try to compile your lua into lub

    2. open this folder

    path\to\RO\Data\lua files\datainfo

    then copy luac5.1.4.exe from Data Folder Translation\Tools\ to path\to\RO\Data\lua files\datainfo

    open notepad/create new txt file name it into compile.txt, then write this

    "path\to\RO\Data\lua files\datainfo\luac5.1.4" -o "accessoryid.lub" "accessoryid.lua"

    "path\to\RO\Data\lua files\datainfo\luac5.1.4" -o "accname.lub" "accname.lua"

    save the txt file into path\to\RO\Data\lua files\datainfo

    change the compile.txt into compile.bat

    run the compile.bat

×
×
  • Create New...