Denis
-
Posts
1031 -
Joined
-
Last visited
-
Days Won
53 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Denis
-
-
Please don't post off-topic posts we don't have the obligation to see your arguments,if you want to argue there's skype or pm's
-
Upload your intrologin.py
-
File dragon_soul_table.txt doesn't exist at locale/turkey.
Group 3505 doesn't exist at your group_group.txt file.
- 1
-
i think that was resolved on 40k gamefile. If not shogun made a post talking about that. Search for it.
Best wishes
you are shure its 40k game ? i think its invoice files The fixed version this files im not shure but its buggy
At 40k the kickhack/sync pos hack is already fixed,but if you want to use 34k you should use iMer's lib.
-
Moved to Metin2->Questions and Answers
-
Take a look at this example:
std::auto_ptr<SQLMsg> msg(DBManager::instance().DirectQuery("SELECT coins FROM account.account WHERE id = 1")); if (msg->Get()->uiNumRows == 0) { return 0; } int coins = 0; MYSQL_ROW row = mysql_fetch_row(msg->Get()->pSQLResult); str_to_number(coins, row[0]);
char szQuery[512]; snprintf(szQuery,sizeof(szQuery),"SELECT coins FROM account WHERE id = %u",ch->GetAID()); std::auto_ptr<SQLMsg> pMsg(CDBManager::instance().DirectQuery(szQuery,SQL_ACCOUNT)); if(pMsg->Get()->uiNumRows > 0) { int iCoins = 0; MYSQL_ROW row = mysql_fetch_row(pMsg->Get()->pSQLResult); str_to_number(iCoins,row[0]); }
Kind Regards
Zerelth ~ Ellie
Your point?
-
Take a look at this example:
std::auto_ptr<SQLMsg> msg(DBManager::instance().DirectQuery("SELECT coins FROM account.account WHERE id = 1")); if (msg->Get()->uiNumRows == 0) { return 0; } int coins = 0; MYSQL_ROW row = mysql_fetch_row(msg->Get()->pSQLResult); str_to_number(coins, row[0]);
-
Hey,
Someone knows where i can get actually .DE Client to use it for my own server?
Actually you can't use it because it's using cython,but you can use this:
-
-
Post your length.h here.
-
Did you set PLAYER_EXP_TABLE_MAX to 250?
-
Post your constants.cpp/constats.h files
-
For the start, post your errors that you're getting.
-
Or just open input_main.cpp and replace this line:
int len = snprintf(chatbuf, sizeof(chatbuf), "%s : %s", ch->GetName(), buf);
with this:
int len = snprintf(chatbuf, sizeof(chatbuf), "[%d] %s : %s", g_bChannel, ch->GetName(), buf);
- 7
-
Use pc.setqf/pc.getqf:
pc.setqf("next_change",get_time()+60*60*24*30) if get_time() < pc.getqf("next_change") then syschat("days < 30") else --[[ do stuff ]] end
- 1
-
skill.GetSkillType - Failed to find skill by 170
- 1
-
Post your syserr from db/auth/channel1.
-
Post your system.py here.
- 2
-
-
There are many tutorials about source with fixes compiles etc etc, download the original source and try it on your own.
- 2
-
At least use mysqli or pdo because mysql is depraced at php 5.5.x and will be removed at the future.
- 1
- 1
-
struct DanceCommand { DanceCommand() : { } void operator () (LPENTITY ent) { if (!ent->IsType(ENTITY_CHARACTER)) return; LPCHARACTER pkChr = (LPCHARACTER) ent; const char* command = "dance 5"; // if it won't work try to replace dance 5 with /dance 5 size_t len = strlen(command); interpret_command(pkChr, command, len); } }; ACMD(do_new_command) { char arg1[256]; one_argument(argument, arg1, sizeof(arg1)); DanceCommand func(ch); LPSECTREE sectree = ch->GetSectree(); if (sectree) { sectree->ForEachAround(func); } else { sys_err("PURGE_ERROR.NULL_SECTREE(mapIndex=%d, pos=(%d, %d)", ch->GetMapIndex(), ch->GetX(), ch->GetY()); } }
- 2
-
It's a bad idea to fetch the players count with mysql query because you won't get the real count,you could use instead a web api.
- 1
-
Database:
Player > Skill_proto
Client:
locale > skilldesc
He's searching for the actual skill levels of a character.
It's saved in HEX in player.player - The column is named skills (not sure about it, I'm too lazy to open my database atm.)
That's source?
- 1
string
in Community Support - Questions & Answers
Posted
Here is an example:
Source: http://stackoverflow.com/questions/5878775/how-to-find-and-replace-string