View previous topic :: View next topic |
Author |
Message |
Zeroark
Joined: 21 Mar 2008 Posts: 10 Location: Lima, Peru
|
Posted: Tue Jul 22, 2014 19:54 Post subject: Create Default Character On Connection |
|
|
Hey guys, I'm not really sure if this question should go here, but I put it just because was the most likely place to put it up:
Is there any plugin or technique that will allow me to put a "default" character on any player vault?
Scenario Description:- We have PLAYER1 who connects for the first time to SERVER.
- It's his first time connecting (We assume he has no folder on servervault)
- When he logs in for the first time, he gets a DEFAULTCHAR character somehow.
Is there a plugin that does that? (I looked, really!) I know that probably it will take more, like creating a pre-made bic file to put after some event, or additional setup, but I just wanted to ask before trying to do it the hard way (I.E: Adding a process that runs, trying to bind it when a new player folder is created on servervault, and copying the default bic file)
I've seen this on a server I play on, and I just recently learned about the patch technique for pre-loading custom content, so I wanted to do some small experiments. I'm 90% sure this server uses NWNX (For now I only know they use nwnx_funcs, nwnx_leto and nwnx_odbc)
BONUS QUESTION:
Is there any plugin that will let me know when a character was created? (I.E: Real world timestamp)... I assume this plugin is the same one that does all the process mentioned above, so I just wanted to mention this as well.
Thanks in advance for your help! _________________
|
|
Back to top |
|
|
Terra_777
Joined: 27 Jun 2008 Posts: 216 Location: Sweden
|
Posted: Tue Jul 22, 2014 20:58 Post subject: |
|
|
All character transactions happens with a file called temp_char.bic (or something like that), if you override that in resman with a level 1 figher, everyone will be a level 1 fighter. Thats the theory anyway! _________________ I dun have any signature, I'm happy anyway. |
|
Back to top |
|
|
Zeroark
Joined: 21 Mar 2008 Posts: 10 Location: Lima, Peru
|
Posted: Tue Jul 22, 2014 21:38 Post subject: |
|
|
Hi Terra_777, thanks for the prompt response and pointing me to ResMan. I've been checking the documentation for ResMan, and unfortunately it looks like this plugin only manages module-wise files (utp, ncs, are, etc.) so, it won't allow any control for bic files (At least from what I read in the documentation)
EDIT:
So, checking NWNX2 GitHub I stumbled upon "nwnx_system" plugin. Apparently, from what I saw on "nwnx_system.nss", looks like it does what I need (I.E: Copying files from folder to folder and/or symbolic linking)
What I don't know now is if there is any "OnConnect" event (I.E: As soon as a player see his characters screen for the vault) _________________
|
|
Back to top |
|
|
Lokey
Joined: 02 Jan 2005 Posts: 158
|
Posted: Fri Jul 25, 2014 7:57 Post subject: |
|
|
Whichever of the network replacements you use is the place to do it (i.e. netoverride). _________________ Neversummer PW NWNx powered mayhem |
|
Back to top |
|
|
ShaDoOoW
Joined: 20 Aug 2005 Posts: 584
|
Posted: Sat Jul 26, 2014 21:40 Post subject: Re: Create Default Character On Connection |
|
|
as for your first request it is possible and I have this plugin but I am not allowed to redistribute - ask Mavrixio from Sinfar he is the creator of that
Zeroark wrote: | BONUS QUESTION:
Is there any plugin that will let me know when a character was created? (I.E: Real world timestamp)... I assume this plugin is the same one that does all the process mentioned above, so I just wanted to mention this as well.
Thanks in advance for your help! |
my NWNX_Files allows that _________________ Community Patch / NWNX Patch / NWNX Files / NWNX Connect |
|
Back to top |
|
|
Zeroark
Joined: 21 Mar 2008 Posts: 10 Location: Lima, Peru
|
Posted: Sat Jul 26, 2014 21:55 Post subject: |
|
|
Thanks a lot ShadDoOow! I'll try to locate him somehow and see if he can provide that plugin!
Also, thanks a lot for confirming my doubts about nwnx_files! _________________
|
|
Back to top |
|
|
|