Back Reply to topic
Mika 
(started thread)
Champion Chicken 
Topics: 6
Posts: 67
Location: Finland
Playing:  AOC
Ingame:  Phaestyriade
Years registered: * * * * * * * * * * * * * * * * *
.!altlist wont work Posted: Post 06:28 Mon - Feb 16, 2009

Putting it to main chat it only gives
Quote:
[19:23] [Guild] [Puunhalaaja]: !altlist
[19:24] [Pohjola]: :: Admin help for twinks ::


Not that list that provides list for current alts online etc, what is happened?
Reply with quote


Chaly 
Offizier · Webmaster 
Topics: 404
Posts: 2107
Location: Bad Honnef
Playing:  Guildwars2 (Drakkar See)
Ingame:  Chaly Flavour
Years registered: * * * * * * * * * * * * * * * * * * * * * *
Posted: Post 08:15 Mon - Feb 16, 2009

1. loading of alts failed ( plugins/5000ms/guildbuddies )
2. !latlist script doesn't work ( plugins/guild/guildtwinks )
i place my bet on the guildtwinks plugin. let's take a look at plugins/guild/guildtwinks - lines 55+
Code:

55   if ($pluginwords[1]=="!twinklist"||$pluginwords[1]=="!altlist") {
...
70      foreach ($guildmainssorted as $altchar=>$mainchar) if ($altchar!==0) {
...
83         $n++; $i++;
84      }
...
88      if ($i>0) {
89         $msg.=" ".colortext(":: $i hits ::");
90      } else {
91         $msg=colortext(":: There's no twink yet. Use !main or !alt to define some ::");
92      }
93      send_reply($msg);
94      if ($adminhelp&&$sender)
95         send_private_tell($sender,makelink(colortext(":: Admin help for twinks ::"),$adminhelp));
96   }

as you can see, the admin help (line 95) is printed as long as the condition in line 55 was true (and - of course - you're an admin.. whatever).
you get the admin help message, so the lines 56-95 have been processed, including the send_reply($msg) that
always replies something: the number of alts or an info that there aren't defined any alts.

make a backup of your bot, move your current plugin "guildtwinks" from your bot's directory to somewhere else (desktop?) and extract the plugin "guildtwinks" from the original ragebot package to plugins/guild/guildtwinks. call !altlist in the guildchannel.[/code]
Reply with quote



_________________

Chalys Gimpnesstheory (2003) Die Theorie der expotentiellen Bullshits den Gimps bei gleichbleibendem Anteil produzieren.
Mika 
(started thread)
Champion Chicken 
Topics: 6
Posts: 67
Location: Finland
Playing:  AOC
Ingame:  Phaestyriade
Years registered: * * * * * * * * * * * * * * * * *
Posted: Post 11:27 Mon - Feb 16, 2009

Replaced that as you posted.

Now its giving this

Quote:

sRead error: EOF

Warning: unpack(): Type N: not enough input, need 4, have 0 in C:\myrage\lib\aoc
chat.php on line 1195

Warning: array_pop(): The argument should be an array in C:\myrage\lib\aocchat.p
hp on line 1196

Warning: unpack(): Type n: not enough input, need 2, have 0 in C:\myrage\lib\aoc
chat.php on line 1207

Warning: array_pop(): The argument should be an array in C:\myrage\lib\aocchat.p
hp on line 1208

Warning: unpack(): Type n: not enough input, need 2, have 0 in C:\myrage\lib\aoc
chat.php on line 1207

Warning: array_pop(): The argument should be an array in C:\myrage\lib\aocchat.p
hp on line 1208
Read error: EOF
socket died -.-Restarting bot (no delay ..)
[12:25:46] Connect
[12:25:46] Authenticate
[12:25:47] Login char

so there is realy something broke xD
Reply with quote


Chaly 
Offizier · Webmaster 
Topics: 404
Posts: 2107
Location: Bad Honnef
Playing:  Guildwars2 (Drakkar See)
Ingame:  Chaly Flavour
Years registered: * * * * * * * * * * * * * * * * * * * * * *
Posted: Post 07:56 Tue - Feb 17, 2009

the 0.8.0 includes an outdated chatlib, did you download 0.8.1?
http://odins-zorn.de/download.php?id=738
Reply with quote



_________________

Chalys Gimpnesstheory (2003) Die Theorie der expotentiellen Bullshits den Gimps bei gleichbleibendem Anteil produzieren.
Mika 
(started thread)
Champion Chicken 
Topics: 6
Posts: 67
Location: Finland
Playing:  AOC
Ingame:  Phaestyriade
Years registered: * * * * * * * * * * * * * * * * *
Posted: Post 08:58 Tue - Feb 17, 2009

yeas strichauge and now it even give that admin txt. Reply with quote


Mika 
(started thread)
Champion Chicken 
Topics: 6
Posts: 67
Location: Finland
Playing:  AOC
Ingame:  Phaestyriade
Years registered: * * * * * * * * * * * * * * * * *
Posted: Post 10:36 Tue - Feb 17, 2009

I just cleared whole alt list and hope it will work now. Reply with quote


Conyr 
Blue-Ribbon Chicken 
Topics: 0
Posts: 5
Playing:  Conyr
Ingame:  Conyr
Years registered: * * * * * * * * * * * * * * * * *
Posted: Post 07:42 Sat - Feb 21, 2009

Hi Chaly

We are getting a similar error concerning the commands !altlist/ !twinklist.

But the log tells something different...

Quote:
PHP Warning: socket_read(): unable to read from socket [0]: Eine bestehende Ver
bindung wurde softwaregesteuert
durch den Hostcomputer abgebrochen.
in C:\Users\******\Desktop\Neuer Ordner\Myrage\lib\aocchat.php on line 274
Restarting bot (no delay ..)


There was no change made to the bot.
There is only one thing. It started when the twinklist reched about page 5 or 6. But does this really matter?

Do you have any advice?
Reply with quote



_________________
"Nun denn, beschreitet weiter diesen Pfad...
Seid euch bewusst, wer wir sind, seid euch bewusst wer ihr seid!
Dann, an jenem Tag, werden die Stillen Götter ihr Schweigen brechen..."


Silent Gods - Klick!
Mika 
(started thread)
Champion Chicken 
Topics: 6
Posts: 67
Location: Finland
Playing:  AOC
Ingame:  Phaestyriade
Years registered: * * * * * * * * * * * * * * * * *
Posted: Post 02:38 Fri - Mar 13, 2009

same here , altlist reached to 7 pages and now !altlist will crash bot =/// Reply with quote


Mika 
(started thread)
Champion Chicken 
Topics: 6
Posts: 67
Location: Finland
Playing:  AOC
Ingame:  Phaestyriade
Years registered: * * * * * * * * * * * * * * * * *
Posted: Post 10:54 Sat - Mar 14, 2009

And here is my error code
Quote:
ssssRead error: EOF

Warning: unpack(): Type N: not enough input, need 4, have 0 in C:\myrage\lib\aoc
chat.php on line 1195

Warning: array_pop(): The argument should be an array in C:\myrage\lib\aocchat.p
hp on line 1196

Warning: unpack(): Type n: not enough input, need 2, have 0 in C:\myrage\lib\aoc
chat.php on line 1207

Warning: array_pop(): The argument should be an array in C:\myrage\lib\aocchat.p
hp on line 1208

Warning: unpack(): Type n: not enough input, need 2, have 0 in C:\myrage\lib\aoc
chat.php on line 1207

Warning: array_pop(): The argument should be an array in C:\myrage\lib\aocchat.p
hp on line 1208
Read error: EOF
socket died -.-Restarting bot (no delay ..)
Reply with quote


Conyr 
Blue-Ribbon Chicken 
Topics: 0
Posts: 5
Playing:  Conyr
Ingame:  Conyr
Years registered: * * * * * * * * * * * * * * * * *
Posted: Post 12:28 Fri - Mar 20, 2009

I deleted all the files located in the guildbuddies-folder. Until now everything semms to work... :up:
This of course meant adding all the characters again but who matters...
Now I am waiting until we reach page 7 again. At that point the list stopped working...
Reply with quote



_________________
"Nun denn, beschreitet weiter diesen Pfad...
Seid euch bewusst, wer wir sind, seid euch bewusst wer ihr seid!
Dann, an jenem Tag, werden die Stillen Götter ihr Schweigen brechen..."


Silent Gods - Klick!
Willibald 
Blue-Ribbon Chicken 
Topics: 3
Posts: 12
Playing:  AOC
Ingame:  Willibald
Years registered: * * * * * * * * * * * * * * * *
Posted: Post 12:30 Thu - May 28, 2009

We had the same Problem with non working !altlist and !twinklist. All worked finde until the number of listesd twinks reached
~100+

We found a Workarround for this Problem :

Script : \plugins\guild\guildtwinksindex.php Line 73

Code:
if ($n>=15) {


changed to
Code:
if ($n>=30) {


With this change the number of Twinks shown per page was doubled (to 30). Now the commands !altlist and !twinklist work again, but i´m sure we run into the same trouble again when the count of our guildtwinks forces the bot to display themn on 7+ Pages weinen

Any suggestions about the real issue (bot is not able to display 7+ Links) hilfe

Willibald
Reply with quote


Back Reply to topic