Jump to content

Istny

Premium
  • Posts

    72
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by Istny

  1. No chance that ymir will create metin3, ymir and gameforge are to greedy. Look what they have done with metin2 in the last 10 years. You can have a feeling that YMIR employ 1 programmer :X . Now even private servers have better development plans than them. Doing nothing is the main cause that people started creating private servers. Look, they lead to source files leak, they don't care about copyrights and private servers because for them this game is dead ?
  2. in source files you can find compiled lib, if you dont's know how do it yourself
  3. you don't have compiled IL library [Hidden Content]
  4. you want query which select data where availDt field is different from 0000-00-00 00:00 ? you can achieve that with " WHERE availDt <> '0000-00-00 00:00' " statment
  5. [Hidden Content] i forget about one "=" sign check now
  6. in the future past code in english not mixed with portuguese ;p in while loop you are displaying button with onclick function but the first argument i guess have to be unical and it's not so you ALWAYS pass to javascript function "confirmacao(escolhida,id,preco)" the same first argument i have added counter, so now every html select have unique id which is passing to javascript function [Hidden Content]
  7. Tables restored with good charset, but what is a DATABASE charset ? for 99% it's not a cause but you can try ;s
  8. on my server this error usally is caused by antivirus, after adding binary to exceptions in most cases problem disappear
  9. the best solustion is to use gdb, we will see what's the problem [Hidden Content]
  10. About 2 years ago i had problem with it was caused by operating system, after reinstall problem magically disappeared
  11. if in syslog will not be nothing special after crash, you have to run gdb and paste output here [Hidden Content] [Hidden Content]
  12. paste on pastebin or something else syslog too core crash immediately after start, right ?
  13. What's the problem? add checking item which you are swapping is equal size or bigger to sum of the items sizes which will be swaped
  14. Type in the console find /usr -name '*.cnf' U will see location of mysql config files Copy my-small.cnf to /var/db/mysql Add to it slow_query_log = ON slow_query_log_file = "/location/slow_query.log and next restart mysql
  15. Slow query log you can enable in my.cnf file, there are a lot of tutorials in internet about it. SMART depends what raid u use, hardware or software
  16. Turn on slow query log and check disks using SMART
  17. In InstanceBase.cpp add const char * CInstanceBase::GetLevelString() { char * str = new char[3]; sprintf(str,"%d",m_dwLevel); return str; } in InstanceBase.h add const char * GetLevelString(); Next in PythonNetworkStreamPhaseGame.cpp add in "if (pCharacterInstance){}" CPythonExchange::Instance().SetTargetLevel(pCharacterInstance->GetLevelString()); Open PythonExchange.cpp and add void CPythonExchange::SetTargetLevel(const char *name) { strncpy(m_victim.level, name, 3); } char * CPythonExchange::GetLevelFromTarget() { return m_victim.level; } In PythonExchange.h inside "typedef struct trade{}" add char level[3]; elsewhere in PythonExchange.h add too void SetTargetLevel(const char *name); char *GetLevelFromTarget(); In PythonExchangeModule.cpp add inside "static PyMethodDef s_methods[] = {}" {"GetLevelFromTarget", exchangeGetLevelFromTarget, METH_VARARGS}, elsewhere in this file add to PyObject * exchangeGetLevelFromTarget(PyObject * poTarget, PyObject * poArgs) { return Py_BuildValue("s", CPythonExchange::Instance().GetLevelFromTarget()); } Finally in python you can use exchange.GetLevelFromTarget()
×
×
  • 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.