Jump to content

Denis

Banned
  • Posts

    1031
  • Joined

  • Last visited

  • Days Won

    53
  • Feedback

    0%

Everything posted by Denis

  1. Are you sure its the locale.lua? It may be the quest
  2. Check if there are >= 3 items and then change the position with SetPosition event from ui
  3. So you are gonna add a packet for just 5/6 lines of code? net.SendChatPacket("/anyone_teleport %s" % self.AnyoneSystem.GetText()) # no need to escape the quotes with backslashes
  4. Failed to load script file : uiscript/attachstonedialog.py
  5. Either use source to compile your own cores either use vanilla's. Don't forget to download 40k client
  6. case YOUR_ITEM_VNUM: { if (IsPolymorphed()) { return false; } int dwVnum = 0; if (item->GetVnum() == 50300) { dwVnum = item->GetSocket(0); } else { dwVnum = item->GetValue(0); } if (0 == dwVnum) { item->SetCount(item->GetCount() - 1); return false; } SetSkillLevel(dwVnum, GetSkillLevel(dwVnum)+1); } It should work
  7. Why you didn't use boost to split? Wouldn't it be easier like this: std::string arguments = "arg1,arg2,arg3"; std::vector<std::string> container; boost::split(container,arguments,boost::is_any_of(",")); // container.push_back("test"); for (auto & element : container) { printf("Output: %s\n", element.c_str()); }
  8. std::string tag = ""; if (std::string(GetNameString()).find("[Admin]") != std::string::npos) { tag = "smth"; }
  9. You posted everything except the most important part auth
  10. The attack part is at client src so you need to change that too
  11. You don't even tell us at which table they are and you expect us to help? Be more specific.
  12. Use cache and update it like each X hours it's pretty easy
  13. Since it's released it will be easy to create fixes for this protection, so I don't recommend using it.
  14. Use c++11 or replace std::unique_ptr with std::auto_ptr
×
×
  • 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.