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 
 
Real World Time
Goto page Previous  1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    nwnx.org Forum Index -> Database related
View previous topic :: View next topic  
Author Message
Mikel of Avalon



Joined: 29 Dec 2004
Posts: 72
Location: Germany

PostPosted: Tue Nov 27, 2007 0:27    Post subject: Reply with quote

Is wxWidgets (XWindows) requiered to use the Plugin?
I use only a Linux Box with shell to host my Server and can't use any XWindows application.
_________________
Mikel of Avalon

Kalandur - Die vergessene Welt
Back to top
View user's profile Send private message Visit poster's website
Gryphyn



Joined: 20 Jan 2005
Posts: 431

PostPosted: Tue Nov 27, 2007 1:34    Post subject: Reply with quote

Mikel of Avalon wrote:
Is wxWidgets (XWindows) requiered to use the Plugin?
I use only a Linux Box with shell to host my Server and can't use any XWindows application.


wxWidgets is the 'class-library' that was adopted for NWNX4, which compiles for a linux version. I don't know if there is anything special required for a linux build, maybe one of the penguins can compile the code for you Wink ask nice Wink

Cheers
Gryphyn
Back to top
View user's profile Send private message
Disco



Joined: 06 Dec 2006
Posts: 152

PostPosted: Tue Nov 27, 2007 11:37    Post subject: Reply with quote

Gryphyn wrote:
OK, Rebuilt, Modified the demo, Loaded a new RAR last night (all should be dated 26Nov.)
When I uploaded, it should have overwritten the old one. I made sure I'd checked that option. Oh well, I'll try again this arvo - deleting the existing rar, and uploading the new one, If I remember I also update the link - in-case there is a version of the file I don't know about.
Cheers
Gryphyn


I am afraid it's still the 16/11 version. Perhaps you should name the file nwnx_realtime_1_1.rar, upload that, and make a new link? Makes it easier to check what's in there anyway.
Back to top
View user's profile Send private message
Gryphyn



Joined: 20 Jan 2005
Posts: 431

PostPosted: Tue Nov 27, 2007 12:40    Post subject: Reply with quote

Just doing it now...
Done...and I've checked the download, it's now the right version.

Cheers
Gryphyn

Oh and a note for 'compilers'

The embedded realtime.rar contains the source, however you'll also need some extra stuff on your PC.
1. wxWidgets installed (and built)
2. An environment variable "wxWidgets" pointing to the root folder of your wxWidgets installation [eg wxWidgets = c:\wxWidgets-2.8.6]
Back to top
View user's profile Send private message
Disco



Joined: 06 Dec 2006
Posts: 152

PostPosted: Tue Nov 27, 2007 12:56    Post subject: Reply with quote

Whooties, works now! Gonna test it asap!
Back to top
View user's profile Send private message
Disco



Joined: 06 Dec 2006
Posts: 152

PostPosted: Sat Dec 15, 2007 0:45    Post subject: Reply with quote

* Library REALTIME!LOADTIME does not exist.*

Says my NWNX log. The old plugin worked, but the new one seems to be missing something.
Back to top
View user's profile Send private message
Disco



Joined: 06 Dec 2006
Posts: 152

PostPosted: Fri Dec 21, 2007 13:22    Post subject: Reply with quote

Mista G? What's me doink wrong?
Back to top
View user's profile Send private message
Gryphyn



Joined: 20 Jan 2005
Posts: 431

PostPosted: Sat Dec 22, 2007 0:07    Post subject: Reply with quote

Sorry, been a bit distracted...
I'll see if I can sort something out today.

-- a few mod's and here's the new version (1.2)
Note: compiled with VS2008 & wxWidgets 2.8.7
--tested and seems to work fine (at least on my machine)

Milliseconds seems to return "000" in all cases - a wxWidgets issue.

Cheers
Gryphyn
Back to top
View user's profile Send private message
Clisair



Joined: 27 Jun 2006
Posts: 9

PostPosted: Sat Dec 29, 2007 15:46    Post subject: Reply with quote

Can we get the working vertion and some docs. I keep trying to do stuff for my mods but there are alot of guys, including me, that don'[t speak l33t scripting language.

Just 43, frustraited, and trying to learn new things.
_________________
Firinn Of Elisair
http://www.elisair.com/
Back to top
View user's profile Send private message Visit poster's website
Gryphyn



Joined: 20 Jan 2005
Posts: 431

PostPosted: Sat Dec 29, 2007 23:58    Post subject: Reply with quote

Clisair wrote:
Can we get the working vertion and some docs. I keep trying to do stuff for my mods but there are alot of guys, including me, that don'[t speak l33t scripting language.

Just 43, frustraited, and trying to learn new things.

This version is for the nwnx2 - it's working. (not nwnx4)

These are the extra NWScript commands

string GetServerLoadTime() -> yyyy-mm-dd hh:mm:ss (when Plugin loads)
string GetServerDate() -> yyyy-mm-dd
string GetServerTime() -> hh:mm:ss
string GetServerDateTime() -> yyyy-mm-dd hh:mm:ss
string GetServerDayName(int iFullname = TRUE) eg Monday or Mon
string GetServerMonthName(int iFullname = TRUE) eg January or Jan
int GetServerYear()
int GetServerMonth()
int GetServerDay()
int GetServerHour()
int GetServerMinute()
int GetServerSecond()
int GetServerUpDays()
int GetServerUpHours()
int GetServerUpMinutes()
int GetServerUpSeconds()
string GetServerUptime() -> hh:mm:ss

Check the Demo mod to see how to use the 'include' script, which gives you access to these commands.

Cheers
Gryphyn
Back to top
View user's profile Send private message
Clisair



Joined: 27 Jun 2006
Posts: 9

PostPosted: Sun Dec 30, 2007 18:23    Post subject: Reply with quote

The thing is, when I try to load the plugin for nwnx2 it doesn't work, just like the previous person said. If there is a different download for nwnx2 that I am unaway of, could you please post it. If it is the same then please check it to make sure it is the correct on.

If I can get the plugin working correctly, I will deffinitely be using it.
_________________
Firinn Of Elisair
http://www.elisair.com/
Back to top
View user's profile Send private message Visit poster's website
Gryphyn



Joined: 20 Jan 2005
Posts: 431

PostPosted: Mon Dec 31, 2007 0:41    Post subject: Reply with quote

Clisair wrote:
The thing is, when I try to load the plugin for nwnx2 it doesn't work, just like the previous person said. If there is a different download for nwnx2 that I am unaway of, could you please post it. If it is the same then please check it to make sure it is the correct on.

If I can get the plugin working correctly, I will deffinitely be using it.


It doesn't work?
A little help at this end...

post the start on your nwnx2 log, where it shows which plugins are loading/ed
--assuming it loaded, post the realtime.log
and any other error messages you may be getting.

Cheers
Gryphyn
Back to top
View user's profile Send private message
Clisair



Joined: 27 Jun 2006
Posts: 9

PostPosted: Mon Dec 31, 2007 17:43    Post subject: Reply with quote

File mod date: Saturday, December 22, 2007, 9:42:34 AM

nwnx.txt:
Code:
NWN Extender V.2.6.1
(c) 2005 by Ingmar Stieger (Papillon) and Jeroen Broekhuizen
visit us at http://www.nwnx.org

* Loading plugins...
* Plugin functions is loaded.
* Plugin hashset is loaded.
* Plugin leto is loaded.
* Plugin odbc is loaded.
* Plugin profiler is loaded.
* An error occured while loading extension realtime (14001: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. )
* Plugin resetplugin is loaded.
* Plugin system is loaded.
* Plugin time is loaded.
* NWNX2 activated.
* Library REALTIME!LOADTIME does not exist.* Library REALTIME!DATE does not exist.* Library REALTIME!TIME does not exist.* Library REALTIME!DATETIME does not exist.* Library REALTIME!DAYFULL does not exist.* Library REALTIME!DAYSHORT does not exist.* Library REALTIME!MONTHFULL does not exist.* Library REALTIME!MONTHSHORT does not exist.* Library REALTIME!YEAR does not exist.* Library REALTIME!MONTH does not exist.* Library REALTIME!DAY does not exist.* Library REALTIME!HOUR does not exist.* Library REALTIME!MINUTE does not exist.* Library REALTIME!SECOND does not exist.* Library REALTIME!SECOND does not exist.* Library REALTIME!UPTIME does not exist.* Library REALTIME!UPDAYS does not exist.* Library REALTIME!UPHOURS does not exist.* Library REALTIME!UPMINUTES does not exist.* Library REALTIME!UPSECONDS does not exist.* Library REALTIME!UPMILLISECONDS does not exist.* Library REALTIME!UPTIME does not exist.* Library REALTIME!UPDAYS does not exist.* Library REALTIME!UPHOURS does not exist.* Library REALTIME!UPMINUTES does not exist.* Library REALTIME!UPSECONDS does not exist.* Library REALTIME!UPMILLISECONDS does not exist.* Library REALTIME!UPTIME does not exist.* Library REALTIME!UPDAYS does not exist.* Library REALTIME!UPHOURS does not exist.* Library REALTIME!UPMINUTES does not exist.* Library REALTIME!UPSECONDS does not exist.* Library REALTIME!UPMILLISECONDS does not exist.* Library REALTIME!UPTIME does not exist.* Library REALTIME!UPDAYS does not exist.* Library REALTIME!UPHOURS does not exist.* Library REALTIME!UPMINUTES does not exist.* Library REALTIME!UPSECONDS does not exist.* Library REALTIME!UPMILLISECONDS does not exist.* Library REALTIME!UPTIME does not exist.* Library REALTIME!UPDAYS does not exist.* Library REALTIME!UPHOURS does not exist.* Library REALTIME!UPMINUTES does not exist.* Library REALTIME!UPSECONDS does not exist.* Library REALTIME!UPMILLISECONDS does not exist.* NWNX2 shutting down...
* NWNX2 shutdown successfull.


server log:
Code:
[Mon Dec 31 09:39:58] Loading Module: realtime_demo
[Mon Dec 31 09:39:58]---- Server Options ----
Max Players: 64
Char Levels: (1-40)
Player Password: NO
DM Login Enabled: NO
Server Admin Login Enabled: YES
Post Game To Internet: YES
Game Type: Tech Support
Difficulty: 3
PVP Setting: FULL
Vault: SERVER
Only One Party: NO
Enforce Legal Characters: NO
Item Level Restrictions: NO
Player pausing: DISABLED
Auto Save: Enabled
Saving Characters in Saved Game
---- End Server Options ----
OnLoad
                         
                         
                         
                         
                         
                         
                         
                         
Year: 0
Month: 0
Day: 0
Hour: 0
Minutes: 0
Seconds: 0
Milliseconds: 0
Uptime:                         
Uptime (days):         0
Uptime (hours):        0
Uptime (minutes):      0
Uptime (seconds):      0
Uptime (milliseconds): 0
OnPulse
Uptime:                         
Uptime (days):         0
Uptime (hours):        0
Uptime (minutes):      0
Uptime (seconds):      0
Uptime (milliseconds): 0
OnPulse
Uptime:                         
Uptime (days):         0
Uptime (hours):        0
Uptime (minutes):      0
Uptime (seconds):      0
Uptime (milliseconds): 0
OnPulse
Uptime:                         
Uptime (days):         0
Uptime (hours):        0
Uptime (minutes):      0
Uptime (seconds):      0
Uptime (milliseconds): 0
OnPulse
Uptime:                         
Uptime (days):         0
Uptime (hours):        0
Uptime (minutes):      0
Uptime (seconds):      0
Uptime (milliseconds): 0
[Mon Dec 31 09:40:22] Server Shutting Down


Is that enough information?
_________________
Firinn Of Elisair
http://www.elisair.com/
Back to top
View user's profile Send private message Visit poster's website
Gryphyn



Joined: 20 Jan 2005
Posts: 431

PostPosted: Mon Dec 31, 2007 21:09    Post subject: Reply with quote

Quote:
* An error occured while loading extension realtime (14001: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. )


That's the bit I needed...

14001 is a compatibility issue - you need to install the c++ runtime stuff.
http://www.microsoft.com/downloads/details.aspx?familyid=32bc1bee-a3f9-4c13-9c99-220b62a191ee&displaylang=en

or get a recompiled version using pre VisualStudio2005-ServicePack1

Cheers
Gryphyn
Back to top
View user's profile Send private message
Clisair



Joined: 27 Jun 2006
Posts: 9

PostPosted: Tue Jan 01, 2008 17:54    Post subject: Reply with quote

Still getting the same error. This is not a recompile, but just the downloaded plugin that you provided.

Does anyone out there have one that just works?

BTW, this is for a windows box.
_________________
Firinn Of Elisair
http://www.elisair.com/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Database related All times are GMT + 2 Hours
Goto page Previous  1, 2, 3, 4, 5  Next
Page 4 of 5

 
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