-
Posts
60 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Resist0
-
-
Works fine thanks, how can i remove the range for buff ?
-
-
23 minutes ago, I3ooI3oo said:
Are u MartySama customer?
Yes...few years!
-
Hello,
I've have a core owner for several weeks now and I can't find the solution to it. Several people have already looked at it and they had no idea
Maybe someone of you had this before?
(gdb) bt full #0 intrusive_ptr_add_ref (p=0x84df2c4 <vtable for char_event_info+8>) at event.cpp:197 No locals. #1 boost::intrusive_ptr<event>::intrusive_ptr (rhs=..., this=0xffff9c18) at ../../../Extern/include/boost/smart_ptr/intrusive_ptr.hpp:93 No locals. #2 event_destroy () at event.cpp:180 the_event = {px = 0x84df2c4 <vtable for char_event_info+8>} pElem = 0x2a0fe6c0 #3 0x0822a950 in destroy () at main.cpp:875 No locals. #4 0x08058a8f in main (argc=<optimized out>, argv=<optimized out>) at main.cpp:632
event.cpp is original Marty no change was made.
main cpp line 875:
event_destroy();
void destroy() { sys_log(0, "<shutdown> Canceling ReloadSpamEvent..."); CancelReloadSpamEvent(); sys_log(0, "<shutdown> regen_free()..."); regen_free(); sys_log(0, "<shutdown> Closing sockets..."); socket_close(tcp_socket); #ifndef __UDP_BLOCK__ socket_close(udp_socket); #endif socket_close(p2p_socket); sys_log(0, "<shutdown> fdwatch_delete()..."); fdwatch_delete(main_fdw); sys_log(0, "<shutdown> event_destroy()..."); event_destroy(); sys_log(0, "<shutdown> CTextFileLoader::DestroySystem()..."); CTextFileLoader::DestroySystem(); sys_log(0, "<shutdown> thecore_destroy()..."); thecore_destroy(); }
main.cpp line 632:
destroy();
void heartbeat(LPHEART ht, int pulse) { [...] if (!g_bAuthServer) { if (isHackShieldEnable) { sys_log(0, "<shutdown> Releasing HackShield manager..."); HSManager.Release(); } } sys_log(0, "<shutdown> Flushing TrafficProfiler..."); trafficProfiler.Flush(); #ifdef __NEW_EVENT_HANDLER__ sys_log(0, "<shutdown> Destroying CEventFunctionHandler..."); EventFunctionHandler.Destroy(); #endif destroy(); #ifdef DEBUG_ALLOC DebugAllocator::StaticTearDown(); #endif return 1; }
Every time the server is shut down, it crashes. Otherwise it runs perfectly.
Quests have all been deactivated. Almost all systems that were #defined have been deactivated. Even so, the downer is still there.
Maybe someone knows something;)
Kind regards
-
On 11/24/2020 at 2:46 AM, HITRON said:
Put in def OnUpdate the SetPosition.
Thanks, works
#closerequest
-
-
Hello guys,
i have problem with window emoji chat:
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
That release:
Thanks so far for help.
kind regards
- 1
- 1
-
Reup?
-
Works fine. Thanks
-
Anyone?
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
Shop is empty, but opens.- 2
- 1
-
-
57 minutes ago, Owsap said:
@Chief you should show us the error you are having, try to change
std::unordered_set<CShop*> v;
↓
boost::unordered_set<CShop*> v;
Edited post.
Don´t work.
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
Added :
#include <boost/unordered_set.hpp> to shop_manager.cpp
Now i get :
SYSERR: Apr 23 17:28:12 :: Boot: shop table size error
Edit: didn´t recompiled whole src.
Sooo after that all , shop is empty:
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
But thanks @Owsap- 3
- 1
-
I saw you updated the whole code of the system.
I have error compiling with this part :
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
#ifdef ENABLE_RENEWAL_SHOPEX { std::unordered_set<CShop*> v; // include unordered_set auto ExDelete = [&v](TShopMap& c) { for (auto it = c.begin(); !c.empty() && it != c.end();) { const auto shop = it->second; if (shop && shop->IsShopEx()) { it = c.erase(it); v.insert(shop); } else ++it; } }; ExDelete(m_map_pkShopByNPCVnum); ExDelete(m_map_pkShop); for (const auto& del : v) delete del; } #endif
What do you mean with include unordered set ?
I try to #include "<boost>unordered_set.hpp" but that does not work so far.- 2
- 1
-
it´s public here on board. search!
-
Please dont do it.
-
Database player.item_proto for all Costume -> magic_pct set from 0 to 100.
-
-
if app.ENABLE_SASH_SYSTEM: slotNumberChecked = 0 if not constInfo.IS_AUTO_POTION(itemVnum): self.wndItem.DeactivateSlot(slotNumber) for j in xrange(sash.WINDOW_MAX_MATERIALS): (isHere, iCell) = sash.GetAttachedItem(j) if isHere: if iCell == slotNumber: self.wndItem.ActivateSlot(slotNumber, (36.00 / 255.0), (222.00 / 255.0), (3.00 / 255.0), 1.0) if not slotNumber in self.listAttachedSashs: self.listAttachedSashs.append(slotNumber) slotNumberChecked = 1 else: if slotNumber in self.listAttachedSashs and not slotNumberChecked: self.wndItem.DeactivateSlot(slotNumber) self.listAttachedSashs.remove(slotNumber)
edit to:
if app.ENABLE_SASH_SYSTEM: slotNumberChecked = 0 if not constInfo.IS_AUTO_POTION(itemVnum): self.wndItem.DeactivateSlot(i) for j in xrange(sash.WINDOW_MAX_MATERIALS): (isHere, iCell) = sash.GetAttachedItem(j) if isHere: if iCell == slotNumber: self.wndItem.ActivateSlot(i, (36.00 / 255.0), (222.00 / 255.0), (3.00 / 255.0), 1.0) if not slotNumber in self.listAttachedAcces: self.listAttachedSashs.append(slotNumber) slotNumberChecked = 1 else: if slotNumber in self.listAttachedSashs and not slotNumberChecked: self.wndItem.DeactivateSlot(i) self.listAttachedAcces.remove(slotNumber)
-
Good working system Thanks.
Just 1 Question. When i add item with time like Mount and add in socket0 slot Timevalue like 2592000 = 30d ->
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
How can i fix it ?- 2
- 1
- 2
- 1
-
-
-
-
-
Fish Puzzle Event Slot Problem
in Community Support - Questions & Answers
Posted
Did you fixxed this ?
kind regards.