Jump to content

noobzter003

Members
  • Content Count

    54
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by noobzter003


  1. Just now, noobzter003 said:

    1>------ Build started: Project: hBG, Configuration: Debug Win32 ------
    1>hBG.c
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(1072): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(1950): error C2198: 'function through pointer': too few arguments for call
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2056): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2057): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2059): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2068): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2594): warning C4018: '>=': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2652): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2658): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2788): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(3849): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(3851): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(3992): warning C4018: '<': signed/unsigned mismatch
    1>Done building project "hBG.vcxproj" -- FAILED.
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

     

    please help me!

    int hBG_addflooritem_area(struct block_list* bl, int16 m, int16 x, int16 y, int nameid, int amount)
    {
        struct item item_tmp;
        int count, range, i;
        short mx, my;
        
        memset(&item_tmp, 0, sizeof(item_tmp));
        item_tmp.nameid = nameid;
        item_tmp.identify = 1;
        
        if (bl != NULL) m = bl->m;
        
        count = 0;
        range = (int)sqrt((float)amount) +2;
        
        for ( i = 0; i < amount; i++) {
            if (bl != NULL)
                map->search_freecell(bl, 0, &mx, &my, range, range, 0);
            else {
                mx = x; my = y;
                map->search_freecell(NULL, m, &mx, &my, range, range, 1);
            }
            
            count += (map->addflooritem(bl, &item_tmp, 1, m, mx, my, 0, 0, 0, 4) != 0) ? 1 : 0; ------->>>>>>>> in this line i got error. anyone can help Thanks in advance.
        }
        
        return count;
    }


  2. 1>------ Build started: Project: hBG, Configuration: Debug Win32 ------
    1>hBG.c
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(1072): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(1950): error C2198: 'function through pointer': too few arguments for call
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2056): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2057): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2059): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2068): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2594): warning C4018: '>=': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2652): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2658): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(2788): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(3849): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(3851): warning C4018: '<': signed/unsigned mismatch
    1>c:\users\owner\desktop\hercules-stable\src\plugins\hbg.c(3992): warning C4018: '<': signed/unsigned mismatch
    1>Done building project "hBG.vcxproj" -- FAILED.
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

     

    please help me!


  3. 35 minutes ago, Archetype Saber said:

    too vague, present your sclientinfo and diff used.

    <clientinfo>
        <desc>Ragnarok Online</desc>
        <servicetype>america</servicetype>
        <servertype>primary</servertype>
        <connection>
            <display>^0000A0DoramRO


    - ^0A4D79 Server ++</display>
            <balloon>Highrate Server [ Unique Drop Rates ]</balloon>
              <address>127.0.0.1</address>
              <port>6900</port>
              <langtype>1</langtype>
            <registrationweb>http://ro-game.net/</registrationweb>
            <loading>
                <image>loading00.jpeg</image>
                <image>loading01.jpeg</image>
                <image>loading02.jpeg</image>
                <image>loading03.jpeg</image>
                <image>loading04.jpeg</image>
                <image>loading05.jpeg</image>
                <image>loading06.jpeg</image>
                <image>loading07.jpeg</image>
                <image>loading08.jpeg</image>
                <image>loading09.jpeg</image>
                <image>loading10.jpeg</image>
                <image>loading11.jpeg</image>
                <image>loading12.jpeg</image>
            </loading>
            <yellow>
                <admin>2000000</admin>
                <admin>2000001</admin>
                <admin>2000002</admin>
                <admin>2000003</admin>
            </yellow>
            </yellow>
           </connection>
    </clientinfo>

     

     

    3 Chat Flood Remove Limit
    8 Custom Window Title
    9 Disable 1rag1 type parameters (Recommended)
    13 Disable Ragexe Filename Check (Recommended)
    16 Disable Swear Filter
    18 Skip Service Selection Screen
    19 Enable Title Bar Menu
    23 Enable /who command (Recommended)
    24 Fix Camera Angles (Recommended)
    28 Increase Headgear ViewID
    32 Increase Zoom Out Max
    33 Always Call SelectKoreaClientInfo() (Recommended)
    34 Enable /showname (Recommended)
    35 Read Data Folder First
    36 Read msgstringtable.txt (Recommended)
    37 Read questid2display.txt (Recommended)
    38 Remove Gravity Ads (Recommended)
    39 Remove Gravity Logo (Recommended)
    40 Restore Login Window (Recommended)
    41 Disable Nagle Algorithm (Recommended)
    44 Translate Client (Recommended)
    46 Use Normal Guild Brackets (Recommended)
    47 Use Ragnarok Icon
    48 Use Plain Text Descriptions (Recommended)
    49 Enable Multiple GRFs (Recommended)
    50 Skip License Screen
    53 Use Ascii on All LangTypes (Recommended)
    64 @ Bug Fix (Recommended)
    65 Load Custom lua file instead of iteminfo*.lub (Recommended)
    76 Enforce Official Login Background
    84 Remove Serial Display (Recommended)
    85 Show Cancel To Service Select
    88 Allow space in guild name
    90 Enable DNS Support (Recommended)
    91 Disconnect to Login Window
    96 Remove GM Sprites
    97 Cancel to Login Window (Recommended)
    115 Enable Effect for all Maps [Experimental]
    208 Restore Cash Shop Icon
    212 Restore Roulette
    222 Show Replay Button
    225 Show Register Button

     

×
×
  • Create New...

Important Information

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