This is version 1.2 of the ASG Player Database Project, aimed at Persistant Player Recored Keeping. Desigend to be Customiseable by the Mod Designer. Sorry no picture folks. It's code... Requires: SoU 1.30. Updated to reflect ASG Player Database Addon 01 - Bank (this is found in the prefab section.)
Posted by ffbj at 2007-05-01 15:06:08 Voted 9.75 on 05/01/07
Jus a great system that I have been using for years. Sadly the tranfer of votes system they used does not accurately reflect the value of some of the older scripts. That is no matter how many votes were received they were transferred over as 1 vote.
Posted by Shargast at 2007-03-01 13:40:32 Voted 10.00 on 02/04/07
Thanks for the tip Archduke. Got it working right!
I have another problem here! Has anyone ever experienced a conflict with this database system and the OHS Henchman system??
It appears that the OHS system (which uses overrides) is coping out after a crash. I wonder if this is a problem with ASG and OHS pulling for precedence in the relog with ASG winning??
Best
Sai _________________________ Realms of Shargast V1-V5ab, LOTR V15, The Undeath Clave & Faithful of Aerth
Posted by Archduke at 2007-02-17 08:44:45 Voted 10.00 on 02/17/07
Shargast, just make your heartbeat script #include the database functions and call 'PlayerDatabase("W",oPc);' at regular intervals.
Provided the Local vars are updated and accurate, this will write to the Campaign vars.
-------------------------------
As it happens, Im having some problems integrating this with NBDE. My custom data is not being recorded at all.. anyone got any ideas?
Posted by Shargast at 2007-02-07 02:20:39 Voted 10.00 on 02/04/07
OnHearbeat: I'm looking for help on a script that will regularly update player databases. Might you have such a script available?
Best
Sai _________________________ Realms of Shargast V1-V5ab, LOTR V15, The Undeath Clave & Faithful of Aerth
Posted by Shargast at 2007-02-04 11:56:10 Voted 10.00 on 02/04/07
Pw location of players! Tops! Just what I was looking for! Also, it works together with NWNX2...no problems. Why am I adding this post?? Don't think that this system is very active anymore - Well the systems rocks and delivers what it promises!! Good work!
I'd just like to figure out out to export all PC's to database 5 minutes before the scheduled NWNX shutdown of the NWServer.
Best
Sai _________________________ Realms of Shargast V1-V5ab, LOTR V15, The Undeath Clave & Faithful of Aerth
This is a compilation of the old system into a single score. There were 4 that made this score of 9.00 then rounded to 9.
Posted by Timidon ( ..xxx.xxx ) at 2003-08-05 14:14:00
NWNX or ASG Player Database? Please be more specific.
Posted by Timidon ( ..xxx.xxx ) at 2003-07-24 22:17:00
Please don't bash the NWNX, it was ready way before Bioware got around to adding the DB functions for us. From what I have heard it has more functions avaible to it, though requires more knowledge of scripting. The ASG Database Projects are aimed at using the games resource code. Trying to make useage as simple to moderate as I can work it.
Posted by Madwack ( ..xxx.xxx ) at 2003-07-24 10:16:00
You people who say ya should use NWNX..blah to you
it sucks
big time
Posted by Xuubraiel ( ..xxx.xxx ) at 2003-07-14 18:02:00
I see. Im sure I can find a way to make it suit my needs. Thanks for the quick response.
Posted by Timidon ( ..xxx.xxx ) at 2003-07-13 22:37:00
Also there are number of differant ways to work the player location into the game. The ASG Database does store the players last recored location (sID+"LastLoc"). A way to get it to work when it is called is make yourself a trigger on the Modules Start Location that when a player enters this start location (asscess the database) then teleport him to that location. I left it open because of the differant ways Mod builders will approach this. Though I don't think it's in the docs anywhere that I provided.
Posted by Timidon ( ..xxx.xxx ) at 2003-07-13 22:14:00
You are not doing anything wrong. I left the Location storage pretty much up to you guys. A few tweaks on the "onclient" enter can fix that. The Database is kinda of a intermediate to advance level set of scripts. The database is left pretty much open to be customised by the end user. The Hitpoint saving was pretty much for a example of what can be done. I tried to leave it with some examples on what the script can do for you.
Posted by Xuubraiel ( ..xxx.xxx ) at 2003-07-13 17:51:00
I've never used Database functions before and am not a great scripter although I have made a few modules. I've downloaded this ASG Player Database Project and I really love it. I am definately going to use it.
I have a question though, for some reason when I log on as a player and rest somewhere in the module (to save my Location in the Database), then I reload the module, I still go to the start-location. What am I doing wrong? If my character is Dead when I log out, she still arrives dead when I return and log back on, but I still go to the start-location. Why does it store my HP, but not Location?
Thanks again for these scripts they are perfect for someone with a bit of scripting experience, but who is not an expert.
-Xuubraiel
Posted by Timidon ( ..xxx.xxx ) at 2003-07-11 05:13:00
Alright, You have conveinced me. There was only a mod file. Don't know how that slipped by me. (deserve a wedgy).. well it should be fixed now.
Posted by ffbj ( ..xxx.xxx ) at 2003-07-10 00:51:00
There is no erf. This is a mod file only and it is not zipped.
Posted by Timidon ( ..xxx.xxx ) at 2003-07-07 06:08:00
Ohh ya. Test it it. See if it works for you. If you like it OR dislike it, I do want to hear about it.
Thanks
Posted by Timidon ( ..xxx.xxx ) at 2003-07-07 06:07:00
Sorry, I have been a away for a while, got a little hooked into Starwars Galaxies, eating up time. Well, nwnx more than likely has alot more features, but required more work for me to set up (kinda of afraid once I took a pass by look at it). I think it requries a SQL database, something I am not familiar with. It maybe simple to set up. I wanted to see what I could do with Biowares basics. I hope it's this script is not to confusing to use. There still may be some issues that I have not seen and will address when it pops up. Anyquestions feel free to write. But it does do what wanted it to do, store some information between server reloading. You can modifiy it in any way you want and a I am also sure the community will create new ways of using the database function. This is a early first try at it. Well Back to attempting to program a driod.
Posted by Timidon ( ..xxx.xxx ) at 2003-07-07 05:59:00
Hmm, I just unzipped it. the ERF package is in there.
Posted by 69_Jeremy_69 ( ..xxx.xxx ) at 2003-06-30 14:02:00
only a Mod file here no Erfs, upload a zip file and I'll check it out.
Posted by Tristan ( ..xxx.xxx ) at 2003-06-30 13:15:00
I have read lots of Timidon's stuff in here and watched his/her demos. I'm new to the mod building world and thus far all his/her stuff is top notch... The only reason I opened this thread is due to the fact I saw the ASG, so I knew it had to be good.
Posted by Bilbo ( ..xxx.xxx ) at 2003-06-28 23:28:00
Well, mister 'average joe' the whole point in this system is so that people don't need to use nwnx that is, if they don't know how to set it up, or don't want to set it up, don't have the software to do so etc, and it's very simple to grasp.
It offers the commonly sought-after functions which new to experienced mod builders need and i think it's a fantastic system and i prefer to try them all rather than stick my nose up the back side of just one.
Great work Timidon, much appreciated!
Posted by average joe ( ..xxx.xxx ) at 2003-06-28 12:12:00
if you wnna do anything database wise id recommend nwnx its MUCH faster and more versitile
Posted by Timidon ( ..xxx.xxx ) at 2003-06-25 21:17:00
I don't see like a SetCampaignEffect type function. This database program does not store the current Effects between server loads. I am using it to store some basic information for quests, who the character works for. His gold in his "bank account". What house is his. So that it can be reloaded after the server comes back up. I also use it to set up some custom effects such as Lycathropcy, special Undead Status, to be used without Tokens. See I will implement a Trade Skill set up also. I am going to see what I can do to the Amber Tradeskills if somebody does not beat me to it.
Posted by Gan ( ..xxx.xxx ) at 2003-06-25 12:19:00
Also, not sure if you have it, but an In-Game tool to inspect the player's object would be nice :)
Posted by Gan ( ..xxx.xxx ) at 2003-06-25 12:18:00
Can this store effects that are placed on a player for server reboots and such?
Posted by Timidon ( ..xxx.xxx ) at 2003-06-24 23:31:00
Well, lets see. The idea I tried to work with is that I used the Player Name as the Database name. Each Player has On Database. This is similar to how I see it appear in the Server Vault that I have. It seams very unique. The Player Database stores all of the Characters for that Player. Inside the Database There is a limit of 32 characters that can be used for Varible Names (this one took me a few days to figure out). So I could not use the standard Character Name + CDKey, it was too long and was being cut after tha point. So 20+Varible Name, nolonger than 32 is stored in the Player Database File. Varibles when pulled from the Player File for that Character are then stored on the Module with the HCR set up Character Name + CDKey. This creates a pretty unique set up. Mostly designed to work with a Server Vault idea behind it. As for haks, I am not for sure what can be done. Though you could change the Player Database name a tad bit, may make it more unique. I was trying to keep it simple for easy of seeing the Primary Database File for each player. Downloaded it take a look at it. I am sure there is still room for improvement.
Posted by Den of Assassins ( ..xxx.xxx ) at 2003-06-24 15:52:00
Due to certain limitations with the built-in Bio DB, all player DB schemes have a very important design choice right up front... what record key to use with minimum fuss and minimum hak-ability. It's important that all DB-enabled packages for public consumption at least address this issue, even if to say, "we punted"... :p
So which direction did this project take?
Posted by Timidon ( ..xxx.xxx ) at 2003-06-24 13:51:00
I am using it with SoU, it does not store items. The recoreds stored, are like current hit points. You can customise what's stored. It's objective is to store important player information between server reloads. It will be patched with future updates when bugs are found.