Jump to content
Forgot your email address? ×
  • Create New...


  • Posts

  • Joined

  • Last visited

  • Days Won


VegaS last won the day on January 8 2017

VegaS had the most liked content!

About VegaS

  • Birthday 01/22/1884


  • Gender

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

VegaS's Achievements

Rising Star

Rising Star (9/14)

  • Very Popular Rare
  • First Post
  • Collaborator
  • Week One Done
  • One Month Later

Recent Badges



  1. This account was banned 4 years ago because of:

    • multi account
    • spamming/warnings

    The new account: 

    1. ツ

      Do you want me to merge your accounts ? :) 

    2. ツ
  2. cel mai smecher ❤️

  3. PS: Sorry for so later answer here, but one guy asked me about this topic, and i was think is ok and post here. [Hidden Content] - Here is more settings.
  4. M2 Download Center Download Here ( Internal ) Perhaps it will be useful for some people for various systems. Have fun. # onPressKeyDict[app.DIK_F5] = lambda : self.Print() # For test function @root/game.py def Print(self): import app, chat list = "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" # Set list maxStr = 10 # Set the maximum number of characters k = "" for v in xrange(maxStr): k = k + list[app.GetRandom(0, len(list) - 1)] chat.AppendChat(chat.CHAT_TYPE_INFO, "Result word: %s" % str(k))
  5. You can contact these people: (i don't know if all still working on that) @DevChuckNorris @.PolluX @Ayaka @Mariuk3 @ondry @metin2team @MichaelM @BombWork Studio @Ionuț | @Optimus
  6. https://metin2dev.org/board/index.php?/topic/8073-new-map/ Haha ok? (you was can give me a pm and delete tag, no need to make off-topic here xD.)
  7. Here is a list with good people 100% recommended: @Ace - Best @KiLL MoveS. @.plechito' @Mizune @C95Mapper @bnmmm1 [!] I do not know too much about them if he trusted or no, or if make good job but you can try: @Sonitex @Anthony's @KemazI @Yolnen @Surinox
  8. M2 Download Center Download Here ( Internal ) For who want in client-side: For who want in server-side:
  9. Debug: //@svn/Server/game/common/service.h #define ENABLE_LUA_FUNCTION_TIME //@svn/Server/game/src/game/questlua_global.cpp //1.) Search: int _get_global_time(lua_State* L) { lua_pushnumber(L, get_global_time()); return 1; } //2.) Add bellow: #ifdef ENABLE_LUA_FUNCTION_TIME /* © Dick of VegaS™ */ #include <time.h> /* time_t, struct tm, time, localtime */ int _print_datetime(lua_State* L) { time_t currentTime; struct tm *localTime; time(&currentTime); localTime = localtime(&currentTime); CQuestManager::Instance().GetCurrentCharacterPtr()->ChatPacket(CHAT_TYPE_NOTICE, "%s", asctime(localTime)); return 0; } #endif //3.) Search: { "get_global_time", _get_global_time }, //4.) Add bellow: #ifdef ENABLE_LUA_FUNCTION_TIME { "print_datetime", _print_datetime }, #endif //@usr/home/game/share/locale/germany/quest_functions: print_datetime //@usr/home/game/share/locale/germany/lua_test.lua: quest lua_test begin state start begin when login begin print_datetime() end end end If u want to check only one things you can call with this example: int mYear = localTime->tm_year; CQuestManager::Instance().GetCurrentCharacterPtr()->ChatPacket(CHAT_TYPE_NOTICE, "Year: %d", mYear); tm_sec int seconds after the minute 0-61* tm_min int minutes after the hour 0-59 tm_hour int hours since midnight 0-23 tm_mday int day of the month 1-31 tm_mon int months since January 0-11 tm_year int years since 1900 tm_wday int days since Sunday 0-6 tm_yday int days since January 1 0-365 tm_isdst int Daylight Saving Time flag
  10. You can contact these people: @DevChuckNorris @.PolluX @Ayaka @Mariuk3 @ondry @metin2team @MichaelM @BombWork Studio @Ionuț | @Optimus
  11. //@svn/Source/Client/UserInterface/InstanceBaseBattle.cpp //1.) Search: bool CInstanceBase::NEW_UseSkill(UINT uSkill, UINT uMot, UINT uMotLoopCount, bool isMovingSkill) { //2.) Add bellow: #ifdef ENABLE_DISABLE_ATTACK_SPECIALS_MAP std::string uCurrentMap = CPythonBackground::Instance().GetWarpMapName(); static const char* uArrayListOfMaps[] = { "metin2_map_a1", "metin2_map_b1", "metin2_map_c1" }; /* loaded from atlasinfo.txt */ for (int arg=0; arg<_countof(uArrayListOfMaps); arg++) { if (IsPC() && uArrayListOfMaps[arg] == uCurrentMap) { TraceError("CInstanceBase::Skill on map %s was blocked. Vegas have big dick oOoOoOoOo", uArrayListOfMaps[arg]); return false; } } #endif
  12. Here you have a small example to understand better. //@svn/Source/Client/UserInterface/Userinterface.cpp: int GetSizeOfMyDLL(char* fileName) { HANDLE file = CreateFileA(fileName, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); return GetSizeOfMyDLL(file, NULL); } int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { #define SIZE_DLL 16896 #define NAME_DLL "bdvid32.dll" HINSTANCE hGetProcIDDLL = LoadLibrary(NAME_DLL); if (hGetProcIDDLL == NULL) { MessageBox(NULL, "The client can't start without one dll, please update autopatcher.", "#System Error", MB_ICONSTOP); return 0; } else if (GetSizeOfMyDLL(NAME_DLL) != SIZE_DLL) { MessageBox(NULL, "DLL has been changed, please update autopatcher.", "#System Error", MB_ICONSTOP); return 0; } }
  13. You can not do this because of pet time that you use that system by saving time is used by data type int value what was saved on storage mysql. You need to make a takeover increment in real time server and decrease in all columns baseline - 1 second. Which means you will have to do a query directly query that look like to do a check which consists if time is > 0, then you need a query and update query as noted above. Or you can do an event which is running throughout the game (as long as it receives no crash or other strokes), and through that event can decrease the time of each column of the table in mysql in real time. Here you have 50% of ideea what i was say, for rest you need to use your brain or leave this method. //@set_global_time //Small checks for formate a idea about what i was want to say. std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery("SELECT duration FROM user.table")); MYSQL_ROW row; int resLine = 0; for(int i = 0; (row = mysql_fetch_row(pMsg->Get()->pSQLResult)) != NULL; ++i) { str_to_number(resLine, row[0]); } if (resLine > 0) { char sqQuery[QUERY_MAX_LEN + 1]; snprintf(sqQuery, sizeof(sqQuery), "UPDATE user.table SET duration = duration - 1"); std::auto_ptr<SQLMsg> msg(DBManager::instance().DirectQuery(sqQuery)); } You can create and a one vector like: std::vector<int> listDuration; and save all data from storage mysql with all duration and after that to check with one special pointer each and decrease duration. But anyway, these methods are crap and are not recommended, can not be too familiar with the subject because I do not know how the system works very well your pet so I can't pronounce to something more better on this information.
  14. You can test with this. //@svn/Client/UserInterface/InstanceBaseEffect.cpp void CInstanceBase::UpdateTextTailLevel(DWORD level) { if (IsPC()) { static D3DXCOLOR s_kLevelColor = D3DXCOLOR(152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f); char szText[256]; char* szName[2] = {"[VIP]", "[Player]"}; /* Name of grade */ char* szColor[2] = {"d2d400", "09eeee"}; /* Color of grade: [Hidden Content] */ if (IsVIP()) { sprintf(szText, "|cFF%s%s|r Lv. %d", szColor[0], szName[0], level); } else { sprintf(szText, "|cFF%s%s|r Lv. %d", szColor[1], szName[1], level); } CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor); } }

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.