Jump to content

Resist0

Inactive Member
  • Posts

    60
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Resist0

  1. Works fine thanks, how can i remove the range for buff ?
  2. 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
  3. Hello guys, i have problem with window emoji chat: [Hidden Content] That release: Thanks so far for help. kind regards
  4. Incredible Work! i love them so much 10/10
  5. Incredible Work! i love them so much 10/10
  6. Anyone? [Hidden Content] Shop is empty, but opens.
  7. Edited post. Don´t work. [Hidden Content] 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: [Hidden Content] But thanks @Owsap
  8. I saw you updated the whole code of the system. I have error compiling with this part : [Hidden Content] #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.
  9. Database player.item_proto for all Costume -> magic_pct set from 0 to 100.
  10. 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)
  11. Good working system Thanks. Just 1 Question. When i add item with time like Mount and add in socket0 slot Timevalue like 2592000 = 30d -> [Hidden Content] How can i fix it ?
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.