1)
background stuff: I'm sorry to have posted it here. 5 min before u answered my posting I found this item in the bugs section
2)
hash table:
created it in on START with /hmake -s wconn 10
hadd called in:
on *:ACTIVE:*: { /hadd wconn active $cid }
when I enter "//hadd blabla" manually in a window, it works fine.
3)
toolbar:
//echo -a $toolbar(afk)
returns 37.
when I enter "/toolbar -y100 afk" manually in a window, it works fine.
But I found a
workaround. look, my 6.21-code was:
on *:ACTIVE:*: {
/hadd wconn active $cid
if ($serverip == 255.255.255.255) { /toolbar -y100 afk }
else {
/toolbar -y255 afk
if ($hget(wconn,[ $+($cid,.,away) ]) == no) {
/toolbar -pz3 afk v1\ico\afk0.ico
/toolbar -t afk "AFK setzen"
}
else {
/toolbar -pz3 afk v1\ico\afk1.ico
/toolbar -t afk "AFK zurücknehmen"
}
}
}
this code worked in 6.21 but in 6.3 it does not. Now, I moved the hadd to the end of the event (don't ask me why I did so):
on *:ACTIVE:*: {
if ( ... ) { ... }
else {
...
}
/hadd wconn active $cid
}
IMO this move doesn't make any sense. but now, surprisingly everything works - hadd and toolbar!
Seems to be a runtime problem.
in 6.21 everything was OK
I have the same problems with another hash table in other events. I'll try to move the hadd lines around. just to see what hapens...