Jump to content

trickzjen23

Members
  • Posts

    52
  • Joined

  • Last visited

Posts posted by trickzjen23

  1. I have a table named ro_meta, I just want to bind the meta_value to a variable. But this seemed very complicated lol.

    SELECT meta_value FROM  ro_meta WHERE meta_name = 'break_emperium' => which returns 0.
     
            int i;
            char* b;
            // retrieve all rows from the mob database
            if( SQL_ERROR == Sql_Query(mmysql_handle, "SELECT meta_value FROM ro_meta WHERE meta_name = 'break_emperium'"), "nothing" )
            {
                Sql_ShowDebug(mmysql_handle);
                ShowDebug(mmysql_handle);
            }
            Sql_GetData(mmysql_handle, i, b, NULL);
     
    It gives me this error
    note: each undeclared identifier is reported only once for each function it appears in
     
  2. hi guys,

    idk if this is possible, how can I make it so that when land pro is active, the player wouldn't be able to cast volcano, deluge or violentgale.

    I have this in skill_db.txt

    288,2,6,2,0,0x1,0,5,1,yes,0,0,1,magic,0,        SA_LANDPROTECTOR,Magnetic Earth

    This allows the user to cast only 1 LandProtector at a time. They kind of bypass this by using volcano, deluge and violentgale.

  3. Hello guys,

    I'm having issue with converting my lua to lub, It used to work before. But now, when I compare the generated lub files, the file name for the official items are converted to something else

    For example

    On my Lua file i have

    [ACCESSORY_IDs.ACCESSORY_CATTYHAIRBAND] = "_°í¾çÀ̸Ӹ®¶ì",

    For my old lub accname.lub file

    ACCESSORY_CATTYHAIRBAND   _°í¾çÀ̸Ӹ®¶ì <- this is the correct name

    To the new ones I generated I get.

    ACCESSORY_CATTYHAIRBAND   _°í¾çÀ̸Ӹ®¶ì

    When I open my client, it says Â°Ã­Â¾Ã§Ã€ÃŒÂ¸Ã“¸®¶ì  is not found.

     

    btw im using luac5.0.2.exe please help.

     

  4. Hi Guys, can anyone explain why my client crashes after using Asura Strike's skill + quick body relocation. This only happens when im wearing an animated headgear.

    I don't know if this will help, but this is the Stack on the crash_log

     

    
    =================================== Stack ===================================
    0019f930:  c8 e3 25 2f 90 ee 47 2f c8 e3 25 2f 00 00 00 00     %/  G/  %/    
    0019f940:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                   
    0019f950:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                   
    0019f960:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                   
    0019f970:  00 00 00 00 00 00 00 00 00 00 00 00 22 20 25 44               " %D
    0019f980:  ce 5e b4 43 ef 04 31 44 25 d9 e2 43 02 5a 48 3b    ^ C  1D%  C ZH;
    0019f990:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                   
    0019f9a0:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                   
    0019f9b0:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                   
    0019f9c0:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                   
    0019f9d0:  6f 8d a3 43 00 00 00 00 20 3c 64 41 90 c3 6e 2f   o  C     <dA  n/
    0019f9e0:  70 96 19 2f a0 f1 58 20 00 fa 19 00 e7 e5 4c 75   p  /  X       Lu
    0019f9f0:  10 00 fe 7f 90 c3 6e 2f e0 f2 58 20 90 ee 47 2f         n/  X   G/
    0019fa00:  04 00 00 00 a6 00 00 00 00 00 80 3f a8 f3 58 20              ?  X 
    0019fa10:  38 fa 19 00 73 1c 41 00 60 e8 c0 0f 08 00 00 00   8   s A `       
    0019fa20:  2c fa 19 00 ff ff ff 80 d8 6a c0 0f bb 41 48 3b   ,        j   AH;
    0019fa30:  88 e2 6f 41 88 e2 6f 41 98 fa 19 00 00 00 00 00     oA  oA        
    0019fa40:  01 00 00 00 18 c8 6e 2f 00 00 80 3f 00 00 80 3f         n/   ?   ?
    0019fa50:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 0c 3e                  >
    0019fa60:  00 00 80 3f 02 5a 48 3b 5c fb b1 43 45 87 24 44      ? ZH;\  CE $D
    0019fa70:  09 d0 c0 43 7d a1 2e 44 e0 82 4b 3b b0 4e 4d 3b      C} .D  K; NM;
    0019fa80:  ff ff ff ff 00 00 00 00 a0 46 81 00 90 ee 47 2f            F    G/
    0019fa90:  90 ee 47 2f 40 52 4a 41 00 00 00 00 ae 9b 03 38     G/@RJA       8
    0019faa0:  03 00 00 00 03 00 00 00 00 00 80 3f ff ff ff ff              ?    
    0019fab0:  00 00 7f 43 c8 e3 25 2f 00 00 7f 43 fc ff ff ff      C  %/   C    
    INIT: 14 : 14 : 0:0
    
    VSYNC: 1
    
    LL/LLD: 6b/a4

     

  5. Hello ladies and gents, I hope you will be able to help. I am getting segmentation fault, unable to connect to char server. This is the core dump. 

    #0  0x0000000000430b93 in chrif_authreq (sd=0x7752050) at chrif.c:563
    #1  0x000000000043fc7b in clif_parse (fd=5) at clif.c:15066
    #2  0x000000000052cedc in do_sockets (next=<value optimized out>)
        at socket.c:922
    #3  0x000000000052a1d3 in main (argc=1, argv=0x7ffde02199e8) at core.c:262
     

  6. Hello developers, please help me. i am trying to figure out why the PK cell needs to use /ns or holding shift to cast a final strike to the other party. Some other users are able to attack without /ns. It's really weird.

    I was trying to make certain cells to be pvp enable. not PK but partied users shouldn't be able to attack each other. Everything is working but some users are required to use /ns to attack.

     this is what's on my battle.c

    Quote

     if(s_guild && t_guild && (s_guild == t_guild || guild_isallied(s_guild, t_guild)))
                    state |= BCT_GUILD;
            }
            if ( s_bl->type == BL_PC && t_bl->type == BL_PC ) {
                struct map_session_data *sd = BL_CAST( BL_PC, s_bl ), *tsd = BL_CAST( BL_PC, t_bl );
                if ( map_getcell( sd->bl.m, sd->bl.x, sd->bl.y, CELL_CHKPK ) && map_getcell( tsd->bl.m, tsd->bl.x, tsd->bl.y, CELL_CHKPK ) )
                    {
                        if( flag&(BCT_PARTY|BCT_ENEMY ) )
                        {
                            int s_party = status_get_party_id(s_bl);
                            if( s_party && s_party == status_get_party_id(t_bl) )
                                state |= BCT_PARTY;
                            else
                                state |= BCT_ENEMY;
                        }
                    }
            }

        }
        


        if( !state ) //If not an enemy, nor a guild, nor party, nor yourself, it's neutral.
     

  7. Hello devs,

    I hope you guys would still be able to help me since rAthena is forked from eAthena. My servers crashes and this is what the gdb says.

     

    This is what it says

    Quote

     

    Program terminated with signal 11, Segmentation fault.
    #0  0x00000000004fce27 in battle_calc_damage (src=0x7f4fef043514,
        bl=0x7f4fe9f3213c, d=0x7fff740ed8c0, damage=3278, skill_num=8009,
        skill_lv=<value optimized out>) at battle.c:350
    350                     if(!skill_db[skill_num].pneumaIgnore)
    Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.192.el6.x86_64 keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-57.el6.x86_64 libcom_err-1.41.12-22.el6.x86_64 libselinux-2.0.94-7.el6.x86_64 mysql-libs-5.1.73-7.el6.x86_64 nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64 openssl-1.0.1e-48.el6_8.3.x86_64 pcre-7.8-7.el6.x86_64 zlib-1.2.3-29.el6.x86_64
    (gdb)

     

     

     
    My battle.c line 350 is this
    Quote

     

            if(!skill_db[skill_num].pneumaIgnore)
            if( sc->data[SC_PNEUMA] && (flag&(BF_MAGIC|BF_LONG)) == BF_LONG )
            {
                d->dmg_lv = ATK_BLOCK;
                return 0;
            }

     

    How can i prevent it to crash? please help and thank you in advance!

  8. I'm looking to add more buttons to Jikpatch.

    vote_link1    = linktovote
    vote_link2    = ???
    vote_link3    =???
     

    I have my vote_link2 and vote_link3 to blank. So I added links to them and modified my Jikari.style file. I added 

    ;vote_link2 button
    [vote_link2]
    xcoord=51
    ycoord=123
    width=51
    height=53

    I named the images to votelink2.bmp and votelink2_hover.bmp

     but they don't show up in my patcher. 

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.