Anope IRC Services

Anope Development => Modules => Topic started by: Ryoga on July 08, 2006, 11:24:10 AM

Title: GameServ module doesn't work
Post by: Ryoga on July 08, 2006, 11:24:10 AM
Hi, I tried to load the GameServ module that I've founde here (http://www.anope.org/modules/ircd_gameserv.c)

When I loaded it for the first time, a global GLine got added for GameServ as expected, and a /whois shows that gameserv is online, but it doesn't respond to any commands though :'(

Does anyone know what causes this and/or how to fix it?

[Bearbeitet am 8. 7. 06 von Ryoga]
Title:
Post by: Tom65789 on July 08, 2006, 11:46:04 AM
http://forum.anope.org/viewthread.php?tid=23

might be a good idea to search before posting :)

[Edited on 8-7-2006 by Tom65789]
Title:
Post by: Ryoga on July 08, 2006, 11:48:21 AM
Well that post doesn't say anything about my problem at all
Title:
Post by: Tom65789 on July 08, 2006, 12:13:16 PM
if you read the topic you might find the one in that thread is an updated one. the one that your using is Outdated and old.
Title:
Post by: Ryoga on July 08, 2006, 12:32:53 PM
Yes, I use the updated version but still have the same problem and also with other modules. The bots come online but don't respond to any command
Title:
Post by: Tom65789 on July 08, 2006, 01:35:05 PM
/msg OperServ set debug on
/msg OperServ modload ircd_gameserv
/msg OperServ modinfo ircd_gameserv

and then use some of the commands

paste results here
Title:
Post by: Ryoga on July 08, 2006, 02:23:29 PM
Quote
[15:21] -> *OperServ* set debug on
-
[15:21] -OperServ- Die Services sind jetzt im Debug-Modus.
-
[15:21] -> *OperServ* modload ircd_gameserv
-
[15:21] -ryogairc.de- *** Global -- from OperServ: Ryoga loaded module ircd_gameserv
-
[15:21] -OperServ- Modul ircd_gameserv geladen
-
[15:21] -> *OperServ* modinfo ircd_gameserv
-
[15:21] -OperServ- Module: ircd_gameserv Version: 0.3B Autor: Alek + Vorex geladen: 08.Jul.2006, 15:21:08 CEST
-
[15:21] -OperServ- Unterstützte IRCD's für: PRIVMSG
-
[15:21] -> *gameserv* help
-
[15:21] -> *gameserv* join #home on
-
GameServ is GameServ@ryogairc.de * GameServ
GameServ is using modes +
GameServ is connecting from *@ryogairc.de
GameServ using services.ryogairc.de IRC-Services von ryogairc.de
gameserv End of /WHOIS list.
-


there were no replys at all and what I also find strangeis that GameServ has no modes

[edit]
oops, I forgot the log entries:

Quote
[Jul 09 19:54:19 2006] OperServ: Ryoga: set debug on
[Jul 09 19:54:19.912963 2006] Debug mode activated
[Jul 09 19:54:19.913114 2006] debug: Sent: :OperServ B Ryoga :Die Services sind jetzt im Debug-Modus.
[Jul 09 19:54:21.703947 2006] debug: Received: :Ryoga ! gameserv :help
[Jul 09 19:54:23.224624 2006] debug: Received: :Ryoga ! gameserv :join #home on
[Jul 09 19:54:23.910647 2006] debug: Received: :Ryoga ! operserv@services.ryogairc.de :set debug off
[Jul 09 19:54:23.910758 2006] OperServ: Ryoga: set debug off
[Jul 09 19:54:23.910821 2006] Debug mode deactivated

[Bearbeitet am 9. 7. 06 von Ryoga]
Title:
Post by: Ryoga on July 16, 2006, 04:01:44 PM
Still noone can tell me what's wrong? it happens with both, gameserv and loveserv and I have no idea what could be the problem.
Title:
Post by: Dave Robson on July 17, 2006, 08:22:07 AM
im going to guess that both of those modules use hooks on PRIVMSG but dont bother hooking to the token version of the same privmsg.
Title:
Post by: Tom65789 on July 17, 2006, 12:33:09 PM
ok which IRCd you using? if its Unreal3.2.5 then i already know something lol
Title:
Post by: SpaceDoG on July 17, 2006, 02:42:01 PM
What version of anope are you using?
Title:
Post by: Ryoga on July 18, 2006, 07:51:59 PM
UnrealIRCd 3.2.5 and Anope 1.7.14

I guess Rob is right about the hook thing, I flied over the sources of working and not working modules and saw some differences their. but i'm not much into programming so I can't fix it myself
Title:
Post by: Ryoga on July 18, 2006, 08:10:42 PM
Quote
Originally posted by Tom65789
ok which IRCd you using? if its Unreal3.2.5 then i already know something lol

What has it to do with the version of Unreal?
Title:
Post by: Tom65789 on July 18, 2006, 08:55:01 PM
because alot of the modules using PRIVMSG and the ! triggers seem to have broke on 3.2.5, i had this problem with my cs_fantasy module
Title:
Post by: Ryoga on July 22, 2006, 02:54:54 PM
Ok, so what to do to fix it?
Title:
Post by: Ryoga on August 02, 2006, 04:59:24 PM
Can anyone help me?
Title:
Post by: n00bie on August 02, 2006, 10:39:34 PM
I am not sure of what exactly your problems might be, but, believe me, i just downloaded the module from here:
http://dev.abducted.us/images/c/c2/Ircd_gameserv.c

tested it on  FreeBSD 5.5-PRERELEASE with Anope-1.7.14 (1023) and Unreal3.2.5.

I compiled the modules, and got no errors. Loaded the modules and still get no errors ... also just to note, i didn;t change anything on the code .. even a single code from that module and all the commands were working perfect and GameServ can also join/part a channel.

Also, about its user mode, the mod author(s) didn't give any modes on GameServ client, so it will not have any modes unless you gave a user modes by yourselves. :P
Title:
Post by: Ryoga on August 05, 2006, 10:10:48 PM
That's really strange because I didn't get an error neither, but GameServ just doesn't respond to anything I do... am I just to stupid? How to let GameServ join a channel?
Title:
Post by: Ryoga on August 12, 2006, 09:05:50 PM
I got 2 ppl now telling me that it works for them, but still doesn't for me, neither on my server nor on my laptop. is there anything I maybe do wrong?
Title:
Post by: Jobe on August 12, 2006, 10:21:52 PM
Has anyone bothered to ask about this which if set will cause UnrealIRCd to use the tokenised commands when sending to Anope instead which is possibly why the module is ignoring them:
Quote
# UseTokens [OPTIONAL]
#     Allows irc networks to use TOKEN commands instead of the
#     standard commands. This saves bandwidth but can break older
#     modules that are not set to trap for TOKEN - if you are using
#     older modules do NOT use this option
#UseTokens


To make sure PRIVMSG's are sent to Anope as PRIVMSG and not the token just make sure this is commented out as in the quote.
Title:
Post by: Ryoga on August 13, 2006, 11:52:46 AM
No, no one has yet... that solves my Problem, tyvm :)
Title:
Post by: Jobe on August 13, 2006, 01:00:52 PM
Was just a simple thing that i thought about. If Anope doesnt tell Unreal it supports the TOKEN messages Unreal wont use them when sending to Anope.
Title:
Post by: PreciousAlly on September 06, 2006, 01:13:28 AM
How do I install gameserv?
Title:
Post by: n00bie on September 06, 2006, 08:00:43 AM
just as you install any other module. Read the MODULES file inside the docs/ folder