Back Reply to topic
Chaly 
(started thread)
Offizier · Webmaster 
Topics: 404
Posts: 2107
Location: Bad Honnef
Playing:  Guildwars2 (Drakkar See)
Ingame:  Chaly Flavour
Years registered: * * * * * * * * * * * * * * * * * * * * * *
Warning: long messages Posted: Post 07:12 Wed - Jul 02, 2008

just a warning for plugin coding:
test your new plugin in a tell and make sure that there is no case making the text of your message longer than the aochat.php or the server can handle

i haven't tested right now, but i think about 255 bytes yet.. if i get the correct length, i will build in a function that checks your messages before sending them to the server.

again: test your plugins in a tell.if it is a bit longer ppl will reconnect to the chatserver (message "welcome to age of conan") and are fine again. if it is _really long_ this is what can happen otherwise:
Code:
~uild channel [unknown channel]: (Aguildmate): test
~uild channel [unknown channel]: (Anotherguildmate): wtf?!

this problem persists for anyone - even for the aoc-client and even after a relog. problem seems to be solved after all guildmates logged off (and stay offline until the guildchannel is empty), and log in again..
Reply with quote



_________________

Chalys Gimpnesstheory (2003) Die Theorie der expotentiellen Bullshits den Gimps bei gleichbleibendem Anteil produzieren.
Back Reply to topic