shrdd
-
Posts
4 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by shrdd
-
-
6 hours ago, Mali61 said:
//@Source/Client/UserInterface/PythonNetworkStreamPhaseGame.cpp //1.) Search for: TPacketGCChannel kChannelPacket; if (!Recv(sizeof(kChannelPacket), &kChannelPacket)) return false; //2.) Add after: #ifdef WJ_SHOW_ALL_CHANNEL PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "BINARY_OnChannelPacket", Py_BuildValue("(i)", kChannelPacket.channel)); #endif //@Source/Client/UserInterface/Locale_inc.h #define WJ_SHOW_ALL_CHANNEL //@Source/Client/UserInterface/PythonApplicationModule.cpp //1.) Search for: PyModule_AddIntConstant(poModule, "CAMERA_STOP", CPythonApplication::CAMERA_STOP); //2.) Add after: #ifdef WJ_SHOW_ALL_CHANNEL PyModule_AddIntConstant(poModule, "WJ_SHOW_ALL_CHANNEL", 1); #else PyModule_AddIntConstant(poModule, "WJ_SHOW_ALL_CHANNEL", 0); #endif
//root/game.py //1.) Search for: def RefreshAlignment(self): self.interface.RefreshAlignment() //2.) Add after: if app.WJ_SHOW_ALL_CHANNEL: def BINARY_OnChannelPacket(self, channel): import net dict = {'name' : 'Metin2'} # Replace with your server name. net.SetServerInfo((localeInfo.TEXT_CHANNEL % (dict['name'], channel)).strip()) if self.interface: self.interface.wndMiniMap.serverInfo.SetText(net.GetServerInfo()) //locale_en/locale_game.txt: TEXT_CHANNEL %s, CH%d
From: [Small Release] Show all channel by @VegaS™
+++++2018 root:
if app.ENABLE_MOVE_CHANNEL: def __SeverInfo(self, channelNumber, mapIndex): #print "__SeverInfo %s %s" % (channelNumber, mapIndex) _chNum = int(channelNumber.strip()) _mapIdx = int(mapIndex.strip()) if _chNum == 99 or _mapIdx >= 10000: chatm2g.AppendChat(chatm2g.CHAT_TYPE_INFO, localeInfo.MOVE_CHANNEL_NOTICE % 0) else: chatm2g.AppendChat(chatm2g.CHAT_TYPE_INFO, localeInfo.MOVE_CHANNEL_NOTICE % _chNum) m2netm2g.SetChannelName(_chNum) m2netm2g.SetMapIndex(_mapIdx) self.interface.RefreshServerInfo()
First of all thanks for your help. I was trying to put everything like you described. It didn't work..
-
Hello everyone,
after searching a lot i couldn't find the correct way or a solution to fix this problem. Also I have to say, that I'm not so much into that stuff, that's why I'm asking here.
The problem which I have is, that the channel changer works perfectly fine, but shows wrong Channel under the mini-map.
It works for all channel and also shows correct channel, when I choose the Ch in the login interface.
But when i change the CH while I'm in the game it works and I get "teleported" in the Channel which I have chosen, but under the mini-map it shows the Ch which I choose when I logged in via login interface.
Hope my problem is clear to understand and I hope someone can help me..
Regards,
shrdd.
-
Does anyone know the solution? :s
CH Changer works, but shows wrong CH under minimap
in Community Support - Questions & Answers
Posted
Still doesnt work.. I'm not sure where exactly the problem is. Maybe you can help me via Discord?