-
Posts
199 -
Joined
-
Last visited
-
Days Won
7 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Frozen
-
-
this not working ...
i will this in python not c++.....
I Tested and it worked : show me your syserr
-
Time to learn what? im saying that they only will save time... like seconds the objective is only to prevent spam
-
the problem is i dnt know c++, and if the client is well preotected, wount be a problem.
And closing the client will prevent the spam, so is not worth. Is only a matter of time.
-
Hello guys im here to release my spam-system, that i made a long time ago, is not the best spam system but is what i can make .
So i hope you guys enjoy and here is a video that i made to show the system:
http://www.youtube.com/watch?v=Ko8qpfS5yTI
Tutorial:
Go to uichat.py
Search ChatModeButton class, and in the __init__ function add:
constInfo.counterspam = 6
then you go to ChatLine class, and in the __init__ function add:
constInfo.spama = 1 constInfo.spamb = 2 constInfo.textone = '' constInfo.texttwo = ''
then you search __SendTalkingChatPacket function and replace:
if constInfo.spama == 1: constInfo.textone = text constInfo.spama = 2 elif constInfo.spama == 2: constInfo.texttwo = text constInfo.spama = 1 if constInfo.counterspam >= 1: if constInfo.textone == constInfo.textotwo: constInfo.counterspam = constInfo.counterspam - 1 if constInfo.counterspam == 5: chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_SPAM_UM) elif constInfo.counterspam == 4: chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_SPAM_DOIS) elif constInfo.counterspam == 3: chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_SPAM_TRES) elif constInfo.counterspam == 2: chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_SPAM_QUATRO) elif constInfo.counterspam == 1: chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_SPAM_CINCO) else: constInfo.counterspam = 6 self.__SendChatPacket(text, chat.CHAT_TYPE_TALKING) elif constInfo.counterspam == 0: if app.GetTime() < self.lastShoutTime + 60: chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_SPAM_LIMIT) return else: constInfo.counterspam = 6 self.__ResetChat() self.lastShoutTime = app.GetTime()
Save the files.
Open locale_game in your locale folder and add:
CHAT_SPAM_LIMIT Your chat has been blocked! Reason:SPAM. CHAT_SPAM_UM [WARNING]SPAM is not permited [1/5] CHAT_SPAM_DOIS [WARNING]SPAM is not permited [2/5] CHAT_SPAM_TRES [WARNING]SPAM is not permited [3/5] CHAT_SPAM_QUATRO [WARNING]SPAM is not permited [4/5] CHAT_SPAM_CINCO [WARNING]SPAM is not permited [5/5]
Save. Done
Thx,
and if you like please tell me and i will try to bring more releases.- 5
- 1
- 3
- 3
-
Hey, im here to ask if the source is a class library?
-
Yes, but not the name.
-
it says that glass is needed :
-
Hey somewone knows how to change chat colour without changing source and without glass?
Thx
-
-
Hey guys, somewone knows how i put 4 slots in my game i have 40k version.
Thx.
- 1
Spam System Python
in Features & Metin2 Systems
Posted
oh yes sry, is that i was traducing this system to english and forgot that thx i will edit.
Try now.