|
Post by tri0n on Sept 27, 2006 6:02:03 GMT
Okay the LL system works all the way up to being level 40 and enough xp to go level 41. At level 40 it tells you need X amount of xp to reach 41 then once I have that amount and click on the Placable to begin the conversation file it goes Kaput.
No error messages, no Ho Ha Ha, no conversation executed.
Where did I go wrong? Is this got something to do with how NWN 1.68 calls out conversation scripts now? I install the LL after the new release. Any help would be great as I have memebers approaching level 40 on the server.
Thanks ahead of time.
|
|
|
Post by FunkySwerve on Sept 27, 2006 15:13:55 GMT
Crap, my bad. I fogot to include the dynamic converstion system's core dialogue in the erf in the last bugfix patch. I've just uploaded a fixed erf to the Vault. You can just import it without overwriting anything. Sorry, that must've been very frustrating for you. Best, Funky
|
|
|
Post by BigStick on Oct 17, 2006 23:36:09 GMT
Hey FunkySwerve,
Love this feature, or will when I can get it to work 100%. It seems to work fine in most respects, except that the SQL calls to pwdata all fail. Is there some setup that is required to create this table or is it included already set up? I have the sqlite.db file in the NWN folder, but receive the error messages below in the nwnx_odbc.txt file when testing:
NWNX ODBC2 plugin V.0.9.2.4 (c) 2005 by Ingmar Stieger (Papillon) and Jeroen Broekhuizen visit us at http://www.nwnx.org
o Logfile maximum size limit is: 524288 bytes o Log level: Everything will be logged. o Using SQLite connection. o Hooking SCO....hooked at 5d3560 o Hooking RCO....hooked at 5d3440 o Connect successful. o Got request: SELECT val FROM pwdata WHERE player='BigStick' AND tag='Illya Thid' AND name='ControlClass' ! SQL Error: no such table: pwdata o Sent response (0 bytes): o Got request: SELECT player FROM pwdata WHERE player='BigStick' AND tag='Illya Thid' AND name='ControlClass' ! SQL Error: no such table: pwdata o Sent response (0 bytes): o Got request: INSERT INTO pwdata (player,tag,name,val,expire) VALUES('BigStick','Illya Thid','ControlClass','33',0) ! SQL Error: no such table: pwdata o Got request: SELECT val FROM pwdata WHERE player='BigStick' AND tag='Illya Thid' AND name='PointsAvailable' ! SQL Error: no such table: pwdata o Sent response (0 bytes): o Got request: SELECT player FROM pwdata WHERE player='BigStick' AND tag='Illya Thid' AND name='PointsAvailable' ! SQL Error: no such table: pwdata o Sent response (0 bytes): o Got request: INSERT INTO pwdata (player,tag,name,val,expire) VALUES('BigStick','Illya Thid','PointsAvailable','0',0) ! SQL Error: no such table: pwdata o Got request: SELECT val FROM pwdata WHERE player='BigStick' AND tag='Illya Thid' AND name='ControlClass' ! SQL Error: no such table: pwdata o Sent response (0 bytes): o Got request: SELECT player FROM pwdata WHERE player='BigStick' AND tag='Illya Thid' AND name='ControlClass' ! SQL Error: no such table: pwdata o Sent response (0 bytes): o Got request: INSERT INTO pwdata (player,tag,name,val,expire) VALUES('BigStick','Illya Thid','ControlClass','33',0) ! SQL Error: no such table: pwdata o Got request: SELECT val FROM pwdata WHERE player='BigStick' AND tag='Illya Thid' AND name='PointsAvailable' ! SQL Error: no such table: pwdata o Sent response (0 bytes): o Got request: SELECT val FROM pwdata WHERE player='BigStick' AND tag='Illya Thid' AND name='ControlClass' ! SQL Error: no such table: pwdata o Sent response (0 bytes): o Got request: SELECT player FROM pwdata WHERE player='BigStick' AND tag='Illya Thid' AND name='ControlClass' ! SQL Error: no such table: pwdata o Sent response (0 bytes): o Got request: INSERT INTO pwdata (player,tag,name,val,expire) VALUES('BigStick','Illya Thid','ControlClass','33',0) ! SQL Error: no such table: pwdata o Got request: SELECT val FROM pwdata WHERE player='BigStick' AND tag='Illya Thid' AND name='PointsAvailable' ! SQL Error: no such table: pwdata o Sent response (0 bytes): o Got request: SELECT player FROM pwdata WHERE player='BigStick' AND tag='Illya Thid' AND name='PointsAvailable' ! SQL Error: no such table: pwdata o Sent response (0 bytes): o Got request: INSERT INTO pwdata (player,tag,name,val,expire) VALUES('BigStick','Illya Thid','PointsAvailable','0',0) ! SQL Error: no such table: pwdata o Disconnecting from database. All other logs show no errors or exceptions. Any ideas?
Thanks!
|
|
|
Post by FunkySwerve on Oct 18, 2006 3:03:01 GMT
Oops. Missing documentation. I'll fix it, but in the meantime the fastest fix is to go here: www.nwnx.org/index.php?id=downloadDownload the file called nwnx_odbc2_0924.zip, and extract only the aps_demo.mod. Put it in your modules folder on the machine you intend to run the module using the Legendary Level system. In order to store data, you have to create some tables in the database. The module "aps_demo.mod" makes this easy for the internal database and MySQL. By default, it creates tables for the internal database, which is what you are using. Start up the aps_demo.mod with NWNX. To do that you have to change a line in the NWNX.ini file: change : ModuleName = "Higher Ground Legendary Levels" to: ModuleName = "aps_demo" Next connect to your server with the Neverwinter Nights client. On the left side, you will see several different signs in front of you: Create table: Issues a database command that creates a table in the database Store variable in database: Tries to save a test variable named "demoName" with the value "testValue" in the database Load variable from database: Tries to retrieve the variable "demoName" from the database and prints the results in the server message window. Now click every sign once, starting with the one on the left (Create Tables). If the last sign sends you the message "Retrieved variable from database: testValue" your setup is ok and you're ready to start using the database. At that point you can change the ini back to either the "SIMTools_Test" or your module. Sorry for the omission! LMK if you have any other problems or questions. Funky
|
|
|
Post by BigStick on Oct 18, 2006 3:56:34 GMT
Muchas gracias! It works much better now. I just have to add a few touches and I think it'll be ready to go. Very nice work!
Thanks again.
|
|
|
Post by sensai on Dec 1, 2006 5:42:44 GMT
Just a quick confirmation here I have the simmstools working fine except for dm commands ( i forgot to put in dm public cdkeys) that out of the way will this legendary system work in unison with the simms? I think this will be a great way for me to define my "god domains" ( In my first version of Shadowfall i have these gods 1 for each alignment that the players can strive to become, then fight each other for to claim right to the domain) I now am presently rebuilding Shadowfall - City of the Dead, and figure this would be a better plan for definition of godlike status, rather then the creature hides I originally used. This however brings further questions in my mind, but perhaps I should try and test first before I ask any further questions. I Laue of all my babble, does this work well with the simms tools, and does it also use the sq lite database? Thanks in advance.
EDIT :: One more question,, where do find HGLL for downloading?
|
|
|
Post by FunkySwerve on Dec 1, 2006 5:51:23 GMT
|
|
|
Post by sensai on Dec 3, 2006 19:42:58 GMT
ok i got the hgll system installed it however there was no documentation with the zip just a mod and an erf, i see it has a few scripts onclient enter etc i gotta combine these with the simms tools speech binder correct? Have you some documentation i can read before posting questions? make yoru life much simpler, and i wont feel to much like a dummy :]) I was hoping to make either a integer based on level up or an item based on level up script so that players cant level up past 40 without the requirements,, any direction here? if this is in the documentations then im sorry for asking questions related to informations already built. Thanks in advance im off to test.
|
|
|
Post by Balduvard on Dec 3, 2006 21:33:02 GMT
It would probably be helpful to download the remainder of the files associated with the system, namely NWNX2 and Letoscript along with the documentation for setting up the system. As for inserting requirements for players to achieve before using the system, HG doesn't restrict the system itself but rather restricts access to the system (you have to be immortal to enter the area that allows you to use the LL dialogue).
|
|
|
Post by FunkySwerve on Dec 3, 2006 22:31:30 GMT
Yup, what Baldy said. Also take a look at hgll_const. Funky
|
|
bogo
Neophyte
Posts: 11
|
Post by bogo on Dec 16, 2006 2:03:20 GMT
First, thank you for the fantastic script set and sharing it with the community. Second, thanks for answering my emails when you first put it out. It's taken me this long to be able to implement the scripts. Starting a new mod made it easier. I don't have technical questions exactly, because you did a great job in the script documentation. My question is regarding Item Level Restrictions. Do you have a script set that recognizes level 50 and 60 in order to level restrict items? Some servers use the gold value of an item, but I didn't want to go that route. Any assistance you can provide would be greatly appreciated.
|
|
|
Post by Balduvard on Dec 16, 2006 6:19:34 GMT
Since Funky will be out of town until Sunday, I will give you an answer based on what I know of it in the meantime. HG does use a set of custom scripts for ILR that are based on the GP value of the item, though there are ints that are set on certain (legendary) items so that these can instantly tell the appropriate level of the item without going through the complexities (read: switches and if/elseif statements) of determining the value of said items.
I'm sure there are some hidden qualities to it that I'm unaware of, but hopefully that answer will suffice until Funky can return to make a proper reply.
|
|
bogo
Neophyte
Posts: 11
|
Post by bogo on Dec 16, 2006 14:14:47 GMT
Thanks. I appreciate the fast reply. I'll do a little research while I wait for Funky to get back.
|
|
|
Post by FunkySwerve on Dec 18, 2006 7:27:45 GMT
We setup legendary items by editing the itemvalue 2da to uncap the gold value at level 40 from 8 million or whatever to around 200 million. Because the item values are pretty arbitrary at the higher levels, we decided to just set the level req on the item via a local int, though you could just as easily assign gp values for each level. Here's the pertinent parts of the onequip script: void ForceUnequipItem(object oItem) { ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectCutsceneImmobilize(), OBJECT_SELF, 0.1); ClearAllActions(TRUE); ActionUnequipItem(oItem); ActionDoCommand(SetCommandable(TRUE)); SetCommandable(FALSE); }
int CheckPCLevel(object oPC) { int nLevel = GetLootable(oPC); if (nLevel<41) { return GetHitDice(oPC); } else { return nLevel; } }
void main() { object oItem = GetPCItemLastEquipped(); object oPC = GetPCItemLastEquippedBy(); //Custom ILR/////// - for items above 40, we set the req via "ILR" local int on item int nItemLevel = GetLocalInt(oItem, "ILR"); if (nItemLevel > CheckPCLevel(oPC)) { FloatingTextStringOnCreature("<cþ>You must be level " + IntToString(nItemLevel) + " to equip that!</c>", oPC, FALSE); AssignCommand(oPC, ForceUnequipItem(oItem)); return; } /////////////////// }
LMK if you have any other questions. Funky
|
|
|
Post by BigStick on Dec 22, 2006 6:21:16 GMT
I'm having a bit of difficulty in enhancing the Darkfire / Flame Weapon spells to scale beyond 40 caster levels. Have you attempted this and gotten it to work?
|
|