Jump to content

flygun

Former Staff
  • Posts

    729
  • Joined

  • Last visited

  • Days Won

    7
  • Feedback

    0%

Everything posted by flygun

  1. no O.o ... can you show me the code that's tells you this ??? the horse level is taken from the sql table but how ?? find CHARACTER::SetPlayerProto and you will know. The definition of the struct passed in param is inside common/tables.h thanks ... i found the struct "struct THorseInfo" ... i'll read some code now
  2. no O.o ... can you show me the code that's tells you this ??? the horse level is taken from the sql table but how ??
  3. Hello guys I'm a bit confused with some of the functions in the server source first thing I'm reading the source at the moment trying to understand how it's work (I'm not talking about how the server is working with the cores and db ....etc)I'm talking about some functions like this if (GetHorseLevel() <= 0) return; now this means that if the horse level is less or equals "0" don't continue .... now the problem is when I click (right-click) on this "GetHorseLevel" (I'm using VS2013) and click on "Go To definition" it sends me to "CHorseRider class" in horse_rider.h now the thing i can't understand is how the source gets the level of the horse ??? there are a lot of other things like this (i can't under stand) but i think if I realized this function i'll understand the others Sorry for bad english Best Regards FlyGun
  4. post "void CheckClientVersion() " body
  5. I see error in table.hpp (line number : 122) try to replace this .hpp file with the one in (include/boost/unordered/detail)
  6. what was the last thing you changed before the last build ??
  7. good job :/ but why don't you use code? oh and excuse my bad english ... but i think this will affect on ox-event ?? best regards FlyGun
  8. Thanks.... i really enjoy reading your topics because you explain every detail
  9. yes it's already the same source I'm using in FreeBSD I just made a copy of it and open it with vs2013 and fixed some code errors :/ . . . . add them or update them. How???
  10. hey .. thx for replying actually i know that the game can't open the file the problem is that i can't find it in any place i tried to search in FreeBSD :/ but i can't find this lib DB- same problem
  11. actually i can't under stand what are you asking for but if your asking about the GM IP list in navicat try to delete all ips and put "ALL"
  12. //SOLVED Hello guys .... i don't have much time (because of work and education) to continue studying C++ i got some basics which helps me a lot at the moment so ... as in the title I'm trying to compile the server (Game & Db & Quest Compiler (qc)) with vs 2013 if anyone is asking about the reason I'll give tow point 1_ with my little knowledge with c++ i can't mange to create systems or to edit anything in the source unless i saw a something which can (fix , repair or edit) so with VS it helps me a lot with the editing 2_ it's easy to know what are you doing when using the source so far i got this Game --------> No errors (Compiled successfully) DB --------> No errors (Compiled successfully) QC --------> No errors (Compiled successfully) Game errors There is no error with DB (Compiled successfully) DB errors There is no error with DB (Compiled successfully) QC errors There is no error with QC (Compiled successfully) at the end thanks in advance and sorry for my bad english FIX GAME add to additional options this /NODEFAULTLIB:LIBCMT /NODEFAULTLIB:LIBCPMT DB add to additional options this /NODEFAULTLIB:LIBCMT /NODEFAULTLIB:LIBCPMT Best Regards FlyGun
  13. good idea .... btw i didn't create any quest i just made a test quest just for testing .... actually it's a noob How To :/ but people after reading this topic will easy know how to play sounds with quest (i mean those who doesn't know )
  14. const char* kingdoms[3] = { "|cFFFF0000[Shinshoo]|r", "|cFFFFFF00[Chunjo]|r", "|cFF0080FF[Jinno]|r" }; const char * GMs = "|cFFFFC700[Team]|r"; const char * GMIMPLEMENTOR = "|cFFFFFFFF[Manager]|r"; char chatbuf_global[CHAT_MAX_LEN + 1]; if (ch->GetGMLevel() == GM_PLAYER) { snprintf(chatbuf_global, sizeof(chatbuf_global), "%s %s", kingdoms[ch->GetEmpire() - 1], chatbuf); } else if (ch->GetGMLevel() == GM_IMPLEMENTOR) { snprintf(chatbuf_global, sizeof(chatbuf_global), "%s %s", GMIMPLEMENTOR, chatbuf); } else { snprintf(chatbuf_global, sizeof(chatbuf_global), "%s %s", GMs, chatbuf); } TPacketGGShout p; p.bHeader = HEADER_GG_SHOUT; p.bEmpire = ch->GetEmpire(); strlcpy(p.szText, chatbuf_global, sizeof(p.szText)); P2P_MANAGER::instance().Send(&p, sizeof(TPacketGGShout)); try mine
  15. if you compled your own game this was Written by Denis
  16. actually the quests may fail ... i mean (for example) the quest is to kill a spacific number of mobs in spacific time if you didn't succc you fail so it's a fail
  17. you can see the horse level in skills page O.o
  18. i think he want to make them look like normal players but they got mute access ....
×
×
  • Create New...

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.