Jump to content

alexander0195

Members
  • Content Count

    17
  • Joined

  • Last visited

About alexander0195

  • Rank
    Novato

Recent Profile Visitors

14 profile views
  1. Link [Hidden Content]
  2. Link [Hidden Content]
  3. Hola, Un cliente mío quería este sistema en su servidor y no pude encontrarlo en ninguna parte. Y cuando lo encontré en algún foro estaba incompleto. Me quedé un par de horas y busqué cada solución en este sistema. ¡Así que lo compartiré contigo! ¡Disfrutar! ¿Qué es nuevo? - Corregido crash core - Arreglado el exploit de recompensa de nivel 90 - Corregidos errores de compilación - Agregado botón de inventario Evidence Download Download Mirror # 2 VirusTotal Thanks: - Mot (corrección de error char.cpp) - Diaconu (corrección de error AFF_BIO) - Kratos (corrección de Crash core) - amvenitsavadcv (corrección de error count_value) - [HF] White - Dan Andrei (reelaborado y completado el sistema / tutorial 58110_8852788402737b3beb821527253c9971.rar
  4. Un amigo me preguntó cómo hacerlo y lo hice. Nota: si es pequeño, se me ocurrirá algo por primera vez Root > uitip.py class TipBoard(ui.Bar) class TipBoard(ui.Bar): SCROLL_WAIT_TIME = 3.0 TIP_DURATION = 5.0 STEP_HEIGHT = 17 def __init__(self): ui.Bar.__init__(self) self.AddFlag("not_pick") self.tipList = [] self.curPos = 0 self.dstPos = 0 self.nextScrollTime = 0 self.width = 370 self.SetPosition(0, 70) self.SetSize(370, 20) self.SetColor(grp.GenerateColor(0.0, 0.0, 0.0, 0.5)) self.SetWindowHorizontalAlignCenter() self.__CreateTextBar() def __del__(self): ui.Bar.__del__(self) def __CreateTextBar(self): x, y = self.GetGlobalPosition() self.textBar = TextBar(370, 300) self.textBar.SetParent(self) self.textBar.SetPosition(3, 5) self.textBar.SetClipRect(0, y, wndMgr.GetScreenWidth(), y+18) self.textBar.Show() def __CleanOldTip(self): leaveList = [] for tip in self.tipList: madeTime = tip[0] if app.GetTime() - madeTime > self.TIP_DURATION: pass else: leaveList.append(tip) self.tipList = leaveList if not leaveList: self.textBar.ClearBar() self.Hide() return self.__RefreshBoard() def __RefreshBoard(self): self.textBar.ClearBar() index = 0 for tip in self.tipList: text = tip[1] rgb = tip[2] if rgb != (0,0,0): self.textBar.SetTextColor(rgb[0],rgb[1],rgb[2]) self.textBar.TextOut(0, index*self.STEP_HEIGHT, text) self.textBar.SetTextColor(255,255,255) index += 1 def SetTip(self, text): if not app.IsVisibleNotice(): return rgb = (0,0,0) mat = re.search("\|cFF([a-zA-Z0-9]+)\|h", text) if mat and mat.group(1): hexd = mat.group(1) rgb = tuple(int(hexd[i:i+2], 16) for i in (0, 2, 4)) curTime = app.GetTime() self.tipList.append((curTime, text, rgb)) self.__RefreshBoard() self.nextScrollTime = app.GetTime() + 1.0 if not self.IsShow(): self.curPos = -self.STEP_HEIGHT self.dstPos = -self.STEP_HEIGHT self.textBar.SetPosition(3, 5 - self.curPos) self.Show() def OnUpdate(self): if not self.tipList: self.Hide() return if app.GetTime() > self.nextScrollTime: self.nextScrollTime = app.GetTime() + self.SCROLL_WAIT_TIME self.dstPos = self.curPos + self.STEP_HEIGHT if self.dstPos > self.curPos: self.curPos += 1 self.textBar.SetPosition(3, 5 - self.curPos) if self.curPos > len(self.tipList)*self.STEP_HEIGHT: self.curPos = -self.STEP_HEIGHT self.dstPos = -self.STEP_HEIGHT self.__CleanOldTip() QUEST quest Elisia begin state start begin when login begin send_letter("Duyurular") end -- when when button or info begin send_letter("Duyurular") notice_all("|cFF29BFBF|h<Duyuru> MmoTutkunlari <3") notice_all("|cFFFF0000|h<Duyuru> MmoTutkunlari <3") notice_all("|cFF00FF66|h<Duyuru> MmoTutkunlari <3") notice_all("<Duyuru> MmoTutkunlari <3") end-- when end -- state end -- quest Link [Hidden Content]
  5. questlua_pc.cpp // actualización Arat: int pc_get_another_quest_flag(lua_State* L) Üstüne ekle: #ifdef ENABLE_GEM_SYSTEM int pc_open_gem_shop(lua_State * L) { LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); if (ch->IsOpenSafebox() || ch->GetExchange() || ch->GetMyShop() || ch->IsCubeOpen() || ch->isSashOpened(true) || ch->isSashOpened(false) || ch->isChangeLookOpened() || ch->isAuraOpened(true) || ch->isAuraOpened(false)) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("?? ???? ??????? ????? ?? ? ????.")); return 0; } #ifdef ENABLE_BOSS_GEM_SYSTEM int gemShopType = (int)lua_tonumber(L, 1); ch->OpenGemShop(gemShopType); #else ch->OpenGemShop(); #endif return 0; } int pc_create_gaya(lua_State * L) { if (!lua_isnumber(L, 1)) { lua_pushboolean(L, 0); return 1; } int cost = (int)lua_tonumber(L, 1); int pct = (int)lua_tonumber(L, 2); int metinstone_cell = (int)lua_tonumber(L, 3); int glimmerstone_count = (int)lua_tonumber(L, 4); LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); LPITEM metinstone_item = ch->GetStoneInventoryItem(metinstone_cell); if (metinstone_item) lua_pushboolean(L, ch->CreateGaya(glimmerstone_count, metinstone_item, cost, pct)); else lua_pushboolean(L, 0); return 1; } #endif Arat: { NULL, NULL } Üstüne ekle: #ifdef ENABLE_GEM_SYSTEM {"open_gem_shop", pc_open_gem_shop}, {"create_gaya", pc_create_gaya}, // {"open_gem_shops", pc_open_gem_shops}, #endif gem ve patron gaya sistemi.rar
  6. extendeddsinventory.rar
  7. Link [Hidden Content]
  8. [Py]Panou GM.rar
  9. reproductor div ikarus offstore fix.7z
  10. Link [Hidden Content]
  11. Link [Hidden Content]
  12. Link [Hidden Content]
×
×
  • Create New...