Jump to content

.Rise

Inactive Member
  • Posts

    85
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by .Rise

  1. Go to Binary Source and in PythonShop.cpp find function: PyObject * shopGetItemPrice(PyObject * poSelf, PyObject * poArgs) There replace this: return Py_BuildValue("i", c_pItemData->price); to: return Py_BuildValue("L", c_pItemData->price); and replace this: return Py_BuildValue("i", 0); to: return Py_BuildValue("L", 0); And you are done.
  2. Hello, I have searched empire war system for 2 days but I have not found it. Could you send me valid link to working empire war system? Thanks.
  3. Hi, yes. I made it to check if player is in table IP_login, it will check the player.
  4. Hello, I tried to add feature like "IP Login". It locks your IP and you can not login using different IP adress. I tried to write this code: char ip; char query[1024]; snprintf(query, sizeof(query),"SELECT ip FROM account.ip_login WHERE ip = '%s' AND login = '%s'", inet_ntoa(d->GetAddr().sin_addr), login); std::auto_ptr<SQLMsg> execquery(DBManager::instance().DirectQuery(query)); MYSQL_ROW row = mysql_fetch_row(execquery->Get()->pSQLResult); str_to_number(ip, row[0]); if (ip != '0' && execquery->Get()->uiNumRows < 1) { LoginFailure(d, "IP_MATCH"); return; } But when I run it and try to login, core gets dumped. I have tried a lot of variations of this code. One time I could not login when there were not IP adress in table. (It was recognising IP address, but when I cleared table, I could not login due bad IP) Any solution, please? (I pay 10€ - after solution) Thanks.
  5. Hello, I have got problem while compiling. My Code: DWORD CHARACTER::GetMyHorseVnum() { int delta = 0; if((DWORD horse_looks = GetHorseAppearance()) > 0) return horse_looks; if (GetGuild()) { ++delta; if (GetGuild()->GetMasterPID() == GetPlayerID()) ++delta; } return c_aHorseStat[GetHorseLevel()].iNPCRace + delta; } Can somebody help me? SOLVED by: DWORD CHARACTER::GetMyHorseVnum() { int delta = 0; DWORD horse_looks; if((horse_looks = GetHorseAppearance()) > 0) return horse_looks; if (GetGuild()) { ++delta; if (GetGuild()->GetMasterPID() == GetPlayerID()) ++delta; } return c_aHorseStat[GetHorseLevel()].iNPCRace + delta; }
  6. Hello, Is there any way, to shutdown client after server shutdown? That means when I do /shutdown, after countdown it closes clients (not log out, but close application)? Thanks.
  7. Hello, I found bug on Fliege Files with green roses. Somewhere it shows their effect, somewhere not. (Look on screen) Can you help me? There is not any syserr. Thanks.
  8. Hello, I have problem while I was installing Metin2 Grand CMS. Everything works, but not Logn / Register.. After clicking on Login / Register, nothing happens and images get stucked. Ex.: [Hidden Content] ( I didn't change anything) Can you help me? Please?
  9. Just google it or there on forum, there are lots of SF etc..
  10. If it will be good parameters, it is.. But for better efficiency is good to have more.
  11. Ok, just buy one good server, or 2 and more server for split channels..
  12. I didn't undersand your question.. Do you want to have some hosting, or?
×
×
  • 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.