Jump to content

avertuss

Inactive Member
  • Posts

    480
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by avertuss

  1. Hi. I know we have this but i want to stop collison for all mobs. I don't want make it in this You can add whatever you like vnum of npc or monster (mob_proto) */ int pListGlobal[] = {9001, 9002, 9003, 9004, 9005, 9006, 20011, 20091, 20092, 20093, 20094, 20095, 30000}; XD
  2. Hi. How can i remove this 1 spacerbar? In client source ofc.
  3. Okey, so i have this std::string stPrestige = "["; if (GetPrestigeLevel() == 5) { stPrestige += "King"; } else stPrestige += "Dick"; stPrestige += "] "; //GetNameString() += stPrestige; stPrestige += GetNameString(); CPythonTextTail::Instance().UpdateName(GetVirtualID(), stPrestige.c_str()); This version doesn't work GetNameString() += stPrestige; but this version works stPrestige += GetNameString();
  4. Hi. I use prestige system #if ENABLE_NEW_PRESTIGE_SYSTEM == 1 char szNameTextTail[5000 + 1]; if (pCharacterInstance->IsPC() && pCharacterInstance->GetPrestigeLevel()) { if (pCharacterInstance->GetPrestigeLevel() < PRESTIGE_MAX) snprintf(szNameTextTail, sizeof(szNameTextTail), "[Prestige %d]%s", pCharacterInstance->GetPrestigeLevel(), pCharacterInstance->GetNameString()); else snprintf(szNameTextTail, sizeof(szNameTextTail), "[Prestige Master]%s", pCharacterInstance->GetNameString()); } else snprintf(szNameTextTail, sizeof(szNameTextTail), "%s", pCharacterInstance->GetNameString()); TTextTail * pTextTail = RegisterTextTail(dwVirtualID, szNameTextTail, pCharacterInstance->GetGraphicThingInstancePtr(), pCharacterInstance->GetGraphicThingInstanceRef().GetHeight() + fAddHeight, c_rColor); #else TTextTail * pTextTail = RegisterTextTail(dwVirtualID, pCharacterInstance->GetNameString(), pCharacterInstance->GetGraphicThingInstancePtr(), pCharacterInstance->GetGraphicThingInstanceRef().GetHeight() + fAddHeight, c_rColor); #endif It looks like i want edit this to Czny. [Prestige level] How can i do it? I tried if (pCharacterInstance->GetPrestigeLevel() < PRESTIGE_MAX) snprintf(szNameTextTail, sizeof(szNameTextTail), pCharacterInstance->GetNameString(), "%s" "[Prestige %d]", pCharacterInstance->GetPrestigeLevel()); else snprintf(szNameTextTail, sizeof(szNameTextTail), pCharacterInstance->GetNameString(), "%s" "[Prestige Master]"); but it doesn't work ;/
  5. Hi. How can i change these bonuses? POINT_PARTY_ATTACKER_BONUS, POINT_PARTY_TANKER_BONUS, POINT_PARTY_BUFFER_BONUS, POINT_PARTY_SKILL_MASTER_BONUS, POINT_PARTY_DEFENDER_BONUS, POINT_PARTY_HASTE_BONUS. I mean that i want to change for example POINT_PARTY_TANKER_BONUS = 3k hp etc. Thank you for help.
  6. Hi. How can i block dll injection into client?
  7. Hi. I have problem with sash system. All is on gif I'm getting bonus from weapon not x% from bonus as you can see on gif. Someone can fix it?
  8. Hi. I have problem with this error in syserr OnButton: QUEST There's suspended quest state, can't run new quest state (quest: wskaznikHpWroga pc: Quest quest wskaznikHpWroga begin state start begin when login begin cmdchat("super_quest "..q.getcurrentquestindex()) end when info or button begin cmdchat("GetInputStart") local vid = input(cmdchat("get_input_value")) cmdchat("GetInputStop") local old_pc = pc.select(vid) local name = pc.get_name() local hp = pc.get_hp() local max_hp = pc.get_max_hp() pc.select(old_pc) cmdchat("pvp_zdruwko "..name.."|"..hp.."|"..max_hp) end end end
  9. Hi. I don't wanna align with values on -, so i edit in char_battle like this: m_iRealAlignment = MINMAX(0, m_iRealAlignment + iAmount, 200000); if (GetRealAlignment() >= 190000) iAlignIndex = 0; else if (GetRealAlignment() >= 180000) iAlignIndex = 1; else if (GetRealAlignment() >= 170000) iAlignIndex = 2; else if (GetRealAlignment() >= 160000) iAlignIndex = 3; else if (GetRealAlignment() >= 150000) iAlignIndex = 4; else if (GetRealAlignment() >= 140000) iAlignIndex = 5; else if (GetRealAlignment() >= 150000) iAlignIndex = 6; else if (GetRealAlignment() >= 160000) iAlignIndex = 7; else iAlignIndex = 8; FPartyAlignmentCompute f(0, pkKiller->GetX(), pkKiller->GetY()); pkKiller->GetParty()->ForEachOnlineMember(f); if (f.m_iCount == 0) pkKiller->UpdateAlignment(0); else { sys_log(0, "ALIGNMENT PARTY count %d amount %d", f.m_iCount, f.m_iAmount); f.m_iStep = 1; pkKiller->GetParty()->ForEachOnlineMember(f); } } else pkKiller->UpdateAlignment(0); Should it work? + How can i increase max align values. Default it's short with max 32k i want change it to int.
  10. Hi. How can i add bonus when i transfor into marble? For example: i have Polymorph skill on p level and when i use marble i will receive bonus 2k hp. Probably it's this void CHARACTER::SetPolymorph(DWORD dwRaceNum, bool bMaintainStat) function but idk. Ofc if i dead or marble will end own time bonus will be removed. Thank you for help guys. + i don't wanna make spam on forum so i will ask there. Where can i edit bonuses from [Hidden Content] ???
  11. Hi. How to delete this? I mean that if putting stone into item fails it make clear slot instead put piece of broken stone. Sorry for my english but i hope you understand.
  12. Hi, i want start server on virtualbox in my lan but game doesn't start. Db works. I turned on dhcp client on freebsd. I got this ip address In syserr i can see: INTERNAL_IP: 10.10.10.5 interface em0 Can not get public ip address Putty works, winscp works, db works but game not. What should i do? I don't wanna use hamachi or idk.
  13. Hi. I added report system, but i have problem. Py code: [Hidden Content] Syserr: 0313 19:13:24983 :: Traceback (most recent call last): 0313 19:13:24984 :: File "ui.py", line 1366, in CallEvent 0313 19:13:24984 :: File "ui.py", line 87, in __call__ 0313 19:13:24984 :: File "ui.py", line 69, in __call__ 0313 19:13:24984 :: File "uiSystem.py", line 144, in ReportWindowOpen 0313 19:13:24984 :: TypeError 0313 19:13:24984 :: : 0313 19:13:24984 :: 'module' object is not callable 0313 19:13:24984 :: 0313 19:13:31084 :: Traceback (most recent call last): 0313 19:13:31084 :: File "ui.py", line 1366, in CallEvent 0313 19:13:31084 :: File "ui.py", line 87, in __call__ 0313 19:13:31084 :: File "ui.py", line 69, in __call__ 0313 19:13:31084 :: File "uiSystem.py", line 354, in __PencereyiKapatMesaji 0313 19:13:31084 :: AttributeError 0313 19:13:31084 :: : 0313 19:13:31084 :: 'SystemDialog' object has no attribute 'KurallarOpen' 0313 19:13:31084 :: Can you help me guys?
  14. Hi. Someone has psd of original gm mark or something like this?
  15. Still SYSERR: Mar 11 21:55:04 :: ChildLoop: AsyncSQL: query failed: Out of range value for column 'hp' at row 1 (query: UPDATE player SET job = 0, voice = 0, dir = 0, x = 967125, y = 277225, z = 0, map_index = 41, exit_x = 967125, exit_y = 277225, exit_map_index = 41, hp = -27950, mp = 2731, stamina = 1975, random_hp = 4072, random_sp = 2016, playtime = 12, level = 102, level_step = 0, st = 135, ht = 135, dx = 46, iq = 3, gold = 542019661, exp = 87633261, stat_point = 0, skill_point = 16, sub_skill_point = 43, stat_reset_count = 0, ip = '25.69.178.230', part_main = 41337, part_hair = 5070, part_sash = 4, last_play = NOW(), skill_group = 1, alignment = -10000, horse_level = 21, horse_riding = 0, horse_hp = 35, horse_hp_droptime = 1489524623, horse_stamina = 120, horse_skill_point = 0, prestige = 0, skill_level = '\0\0\0\0\0\0(\0\0\0\0(\0\0\0\0\0\0\0\0(\0\0\0\0(\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
  16. Still SYSERR: Mar 11 21:26:58 :: ChildLoop: AsyncSQL: query failed: Out of range value for column 'hp' at row 1 (query: UPDATE player SET job = 0, voice = 0, dir = 0, x = 959652, y = 273628, z = 0, map_index = 41, exit_x = 959652, exit_y = 273628, exit_map_index = 41, hp = -27950, mp = 2731, stamina = 1975, random_hp = 4072, random_sp = 2016, playtime = 13, level = 102, level_step = 0, st = 135, ht = 135, dx = 46, iq = 3, gold = 532359523, exp = 88267224, stat_point = 0, skill_point = 16, sub_skill_point = 43, stat_reset_count = 0, ip = '25.69.178.230', part_main = 41337, part_hair = 5070, part_sash = 4, last_play = NOW(), skill_group = 1, alignment = -10000, horse_level = 21, horse_riding = 0, horse_hp = 35, horse_hp_droptime = 1489522939, horse_stamina = 120, horse_skill_point = 0, prestige = 0, skill_level = '\0\0\0\0\0\0(\0\0\0\0(\0\0\0\0\0\0\0\0(üĹX(\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ SYSERR: Mar 11 21:33:59 :: ChildLoop: AsyncSQL: query failed: Out of range value for column 'hp' at row 1 (query: UPDATE player SET job = 0, voice = 0, dir = 0, x = 469300, y = 964200, z = 0, map_index = 1, exit_x = 469300, exit_y = 964200, exit_map_index = 1, hp = -22950, mp = 2731, stamina = 1975, random_hp = 4072, random_sp = 2016, playtime = 18, level = 102, level_step = 0, st = 135, ht = 135, dx = 46, iq = 3, gold = 532359523, exp = 88267224, stat_point = 0, skill_point = 16, sub_skill_point = 43, stat_reset_count = 0, ip = '25.69.178.230', part_main = 41337, part_hair = 5070, part_sash = 4, last_play = NOW(), skill_group = 1, alignment = -10000, horse_level = 21, horse_riding = 0, horse_hp = 35, horse_hp_droptime = 1489522939, horse_stamina = 120, horse_skill_point = 0, prestige = 0, skill_level = '\0\0\0\0\0\0(\0\0\0\0(\0\0\0\0\0\0\0\0(üĹX(\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
  17. it isn't reason because already i have idk why hp in query has value < 0 if in game i have hp >0
  18. Hi. I have problem with hp query into player table. Query: SYSERR: Mar 11 15:59:44 :: ChildLoop: AsyncSQL: query failed: Out of range value for column 'hp' at row 1 (query: UPDATE player SET job = 0, voice = 0, dir = 0, x = 960272, y = 273122, z = 0, map_index = 41, exit_x = 960272, exit_y = 273122, exit_map_index = 41, hp = -19450, mp = 2731, stamina = 1975, random_hp = 4072, random_sp = 2016, playtime = 10, level = 102, level_step = 0, st = 135, ht = 135, dx = 46, iq = 3, gold = 530273745, exp = 76221927, stat_point = 0, skill_point = 0, sub_skill_point = 43, stat_reset_count = 0, ip = '25.69.178.230', part_main = 41337, part_hair = 5070, part_sash = 0, last_play = NOW(), skill_group = 0, alignment = -10000, horse_level = 21, horse_riding = 0, horse_hp = 35, horse_hp_droptime = 1489503257, horse_stamina = 120, horse_skill_point = 0, prestige = 0, skill_level = '\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 hp in query : -19450 but in game i have 46086 hp
  19. Hi. i have problem with fan model model+textures [Hidden Content] Can someone fix it or tell me how to fix it?
  20. Can i make it like this? [Hidden Content]
×
×
  • 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.