Jump to content

JachuPL

Inactive Member
  • Posts

    136
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by JachuPL

  1. that's some strange query. Tell us where did you get it
  2. I think this solution is better. SELECT COUNT(*) FROM player.player p, player.player_index idx WHERE p.account_id = idx.id AND idx.empire = EMPIRE_HERE; This query joins tables player and player_index. It gives you the real amount of players for selected empire.
  3. there was already a similiar thread in Linux section You won't compile it on linux until you port network code to epoll or other I/O event notif. mechanism supported by selected distro. The current one, which is kqueue, is *BSD specific.
  4. this is wrong forum and noone will help. This is a tutorials forum, not 'help-me-I'm-stuck'
  5. using /reload p was and will never be safe. Why? In early 2009 we (me and @Endymion) had a dedicated server. Somebody has inserted some items to db while the server was running and typed /reload p. When player was moving item from one slot to another, the item was changing to another (like Silver Bracelet got changed to Jade Earrings). The main reason of it was that someone inserted query with low-vnum items, so some items moved down in the table and also moved down in game core. The same thing goes for quests, but it gets bugged the other way. I strongly recommend NOT using "reload <type>" command on non-test server
  6. that items already in actual client GF Yes i know and they are already used (afaik most of them drops on the new maps like gautama cliff, bay etc
  7. In what cpp file ? char_battle.cpp:1603 in my case
  8. http://metin2dev.org/board/topic/45-metin2-2004-beta-client/
  9. they won't, because Metin2 is like a legendary leprechaunt's pot at the end of the rainbow - full of gold. In fact Webzen develops Metin2, MU, SUN and C9, so why should they bother creating a new game when they have all they want? Also, I've heard a story that first Metin2 serverfiles were leaked by Taiwanese developer. I was sometimes playing 'exotic' servers, but there were no players (JP, TW etc.) and the server was shut down.
  10. Are you protected from receiving API requests? What I mean is this post by Shogun This requests does not need AdminPage password to work. Everyone can send a request to your server, in the worst case in a loop, so each second you receive thousands of requests that can really slow down your server. If you work on source code, you can fix it.
  11. an error occurs at BlockCountry, so check in mysql table "iptocountry". Try to clear it and launch db again
  12. try installing gdb from ports. Then debug db with it as shown here and show us the console output after typing "bt full". Remember, it's important to have unstripped db file to perform this.
  13. 1. open config.cpp and find config_load() or sth like that with "load" in name. You will see TOKEN("x") where x is a config input (in ex., START_LEVEL as shown on image) 2. version.cpp file
  14. On start, game sends packet to DB HEADER_GD_BOOT or sth like that. DB collects all the necessary data, pack it and returns to game. Game gets initialized with data get from DB and it launches. If the data is wrong, game shuts down. For a player, your client sends HEADER_CG_LOGIN3 packet to game. Game forwards this packet to DB. DB gets the packet, selects all the data from table (look for QUERY_PLAYER_LOAD or sth like that) and returns it to game.
  15. It's just patcher/game updater made by Webzen Ymir Oh, how to setting? I don't have. You can make one just by becoming close friends with TinyXML and looking into TP source code. I don't need this so this tutorial is a 'giveaway' //edit: Or you can open metin2launch.exe with 7-zip and unpack it.
  16. It's just patcher/game updater made by Webzen Ymir
  17. Hi guys. Two weeks ago I've recorded a video to show you how to compile TorrentPatch from mainline_released. Everything is on a video, I've also added english subtitles. I used Visual Studio 2008 with SP 1 to compile it. I'd be grateful if you could subscribe and share this video. Have fun.
  18. 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
  19. it depends on flag value of item - some items can be stacked (in example potions, arrows) some are not (in ex. pearls, blessing scrolls)
  20. JachuPL

    New Water !

    I like it, fits perfectly to this map
×
×
  • 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.