logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Chat plugin problem?
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
william_hunter



Joined: 31 Jan 2007
Posts: 149

PostPosted: Wed Feb 14, 2007 14:34    Post subject: Reply with quote

Then we shan't worry about it, eh?

Thanks for everything virusman.
_________________
The Realm of Tharagon NWN PW
Back to top
View user's profile Send private message
FunkySwerve



Joined: 02 Jun 2005
Posts: 377

PostPosted: Thu Feb 15, 2007 5:07    Post subject: Reply with quote

Just got a report from another user that sending a tell with % in it crashes the server. Doesn't happen on my boxes, so I'm guessing it's either a script conflict on their end, or an older versin of the plugin. Was this a bug with any previous versions? I already asked him for more info on what version he was running, but he hasn't responded yet.
Thanks,
Funky
Back to top
View user's profile Send private message
william_hunter



Joined: 31 Jan 2007
Posts: 149

PostPosted: Thu Feb 15, 2007 14:20    Post subject: Reply with quote

This does not affect my server either. I tested it out a few times.
_________________
The Realm of Tharagon NWN PW
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Thu Feb 15, 2007 16:25    Post subject: Reply with quote

http://www.nwnx.org/phpBB2/viewtopic.php?p=5538#5538
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
william_hunter



Joined: 31 Jan 2007
Posts: 149

PostPosted: Fri Feb 16, 2007 2:17    Post subject: Reply with quote

WOOT for virusman!

Here's hoping this is what the doctor ordered, eh?

Thanks all. Hopefully this will be the last you hear from me on this.
_________________
The Realm of Tharagon NWN PW
Back to top
View user's profile Send private message
william_hunter



Joined: 31 Jan 2007
Posts: 149

PostPosted: Sat Feb 17, 2007 17:55    Post subject: Reply with quote

Well durn. I still get a runtime error, but I did not yet modify any of the scripts. Is that a necessary step?
_________________
The Realm of Tharagon NWN PW
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Sat Feb 17, 2007 18:24    Post subject: Reply with quote

Well, in that case I can't find out what crashes your server without a memory dump.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
william_hunter



Joined: 31 Jan 2007
Posts: 149

PostPosted: Sat Feb 17, 2007 20:25    Post subject: Reply with quote

Bugger. OK, I will get that done.
_________________
The Realm of Tharagon NWN PW
Back to top
View user's profile Send private message
william_hunter



Joined: 31 Jan 2007
Posts: 149

PostPosted: Mon Feb 19, 2007 23:39    Post subject: Reply with quote

Is it possible that the OS is causing this issue? I am upgrading to a new server box in 4 days, and it will be win xp pro (64 bit) rather than xp home. Any chance this is going to help? I was thinking this runtime error might be system resources related, as the system is rather old, though it has been very good.

The new server will be a dual core (pentium D) with much more cache and much faster RAM (667mhz as opposed to 333).
_________________
The Realm of Tharagon NWN PW
Back to top
View user's profile Send private message
FunkySwerve



Joined: 02 Jun 2005
Posts: 377

PostPosted: Tue Mar 06, 2007 23:04    Post subject: Reply with quote

After more testing I can confrim that the following line:

mind spells, 25% electric, 10 regen

Crashes the server when it hits the log function:


Code:
    if (TEXT_LOGGING_ENABLED)//outside the if/else structure since it always logs if on
    {
        // Log Message
        sLogMessage = GetName(oPC) + "(" + GetPCPlayerName(oPC) + ")" + sLogMessageTarget + "[" + Speech_GetChannel(nChannel) + "] " + sText + "\n";
        // Log
        SetLocalString(oPC, "NWNX!CHAT!LOG", sLogMessage);
    }


if TEXT_LOGGING_ENABLED = TRUE. If FALSE, no crash. Given the minimal changes I made prior to this conditional, it seems almost certain the error is in the plugin.
Thanks!
Funky
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Wed Mar 07, 2007 0:05    Post subject: Reply with quote

Thanks for the bug report.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Wed Mar 07, 2007 0:15    Post subject: Reply with quote

Hotfix:
http://data.virusman.ru/nwn/nwnx_chat-0.3-linux-hotfix.rar
http://data.virusman.ru/nwn/nwnx_chat-0.3-win32-hotfix.rar
Please post here if it fixed the problem (or not).
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
william_hunter



Joined: 31 Jan 2007
Posts: 149

PostPosted: Wed Mar 07, 2007 3:27    Post subject: Reply with quote

wow...you're fast..
_________________
The Realm of Tharagon NWN PW
Back to top
View user's profile Send private message
FunkySwerve



Joined: 02 Jun 2005
Posts: 377

PostPosted: Wed Mar 07, 2007 4:08    Post subject: Reply with quote

Daaamn, thanks. Razz
Funky
Back to top
View user's profile Send private message
pinknapkins



Joined: 25 Dec 2005
Posts: 9

PostPosted: Wed Mar 07, 2007 5:31    Post subject: Bingo! Reply with quote

The fix works like a charm.

Thanks Funky for narrowing in on the problem and thanks to virusman for the fix!

Fantastic!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion All times are GMT + 2 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group