Denis
-
Posts
1031 -
Joined
-
Last visited
-
Days Won
53 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Denis
-
-
Check if there are >= 3 items and then change the position with SetPosition event from ui
-
On 23/6/2017 at 6:23 PM, Fleon said:
p.s. opening a python gui via quest is cancer please dont do it again
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
-
Failed to load script file : uiscript/attachstonedialog.py
-
Either use source to compile your own cores either use vanilla's.
Don't forget to download 40k client
-
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
-
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()); }
- 1
-
Open account.account hit ctrl + d and set a default value
-
std::string tag = ""; if (std::string(GetNameString()).find("[Admin]") != std::string::npos) { tag = "smth"; }
- 1
-
You posted everything except the most important part auth
- 1
-
The attack part is at client src so you need to change that too
-
Post the whole output
-
You don't even tell us at which table they are and you expect us to help? Be more specific.
-
20 minutes ago, Endymion said:
Don't look at difference in item names, I used wrong item_proto in client. xd
Rainbow ftw haha
- 3
-
1 hour ago, alondark said:
for txt ?
You can edit ProtoReader at db for that
-
Use cache and update it like each X hours it's pretty easy
-
Since it's released it will be easy to create fixes for this protection, so I don't recommend using it.
-
m_afAffectFlag.Set(AFF_YMIR);
ChatPacket(CHAT_TYPE_INFO, "You have been elevated!");sys_log(0, "Player %s elevated successful!", GetName());
- 1
-
Use c++11 or replace std::unique_ptr with std::auto_ptr
-
//CPP:
PyObject * safeboxIsOpen(PyObject * poSelf, PyObject * poArgs)
{
return Py_BuildValue("i", CPythonSafeBox::Instance().IsSafeboxOpen());
}BOOL CPythonSafeBox::IsSafeboxOpen()
{
return m_ItemInstanceVector.empty() ? false : true;
}//Header:
BOOL IsSafeboxOpen();
-
FFS, check the PythonSafebox everything is there:
safebox.IsOpen()
-
9 minutes ago, Istny said:
you can do this with TimedEventInfo
Or use thecore_heart->pulse
-
54 minutes ago, Lazarus1988 said:
Thank you @VegaS but I know about that.
Let's explain again...
My server has very low exp and gold drop rates (about 1 - 100 gold per mob (depending by level and rank) and 5 - 600 exp),
so non-cheating player shoud have on 17lv approx 30.000 gold, as you see, in my quest players gold turns into lump of gold when he reaches 100.000.000 gold, which
is impossible to get it on that low level without bug-using, one of my players (precisely 17lv) showed me on trade window he has 200x Lump of gold.
I don't have any GM's on server and only I have access to database. That's why I asked you hoping you know what kind of bug this is and how to eliminate.
PS: Also one of other my players told me rumour that bug is also on global servers, but It's hardly to believe me in that rumour.
If he just received the lamp from another player?
-
Why kill python
3 hours ago, VegaS said:Protect in chat, when someone try to use command (fris), (double) etc and he show him emoticon
def __SendTalkingChatPacket(self, text): arg_command = ["(racha)", "(racha2)", "(racha3)", "(racha4)", "(racha5)"] for x in xrange(len(arg_command)): if(text.find(arg_command[x]) != -1): chat.AppendChat(chat.CHAT_TYPE_INFO, "[CHAT] You cannot use %s in chat!" % text) return
def __SendTalkingChatPacket(self, text):
arg_command = ["(racha)", "(racha2)", "(racha3)", "(racha4)", "(racha5)"]
if text in arg_command:
chat.AppendChat(chat.CHAT_TYPE_INFO, "[CHAT] You cannot use %s in chat!" % arg_command[x])
return -
Locale.lua problem
in Community Support - Questions & Answers
Posted
Are you sure its the locale.lua? It may be the quest