Jump to content

Legor

Inactive Member
  • Posts

    15
  • Joined

  • Last visited

  • Feedback

    0%

About Legor

  • Birthday 11/27/1991

Informations

  • Gender
    Male

Social Networks

Recent Profile Visitors

1030 profile views

Legor's Achievements

Apprentice

Apprentice (3/16)

  • Reacting Well
  • Conversation Starter
  • First Post
  • Collaborator
  • Week One Done

Recent Badges

0

Reputation

  1. This code is wrong.... static CGrid s_grid1(5, INVENTORY_MAX_NUM/5 / 2); INVENTORY_MAX_NUM / 5 / 2 = 18... It should be 9, because inventory pages are 5x9...... static CGrid s_grid1(5, INVENTORY_MAX_NUM/5 / 4); //Where 4 is the number of pages.. This is COMPLETELY wrong..... Because the second, third and fourth for iterate ever the same page for (i = INVENTORY_MAX_NUM / 4; i < INVENTORY_MAX_NUM; ++i) { if (!(item = victim->GetInventoryItem(i))) continue; s_grid3.Put(i - INVENTORY_MAX_NUM / 4, 1, item->GetSize()); } for (i = INVENTORY_MAX_NUM / 4; i < INVENTORY_MAX_NUM; ++i) { if (!(item = victim->GetInventoryItem(i))) continue; s_grid4.Put(i - INVENTORY_MAX_NUM / 4, 1, item->GetSize()); } It should be: for (i = INVENTORY_MAX_NUM / 4; i < INVENTORY_MAX_NUM / 4 * 2; ++i) //GRID 2 { if (!(item = victim->GetInventoryItem(i))) continue; s_grid2.Put(i - INVENTORY_MAX_NUM / 4, 1, item->GetSize()); } for (i = INVENTORY_MAX_NUM / 4 * 2; i < INVENTORY_MAX_NUM / 4 * 3; ++i) //GRID 3 { if (!(item = victim->GetInventoryItem(i))) continue; s_grid3.Put(i - INVENTORY_MAX_NUM / 4 * 2, 1, item->GetSize()); } for (i = INVENTORY_MAX_NUM / 4 * 3; i < INVENTORY_MAX_NUM; ++i) // GRID 4 { if (!(item = victim->GetInventoryItem(i))) continue; s_grid4.Put(i - INVENTORY_MAX_NUM / 4 * 3, 1, item->GetSize()); } And finally there are no implementation in the next source code to count the void spaces for 3° and 4° pages..
  2. Hello, it's possible to add delay of 3-10 seconds like logout, with countdown? Thanks
  3. Check strings in locale_game. They have wrong format for parameters
  4. 1) The experience received by the mob is closely linked to the difference in level. You must try a mob at the same level of your character: >+15 level higher than your = 130% EXP +14 level higher than your = 128% EXP +13 level higher than your = 126% EXP +12 level higher than your = 124% EXP +11 level higher than your = 122% EXP +10 level higher than your = 120% EXP +9 level higher than your = 118% EXP +8 level higher than your = 116% EXP +7 level higher than your = 114% EXP +6 level higher than your = 112% EXP +5 level higher than your = 110% EXP +4 level higher than your = 108% EXP +3 level higher than your = 106% EXP +2 level higher than your = 104% EXP +1 level higher than your = 102% EXP Same level = 100% exp -1 level lower than your = 100% EXP -2 level lower than your = 98% EXP -3 level lower than your = 96% EXP -4 level lower than your = 94% EXP -5 level lower than your = 92% EXP -6 level lower than your = 90% EXP -7 level lower than your = 85% EXP -8 level lower than your = 80% EXP -9 level lower than your = 70% EXP -10 level lower than your = 50% EXP -11 level lower than your = 40% EXP -12 level lower than your = 30% EXP -13 level lower than your = 20% EXP -14 level lower than your = 10% EXP ->14 level lower than your = 1% EXP
  5. Ok, now it call my installed 1.55 Boost libs, but.. (See images). I thank you very much for the help you are giving me
  6. Mhmm, I receive a lot of error. But I'm trying to compile on 64 bit system. Is this the problem? P.S: Without Gcc5 and -std=c++14 I compile all without problems (But fail linking).
  7. I receive al lot of errors in every file (game src). I have to compile all with Gcc5 and -std=c++14 flag? Or only Crypto++?
  8. Hello, could you explain in more detail the way you solved? I got lost after reading about having to compile the Crypto++ with C++ 14. thanks
  9. Yes, but the BSD functions that are necessary are included in libbsd library. In addition, my compilation crashes because it is not found that particular method, not for other reasons. Or am I wrong? In any case, thanks for the reply
  10. You need to add new "applyvalue*" and "applytype*" fields in player.item_proto database table and appropriate fields in player.item (as soon as I can I send you a complete list). After this you can try to search this field name in source code and implement the new field that you added before. You must search all the code thath use this field and modify them consequently. I think this is a good start base.
  11. Hello dears, I'm trying to compile source on my CentOS server. At this time, when I launch Makefile i receive an error with "strlcopy" function, this is BSD's function, so, I've installed the libbsd-devel and now: It's correct what I'm doing? How i can specify this library? I've try to specify in Makefile with "-L/usr/lib %allpossiblecombinations%". This is the first error that I receive, so I think I receive others in future. Someone that is more prepared than me can please show me the right way? Thanks a lot, Legor.
×
×
  • 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.