Jump to content

Kakaroto

Donators
  • Posts

    611
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by Kakaroto

  1. 23 hours ago, sader1992 said:

    oh I see , when I fixed the warning , I also changed the function call , didn't notice that

    will update it

    the fix is from

    sprintf(mobname, "Mob Name - %s", mob_db(pet_db_ptr->class_)->jname);

    to

    std::string temp_name = "Mob Name - " + mob_db.find(pet_db_ptr->class_)->jname;
    strcpy(mobname, temp_name.c_str());

    Thank you for notifying me!

     

    Noice work man!

  2. 32 minutes ago, sader1992 said:

    on what hash? , I use petstats rAthena Cpp 25_04_2020 on around 1 month old rathena and still work with a small warning for string

    image.thumb.png.6bcf4827b4f3bf5c461c707a5bc70d1c.png

     

    1>atcommand.cpp
    1>F:\GitHub\Emulador\src\custom\atcommand.inc(675,36): error C2064: term does not evaluate to a function taking 1 arguments
    1>F:\GitHub\Emulador\src\custom\atcommand.inc(675,19): warning C4473: 'sprintf' : not enough arguments passed for format string
    1>F:\GitHub\Emulador\src\custom\atcommand.inc(675,19): message : placeholders and their parameters expect 1 variadic arguments, but 0 were provided
    1>F:\GitHub\Emulador\src\custom\atcommand.inc(675,19): message : the missing variadic argument 1 is required by format string '%s'
    1>battle.cpp
    1>Done building project "map-server.vcxproj" -- FAILED.
    ========== Build: 0 succeeded, 1 failed, 12 up-to-date, 0 skipped ==========

    Sh4490M.png

    • Upvote 1
  3. host/fluxcp/conf/error.php

     

    Change:

    $showExceptions  = true;              // Whether or not to show exceptions (only applies to error.php)

    To:

    $showExceptions  = false;              // Whether or not to show exceptions (only applies to error.php)
    

     

×
×
  • Create New...

Important Information

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