Jump to content

Hik

Member
  • Posts

    276
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by Hik

  1. Same error #include "../SpeedTreeLib/SpeedTreeForestDirectX8.h" #include "../eterBase/Timer.h" #ifdef Map_Area_Heavy_Effect_Usage_Fix //non spostarlo da qua o comunque tenerlo sempre sopra Area.h e sotto Timer.h #include "../UserInterface/StdAfx.h" #include "../UserInterface/PythonCharacterManager.h" #include "../UserInterface/PythonBackground.h" #endif #include "Area.h" #include "PropertyManager.h"
  2. Error (active) E0266 ambiguous "byte" Error C2872 'bitset': ambiguous symbol Visual Studio 2019 :/
  3. up ps: with vs15 it works, with vs19 it does not
  4. Could a similar thing be done with translate.lua?
  5. Bingo! I also thought that the problem could be the database but I thought that 1-2 minutes would be enough. I did as you said, I added the PLAYER_CACHE_FLUSH_SECONDS variable to the conf.txt and I set a very low time and it worked. Thank you so much for the help but especially for the explanation.
  6. Hi guys, could someone tell me why, using this code, I can increase the statistics of the pg but when the server is restarted they return to the basic ones? int pc_set_dx0(lua_State* L) { if (!lua_isnumber(L, 1)) return 0; int point = (int)lua_tonumber(L, 1); LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); ch->SetRealPoint(POINT_DX, ch->GetRealPoint(POINT_DX) + point); ch->PointChange(POINT_DX, point); ch->ComputePoints(); ch->PointsPacket(); return 1; }
  7. Like this? int main(int argc, char **argv) { return 0; #ifdef DEBUG_ALLOC DebugAllocator::StaticSetUp(); #endif ecc... }
  8. Please can you show me how you set the changes?
  9. Maybe it fails because of the text. Rename the path.
  10. UP2: if (iPercent >= number(1, iRandRange)) iPercent = 100000 | in mob_drop_item the percentage is set to 10 number = 1, 4000000 | random number between 1 and 4000000 I noticed, however, how the random values obtained are very different between the two versions: random = 3894439 random = 229634 random = 1664283 random = 3958197 | BSD VERSION random = 924476 random = 2193081 random = 181074 ----------------------------------------------------------------------------- random = 12851 random = 10165 | WINDOWS VERSION random = 23397 random = 12871 I don't enter all the other values because they follow the same trend. In the first case, having a high random value I will not drop, while having a low one in the second case I will always drop. Any ideas on this?
  11. I had never seen such a hack, I also follow!
  12. I would like to understand, more than anything else, why there is this difference between visualstudio and freebsd, in order to make a precise proportion.
  13. Hi guys, I need your help! I compile metin2 using visualstudio (server side) and I have a problem with the drop. As you can see, the drop is set to 1% but despite this I continue to drop, at each mob 101 eliminated, at least 2 of the items in the list. On freebsd it didn't happen. Some advice? Group test_dog { type drop mob 101 1 1012 1 1 2 4012 1 1 3 11402 1 1 4 16022 1 1 }
  14. Hi, on the forum you should find files released by mali61 \ blackdragon61 compatible with the new version of gcc.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.