Jump to content

Outlook

Members
  • Posts

    63
  • Joined

  • Last visited

Posts posted by Outlook

  1. Hi i have a problem After update from

    https://github.com/rathena/rathena/commit/d445497870e7f93abab3800b18acc438f7a4af75

    Error + mes_length

    clif.cpp(2641,53): warning C4267: '=': conversion from 'size_t' to 'int16', possible loss of data

    Thank you.

     

    void clif_scriptmenu( map_session_data& sd, uint32 npcid, const char* mes ){
    	struct block_list *bl = nullptr;
    	
    	if (!sd.state.using_fake_npc && (npcid == fake_nd->bl.id || ((bl = map_id2bl(npcid)) && (bl->m!=sd.bl.m ||
    	   bl->x<sd.bl.x-AREA_SIZE-1 || bl->x>sd.bl.x+AREA_SIZE+1 ||
    	   bl->y<sd.bl.y-AREA_SIZE-1 || bl->y>sd.bl.y+AREA_SIZE+1))))
    	   clif_sendfakenpc( sd, npcid );
    
    	PACKET_ZC_MENU_LIST *packet = reinterpret_cast<PACKET_ZC_MENU_LIST*>(packet_buffer);
    
    	size_t mes_length = strlen(mes);
    	packet->packetType = HEADER_ZC_MENU_LIST;
    	packet->npcId = npcid;
    	packet->packetLength = sizeof(PACKET_ZC_MENU_LIST) + mes_length;
    	memcpy(packet->menu, mes, mes_length);
    
    	clif_send( packet, packet->packetLength, &sd.bl, SELF );
    }

     

    Screenshot 2024-05-11 184222.png

  2. On 4/4/2024 at 12:24 AM, Rynbef said:

    It's just a struggling worktought it's no recommendable.

    U can use DgVoodoo2 but u need knowledge how to configure it right. I can't say if it works on every graphic card. But newer clients (currently u have to buy) don't need manually installation of DgVoodoo2 to get higher DirectX support.

     

    Rynbef~

    I use 2023-09-06_Ragexe NVDIA not work.

  3. 5 hours ago, pajodex said:

    I have updated it somehow. I don't know how I did but I did. Since this is a free release, here is the one I was able to update:
    0001-sellitem-diff.patch

    Don't ask for support from me. Im not sure how stable this is but so far its working on my end.

    Thank you it's works fine but can't use NPC Script

     

    mes "[ Jellopy Lover ]";
    mes "I buy Jellopy for 50 Poring coins each.";
    close2;
    npcshopattach "JellopyShop";
    sellitem "JellopyShop",SFT_ID,909;
    end;
    mes "[ Rare Items Collector ]";
    mes "Sell me some rare items and cards";
    close2;
    .@filter |= 1 << IT_CARD;
    .@filter |= 1 << IT_ARMOR;
    .@filter |= 1 << IT_WEAPON;
    npcshopattach "CardShop";
    sellitem "CardShop",SFT_TYPE,.@filter;
    end;

    Screenshot 2024-03-30 042426.png

  4. 1 hour ago, WhiteEagle said:

    This refers to the fact that it is easier and faster to reduce the player's HP/SP than to use skills for 5 minutes.
    !heal 0 -1500 as an example would have deducted 1500 SP from you, triggering the AutoPot.

    Was just a help to make your videos shorter

    Thank for trick.

  5. 1 hour ago, WhiteEagle said:

    This refers to the fact that it is easier and faster to reduce the player's HP/SP than to use skills for 5 minutes.
    !heal 0 -1500 as an example would have deducted 1500 SP from you, triggering the AutoPot.

    Was just a help to make your videos shorter

    You try look at Item when use SP < 90 Blue Potion to use and HP same too HP<90 use White Potion

  6. Use SQL mode but Map Server error.

    // ALL MySQL Database Table names

    // Login Database Tables
    login_server_account_db: login
    ipban_table: ipbanlist
    global_acc_reg_num_table: global_acc_reg_num
    global_acc_reg_str_table: global_acc_reg_str

    // Char Database Tables
    char_db: char
    hotkey_db: hotkey
    scdata_db: sc_data
    cart_db: cart_inventory
    inventory_db: inventory
    charlog_db: charlog
    skill_db: skill
    interlog_db: interlog
    memo_db: memo
    guild_db: guild
    guild_alliance_db: guild_alliance
    guild_castle_db: guild_castle
    guild_expulsion_db: guild_expulsion
    guild_member_db: guild_member
    guild_skill_db: guild_skill
    guild_position_db: guild_position
    guild_storage_db: guild_storage
    party_db: party
    pet_db: pet
    friend_db: friends
    mail_db: mail
    mail_attachment_db: mail_attachments
    auction_db: auction
    quest_db: quest
    homunculus_db: homunculus
    skill_homunculus_db: skill_homunculus
    mercenary_db: mercenary
    mercenary_owner_db: mercenary_owner
    elemental_db: elemental
    skillcooldown_db: skillcooldown
    bonus_script_db: bonus_script
    acc_reg_num_table: acc_reg_num
    acc_reg_str_table: acc_reg_str
    char_reg_str_table: char_reg_str
    char_reg_num_table: char_reg_num
    clan_table: clan
    clan_alliance_table: clan_alliance

    // Map Database Tables
    barter_table: barter
    buyingstore_table: buyingstores
    buyingstore_items_table: buyingstore_items
    item_table: item_db
    renewal-item_table: item_db_re
    item2_table: item_db2
    renewal-item2_table: item_db2_re
    mob_table: mob_db
    renewal-mob_table: mob_db_re
    mob2_table: mob_db2
    renewal-mob2_table: mob_db2_re
    mob_skill_table: mob_skill_db
    renewal-mob_skill_table: mob_skill_db_re
    mob_skill2_table: mob_skill_db2
    renewal-mob_skill2_table: mob_skill_db2_re
    mapreg_table: mapreg
    partybookings_table: party_bookings
    sales_table: sales
    vending_table: vendings
    vending_items_table: vending_items
    market_table: market
    roulette_table: db_roulette
    guild_storage_log: guild_storage_log

    // Web Database Tables
    // NOTE: The web server reads the login (login) and char (party,guild) tables and map (party_bookings), so it needs
    //       the ability to connect to those databases.
    guild_emblems: guild_emblems
    user_configs: user_configs
    char_configs: char_configs
    merchant_configs: merchant_configs

    // Use SQL item_db, mob_db and mob_skill_db for the map server? (yes/no)
    use_sql_db: yes

    inter_server_conf: inter_server.yml

    import: conf/import/inter_conf.txt

    Screenshot 2024-03-17 014849.png

×
×
  • Create New...