LuisPro
World War <3
- Joined
- May 10, 2009
- Messages
- 425
- Solutions
- 1
- Reaction score
- 53
[OTServ Trunk SVN]
https://github.com/TwistedScorpio/OTHire/blob/master/data/talkactions/scripts/banmanager.lua
https://github.com/TwistedScorpio/OTHire/blob/master/source/ban.cpp
When i press CTRL + Y (rule violation), put name, chose reason (ex. bug abuse), chose action (ex. Banishment), and chose "ip adress banishment", write comment, click OK and puff player got ban on account, warning and ban on ip.
My question is with part to remove to player get only ip ban (no account ban and no warning)?
OR
How to fix banmanager.lua
becouse if i write:
"/ban add, ip, Tester, 7"
i got:
Tester's IP was banned for 7 days and 0 seconds.
There is new query in db bans, but player are not kicked.
(no console errors)
https://github.com/TwistedScorpio/OTHire/blob/master/data/talkactions/scripts/banmanager.lua
https://github.com/TwistedScorpio/OTHire/blob/master/source/ban.cpp
When i press CTRL + Y (rule violation), put name, chose reason (ex. bug abuse), chose action (ex. Banishment), and chose "ip adress banishment", write comment, click OK and puff player got ban on account, warning and ban on ip.
My question is with part to remove to player get only ip ban (no account ban and no warning)?
OR
How to fix banmanager.lua
becouse if i write:
"/ban add, ip, Tester, 7"
i got:
Tester's IP was banned for 7 days and 0 seconds.
There is new query in db bans, but player are not kicked.
(no console errors)
Last edited: