Jump to content

Search the Community

Showing results for tags 'c++'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Administration
    • Register
    • Docs
    • Announcements
    • Security
  • Community
    • Projects
    • Feedback
    • Servers management
  • Counter-Strike: 2
    • Discussions
  • Counter-Strike: 1.6
    • Servers
    • Discussions
    • Tutorials
    • AMX Mod X
    • Resources
  • Metin2
    • Metin2 Plague
  • PHOTOSHOP
    • Area for Photoshop
  • OLDS ⚬ IT
    • Resurse Jocuri
    • Resurse Webmasteri
    • Operating Systems
  • ZONA INTERZISA
    • Vechi

Categories

  • Counter-Strike: 1.6
    • Servers
    • Client

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Tara


Oras


Steam

Found 3 results

  1. Acest system a fost cumparat cu 250 de cate Furia007 si postat gratis, enjoy. demo: download: https://mega.nz/#!MXZzlSRC!QbyPuzHLi3JZrXU8ThsniaAOrbEu-HoguXaFC_V5EdM
  2. [C++]Mail Box Final version - Systemul este full testat fara buguri! download: https://mega.nz/#!gb5yFIKS!L1zivKH4XduVQfqICiuNgZTmU31nAdoMX-ffpHtO09Y ui.py class ImageBox(Window): def __init__(self, layer = "UI"): Window.__init__(self, layer) self.eventFunc = {"mouse_click" : None, "mouse_over_in" : None, "mouse_over_out" : None} self.eventArgs = {"mouse_click" : None, "mouse_over_in" : None, "mouse_over_out" : None} self.eventDict={} def __del__(self): Window.__del__(self) self.eventFunc = None self.eventArgs = None def RegisterWindow(self, layer): self.hWnd = wndMgr.RegisterImageBox(self, layer) def LoadImage(self, imageName): self.name=imageName wndMgr.LoadImage(self.hWnd, imageName) if len(self.eventDict)!=0: print "LOAD IMAGE", self, self.eventDict def SetAlpha(self, alpha): wndMgr.SetDiffuseColor(self.hWnd, 1.0, 1.0, 1.0, alpha) def GetWidth(self): return wndMgr.GetWidth(self.hWnd) def GetHeight(self): return wndMgr.GetHeight(self.hWnd) def SetEvent(self, func, *args) : result = self.eventFunc.has_key(args[0]) if result: self.eventFunc[args[0]] = func self.eventArgs[args[0]] = args else : print "[ERROR] ui.py SetEvent, Can`t Find has_key : %s" % args[0] def OnMouseOverIn(self): try: self.eventDict["MOUSE_OVER_IN"]() except KeyError: pass def OnMouseOverOut(self): try: self.eventDict["MOUSE_OVER_OUT"]() except KeyError: pass def OnMouseLeftButtonUp(self) : if self.eventFunc["mouse_click"] : apply(self.eventFunc["mouse_click"], self.eventArgs["mouse_click"]) def OnMouseOverIn(self) : if self.eventFunc["mouse_over_in"] : apply(self.eventFunc["mouse_over_in"], self.eventArgs["mouse_over_in"]) else: try: self.eventDict["MOUSE_OVER_IN"]() except KeyError: pass def OnMouseOverOut(self) : if self.eventFunc["mouse_over_out"] : apply(self.eventFunc["mouse_over_out"], self.eventArgs["mouse_over_out"]) else : try: self.eventDict["MOUSE_OVER_OUT"]() except KeyError: pass def SAFE_SetStringEvent(self, event, func): self.eventDict[event]=__mem_func__(func) class AniImageBox(Window): def __init__(self, layer = "UI"): Window.__init__(self, layer) self.eventFunc = {"mouse_click" : None, "mouse_over_in" : None, "mouse_over_out" : None} self.eventArgs = {"mouse_click" : None, "mouse_over_in" : None, "mouse_over_out" : None} def __del__(self): Window.__del__(self) self.eventFunc = None self.eventArgs = None def RegisterWindow(self, layer): self.hWnd = wndMgr.RegisterAniImageBox(self, layer) def SetDelay(self, delay): wndMgr.SetDelay(self.hWnd, delay) def SetEvent(self, func, *args) : result = self.eventFunc.has_key(args[0]) if result: self.eventFunc[args[0]] = func self.eventArgs[args[0]] = args else : print "[ERROR] ui.py SetEvent, Can`t Find has_key : %s" % args[0] def OnMouseLeftButtonUp(self) : if self.eventFunc["mouse_click"] : apply(self.eventFunc["mouse_click"], self.eventArgs["mouse_click"]) def OnMouseOverIn(self) : if self.eventFunc["mouse_over_in"] : apply(self.eventFunc["mouse_over_in"], self.eventArgs["mouse_over_in"]) def OnMouseOverOut(self) : if self.eventFunc["mouse_over_out"] : apply(self.eventFunc["mouse_over_out"], self.eventArgs["mouse_over_out"]) def AppendImage(self, filename): wndMgr.AppendImage(self.hWnd, filename) def SetPercentage(self, curValue, maxValue): wndMgr.SetRenderingRect(self.hWnd, 0.0, 0.0, -1.0 + float(curValue) / float(maxValue), 0.0) def OnEndFrame(self): pass ========================================================== uiminimap import uiToolTip class MiniMap(ui.ScriptWindow): search: miniMap.SetScale(2.0) add bellow: if app.ENABLE_MAIL_BOX_SYSTEM: self.toolTip = uiToolTip.ToolTip(160) self.toolTip.HideToolTip() search: self.tooltipAtlasOpen.SetTooltipPosition(ButtonPosX, ButtonPosY) add bellow: if app.ENABLE_MAIL_BOX_SYSTEM: self.MailBoxButton.SetEvent(ui.__mem_func__(self.OnMouseOverIn), "mouse_over_in") self.MailBoxButton.SetEvent(ui.__mem_func__(self.OnMouseOverOut), "mouse_over_out") search: def OnUpdate(self): import time (x, y, z) = player.GetMainCharacterPosition() miniMap.Update(x, y) self.Time.SetText(time.strftime("%H:%M")) self.Time2.SetText(time.strftime("%d-%m-%Y")) ADD BEFORE: if app.ENABLE_MAIL_BOX_SYSTEM: def MailBoxValues(self,c_a,m_a,m_s): if c_a > 0: self.MailBoxEffect.Show() else: self.MailBoxEffect.Hide() self.toolTip.ClearToolTip() self.toolTip.SetTitle("Wiadomości otrzymane %d"%c_a) self.toolTip.AppendTextLine("Bez załącznika: %d / Z załącznikiem: %d"%(m_s,m_a)) def OnMouseOverIn(self): self.toolTip.ShowToolTip() def OnMouseOverOut(self): self.toolTip.HideToolTip()
  3. Slot pentru talismane. --- ---- We OPENING gamesour by> Common> Servise.h --- --- We are adding #define AHMET_TILSIM_SYSTE I --- ---- We OPENING gamesour by> Common> item_length.h 'we are looking ITEM_BELT; below --- --- We are adding C ++: #ifdef AHMET_TILSIM_SYSTEM "ITEM_PENDANT", #endif We OPENING ---- --- We are searching for GameSource> Common> length.h WEAR_BELT; below --- --- We are adding C ++: #ifdef AHMET_TILSIM_SYSTEM WEAR_PENDANT, #endif --- OPEN --- GameSource> DB> ProtoReader.cpp '"ITEM_BELT", Understand Gold; We are adding --- --- C ++: #ifdef AHMET_TILSIM_SYSTEM "ITEM_PENDANT", #endif --- OPEN --- GameSource> GameSource> char_item.cpp 'case ITEM_BELT: search. Below --- --- We are adding C ++: #ifdef AHMET_TILSIM_SYSTEM case ITEM_PENDANT: #endif We open --- --- gamesour by> gamesour by> item.cpp 'int CITEM :: findequipcell (LPCHARACT ch, int icandidatecell) .. we are looking ITEM_BELT bottom &&! = Gettype () next --- --- are adding C ++: && ITEM_PENDANT != GetType() We OPEN --- --- gamesour by> gamesour by> item.cpp 'else if (GetType () == ITEM_BELT) we are looking below --- --- We are adding C ++: #ifdef AHMET_TILSIM_SYSTEM else if (GetType() == ITEM_PENDANT) return WEAR_PENDANT; #endif --- We are opening --- GameSource> GameSource> item.cpp 'search for case ITEM_BELT:'. below --- --- We are adding C ++: #ifdef AHMET_TILSIM_SYSTEM case ITEM_PENDANT: #endif --- Game SOURCE WITH CUT OUT İŞİMİZ CLİENT SOURCE --- --- --- OPENING clientsour ACE / gamelib / ıtemdata.h 'we are looking ITEM_TYPE_BELT' below --- --- We are adding C ++: #ifdef AHMET_TILSIM_SYSTEM ITEM_TYPE_PENDANT, #endif --- OPEN --- ClientSource / UserInterface / GameType.h 'const DWORD c_Equipment_Belt = c_New_Equipment_Start + 2; 'We are looking below --- --- We are adding C ++: #ifdef AHMET_TILSIM_SYSTEM const DWORD c_Equipment_Pendant = c_New_Equipment_Start + 3;; #endif --- OPEN --- ClientSource / UserInterface / Locale_inc.h 'available biere --- EXPLORE --- C ++: #define AHMET_TILSIM_SYSTEM --- OPEN --- ClientSource / UserInterface / PythonitemModule.cpp 'PyModule_AddIntConstant (poModule, "EQUIPMENT_BELT", c_Equipment_Belt); 'We are looking below --- --- We are adding C ++: #ifdef AHMET_TILSIM_SYSTEM PyModule_AddIntConstant(poModule, "EQUIPMENT_PENDANT", c_Equipment_Pendant); #endif --- OPEN --- ClientSource / UserInterface / PythonitemModule.cpp 'PyModule_AddIntConstant (poModule, "ITEM_TYPE_BELT", CItemData :: ITEM_TYPE_BELT); 'We are looking below --- --- We are adding C ++: #ifdef AHMET_TILSIM_SYSTEM PyModule_AddIntConstant(poModule, "ITEM_TYPE_PENDANT", CItemData::ITEM_TYPE_PENDANT); #endif --- CLİENT SOURCE WITH CUT OUT OPEN İŞİMİZ we DUMP_PROTO SOURCE --- --- --- OPENING We DUMP_PROTO / ıtemcsvreader.cpp '#include "ıtemcsvreader.cpp" to voting under --- --- We are adding Code: #define AHMET_TILSIM_SYSTEM We OPEN --- --- DUMP_PROTO / ıtemcsvreader.cpp ' "ITEM_RING", "bottom to voting --- --- We are adding C ++: #ifdef AHMET_TILSIM_SYSTEM "ITEM_PENDANT", #endif ---- WE OPEN THE ROOT TO OUR ROOT - WE OPEN --- Root / uitooltip.py Open. 'Elif item.ıtem_type_rıng itemtype ==' to voting under --- --- We are adding Python: elif item.ITEM_TYPE_PENDANT == itemType: self.__AppendLimitInformation() self.__AppendAffectInformation() self.__AppendAttributeInformation(attrSlot) --- OPEN --- locale_en / locale / es / ui / inventorywindow.py '{"index": item.EQUIPMENT_BELT, "x": 39, "y": 106, "width": 32, "height": 32}, 'we're under search --- we're exposing --- Python: {"index":item.EQUIPMENT_PENDANT, "x":115, "y":145, "width":32, "height":32},

×
×
  • Create New...