Jump to content

spectrum

Member
  • Posts

    46
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by spectrum

  1. example : int iAlignmentBonus[MAX_ALIGNMENT_LEVEL][31] = { { ALIGNMENT_LEVEL1 /* 12000 */, POINT_MAX_HP, 2000 }, { ALIGNMENT_LEVEL2 /* 8000 */, POINT_MAX_HP, 1500 }, { ALIGNMENT_LEVEL3 /* 4000 */, POINT_MAX_HP, 1000 }, { ALIGNMENT_LEVEL4 /* 1000 */, POINT_POISON_PCT, 10 }, { ALIGNMENT_LEVEL5 /* 1000 */, POINT_CRITICAL_PCT, 10 }, { ALIGNMENT_LEVEL6 /* 1000 */, POINT_PENETRATE_PCT, 10 }, { ALIGNMENT_LEVEL7 /* 1000 */, POINT_ATTBONUS_HUMAN, 10 }, { ALIGNMENT_LEVEL8 /* 1000 */, POINT_ATTBONUS_ANIMAL, 10 }, { ALIGNMENT_LEVEL9 /* 1000 */, POINT_ATTBONUS_ORC, 10 }, { ALIGNMENT_LEVEL10 /* 1000 */, POINT_ATTBONUS_MILGYO, 10 }, { ALIGNMENT_LEVEL11 /* 1000 */, POINT_ATTBONUS_UNDEAD, 10 }, { ALIGNMENT_LEVEL12 /* 1000 */, POINT_ATTBONUS_DEVIL, 10 }, { ALIGNMENT_LEVEL13 /* 1000 */, POINT_ATTBONUS_INSECT, 10 }, { ALIGNMENT_LEVEL14 /* 1000 */, POINT_ATTBONUS_FIRE, 10 }, { ALIGNMENT_LEVEL15 /* 1000 */, POINT_ATTBONUS_ICE, 10 }, { ALIGNMENT_LEVEL16 /* 1000 */, POINT_ATTBONUS_MONSTER, 10 }, { ALIGNMENT_LEVEL17 /* 1000 */, POINT_ATTBONUS_WARRIOR, 10 }, { ALIGNMENT_LEVEL18 /* 1000 */, POINT_ATTBONUS_ASSASSIN, 10 }, { ALIGNMENT_LEVEL19 /* 1000 */, POINT_ATTBONUS_SURA, 10 }, { ALIGNMENT_LEVEL20 /* 1000 */, POINT_ATTBONUS_SHAMAN, 10 }, { ALIGNMENT_LEVEL21 /* 1000 */, POINT_RESIST_WARRIOR, 10 }, { ALIGNMENT_LEVEL22 /* 1000 */, POINT_RESIST_ASSASSIN, 10 }, { ALIGNMENT_LEVEL23 /* 1000 */, POINT_RESIST_SURA, 10 }, { ALIGNMENT_LEVEL24 /* 1000 */, POINT_RESIST_SHAMAN, 10 }, { ALIGNMENT_LEVEL25 /* 1000 */, POINT_RESIST_SWORD, 10 }, { ALIGNMENT_LEVEL26 /* 1000 */, POINT_RESIST_TWOHAND, 10 }, { ALIGNMENT_LEVEL27 /* 1000 */, POINT_RESIST_DAGGER, 10 }, { ALIGNMENT_LEVEL28 /* 1000 */, POINT_RESIST_BELL, 10 }, { ALIGNMENT_LEVEL29 /* 1000 */, POINT_RESIST_BOW, 10 }, { ALIGNMENT_LEVEL30 /* 1000 */, POINT_ATTBONUS_STONE, 10 }, { ALIGNMENT_LEVEL31 /* 1000 */, POINT_ATTBONUS_BOSS, 10 }, { ALIGNMENT_LEVEL32 /* 4000 */, POINT_MAX_HP, 2500 }, }; [Hidden Content] up here where it shows you +10, I would like it to show me what bonus there is, can you help me somehow? ( Penetration/Critic +10)
  2. after you select the character, it takes you out of the client, and I don't get any errors , why ???? I mention that I checked the installation several times
  3. really???? :))) map_allow not every server has the problem at home, it may be because of the changes that he probably did not make correctly or on the source side he made a mistake in some declarations or arguments
  4. good first step mention what version the boost you need for source because the code differs
  5. it's work example : item.APPLY_MAX_HP : [localeInfo.TOOLTIP_MAX_HP, 2000],
  6. colorinfo.py -> root CHR_NAME_RGB_MOB = (141, 219, 236)
  7. Good, the tutorial is helpful, but there IS a big problem, somewhere around 40% of the folders don't load correctly and will give you the error. Something needs to be corrected CMapManager::GetHeight(392925.875000, 676427.937500) - Accessing in a not initialized map
  8. it's not complete error from BINARY_NEW_RefreshAffect
  9. from 'register' is no longer a supported storage class in to EterBase/Random.cpp search : unsigned long random() { register long x, hi, lo, t; /* * Compute x[n + 1] = (7^5 * x[n]) mod (2^31 - 1). * From "Random number generators: good ones are hard to find", * Park and Miller, Communications of the ACM, vol. 31, no. 10, * October 1988, p. 1195. */ x = randseed; hi = x / 127773; lo = x % 127773; t = 16807 * lo - 2836 * hi; if (t <= 0) t += 0x7fffffff; randseed = t; return (t); } change like this or replace : unsigned long random() { /* * Compute x[n + 1] = (7^5 * x[n]) mod (2^31 - 1). * From "Random number generators: good ones are hard to find", * Park and Miller, Communications of the ACM, vol. 31, no. 10, * October 1988, p. 1195. */ long x = randseed; long hi = x / 127773; long lo = x % 127773; long t = 16807 * lo - 2836 * hi; if (t <= 0) t += 0x7fffffff; randseed = t; return (t); } search in to tea.cpp void tea_code(const unsigned long sz, const unsigned long sy, const unsigned long *key, unsigned long *dest) { register unsigned long y = sy, z = sz, sum = 0; unsigned long n = TEA_ROUND; while (n-- > 0) { y += ((z << 4 ^ z >> 5) + z) ^ (sum + key[sum & 3]); sum += DELTA; z += ((y << 4 ^ y >> 5) + y) ^ (sum + key[sum >> 11 & 3]); } *(dest++) = y; *dest = z; } void tea_decode(const unsigned long sz, const unsigned long sy, const unsigned long *key, unsigned long *dest) { #pragma warning(disable:4307) register unsigned long y = sy, z = sz, sum = DELTA * TEA_ROUND; #pragma warning(default:4307) unsigned long n = TEA_ROUND; while (n-- > 0) { z -= ((y << 4 ^ y >> 5) + y) ^ (sum + key[sum >> 11 & 3]); sum -= DELTA; y -= ((z << 4 ^ z >> 5) + z) ^ (sum + key[sum & 3]); } *(dest++) = y; *dest = z; } replace with this : void tea_code(const uint32_t sz, const uint32_t sy, const uint32_t * key, uint32_t * dest) { uint32_t y = sy, z = sz, sum = 0; uint32_t n = TEA_ROUND; while (n-- > 0) { y += ((z << 4 ^ z >> 5) + z) ^ (sum + key[sum & 3]); sum += DELTA; z += ((y << 4 ^ y >> 5) + y) ^ (sum + key[sum >> 11 & 3]); } *(dest++) = y; *dest = z; } void tea_decode(const uint32_t sz, const uint32_t sy, const uint32_t * key, uint32_t * dest) { #pragma warning(disable : 4307) uint32_t y = sy, z = sz, sum = DELTA * TEA_ROUND; #pragma warning(default : 4307) uint32_t n = TEA_ROUND; while (n-- > 0) { z -= ((y << 4 ^ y >> 5) + y) ^ (sum + key[sum >> 11 & 3]); sum -= DELTA; y -= ((z << 4 ^ z >> 5) + z) ^ (sum + key[sum & 3]); } *(dest++) = y; *dest = z; } search in to Utils.cpp: int MINMAX(int min, int value, int max) { if (max < min) return MAX(min, value); register int tv; tv = (min > value ? min : value); return (max < tv) ? max : tv; } replace with this : int MINMAX(int min, int value, int max) { if (max < min) return MAX(min, value); int tv = (min > value ? min : value); return (max < tv) ? max : tv; } search : float fMINMAX(float min, float value, float max) { register float tv; tv = (min > value ? min : value); return (max < tv) ? max : tv; } replace with this : float fMINMAX(float min, float value, float max) { float tv = (min > value ? min : value); return (max < tv) ? max : tv; }
  10. The problem is as follows. I added a bonus to the weapon but it does not appear, it happens to all items that the bonuses do not appear on the items. can you tell me where the problem would come from? Image below
  11. if you tolk this shit everywhere shut up and sure you can use the button NEXT.
  12. man or girl i say I NEED ALL TYPES LIKE THAT FOR SOURCES LIKE THAT : uint32_t = unsigned int uint64_t = unsigned long long int this is on example
  13. hello i need all types converted i think like that : uint32_t = unsigned int uint64_t = unsigned long long int it was posted somewhere but I can't find it anymore. Any can help me?
  14. i need YOUR FILE complete to look at all the code, that's why I'm asking for your complete file uiInventory.py
  15. it's not complete. if you only have this code in uiInventory.py it means it's weird
×
×
  • 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.