Jump to content
Banner 730x90px boost

Search the Community

Showing results for tags 'cod'.

  • 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 2 results

  1. Tutorial realizat pe Metin2CMS V2.11 Mergem în include\sidebar\ranking.php Căutăm: <div class="col-md-4 top-inline top-inline-empire"><img src="<?php print $site_url; ?>images/empire/<?php print $empire=get_player_empire($player['account_id']); ?>.jpg" alt="<?php print emire_name($empire); ?>" title="<?php print emire_name($empire); ?>"></div> Înlocuim cu: <div class="col-md-4 top-inline top-inline-empire"><?php print $player['playtime']; ?><?php print $player['name']; ?></div> Căutăm: <div class="col-md-4 top-inline top-inline-empire"><img src="<?php print $site_url; ?>images/empire/<?php print $empire=get_guild_empire($guild['master']); ?>.jpg" alt="<?php print emire_name($empire); ?>" title="<?php print emire_name($empire); ?>"/></div> Înlocuim cu: <div class="col-md-4 top-inline top-inline-empire"><?php print $guild['ladder_point']; ?></div> Mergem în include\functions\basic.php Căutăm: function top10players() Înlocuim toată funcția cu: (am adaugat playtime si order) function top10players() { global $database; $banned_ids = getBannedAccounts(); if($banned_ids) $stmt = $database->runQueryPlayer("SELECT id, name, account_id, playtime FROM player WHERE name NOT LIKE '[%]%' AND account_id NOT IN (".$banned_ids.") ORDER BY level DESC, exp DESC, playtime DESC, name ASC limit 5"); else $stmt = $database->runQueryPlayer("SELECT id, name, account_id, playtime FROM player WHERE name NOT LIKE '[%]%' ORDER BY level DESC, exp DESC, playtime DESC, name ASC limit 5"); $stmt->execute(); $top = $stmt->fetchAll(); return $top; } Căutăm: function top10guilds() Înlocuim toată funcția cu: (am adaugat leadder_points si order) function top10guilds() { global $database; $stmt = $database->runQueryPlayer("SELECT name, master, ladder_point FROM guild WHERE name NOT LIKE '[%]%' ORDER BY level DESC, ladder_point DESC, exp DESC, name ASC limit 5"); $stmt->execute(); $top = $stmt->fetchAll(); return $top; } TREBUIE SA ARATE ASA Acum trebuie sa editam si paginile ranking/players si ranking/guilds Mergem în /pages/players.php Căutăm: <tbody> Înlocuim toată funcția cu: (am adaugat playtime si order) <?php $banned_ids = getBannedAccounts(); $records_per_page=15; if(isset($search)) { if($banned_ids) $query = "SELECT id, name, account_id, level, exp, playtime FROM player WHERE name NOT LIKE '[%]%' AND account_id NOT IN (".$banned_ids.") AND name LIKE :search ORDER BY playtime DESC, exp DESC, level DESC, name ASC"; else $query = "SELECT id, name, account_id, level, exp, playtime FROM player WHERE name NOT LIKE '[%]%' AND name LIKE :search ORDER BY playtime DESC, exp DESC, level DESC, name ASC"; $newquery = $paginate->paging($query,$records_per_page); $paginate->dataview($newquery, $search); } else { if($banned_ids) $query = "SELECT id, name, account_id, level, exp, playtime FROM player WHERE name NOT LIKE '[%]%' AND account_id NOT IN (".$banned_ids.") ORDER BY playtime DESC, exp DESC, level DESC, name ASC"; else $query = "SELECT id, name, account_id, level, exp, playtime FROM player WHERE name NOT LIKE '[%]%' ORDER BY playtime DESC, exp DESC, level DESC, name ASC"; $newquery = $paginate->paging($query,$records_per_page); $paginate->dataview($newquery); } ?> Căutăm: <thead class="thead-inverse"> Adăugăm o linie nouă: <th>Timp</th> Mergem în /pages/guilds.php Căutăm: <tbody> Înlocuim toată funcția cu: (am adaugat leadder_points si order) <?php $records_per_page=10; if(isset($search)) { $query = "SELECT id, name, master, level, ladder_point FROM guild WHERE name NOT LIKE '[%]%' AND name LIKE :search ORDER BY ladder_point DESC, level DESC, exp DESC, name ASC"; $newquery = $paginate->paging($query,$records_per_page); $paginate->dataview($newquery, $search); } else { $query = "SELECT id, name, master, level, ladder_point FROM guild WHERE name NOT LIKE '[%]%' ORDER BY ladder_point DESC, level DESC, exp DESC, name ASC"; $newquery = $paginate->paging($query,$records_per_page); $paginate->dataview($newquery); } ?> Mergem în /include/classes/players.php Căutăm: <td><img src="<?php print $site_url; ?>images/empire/<?php print $empire=get_player_empire($row['account_id']); ?>.jpg" alt="<?php print emire_name($empire); ?>" title="<?php print emire_name($empire); ?>"></td> Adăugăm o linie nouă: <td><?php print $row['playtime']; ?></td> TREBUIE SA ARATE ASA (eu am scos si nivelul din top la voi apare diferit) Daca ai o problema deschide un tichet.
  2. 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...