Jump to content

flygun

Former Staff
  • Posts

    729
  • Joined

  • Last visited

  • Days Won

    7
  • Feedback

    0%

Everything posted by flygun

  1. Take a look at this ,,,please make sure that you search before starting a topic + make sure about the section when you start a topic #moved (General to Q&A)
  2. #moved (releases>binaries.. to Metin2>Q&A)
  3. (2.3) Close/Move/Rename request To make a close/move or rename request please report the topic with the thing you want us to do. Rename request are only allowed by the thread owners
  4. I'm so sorry ..i opend this topic just to gather data about these tools ..i didn't know that it would become a real tool ..i'll complete this topic and share the tool in jun/july 2017 ... Husam(FlyGun) <3
  5. i was studying programing but now i now how to write codes thanks anyway
  6. unfortunately i stopped working on this project therefore i don't have the source .... my project gonna be open source when i come back ... I'll be back in june/july-2017
  7. if (CDBManager::instance().Connect(SQL_PLAYER, szAddr, iPort, "player", szUser, szPassword)) { sys_log(0, "Connected to SQL_PLAYER"); break; } guild table must be in player ... the problem is that the SQL Manager puts a random database name query failed: Table 'account.guild' doesn't exist query failed: Table 'common.guild' doesn't exist see? and it not account or common it must be "player" i've got a temp fix like this if (CDBManager::instance().Connect(SQL_PLAYER, szAddr, iPort, "player", szUser, szPassword)) { sys_log(0, "Connected to SQL_PLAYER"); break; }
  8. Hey guys one week ago and by accident all my work have been deleted ... i manged to recover 80% of them but unfortunately i couldn't recover my FreeBSD OS ... so I've created a new topic to get some advice on "what to do next" so I've decided to compile and run the game on windows which is better environment for debugging so I've managed to compile every thing all over again now i'm stuck with a very stupid error which is : in db/conf.txt i got those lines SQL_ACCOUNT = "localhost account user pass 0" SQL_PLAYER = "localhost player user pass 0" SQL_COMMON = "localhost common user pass 0" SQL_HOTBACKUP = "localhost hotbackup user pass 0" in db/main.cpp if (CConfig::instance().GetValue("SQL_PLAYER", line, 256)) { sscanf(line, " %s %s %s %s %d ", szAddr, szDB, szUser, szPassword, &iPort); sys_log(0, "Connecting to SQL_PLAYER"); int iRetry = 5; do { if (CDBManager::instance().Connect(SQL_PLAYER, szAddr, iPort, szDB, szUser, szPassword)) { sys_log(0, "Connected to SQL_PLAYER"); break; } sys_log(0, " failed, retrying in 5 seconds"); fprintf(stderr, " failed, retrying in 5 seconds"); sleep(5); } while (iRetry--); fprintf(stderr, "Success PLAYER\n"); SetPlayerDBName(szDB); } else { sys_err("SQL_PLAYER not configured"); return false; } SYSERR: Jul 06 10:40:49 :: CAsyncSQL::ChildLoop: AsyncSQL: query failed: Table 'account.guild' doesn't exist (query: SELECT id,name,ladder_point FROM guild ORDER BY ladder_point DESC LIMIT 20 errno: 1146) SYSERR: Jul 06 11:07:01 :: CAsyncSQL::ChildLoop: AsyncSQL: query failed: Table 'account.player_index' doesn't exist (query: SELECT pid1, pid2, pid3, pid4, empire FROM player_index WHERE id=1 errno: 1146) i can prevent this error by retyping the query but not in the way that it is suppose to be #update .... really weird problem i got this now AsyncSQL: query failed: Table 'common.guild' doesn't exist (query: SELECT id,name,ladder_point FROM guild ORDER BY ladder_point DESC LIMIT 20 errno: 1146) so now i can see the there is problem with the SQL query manager like this CDBManager::instance().ReturnQuery(szQuery, QID_GUILD_RANKING, 0, 0); // the last parameter determines which database to enter according to this enum enum eSQL_SLOT { SQL_PLAYER, SQL_ACCOUNT, SQL_COMMON, SQL_HOTBACKUP, SQL_MAX_NUM, }; i see that all the code are clean and right ... but the query are entering a random database as i can see sorry for my bad english Flygun
  9. root/uiGameButton.py import player if player.GetLevel()==100: skillPlusButton.Hide() else: if self.__IsSkillStat(): skillPlusButton.Show() else: skillPlusButton.Hide()
  10. I use 2013 ...as i said before i got some experince in coding
  11. Mmmmm i think i'm gonna use windows and VS ..it's the best option at the moment ...thanks for the help <3 I'll clean the pc now and start building the serverfile Thabks again<3
  12. Ohh hey ...Thanks for the fast reply .,,first let me say i've got a little experince about c++ and coding in general ,,(i can code) Now i've been working on freebsd9.2 and its Very good to me ...but it's very annoying when i'm coding in more than 6~7 files with notpad ...so i've started to think about moveing into windows...i've compiled my data and every thing is good ..but i hate to use (xampp) ..also i need to build my own server files .,,about the source ..i got my own edited sources and they work togather very good with lycan so i need only the enviroment Execuse my bad english Flygun
  13. Hey guys...I've deleted all my file exept my own sources...now what i need is what is the best option for me First what is the best OS to run the server on (Win, Freebsd)..if freebsd .,,which version ... Compiling : gcc or clang ,,i heard that clang is faster .. Thanks in advance....and sorry for my bad english ,, Flygun
  14. About the wind ...i think "wind" isn't enable in the game ..
  15. Actually thans very much,.,i'm trying to improve this tool and change it's UI because it's a little bit ugly and i'm the only one know how to deal with it ..i want to make it more dynamic i'm thinking of those 1:extarct the pack in new folder called [packname] ex: root pack ...if you extract it you'll find all the files in the same folder where PackManager is . 2:Pack new packs dynamicly (a list with check boxes will show you what to pack and in how to pack it [type 1/2/3/4] Ps: about the korean letters ..anyone can solve this problem by adding the korean unicode to the windows And by the way ..about [path problem] i'll see it tomorow when i sit on my pc ..but it's the first time i know about this problem... Now about the ProtoManager ..as i said before i got too far with it and i'm now trying to load all .txt files in client ..soon i'll see if i will add a functions to read tge mob tables and let you to creat [group.txt] file And also the item tables to write the drop item or something like that ...hmmmm there's a lot of ideas and a lot of work but little space of time and disk lol..., Any way sorry for my bad english FlyGun
  16. sorry if I'm (uping my topic like idiot but i need some thoughts) Sorry again
  17. (RegisterNewPetFunctionTable) make sure you defined this function in quest.h and quest.cpp
  18. You must got makepack.exe to use this script ...use number (5) -->make pack...,o recommand you to make backup before doing anythin
  19. No just select the folder befor the pack folder
  20. can you show me a pic or anything to know exactly what is the problem i think you mean that when you click extract bottom the app goes (Not responding) ... this is because the program is extracting the pack (it didn't finish extracting yet you have to wait a little bit ... i'm currently working on this problem ... also i'm started with the proto manager and i'm having some problems too on that
×
×
  • 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.