Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - thegiga

#1
Wow, schnelle Antwort und dann auch noch auf anhieb in 2 Zeilen mein Problem gelöst, vielen Dank.
#2
Hi

ich habe ein kleines Problem mit der Willkommensnachricht, eigentlich auch der einziege Grund warum ich die Mod installiert habe.

Ich habe die Mod so eingestellt, das diese nur ausgeführt werden soll, wenn Benutzer aus der Gruppe Gäste( 8 ) den Server betreten (Hoffe ich, bin da noch net ganz durchgestiegen :) )

meine JTS3ServerMod_config1.cfg: (Abschnitt mit Willkommens Nachricht)


# Enable default welcome message, 0 = disable, 1 = enable
# This welcome message, if enabled, will be used for all other groups than specified for welcomemessage_groups.
# If welcomemessage_enable is disabled, then this will be used for all clients in all groups.
default_welcomemessage_enable = 1
# Select the message mode, how the client should get the message.
# poke or chat are valid values!
default_welcomemessage_message_mode = poke
# You can set another welcome message for specified server groups, 0 = disable, 1 = enable
welcomemessage_enable = 1
# A comma seperated list (without spaces) of server group ids, which should get this welcome message.
welcomemessage_groups = 8
# Select the message mode, how the client should get the message.
# poke or chat are valid values!
welcomemessage_message_mode = poke
# Path to file which contains the welcome messages.
welcomemessage_file = config/welcomemessages.cfg



Mein log:

2011-08-31 18:36:06 CACHE_INFO Creating client database cache...
2011-08-31 18:36:06 START_SUCCESSFUL Bot started and connected successful, write !botinfo in server chat to get an answer!
2011-08-31 18:36:08 CACHE_INFO Client database cache created, 9 clients in cache.
2011-08-31 18:36:24 clan: EXCEPTION - Bot Version: 3.6.0 Final (30.05.2011)
java.lang.NullPointerException
at java.lang.String.replace(Unknown Source)
at de.stefan1200.jts3servermod.JTS3ServerMod.createWelcomeMessage(JTS3ServerMod.java:3873)
at de.stefan1200.jts3servermod.JTS3ServerMod.handleWelcomeMessage(JTS3ServerMod.java:3832)
at de.stefan1200.jts3servermod.JTS3ServerMod.teamspeakActionPerformed(JTS3ServerMod.java:3953)
at de.stefan1200.jts3serverquery.JTS3ServerQuery$2.run(JTS3ServerQuery.java:2088)
at java.lang.Thread.run(Unknown Source)


java -version Ausgabe:

C:\Users\Administrator>java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)


mache ich Ihrgend was falsch? Ist ein vServer mit Win2008 Server R2.

Danke schonmal

MfG Giga