Denis

Moderators
  • Content count

    949
  • Joined

  • Last visited

Everything posted by Denis

  1. open

    localeInfo.UI_DEF_FONT = "Arial:14" localeInfo.UI_DEF_FONT_LARGE = "Arial:16" //or localeInfo.UI_DEF_FONT = "Tahoma:12" localeInfo.UI_DEF_FONT_LARGE = "Tahoma:16"
  2. open

    Are you sure its the locale.lua? It may be the quest
  3. open

    Check if there are >= 3 items and then change the position with SetPosition event from ui
  4. So you are gonna add a packet for just 5/6 lines of code? net.SendChatPacket("/anyone_teleport %s" % self.AnyoneSystem.GetText()) # no need to escape the quotes with backslashes
  5. solved

    Failed to load script file : uiscript/attachstonedialog.py
  6. open

    Either use source to compile your own cores either use vanilla's. Don't forget to download 40k client
  7. case YOUR_ITEM_VNUM: { if (IsPolymorphed()) { return false; } int dwVnum = 0; if (item->GetVnum() == 50300) { dwVnum = item->GetSocket(0); } else { dwVnum = item->GetValue(0); } if (0 == dwVnum) { item->SetCount(item->GetCount() - 1); return false; } SetSkillLevel(dwVnum, GetSkillLevel(dwVnum)+1); } It should work
  8. c++

    Why you didn't use boost to split? Wouldn't it be easier like this: std::string arguments = "arg1,arg2,arg3"; std::vector<std::string> container; boost::split(container,arguments,boost::is_any_of(",")); // container.push_back("test"); for (auto & element : container) { printf("Output: %s\n", element.c_str()); }
  9. Hello community, Today i will show you how to change keys Open your binary with HxD and replace those keys with yours keys. Standart Lzo Key : B99EB0026F69810563989B2879181A00 Standart Χtea Key : 22B8B40464B26E1FAEEA1800A6F6FB1C StandartI tem_Proto Key: A1A40200AA155404E78B5A18ABD6AA01 Standart Mob_Proto Key: 467449000B4A0000B76E08009D186800 Item_Proto: 4D495058 Mob_Proto: 4D495054 EIX: 4D434F5A EPK: 45504B44 After changing those keys extract all your archives and then open your archiver and change the keys there too (the keys must be same client/archiver) and then pack it and you are done! Regards.
  10. Open account.account hit ctrl + d and set a default value
  11. open

    std::string tag = ""; if (std::string(GetNameString()).find("[Admin]") != std::string::npos) { tag = "smth"; }
  12. open

    You posted everything except the most important part auth
  13. I'm up for the idea, but don't expect too much from the others, cus you know every1 is just gonna ignore your post and just write "i have this bug help me pliss"
  14. open

    The attack part is at client src so you need to change that too
  15. Post the whole output
  16. You don't even tell us at which table they are and you expect us to help? Be more specific.
  17. Hello community, Bug: http://metin2dev.org/board/topic/2640-belt-inventory-bug/ The title says everything ^^ Open input_main.cpp and find this: if (!ch->IsEmptyItemGrid(p->ItemPos, pkItem->GetSize())) return; Under that add this code: for (WORD belt_index = BELT_INVENTORY_SLOT_START; belt_index < BELT_INVENTORY_SLOT_END; ++belt_index) { if (pkItem->GetType() != 3 && p->ItemPos.cell == belt_index) { if(pkItem->GetSubType() != 0 || pkItem->GetSubType() != 11 || pkItem->GetSubType() != 7) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ΐΜ ΎΖΐΜΕΫΐΊ Ί§Ζ® ΐΞΊ¥ΕδΈ®·Ξ ΏΕ±ζ Όφ Ύψ½ΐ΄Ο΄Ω.")); return; } } } Finally, it should looks like this: I don't know if it is the best fix but it does its job.
  18. Today I'm gonna show you how to compile the mainline_released client binary. Tools we will need: VS2008,Visual Studio 2008 SP1 We will need to make two folders on our hard drive for example include_stuff and lib_stuff after that we go to srcnovalineSrcsToolsWorldEditorexterninclude and copy all that things into include_stuff next go to srcnovalineSrcsToolsWorldEditorexternlib and copy all that things into lib_stuff next open srcnovalineSrcsToolsRAD Game Toolsgrannycommongranny_common_2_9_12_0_release.zip go to lib then win32 and copy all that into lib_stuff next go to srcnovalineSrcsExternlib and copy all into lib_stuff after this go to srcnovalineSrcsExterninclude and copy all into include_stuff In VS 2008 go to Tools->Options->Project and Solutions->VC++ Directories=>Select Include files and include there your include_stuff folder then select Library files and include there your lib_stuff files. Finally we did it Select to release mode and press ctrl+shift+b Kind Regards, Denic
  19. Hello guys today i'm gonna show u how to compile the source in freebsd. First of all you need and dns or a dedicated server because in hamachi server we can not use the fetch command We will install Gmake,Makedepend,Svn(subversion),Devil,G++ 1)gmake: cd /usr/ports/devel/gmake && make install clean 2)makedepend: cd /usr/ports/devel/makedepend && make install clean 3)svn: cd /usr/ports/devel/subversion && make install clean 4)devil: cd /usr/ports/graphics/devil && make install clean 5)G++: cd /usr/ports/lang/gcc48/ && make install clean NOTE: if you have already installed some of this step just skip the step and follow the other Then you do this: From libdevil/ copy all .a files into /usr/lib From libgame/From lib copy the From libgame.a file into /usr/lib From libhackshield/From lib copy the From libanticpxsvr.a file into /usr/lib From liblua/From lib copy the .a files into /usr/lib From libpoly/ copy the .o files into /usr/lib From libserverkey/ copy the .o files into /usr/lib From libthecore/From lib copy the From libthecore.a files into /usr/lib After copying the files into the /usr/lib do this: go to Extern folder of the novaline and open the include folder and copy everything into /usr/include go to Extern/Lib folder of the novaline branch and copy everything from there to /usr/lib go to Extern folder of the novaline branch and drag the cryptopp and openssl folders into /usr/include So we have installed everything then we have to upload the branch novaline into /usr/src then u give this command in freebsd: cd /usr/src/novaline/Server cd /usr/src/novaline/Server/ gmake To build db: cd /usr/src/novaline/Server/db/src gmake clean gmake -j20 To build game: cd /usr/src/novaline/Server/game/src gmake clean gmake -j20 Fixing the error: g++ directory": No such file or directory Solution: here
  20. Rainbow ftw haha
  21. You can edit ProtoReader at db for that
  22. Use cache and update it like each X hours it's pretty easy
  23. Since it's released it will be easy to create fixes for this protection, so I don't recommend using it.
  24. Use c++11 or replace std::unique_ptr with std::auto_ptr