daredevil09
-
Posts
78 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by daredevil09
-
-
-
I have the same problem.
-
On 06.01.2016 at 11:34 PM, daredevil09 said:
Compile error:
char.cpp: At global scope:
char.cpp:7399: error: no 'std::string CHARACTER::LongToString(long int)' member function declared in class 'CHARACTER'
char.cpp: In member function 'std::string CHARACTER::LongToString(long int)':
char.cpp:7401: error: aggregate 'std::ostringstream convert' has incomplete type and cannot be defined
char.cpp: At global scope:
char.cpp:7406: error: no 'bool CHARACTER::AllowMapIndex()' member function declared in class 'CHARACTER'
cmd_general.cpp: In function 'void do_pvp(CHARACTER*, const char*, int, int)':
cmd_general.cpp:785: error: 'class CHARACTER' has no member named 'AllowMapIndex'
where add this? in what file cpp?
And these events:
std::string CHARACTER::LongToString(long data) { std::ostringstream convert; convert << data; return convert.str(); } bool CHARACTER::AllowMapIndex() { for (int i = 0; i < ExcludeIndex.size(); i++) { if (!strcmp(LongToString(GetMapIndex()).c_str(), ExcludeIndex[i].c_str())) { return false; } } return true; }
-
On 06.01.2016 at 11:34 PM, daredevil09 said:
Compile error:
char.cpp: At global scope:
char.cpp:7399: error: no 'std::string CHARACTER::LongToString(long int)' member function declared in class 'CHARACTER'
char.cpp: In member function 'std::string CHARACTER::LongToString(long int)':
char.cpp:7401: error: aggregate 'std::ostringstream convert' has incomplete type and cannot be defined
char.cpp: At global scope:
char.cpp:7406: error: no 'bool CHARACTER::AllowMapIndex()' member function declared in class 'CHARACTER'
cmd_general.cpp: In function 'void do_pvp(CHARACTER*, const char*, int, int)':
cmd_general.cpp:785: error: 'class CHARACTER' has no member named 'AllowMapIndex'
where add this? in what file cpp?
And these events:
std::string CHARACTER::LongToString(long data) { std::ostringstream convert; convert << data; return convert.str(); } bool CHARACTER::AllowMapIndex() { for (int i = 0; i < ExcludeIndex.size(); i++) { if (!strcmp(LongToString(GetMapIndex()).c_str(), ExcludeIndex[i].c_str())) { return false; } } return true; }
up
-
Hello, I implemented in client system group PM. It works well, but the button is placed in the whisper window and I want to move button to appear in the chat below . I added some functions in uichat.py ( I inspired from the chat button sendwhisper ) but in vain, the button appears below the window does not open system pm group . Can someone help me ? Or at least some ideas how I can do ...
https://metin2.download/picture/uSQE9TIfdZSTbNfE6ifu8y1RxVbHcn77/.jpg
Link with system and files from my client:
-
I have this error:
https://metin2.download/picture/7mfnY95Lo33z562a6aL5sPQyU1EUl7Uc/.png
Someone know how to fix it?
-
I have this error:
https://metin2.download/picture/7mfnY95Lo33z562a6aL5sPQyU1EUl7Uc/.png
Someone know how to fix it?
-
Copy this uiWhisper.py in your root.
- 1
-
Link down, reupload please..
-
I need this too
-
what bug?
-
-
I don't know how to create quest for this... i need example of quest for this please.
-
-
-
-
Compile error:
Spoilerchar.cpp: At global scope:
char.cpp:7399: error: no 'std::string CHARACTER::LongToString(long int)' member function declared in class 'CHARACTER'
char.cpp: In member function 'std::string CHARACTER::LongToString(long int)':
char.cpp:7401: error: aggregate 'std::ostringstream convert' has incomplete type and cannot be defined
char.cpp: At global scope:
char.cpp:7406: error: no 'bool CHARACTER::AllowMapIndex()' member function declared in class 'CHARACTER'
cmd_general.cpp: In function 'void do_pvp(CHARACTER*, const char*, int, int)':
cmd_general.cpp:785: error: 'class CHARACTER' has no member named 'AllowMapIndex'
where add this? in what file cpp?
And these events:
std::string CHARACTER::LongToString(long data) { std::ostringstream convert; convert << data; return convert.str(); } bool CHARACTER::AllowMapIndex() { for (int i = 0; i < ExcludeIndex.size(); i++) { if (!strcmp(LongToString(GetMapIndex()).c_str(), ExcludeIndex[i].c_str())) { return false; } } return true; }
-
Hi, I have a problem ... I have implemented this system , When I press the button, window Appear Every time I hit the button. So the window appears each time you press the button and this is not good .
https://metin2.download/picture/VzTU42UClHo2BQl35M23xabIbMRow47t/.jpg
This is tut for system with this bug:
uiinventory.py from root and replace all function def ClickMallButton with :
def ClickMallButton(self):
self.choix = ui.BoardWithTitleBar()
self.choix.SetSize(210, 80)
self.choix.SetCenterPosition()
self.choix.AddFlag('float')
self.choix.AddFlag('movable')
self.choix.SetTitleName("Ouverture entrepôt")
self.choix.Show()
self.EntrepotIs = ui.Button()
self.EntrepotIs.SetEvent(self.OpenIs)
self.EntrepotIs.SetParent(self.choix)
self.EntrepotIs.SetPosition(35, 40)
self.EntrepotIs.SetUpVisual("d:/ymir work/ui/public/middle_button_01.sub")
self.EntrepotIs.SetOverVisual("d:/ymir work/ui/public/middle_button_02.sub")
self.EntrepotIs.SetDownVisual("d:/ymir work/ui/public/middle_button_03.sub")
self.EntrepotIs.SetText("ItemShop")
self.EntrepotIs.SetToolTipText("Ouvrir l'entrepot ItemShop")
self.EntrepotIs.Show()
self.Magasinier = ui.Button()
self.Magasinier.SetEvent(self._normal_mall)
self.Magasinier.SetParent(self.choix)
self.Magasinier.SetPosition(105, 40)
self.Magasinier.SetUpVisual("d:/ymir work/ui/public/middle_button_01.sub")
self.Magasinier.SetOverVisual("d:/ymir work/ui/public/middle_button_02.sub")
self.Magasinier.SetDownVisual("d:/ymir work/ui/public/middle_button_03.sub")
self.Magasinier.SetText("Magasinier")
self.Magasinier.SetToolTipText("Ouvrir le magasinier")
self.Magasinier.Show()
------------------
under add this: :
def OpenIs(self):
self.EntrepotIs.Hide()
self.choix.Hide()
self.Magasinier.Hide()
net.SendChatPacket("/click_mall")
def _normal_mall(self):
self.EntrepotIs.Hide()
self.Magasinier.Hide()
self.choix.Hide()
net.SendChatPacket("/click_safebox")
--------------------------------------------------------------------------------------------
open cmd_general.cpp from game/src and search:
ACMD(do_click_mall)
{
ch->ChatPacket(CHAT_TYPE_COMMAND, "ShowMeMallPassword");
}
----------------------------------------------
under add:
ACMD(do_click_safebox)
{
ch->ChatPacket(CHAT_TYPE_COMMAND, "ShowMeSafeboxPassword");
}
----------------------------------------------
open cmd.cpp from game/src and search:
ACMD(do_click_mall);
----------------------------------------------
under add:
ACMD(do_click_safebox);
----------------------------------------------in cmd_general.cpp from game/src search:
{ "click_mall", do_click_mall, 0, POS_DEAD, GM_PLAYER },
----------------------------------------------
under add:
{ "click_safebox", do_click_safebox, 0, POS_DEAD, GM_PLAYER },
----------------------------------------------
open char.cpp from game/src and search:
else if (GetDistanceFromSafeboxOpen() > 1000)
{ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<â°í> °Å¸®°¡ ¸Ö¾î¼ â°í¸¦ ¿ ¼ö ¾ø½À´Ï´Ù."));
return;
}
----------------------------------------------
and replace with:
/*else if (GetDistanceFromSafeboxOpen() > 1000)
{ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<â°í> °Å¸®°¡ ¸Ö¾î¼ â°í¸¦ ¿ ¼ö ¾ø½À´Ï´Ù."));
return;
}*/
================================================================================================Help?
-
-
-
Error 4 error C2374: 'pkInstMain' : redefinition; multiple initialization C:\Users\Stefan\Desktop\Folder de lucru\client_reboot_dev\source\UserInterface\PythonNetworkStreamPhaseGame.cpp 1129 1 UserInterface
Error 6 error C2374: 'pkInstMain' : redefinition; multiple initialization C:\Users\Stefan\Desktop\Folder de lucru\client_reboot_dev\source\UserInterface\PythonNetworkStreamPhaseGame.cpp 1139 1 UserInterface
Error 3 error C2374: 'rkChrMgr' : redefinition; multiple initialization C:\Users\Stefan\Desktop\Folder de lucru\client_reboot_dev\source\UserInterface\PythonNetworkStreamPhaseGame.cpp 1128 1 UserInterface
Error 5 error C2374: 'rkChrMgr' : redefinition; multiple initialization C:\Users\Stefan\Desktop\Folder de lucru\client_reboot_dev\source\UserInterface\PythonNetworkStreamPhaseGame.cpp 1138 1 UserInterface
Warning 8 warning C4101: 'iSlotPos' : unreferenced local variable C:\Users\Stefan\Desktop\Folder de lucru\client_reboot_dev\source\UserInterface\PythonPlayerModule.cpp 978 1 UserInterface
Warning 7 warning C4101: 'iSourceSlotIndex' : unreferenced local variable C:\Users\Stefan\Desktop\Folder de lucru\client_reboot_dev\source\UserInterface\PythonPlayerModule.cpp 763 1 UserInterface
Warning 1 warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) C:\Users\Stefan\Desktop\Folder de lucru\client_reboot_dev\source\UserInterface\NetworkActorManager.cpp 367 1 UserInterface
Warning 2 warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) C:\Users\Stefan\Desktop\Folder de lucru\client_reboot_dev\source\UserInterface\NetworkActorManager.cpp 417 1 UserInterfaceProbably anti wall hack...
Help?
-
@flygun i have this error
0822 00:11:39668 :: File "networkModule.py", line 239, in SetGamePhase 0822 00:11:39668 :: File "game.py", line 111, in __init__ 0822 00:11:39668 :: File "interfaceModule.py", line 294, in MakeInterface 0822 00:11:39668 :: File "interfaceModule.py", line 229, in __MakeDialogs 0822 00:11:39668 :: File "uiSystem.py", line 33, in LoadDialog 0822 00:11:39669 :: File "uiSystem.py", line 48, in __LoadSystemMenu_Default 0822 00:11:39669 :: File "ui.py", line 2742, in GetChild 0822 00:11:39669 :: KeyError 0822 00:11:39669 :: : 0822 00:11:39669 :: 'Change_Channel' 0822 00:11:39669 ::
help?
-
Error 53 error C1083: Cannot open include file: 'hshield-5.5.19.1/AntiCpXSvr.h': No such file or directory c:\users\stefan\desktop\client_reboot_dev\source\userinterface\Packet.h 5 1 UserInterface Error 4 error C1083: Cannot open include file: 'hshield-5.5.19.1/hsupchk.h': No such file or directory C:\Users\Stefan\Desktop\client_reboot_dev\source\UserInterface\HackShield.cpp 11 1 UserInterface
UP
-
Error 53 error C1083: Cannot open include file: 'hshield-5.5.19.1/AntiCpXSvr.h': No such file or directory c:\users\stefan\desktop\client_reboot_dev\source\userinterface\Packet.h 5 1 UserInterface Error 4 error C1083: Cannot open include file: 'hshield-5.5.19.1/hsupchk.h': No such file or directory C:\Users\Stefan\Desktop\client_reboot_dev\source\UserInterface\HackShield.cpp 11 1 UserInterface
UP
Multi-Language Quest 3.0
in Features & Metin2 Systems
Posted · Edited by Metin2 Dev
Core X - External 2 Internal
If the language is tr the server will read text from translate_tr.lua, if the language is de the server will read text from translate_de.lua..
Can someone make something like this?
Or like this: