Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/07/15 in all areas

  1. Hi devs, today I'll share you the fix for Absorbation Rate that doesn't show, if it doesn't. In uitooltip.py from root search: if isCostumeAcce != 0: if metinSlot != 0: absChance = int(metinSlot[1]) if absChance > 0: self.AppendSpace(5) self.AppendTextLine(localeInfo.ACCE_ABSORB_CHANCE % (absChance), self.CONDITION_COLOR) replace with: if itemVnum >= 85001 and itemVnum <= 85008: if metinSlot != 0: absChance = int(metinSlot[1]) if absChance > 0: self.AppendSpace(5) self.AppendTextLine(localeInfo.ACCE_ABSORB_CHANCE % (absChance), self.CONDITION_COLOR) !!!! Keep an eye on TABULATORS. Image: [Hidden Content] Rata de absortie: Absorbation Rate You need to combine two shoulders to show the Absorbation Rate. If your shoulders have different CODES in item_proto, put the right codes here: if itemVnum >= 85001 and itemVnum <= 85008:
    3 points
  2. M2 Download Center Download Here ( Internal ) I just taked a look at AsyncSQL.H dunno. The formatting certainly isn't. Also, abusing stdafx out-of-tree. Ugh. And OS-specific synch. Reserved identifiers. C-style structs. Mixing tabs and spaces. DWORD. Fucking m_sem not even used. Copying full async resultset into a container eagerly? Oh. And using mySql Storing SQLResult* in a vector, not honouring Rule Of Three. The fucking type not even polymorphic, so use vector, or stable_vector if you must. Not typedeffing the container or using auto for the iterators. Using strange names for iterators (past?). Nohting ever initializes m_pkSQL. So that's encapsulation disavowed then. What happened to smart pointers... uiResultsPos in the database layer?!?!##!@# Not using prepared statements and bound arguments. C-style error handling through multiple non-encapsulated field. Read: missing errorhandling. CAsyncSQL2 - naming fail. CAsyncSQL looks somewhat saner. Possibly because it was nicked from somewhere? :))) Nice explain , here you have an improved async sql. IMPROVED Soon other libs re
    2 points
  3. Hi everyone, In this thread I will show you how to add new armor effects to the binary. Open InstanceBase.cpp and search for this: case CItemData::ITEM_TYPE_ARMOR: __ClearArmorRefineEffect(); // °©¿Ê Ưȭ ÀÌÆåÆ® if (pItem->GetSubType() == CItemData::ARMOR_BODY) { DWORD vnum = pItem->GetIndex(); if (12010 <= vnum && vnum <= 12049) { __AttachEffect(EFFECT_REFINED+EFFECT_BODYARMOR_SPECIAL); __AttachEffect(EFFECT_REFINED+EFFECT_BODYARMOR_SPECIAL2); } } if (refine < 7) //ÇöÀç Á¦·Ãµµ 7 ÀÌ»ó¸¸ ÀÌÆåÆ®°¡ ÀÖ½À´Ï´Ù. return 0; if (pItem->GetSubType() == CItemData::ARMOR_BODY) { m_armorRefineEffect = EFFECT_REFINED+EFFECT_BODYARMOR_REFINED7+refine-7; __AttachEffect(m_armorRefineEffect); } break; } return 0; } Replace with this: case CItemData::ITEM_TYPE_ARMOR: __ClearArmorRefineEffect(); // °©¿Ê Ưȭ ÀÌÆåÆ® if (pItem->GetSubType() == CItemData::ARMOR_BODY) { DWORD vnum = pItem->GetIndex(); // color armors [blue shining] - DEFAULT if (vnum >= 12010 && vnum <= 12019 || //Blaustahlpanzer vnum >= 12020 && vnum <= 12029 || //Blauer Drachenanzug vnum >= 12030 && vnum <= 12039 || //Auraplattenpanzer vnum >= 12040 && vnum <= 12049) //Kleidung des Drachen { __AttachEffect(EFFECT_REFINED + EFFECT_BODYARMOR_SPECIAL); //effect 19 bubble __AttachEffect(EFFECT_REFINED + EFFECT_BODYARMOR_SPECIAL2); //effect 20 blue shining } //Beginning NEW ARMOR - [New Effect] - NEW ARMOR if (vnum == Item-ID? || vnum == Item-ID? || vnum == Item-ID? || vnum == Item-ID? || vnum == Item-ID? || vnum == Item-ID? || vnum == Item-ID? || vnum == Item-ID?) { __AttachEffect(EFFECT_REFINED + EFFECT_BODYARMOR_NEW_SPECIAL1); //effect 19 NEW EFFECT __AttachEffect(EFFECT_REFINED + EFFECT_BODYARMOR_NEW_SPECIAL2); //effect 21 NEW EFFECT __AttachEffect(EFFECT_REFINED + EFFECT_BODYARMOR_REFINED9); //effect 18 sparkle 9 effect } //End NEW ARMOR - [New Effect] - NEW ARMOR } if (refine < 7) //ÇöÀç Á¦·Ãµµ 7 ÀÌ»ó¸¸ ÀÌÆåÆ®°¡ ÀÖ½À´Ï´Ù. return 0; if (pItem->GetSubType() == CItemData::ARMOR_BODY) { m_armorRefineEffect = EFFECT_REFINED+EFFECT_BODYARMOR_REFINED7+refine-7; __AttachEffect(m_armorRefineEffect); } break; } return 0; } Open InstanceBase.h and search for this: EFFECT_BODYARMOR_SPECIAL, EFFECT_BODYARMOR_SPECIAL2, Add the new lines with the new effects name and go over with the mouse to see the position of the effect in the enum. Example: EFFECT_BODYARMOR_SPECIAL = 19 EFFECT_BODYARMOR_SPECIAL2 = 20 EFFECT_BODYARMOR_NEW_SPECIAL1 = 21 EFFECT_BODYARMOR_NEW_SPECIAL2 = 22 Open the playersettingmodule.py and add the new effects chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED+19, "Bip01", "D:/ymir work/pc/common/effect/armor/armor-4-2-1.mse") chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED+20, "Bip01", "D:/ymir work/pc/common/effect/armor/armor-4-2-2.mse") chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED+21, "Bip01", "D:/ymir work/pc/common/effect/armor/armor-effect-new1.mse") chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED+22, "Bip01", "D:/ymir work/pc/common/effect/armor/armor-effect-new2.mse") After you did it pack the root.epk/eix and compile the binary.
    1 point
  4. If your shoulders have different codes, change my codes here: if itemVnum >= 85001 and itemVnum <= 85008: with your codes if itemVnum >= FIRST_SHOULDER_IN_ITEM_PROTO and itemVnum <= LAST_SHOULDER_IN_ITEM_PROTO:
    1 point
  5. 1107 05:01:06525 :: networkModule.py(line:208) SetSelectCharacterPhase system.py(line:130) __pack_import system.py(line:110) _process_result introSelect.py(line:15) <module> system.py(line:130) __pack_import system.py(line:110) _process_result uiToolTip.py(line:338) <module> uiToolTip.py(line:1073) ItemToolTip networkModule.SetSelectCharacterPhase - <type 'exceptions.NameError'>:name 'itemVnum' is not defined 1107 05:01:06525 :: ============================================================================================================ 1107 05:01:06525 :: Abort!!!! :/
    1 point
  6. 1106 03:02:00462 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/login_window.mp3 1106 03:02:13734 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/characterselect.mp3 1106 03:02:31110 :: CArea::LoadObject Property(12345678) Load ERROR 1106 03:02:31371 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted. 1106 03:02:32009 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/etc/emoticon/vip.mse) Error 1106 03:02:32009 :: CInstanceBase::RegisterEffect(eEftType=140, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/etc/emoticon/vip.mse, isCache=0) - Error 1106 03:02:35680 :: Traceback (most recent call last): 1106 03:02:35680 :: File "networkModule.py", line 237, in SetGamePhase 1106 03:02:35680 :: File "system.py", line 130, in __pack_import 1106 03:02:35680 :: File "system.py", line 110, in _process_result 1106 03:02:35680 :: File "game.py", line 40, in ? 1106 03:02:35680 :: File "system.py", line 130, in __pack_import 1106 03:02:35680 :: File " 1106 03:02:35680 :: <string> 1106 03:02:35680 :: ", line 1106 03:02:35680 :: 79 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: app.OnLogoClose() 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: 1106 03:02:35680 :: ^ 1106 03:02:35680 :: SyntaxError 1106 03:02:35680 :: : 1106 03:02:35680 :: invalid syntax 1106 03:02:35680 :: 1106 03:03:34094 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/login_window.mp3 1106 03:03:48344 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/characterselect.mp3 1106 03:03:48863 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000013, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted. 1106 03:04:50049 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted. 1106 03:04:56650 :: CPythonPlayer::SetItemData(dwSlotIndex=84, itemIndex=909090) - Failed to item data 1106 03:04:56987 :: CArea::LoadObject Property(12345678) Load ERROR 1106 03:04:57367 :: Traceback (most recent call last): 1106 03:04:57367 :: File "networkModule.py", line 239, in SetGamePhase 1106 03:04:57367 :: AttributeError 1106 03:04:57367 :: : 1106 03:04:57367 :: 'module' object has no attribute 'GameWindow' 1106 03:04:57367 ::
    1 point
×
×
  • 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.