View previous topic :: View next topic |
Author |
Message |
Grinning Fool
Joined: 12 Feb 2005 Posts: 264
|
Posted: Tue Dec 05, 2006 2:21 Post subject: |
|
|
Papillon, is there any chance of getting a set of functions that allows us to write to the ini/config files? Doing that and using the standard GUI popups, we could do all setup in-game if we wanted -- the user would never even have to open an ini file themselves. Unfortunately, for database plugins that would mean that it would have to allow us to connect to the database after load if info was not initially present, so I'm not sure how feasible it is. _________________ Khalidine, a NWN2 persistent world
Looking for volunteers. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Tue Dec 05, 2006 9:49 Post subject: |
|
|
Well, a disconnect and reconnect command would not be too hard.
The idea for setting up the plugins ingame is really cool! What kind of functions would be needed ? Just some to manipulate the settings that are already there, I guess, so no methods for creating new sections or something like that ?
While it's really cool, this could be done in a second version of the demo module as well. Ideally, the main demo module and a database demo module would be available in a basic version first, as soon as NWNX leaves the prototype stadium (which should happen by the end of the year).
Speaking of which: Do you plan to create the database demo module as well, or does someone else want to do it ? _________________ Papillon |
|
Back to top |
|
|
Grinning Fool
Joined: 12 Feb 2005 Posts: 264
|
Posted: Tue Dec 05, 2006 17:05 Post subject: |
|
|
Having that feature for a second version sounds good. I think we'd just need the ability to get and set existing entries in the file(s). The mod could check if the values are blank and prompt for it; or if there are connection issues (or other issues in different demo mods) it would have them re-enter the values to confirm.
I've just got a bit more testing to complete on the database demo/setup module as well as the timer demo module (an NPC times the PC's run from point A to points B and C to show the timers in action ) ; I should have both soon after I get home tonight (GMT-5).
I'm also including a generic demo module that plugin authors can use to create their own demos. That may be another few of days, as I want to make it fairly painless for them to create the demo mod. _________________ Khalidine, a NWN2 persistent world
Looking for volunteers. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Tue Dec 05, 2006 20:39 Post subject: |
|
|
Cool, I can't wait to try them out! Thanks for working on this! _________________ Papillon |
|
Back to top |
|
|
Grinning Fool
Joined: 12 Feb 2005 Posts: 264
|
Posted: Wed Dec 06, 2006 8:05 Post subject: |
|
|
Bah -- sleep wins tonight... dozing off at the keyboard here. Having trouble getting storing/retrieval of objects to work, but I think it could be because I'm braindead at the moment. Will take another look and finish up tomorrow evening... _________________ Khalidine, a NWN2 persistent world
Looking for volunteers. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Wed Dec 06, 2006 11:28 Post subject: |
|
|
Do you mean Set and GetPersistentObject ? They do not work yet! I guess I should put up a note in sql_include... _________________ Papillon |
|
Back to top |
|
|
Grinning Fool
Joined: 12 Feb 2005 Posts: 264
|
Posted: Wed Dec 06, 2006 16:23 Post subject: |
|
|
Ahhh, that would explain it. Alright, that makes life a bit easier. _________________ Khalidine, a NWN2 persistent world
Looking for volunteers. |
|
Back to top |
|
|
Grinning Fool
Joined: 12 Feb 2005 Posts: 264
|
|
Back to top |
|
|
Grinning Fool
Joined: 12 Feb 2005 Posts: 264
|
Posted: Fri Dec 08, 2006 19:01 Post subject: |
|
|
Anybody had a chance to test any of these out yet? _________________ Khalidine, a NWN2 persistent world
Looking for volunteers. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Fri Dec 08, 2006 22:40 Post subject: |
|
|
Not me... whole lot of work today. But the weekend is coming . _________________ Papillon |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Sun Dec 10, 2006 12:26 Post subject: |
|
|
I had a chance to try out the demo modules today.
First of all, the idea plays out really nicely ! The TIMER demo module is way more fun than I thought it could be.
1) I could not get a MySQL portal to work, i.e. there never was one
2) The SQLite portal worked, but the man always tells me that the pwobjdata table could not be created and that I should check my security settings - which do not exist in SQLite, of course. The object functions do not work yet... the module should say so, in order to not confuse the user. Another idea... if you join the module, you could make the man great you formally if it is the first time he sees you, or say something more familiar if you join a second time. Something like that, which demonstrates the persistence idea. Just a thought, the module is already fine like it is now.
3) The TIMER module worked and is really great!
4) When you join the server, you have a portal right in your face. Could you change the layout a bit, so that the player starts out in front of the portals, with a little sign (or NPC) saying what can be done here and why some of the portals are active and others not. That should improve clarity for new users.
Good work so far! The modules will be awesome, especially how you catch errors and offer possible solutions is great! _________________ Papillon |
|
Back to top |
|
|
Grinning Fool
Joined: 12 Feb 2005 Posts: 264
|
Posted: Sun Dec 10, 2006 21:38 Post subject: |
|
|
Cool, glad you like. I'll take another pass through them tonight and/or tomorrow night and clean up a bit. _________________ Khalidine, a NWN2 persistent world
Looking for volunteers. |
|
Back to top |
|
|
Grinning Fool
Joined: 12 Feb 2005 Posts: 264
|
Posted: Tue Dec 12, 2006 3:27 Post subject: |
|
|
The bad news: my computer has started locking up every other time I launch NWN2, so no updates tonight. The good news: my new laptop'll be here tomorrow, so this is just a temporary condition. _________________ Khalidine, a NWN2 persistent world
Looking for volunteers. |
|
Back to top |
|
|
caloup
Joined: 29 Sep 2006 Posts: 59 Location: albi (france)
|
Posted: Tue Dec 12, 2006 11:31 Post subject: nice work |
|
|
nice work. The concept of portal is great !
Timerdemo is working nice. That gave an idea to use timer plugin : mini game !
Perhaps a sort of mini labyrinth game with a gift if you make less than X microsecond to find the end of the labyrinth !
Perhaps you could put a message on the entering of the module to say to the player : "Hello boy/girl ! Pass the portal corresponding to the plugin you want to test ! Enjoy ! "
personnally it take me 2 seconde from the first line to the end ! |
|
Back to top |
|
|
Grinning Fool
Joined: 12 Feb 2005 Posts: 264
|
Posted: Mon Dec 18, 2006 0:01 Post subject: |
|
|
Alright, the main demo module has been revamped:
http://www.khalidine.com/downloads/NWNX4Demo.zip
Changes:
- new layout that I think is a little less intimidating
- added a guide NPC
- added text to appear a few seconds after attempting to enter a portal tha tdoesn't work (such as when no demo mod is available)
Strangely, the mysql mod is now crashing the server. Researching this...
Quote: | personnally it take me 2 seconde from the first line to the end ! |
Aw, drat. I takes me 2.3. _________________ Khalidine, a NWN2 persistent world
Looking for volunteers. |
|
Back to top |
|
|
|