Hiện bộ gõ=phím F8
PRESS F9 to turn on/off the unicode typing method.
Bộ gõ Tiếng Việt kiểu VNI đã mặc định bật, bấm F8 để hiện trạng thái bộ gõ và hiệu chỉnh khi cần.Latest topics
Thống Kê/Statistic
1.50 testing. Ban for garena not work.
3 posters
Page 1 of 1
1.50 testing. Ban for garena not work.
- Code:
[Mon Nov 05 04:13:39 2012] [ GAME: TTW for ALL #25] (00:35) [Team: 2] [All] [russoka]: !ban pit random
[Mon Nov 05 04:13:39 2012] [ GAME: TTW for ALL #25] admin [russoka] sent command [ban] with payload [pit random]
[Mon Nov 05 04:13:39 2012] [ GAME: TTW for ALL #25] player [Pitahaya] was banned by player [russoka]
[Mon Nov 05 04:13:39 2012] [ GAME: TTW for ALL #25] [Local]: Player [Pitahaya (78.110.155.51)] was banned by player [russoka] for the next [30] days.
[Mon Nov 05 04:13:39 2012] [ GAME: TTW for ALL #25] [Local]: Ban reason: random
[Mon Nov 05 04:13:39 2012] [ LOCAL: XPAM] /w Pitahaya You have been banned, random
[Mon Nov 05 04:13:41 2012] [ GAME: TTW for ALL #25] admin [russoka] sent command [kick] with payload [pit]
[Mon Nov 05 04:13:41 2012] [ GAME: TTW for ALL #25] deleting player [Pitahaya]: was kicked by player [russoka]
[Mon Nov 05 04:13:41 2012] [ GAME: TTW for ALL #25] [Local]: Pitahaya was kicked by player [russoka].
[Mon Nov 05 04:13:59 2012] [ GAME: TTW for ALL #33] player [Pitahaya(78.110.155.51|RU)] has joined from [LAN] Russia TD Room 04 (1.26a)
[Mon Nov 05 04:14:00 2012] [ GAME: TTW for ALL #29] loading gameloaded.txt
russoka- Active Member
- Posts : 53
Join date : 2012-10-25
Age : 34
Location : Russia / Far East
Testing
Your Garena ID:
Re: 1.50 testing. Ban for garena not work.
Have you done adding [You must be registered and logged in to see this link.] for your SQL db? It's called GGDragon fix for bans on Garena/Lan
Re: 1.50 testing. Ban for garena not work.
No.
From Now!!! Trigger works! IDK about bans
p.s.
Database: [You must be registered and logged in to see this link.]
Bans on garena not working.
- Code:
create trigger setserv before insert on DATABASE_NAME.bans
for each row
begin
set new.server = 'SERVER_NAME';
end;
$$
From Now!!! Trigger works! IDK about bans
p.s.
- Code:
[Mon Nov 05 07:42:10 2012] [ GAME: test garena] player [dibaeff(87.224.223.60|RU)] has joined from [LAN] Russia TD Room 11 (1.26a)
[Mon Nov 05 07:43:25 2012] [ GAME: test garena] [Lobby] [russoka]: !ban dib test
[Mon Nov 05 07:43:25 2012] [ GAME: test garena] admin [russoka] sent command [ban] with payload [dib test]
[Mon Nov 05 07:43:25 2012] [ GAME: test garena] player [dib] was banned by player [russoka]
[Mon Nov 05 07:43:25 2012] [ LOCAL: XPAM] /w dib You have been banned, test
[Mon Nov 05 07:43:29 2012] [ GAME: test garena] [Lobby] [russoka]: !kick dib
[Mon Nov 05 07:43:29 2012] [ GAME: test garena] admin [russoka] sent command [kick] with payload [dib]
[Mon Nov 05 07:43:29 2012] [ GAME: test garena] deleting player [dibaeff]: was kicked by player [russoka]
[Mon Nov 05 07:43:37 2012] [ GAME: test garena] player [dibaeff(87.224.223.60|RU)] has joined from [LAN] Russia TD Room 11 (1.26a)
Database: [You must be registered and logged in to see this link.]
Bans on garena not working.
russoka- Active Member
- Posts : 53
Join date : 2012-10-25
Age : 34
Location : Russia / Far East
Testing
Your Garena ID:
Re: 1.50 testing. Ban for garena not work.
You got trigger works, but maybe bot + gcb need to be reset.
1st option:
no idea, but you can join my bots with a garena nickname which is other than your own (russoka), download a map & leave immediately after finishing the download to trigger the ban & see if you can rejoin
2nd option:
You can easily test it via LAN, you pick some names from db and enter with each of those name to join through NORMAL Lan (as you're using gcb, you should be able to join on Lan without having to turn on Garena), check if you can join with those name and read ghostlog to see.
P/S: just out of curiosity, can you search your 1 day hosting ghostlog for
"through LAN" if found >> it should be ... is trying to join the game through LAN but is name banned (gcbi detected ... is always found above this line with the exact IP of the player was getting banned)
banned by name >> it should be .... is trying to join the game but is banned by name ( no gcbi for the banned player's IP found above this line)
TELL ME how many results you get for each of those ban msg ?
Those msgs appear on my log so often. And for sure, through LAN is always Garena ppls that can't join the game. I've not seen anything wrong with this (for example, a player tried to join on bnet server but the log says "through LAN")
1st option:
no idea, but you can join my bots with a garena nickname which is other than your own (russoka), download a map & leave immediately after finishing the download to trigger the ban & see if you can rejoin
2nd option:
You can easily test it via LAN, you pick some names from db and enter with each of those name to join through NORMAL Lan (as you're using gcb, you should be able to join on Lan without having to turn on Garena), check if you can join with those name and read ghostlog to see.
P/S: just out of curiosity, can you search your 1 day hosting ghostlog for
"through LAN" if found >> it should be ... is trying to join the game through LAN but is name banned (gcbi detected ... is always found above this line with the exact IP of the player was getting banned)
banned by name >> it should be .... is trying to join the game but is banned by name ( no gcbi for the banned player's IP found above this line)
TELL ME how many results you get for each of those ban msg ?
Those msgs appear on my log so often. And for sure, through LAN is always Garena ppls that can't join the game. I've not seen anything wrong with this (for example, a player tried to join on bnet server but the log says "through LAN")
Re: 1.50 testing. Ban for garena not work.
2. I can not join from normal lan with GCB. GCB blocked 6112 port.
I found too much "through LAN" in log. May be problem with refresh info. So Bans working.
Solved (hope has finally).
I found too much "through LAN" in log. May be problem with refresh info. So Bans working.
Solved (hope has finally).
russoka- Active Member
- Posts : 53
Join date : 2012-10-25
Age : 34
Location : Russia / Far East
Testing
Your Garena ID:
Re: 1.50 testing. Ban for garena not work.
can you test !ff command in Dota games? My bots never host Dota, I can't test that.
Re: 1.50 testing. Ban for garena not work.
I'm not played on DOTA. Only TTW.
russoka- Active Member
- Posts : 53
Join date : 2012-10-25
Age : 34
Location : Russia / Far East
Testing
Your Garena ID:
Re: 1.50 testing. Ban for garena not work.
- Code:
[Mon Nov 05 23:42:36 2012] [ GAME: TTW for ALL #21] (00:36) [Team: 1] [All] [russoka]: !ban hy иди нахуй
[Mon Nov 05 23:42:36 2012] [ GAME: TTW for ALL #21] admin [russoka] sent command [ban] with payload [hy иди нахуй]
[Mon Nov 05 23:42:36 2012] [ GAME: TTW for ALL #21] player [HY33] was banned by player [russoka]
[Mon Nov 05 23:42:36 2012] [ GAME: TTW for ALL #21] [Local]: Player [HY33 (77.35.193.10)] was banned by player [russoka] for the next [30] days.
[Mon Nov 05 23:42:36 2012] [ GAME: TTW for ALL #21] [Local]: Ban reason: иди нахуй
[Mon Nov 05 23:42:36 2012] [ LOCAL: XPAM] /w HY33 You have been banned, иди нахуй
[Mon Nov 05 23:42:37 2012] [ ERROR: XPAM] That user is not logged on.
[Mon Nov 05 23:42:40 2012] [ GAME: TTW for ALL #21] (00:39) [Team: 1] [All] [russoka]: !kick hy
[Mon Nov 05 23:42:40 2012] [ GAME: TTW for ALL #21] admin [russoka] sent command [kick] with payload [hy]
[Mon Nov 05 23:42:40 2012] [ GAME: TTW for ALL #21] deleting player [HY33]: was kicked by player [russoka]
[Mon Nov 05 23:42:40 2012] [ GAME: TTW for ALL #21] [Local]: HY33 was kicked by player [russoka].
[Mon Nov 05 23:42:58 2012] [ GCBI] Garena user detected; userid=12194355, roomid=196802, RoomName=Russia TD Room 01 (1.26a), experience=29, country=RU
[Mon Nov 05 23:42:58 2012] [ GAME: TTW for ALL #25] player [HY33(77.35.193.10|RU)] has joined from [LAN] Russia TD Room 01 (1.26a)
[Mon Nov 05 23:45:10 2012] [ GAME: TTW for ALL #25] deleting player [HY33]: was kicked by player [ghost]
[Mon Nov 05 23:45:38 2012] [ GCBI] Garena user detected; userid=12194355, roomid=196802, RoomName=Russia TD Room 01 (1.26a), experience=29, country=RU
[Mon Nov 05 23:45:38 2012] [ GAME: TTW for ALL #29] player [HY33(77.35.193.10|RU)] has joined from [LAN] Russia TD Room 01 (1.26a)
[Mon Nov 05 23:46:01 2012] [ UDPCMDSOCK] Relaying cmd [!refresh] to server [server.eurobattle.net]
[Mon Nov 05 23:46:01 2012] [ WSPR: XPAM] [russoka] !refresh
[Mon Nov 05 23:46:01 2012] [ BNET: XPAM] admin [russoka] sent command [!refresh]
[Mon Nov 05 23:46:01 2012] [ BNET: XPAM] refreshed ban list (1 -> 2 bans)
[Mon Nov 05 23:46:03 2012] [ UDPCMDSOCK] Relaying cmd [!refresh] to server [server.eurobattle.net]
[Mon Nov 05 23:46:03 2012] [ WSPR: XPAM] [russoka] !refresh
[Mon Nov 05 23:46:03 2012] [ BNET: XPAM] admin [russoka] sent command [!refresh]
[Mon Nov 05 23:46:03 2012] [ BNET: XPAM] refreshed ban list (2 -> 2 bans)
[Mon Nov 05 23:47:00 2012] [ GAME: TTW for ALL #29] player [HY33] finished loading in 17.24 seconds
[Mon Nov 05 23:47:11 2012] [ GAME: TTW for ALL #29] non-admin [HY33] sent command [ban] with payload []
[Mon Nov 05 23:47:36 2012] [ GAME: TTW for ALL #29] [Local]: Shortest load by player [HY33] was 17.24 seconds.
[Mon Nov 05 23:47:45 2012] [ GAME: TTW for ALL #29] (00:09) [Team: 2] [Allies] [HY33]: !ban
[Mon Nov 05 23:47:45 2012] [ GAME: TTW for ALL #29] non-admin [HY33] sent command [ban] with payload []
[Mon Nov 05 23:47:56 2012] [ GAME: TTW for ALL #29] deleting player [HY33]: was kicked by player [ghost]
[Mon Nov 05 23:47:56 2012] [ GAME: TTW for ALL #29] [Local]: HY33 was kicked by player [ghost].
[Mon Nov 05 23:48:18 2012] [ GAME: TTW for ALL #35] player [HY33(77.35.193.10)] is trying to join the game through LAN but is name banned
[Mon Nov 05 23:48:19 2012] [ GAME: TTW for ALL #35] player [HY33(77.35.193.10)] is trying to join the game through LAN but is name banned
[Mon Nov 05 23:48:20 2012] [ GAME: TTW for ALL #35] player [HY33(77.35.193.10)] is trying to join the game through LAN but is name banned
... 55 matches
Seems like !refresh not working automatically.
russoka- Active Member
- Posts : 53
Join date : 2012-10-25
Age : 34
Location : Russia / Far East
Testing
Your Garena ID:
Re: 1.50 testing. Ban for garena not work.
It's always working automatically. Default GhostOne code (3600 is a ghostone default figure) for that.
You shouldn't rush it for small figure. It's fancy if we make it to small figure and every instance of ghost.exe will consume too much memory, SQL couldn't handle too many connections unless you allow like 10000 connections or more at a time. My attempts to take a record of ban list in game_base.cpp haven't been successful yet. Bots must connect to at least a bnet server for checking ban on Lan (which is lame in my opinion, but they programmed ghost++ like that before all of my work). I believe it's the same to all Ghost++ out there. Only Garena HostBot seems to do that task well but they never share the source code. I only have [You must be registered and logged in to see this link.] for [You must be registered and logged in to see this link.].
See r98, I commented the part of the improvised code b'cuz of a lot of SQL database errors with bot, I think it must have hanged the program.
EDIT: 5 mins is okay but still it's not a real-time update ban list from the database, pychop also uses 5 mins but they have functions about Update() separately placed in chop.cpp which there could be a plenty of advantages modifying the bot to not rely on bnet server
- Code:
in bnet.cpp
// refresh the ban list every 60 minutes (3600s)
if( !m_CallableBanList && GetTime( ) >= m_LastBanRefreshTime + 3600 )
You shouldn't rush it for small figure. It's fancy if we make it to small figure and every instance of ghost.exe will consume too much memory, SQL couldn't handle too many connections unless you allow like 10000 connections or more at a time. My attempts to take a record of ban list in game_base.cpp haven't been successful yet. Bots must connect to at least a bnet server for checking ban on Lan (which is lame in my opinion, but they programmed ghost++ like that before all of my work). I believe it's the same to all Ghost++ out there. Only Garena HostBot seems to do that task well but they never share the source code. I only have [You must be registered and logged in to see this link.] for [You must be registered and logged in to see this link.].
See r98, I commented the part of the improvised code b'cuz of a lot of SQL database errors with bot, I think it must have hanged the program.
EDIT: 5 mins is okay but still it's not a real-time update ban list from the database, pychop also uses 5 mins but they have functions about Update() separately placed in chop.cpp which there could be a plenty of advantages modifying the bot to not rely on bnet server
Last edited by Gen on Mon Nov 05, 2012 8:14 am; edited 3 times in total
Re: 1.50 testing. Ban for garena not work.
and the command you did is exactly this one in bnet.cpp
/w botname !refesh, right?
- Code:
//
// !RB (Refreshes Banlist)
// !REFRESH
//
if( Command == "rb" || Command == "refresh")
{
m_LastBanRefreshTime = GetTime() - 3600;
m_LastAdminRefreshTime = GetTime() - 300;
}
Similar topics
» LAN -> Garena
» About Gen group on Garena
» Hooking GenBot to Garena PLUS
» GenPatch: Working Ban on Name for Garena & Realms
» GenPatch: Display Garena Room with GarenaRoomNameDetection
» About Gen group on Garena
» Hooking GenBot to Garena PLUS
» GenPatch: Working Ban on Name for Garena & Realms
» GenPatch: Display Garena Room with GarenaRoomNameDetection
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Tue Nov 24, 2015 6:08 am by kingsamurie
» Strange Invalid version error after changing to bnet version 26
Wed Oct 07, 2015 9:26 am by Gen
» Perfect-G 412KANAKO Gallery
Wed Sep 23, 2015 11:32 pm by Guest
» Fully Naked Pics Of Jessica Gomes
Tue Jul 07, 2015 5:57 pm by Guest
» The One Tree Hill Season 3
Sun Jun 07, 2015 11:27 am by Guest
» The One Tree Hill Season 3
Sun Jun 07, 2015 11:20 am by Guest
» When i host i get this error using Gen MOdded Ghostone(Latest ver)
Mon Apr 21, 2014 12:00 am by kingsamurie
» When i type !map on any kind of map i get this error
Sun Apr 20, 2014 11:59 pm by kingsamurie
» Players get kicked
Thu Oct 17, 2013 1:51 am by keisersoze
» Where to find Games!
Tue Oct 15, 2013 11:22 am by kokkis