Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Denis

  1. Well, instead of removing them u can access them and just remove the content
  2. Why you did not do this? Isn't it simplier this way ? m_stateIdle.Set(this, &CHARACTER::BeginStateEmpty, &CHARACTER::StateHorse, &CHARACTER::EndStateEmpty); m_stateMove.Set(this, &CHARACTER::BeginStateEmpty, &CHARACTER::StateMove, &CHARACTER::EndStateEmpty); m_stateBattle.Set(this, &CHARACTER::BeginStateEmpty, &CHARACTER::StateHorse, &CHARACTER::EndStateEmpty); //Instead of StateHorse create a new one inside char_state called StateMount or sth same for StateMove
  3. What about thinking on how to fix it yourself?
  4. Denis

    Encrypting python files :)

    https://gyazo.com/feb2b32474c88856fba34fee8dfdba35 The gif shows everything
  5. Denis

    Encrypting python files :)

    Hmm yea maybe I will do a tutorial about it, I don't know for sure.
  6. 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
  7. Denis

    [C++] Command Temp GM Rights Function

    Put at least some kind of authentication..
  8. Denis

    7/8 Skills proto

    Hi, Since some people asked me the 7/8 skills skill_proto here it is http://pastebin.com/TsfhhCrD
  9. 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
  10. Check your tabs at 458 line at uiminimap
  11. Denis

    c++ Seen System[SHOP]

    Wouldn't it be better to store the "Guests" inside a vector and then check if the guest already exists in it, if yes don't add the guest to vector, if no add it to vector then send to client? I'm just narrow-minded when it comes to quest flags haha
  12. Denis

    open Help fopen

    But.. you know why we need google if we have our metin2dev
  13. Denis

    open P2P Login Send Problem

    Show us the actual code
  14. Denis

    open Source question

    Check how kill trigger works and find where in the src the trigger is called
  15. Denis

    windows Problem with connections (network)

    Try reinstall your network drivers(delete the current ones first tho).
  16. Denis

    Official Block System(Not Official Addings)

    You should make the minimap dot disappear too
  17. Denis

    open Change the font of client

    Or add them at prototype
  18. Denis

    open Change the font of client

    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"
  19. Denis

    open Locale.lua problem

    Are you sure its the locale.lua? It may be the quest
  20. Denis

    open Refine percentage success

    Check if there are >= 3 items and then change the position with SetPosition event from ui
  21. 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
  22. Denis

    solved Help offline shop pack error

    Failed to load script file : uiscript/attachstonedialog.py
  23. Denis

    open 1678 client by Daroo

    Either use source to compile your own cores either use vanilla's. Don't forget to download 40k client
  24. 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
  25. Denis


    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()); }