Jump to content

.Devil.

Inactive Member
  • Posts

    64
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by .Devil.

  1. For the auto login in your item-shop you've to receive to your PHP script the player id (pid) as GET request ([...]/ishop?pid=231). Check the received requests with: <?php exit(filter_input(INPUT_SERVER, 'REQUEST_URI')); // /ishop?pid=231[...] ?> and see how your item-shop do the login.
  2. You've to send the quest index to client. this is what you look for.
  3. The time that require the compilation depend on the performance of your computer.. so if you don't have a good computer you can't do much. Anyway, if you clean always the project (with gmake clean) is normal.. When you compile do this: gmake -j20 or simple gmake and not this: gmake clean gmake -j20 because if you run gmake clean the compiler delete all compiled files (objects). And this is also valid for the database.
  4. quest test__ begin state start begin when 20132.click with pet.is_mine() begin if (select("Change name", "Close") == 2) then return end // DO SOMETHING end end end Where 20132 is the vnum of your pet.
  5. Try with `ps aux` (to see if the games are started) or start manually the game and see the output. PS. Wrong section.
  6. Open EterPackEterPack.cpp and in CEterPack::Extract function add this: std::string filename = index->filename; if(filename.find("d:/") == 0) filename.replace(0, 3, ""); After: for (TDataPositionMap::iterator i = m_DataPositionMap.begin(); i != m_DataPositionMap.end(); ++i) { TEterPackIndex* index = i->second; CFileBase writeFile; And now replace all index->filename with filename.c_str() (only in CEterPack::Extract() function, because the string variable isn't global) If you want to extract files in pack name, you have to add: std::string foldername = m_stDataFileName; foldername.replace(foldername.length()-4, 4, ""); filename = foldername + std::string("/") + filename; After: std::string filename = index->filename; if(filename.find("d:/") == 0) filename.replace(0, 3, ""); Sorry if my method is bad (?) (i'm beginner in programming) and if my english has errors.
  7. Problem solved, the problem was the virtual machine. #closerequest.
  8. Same for me! Problem solved, and the error isn't Vanilla core, but, the method you're using for levelling the guild.
  9. Delete files (not folder) in mysql folder and reboot your VM.
  10. For me the database not crash but, if I restart it give me this error, segmentation fault (core dumped). If I try to start it several time start again working. :
  11. Try this: ALTER TABLE `player` MODIFY COLUMN `part_main` smallint(6) UNSIGNED NOT NULL DEFAULT 0 AFTER `ip`;
  12. I've reinstalled my VM and the problem persist. If I try to start database some time it work and I don't understand why.. The solution is not gcc48. If it helps: I use the 9.2 version of FreeBSD.
  13. Bump.. Today I searched in all forums but I don't have find the fix.. Where is? # Another problem for this is: if start dbcache from start script it don't work, if i start it manually work. Anybody?..
  14. Check with top if mysqld is now started, if not, start it with 'service mysql-server start'.
  15. Try with 'pkg_add -r mysql56-server' If you want to solve socket problem: delete all files in mysql folder (not folders, files!) and reboot your VM or, if don't work, start mysql in safe mode with mysqld_safe start rehash ,after, try starting mysql. Ah.. check if the own of mysql folder is mysql[88] in alternative give me your skype and I will try to help you with teamviewer.
  16. In uitooltip.py change APPLY_DEF_GRADE with APPLY_DEF_GRADE_BONUS.
  17. Database: change enum in varchar and set default 'SMALL'.
  18. I see.. and thanks for your answer. But how to solve? This is my db core: GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /metin2/database/db] Core was generated by `db'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libstdc++.so.6...Error while reading shared library sy mbols: Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in mo dule /lib/libstdc++.so.6] Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.6 Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x2833c930 in strtoul_l () from /lib/libc.so.7 [New Thread 28406100 (LWP 100272/db)] [New Thread 28405e00 (LWP 100271/db)] [New Thread 28405b00 (LWP 100269/db)] [New Thread 28405800 (LWP 100268/db)] [New Thread 28405500 (LWP 100267/db)] [New Thread 28405200 (LWP 100266/db)] [New Thread 28404f00 (LWP 100265/db)] [New Thread 28404c00 (LWP 100264/db)] [New Thread 28404300 (LWP 100076/db)]
  19. Hello metin2dev, i have an error with revision 40k+ database, if I use it, after shutdown give me the error: "Segmentation fault (core dumped)". If reboot FreeBSD it work again.. What's the problem? This happen also with the vanilla's dbcache... If I use the rev 33k it work perfectly. Syserr: SYSERR: Apr 12 22:59:34 :: pid_init: Start of pid: 989 SYSERR: Apr 12 22:59:34 :: Start: TABLE_POSTFIX not configured use default
  20. It's one of my 1.233.412.412 bugs or pet system don't work with this game core?
  21. Change the password of your metin2 mysql user in that you have in the CONFIG files.
  22. Vanilla, thank you for your gamecore, very useful, but I can't load txt-files despite having put TXT_STARTUP: 1 in the dbcache config. - - - Updated - - - Solved changing database bind_port.
×
×
  • 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.