PetePeter
Member-
Posts
106 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by PetePeter
-
What are you talking about ? That's just the same packet as the NPC position, just need to add an exception for boss and add the respawn time. Like that: // sectree_manager.h struct npc_info { BYTE bType; const char* name; long x, y; DWORD dwVnum; #ifdef ENABLE_SHOW_BOSS_POS DWORD dwTime; npc_info(BYTE bType, const char* name, long x, long y, DWORD dwVnum, DWORD dwTime) : bType(bType), name(name), x(x), y(y), dwVnum(dwVnum), dwTime(dwTime) {} #else npc_info(BYTE bType, const char* name, long x, long y, DWORD dwVnum) : bType(bType), name(name), x(x), y(y), dwVnum(dwVnum) {} #endif }; // sectree_manager.cpp { np.bType = it->bType; strlcpy(np.name, it->name, sizeof(np.name)); np.x = it->x; np.y = it->y; np.dwVnum = it->dwVnum; #ifdef ENABLE_SHOW_BOSS_POS np.dwTime = it->dwTime; #endif buf.write(&np, sizeof(np)); } That's not a complete code, juste to give you hint about it
-
Connection error: SQLSTATE[HY000] [2002] Can't connect to MySQL server on 'bts.metin2legend.ro' (115)Connection error: SQLSTATE[HY000] [2002] Can't connect to MySQL server on 'bts.metin2legend.ro' (115)Connection error: SQLSTATE[HY000] [2002] Can't connect to MySQL server on 'bts.metin2legend.ro' (115)Connection error: SQLSTATE[HY000] [2002] Can't connect to MySQL server on 'bts.metin2legend.ro' (115) You really must hide developpement error message from your website
-
Chances of getting caught
PetePeter replied to Sera's topic in Community Support - Questions & Answers
Around 34.5% -
Paid service - Vegas Projects
PetePeter reviewed VegaS™'s product in Third Party - Providers Directory
I recommend him, he know what he's doing and he's always helpful ! -
Help About SendShopSellPacket( Python 2.2)
PetePeter replied to xNatsu's topic in Community Support - Questions & Answers
You need to explain better what you need exactly -
Website is very slow, some help ?
PetePeter replied to newreboot's topic in Community Support - Questions & Answers
That's why I said on the same network, you need to connect to mysql with local request -
Website is very slow, some help ?
PetePeter replied to newreboot's topic in Community Support - Questions & Answers
Be sure to have the mysql server on the same machine/network also -
True, thanks for the information. But it's work on MariaDB if anyone want to use it like that. PS: You can do it like that with mysql 8 directly instead of using php (If it's needed for the game for exemple) SELECT CONCAT('*', UPPER(SHA1(UNHEX(SHA1('yourpassword')))));
-
You can do it with mysql itself : SELECT PASSWORD('yourpassword'); or directly on the insert query INSERT INTO account(login,password,status) VALUES ('admin', PASSWORD('yourpassword'), 'OK')
-
fix Fix item-shop on website 100% (Without ItemAward)
PetePeter replied to Draveniou1's topic in Bug Fixes
Because it's not means to be used this way ... item_award exist for a reason, touching the item table while the game is running it's stupid (unless you modify no cache items like safebox) -
I think he mean about copy from other players. If you alt+click on a hyperlink it's will acting as you do on your own item and so you can send message with an item who is not your
-
How about "BroadcastNotice" ? Actually we format the string before sending it, have any way to send the arguments to the "notice_packet_func" function ?
-
[Collector's topic] Remove Unussed code
PetePeter replied to SamuraiHUN's topic in Programming & Scripts
If the define is commented the code is not included on the build, so i don't understand the problem -
[Collector's topic] Remove Unussed code
PetePeter replied to SamuraiHUN's topic in Programming & Scripts
Or just comment the define xD //#define ENABLE_LIMIT_TIME -
Call question dialog
PetePeter replied to ReFresh's topic in Community Support - Questions & Answers
I edited my post, try with that -
Call question dialog
PetePeter replied to ReFresh's topic in Community Support - Questions & Answers
def ExitSelect(self): self.dlgQuestion.Hide() self.exitPopupDlg = uiCommon.QuestionDialog() self.exitPopupDlg.SetText(localeInfo.DO_YOU_WANT_CLOSE) self.exitPopupDlg.SetAcceptEvent(lambda arg=True: self.ExitSelectAnswer(arg)) self.exitPopupDlg.SetCancelEvent(lambda arg=False: self.ExitSelectAnswer(arg)) self.exitPopupDlg.Open() def ExitSelectAnswer(self, arg): if self.exitPopupDlg: self.exitPopupDlg.Hide() if arg: self.ExitSelectConfirm() def ExitSelectConfirm(self): if LEAVE_BUTTON_FOR_POTAL: if app.loggined: self.stream.SetPhaseWindow(0) else: self.stream.setloginphase() else: self.stream.SetLoginPhase() self.Hide() Try this, must work -
Did you understand than "d = ch->GetDesc()" ?
-
case SCMD_QUIT: if (d) d->SetPhase(PHASE_CLOSE); ch->ChatPacket(CHAT_TYPE_COMMAND, "quit"); break; What's wrong with simple things ?