Player Resource Consortium

 

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Horred the Plague

Pages: [1]
1
Help / Non-standard Arcane Caster Spells Per Day Not Working
« on: May 14, 2010, 12:27:01 PM »
Good call. It worked with just the PRC installed, using the same database I built for the other mod. So, it must be something or other on my end. I really don't have a lot of scripts installed in the top hak, and yours should be overriding the lesser scripts...hmmmm. When I figure it out, I'll be certain to let you know. Maybe somebody else can benefit from the knowledge. Thanks for all your assistance.


EDIT: Solved it! I didn't catch your packages custom entry for the EquipableSlots column in baseitems.2da, for creature skin. The change made all the difference. It was one of the last files I yanked from the package, I hadn't even imagined that could be the issue. I guess I was more concerned with dealing with other baseitem.2da conflicts between packages, I didn't even look up top. That can be the lesson to you the rest, to learn from my mistakes. Always check all entries between 2da's, even Bioware's, with a comparison software.

Thanks again for all your help. I can't wait to see a bit more of this, now that I got it working. :)

2
Help / Non-standard Arcane Caster Spells Per Day Not Working
« on: May 13, 2010, 11:02:58 PM »
Just came back to delete the part about personal switch, cause I read it in the file, but looks I was too late. Sorry to bother needlessly w/ it.

But after a few hours more digging, checking, and looking for clues, I still can't get any spells working. Everything I have is 3.3h_rc2, that I also tripled-checked. Only two scripts and a couple 2da's up top, and all these were rechecked. Pretty stumped, I only tested previous versions with an assassin and never had spells for him either. I've tried this with a couple classes so far, no luck across the board yet. If I figure it out on my own, I'll be glad to call off the hounds.

3
Help / Non-standard Arcane Caster Spells Per Day Not Working
« on: May 13, 2010, 09:30:29 PM »
I''m having the same problem as this poster, except the vote of 1 part. A fellow designer wouldn't do that to another. ;)

I've got debug code from a warmage I just made after getting the convo to work and the databases set up. It looks like it's reading from the cache just fine, only it's not creating an array or giving any actual spell uses.

I posted a log here so you could see what was going on. I haven't dissected your systems sufficiently, to tell what I've done wrong sorry. I have the switches set in module for anything database related, and personal_switch.2da for module (which also isn't being recognized according to the dyn_convo when called on to set values, but that's a different tale). If I've done something wrong, I'm not seeing it. Nor have I seen any other threads about it, so I have to ask.

Is it of note, that I didn't see a single entry in nwnx-odbc log about any of the data in the server log above? Or is the MySQL database being used exclusively for the ConvoCC, and the campaign database for everything else?

4
General Discussion / PRC v3.3h RC1
« on: May 12, 2010, 10:08:24 AM »
Lol, no problem, glad it wasn't on my end cause I couldn't figure out what I was doing wrong. 2da's weren't corrupted, as I had checked them all for replacing ' with `. I'll delete that ref to item_to_req in good faith then.

I just remembered another issue I had with the letoscript setting NWN_DIR. My computer is 100% backslashes, so I had to recreate the path all the way down to the client folder. Maybe consider a NWN_SERVERVAULT_DIR setting, and an NWN_SLASH_LAST string "\" (for the last folder)? Most of us using the PRC probably have the skills to edit the script, and put it in the top hak--but for those that don't, this would be a saving grace.

EDIT: One more question: there is spells data in both prc_cached2da and in the prc_cached2da_spells tables. Are both necessary, or is the prc_cached2da's spell data a leftover from a previous version, in the prc.jar file?

EDIT PS: Deeper research shows it's a custom 2da called prc_spells.2da, and it ends at entry 4071. Considering the length of the 3.3h spells.2da, I'm going to guess obsolete. It's in the prc_2das.hak.

5
General Discussion / PRC v3.3h RC1
« on: May 12, 2010, 08:44:43 AM »
A bit of a problem, and I've had it with two different installs of this (one by the batch file above, one from a manual collection of the 2da files). The convo locks up after choosing race, before class. I can see the initial data from the class SQL read in nwnx-odbc, it stops right at 254>CLAS_PRES_BRAWL. This means it completed at least the first read, AFAIK. But after that, nothing. Even after relaxing, and having two Slurms.

Also, there is an empty table prc_cached2da_ireq and no item_to_ireq is even created. Are these outdated tables by chance? I don't know what data would be going in them, to check against--the names don't resemble any 2da's in any mod or original campaign file I've checked.

6
General Discussion / PRC v3.3h RC1
« on: May 11, 2010, 04:37:53 PM »
Thank you, both of you. :)  That was such a neat clean list, I decided to use your batch file and do it again, instead of all those DELETE FROM queries on the tables I just built.

I still think this sql caching of 2da's could have broader scope, as long as benchmarks agree with my theory--though I understand it's not your responsibility to do so. Thanks again for all the help, and for all the work you guys do here.

7
General Discussion / PRC v3.3h RC1
« on: May 10, 2010, 06:16:48 PM »
Thanks DM Heatstroke, I really should have thought of that trick on my own. My opinion was really more a question of not knowing the sql writer's program's capabilities and limitations; if it could be done automatically, it should be i.e. If it can't, well that's it & that's that.

Now that I have this mostly installed, I would add the criticism that the straight prc_cached2da is a bit (well, a lot) excessive in size. 830,000 rows and counting. I can't report on the in-game SQL reads and the subsequent runtime deltas yet, but gut instinct tells me they might be a bit large and laggy--even on a pretty decent machine. I'll happily be proven wrong on this, btw.

Are there any plans to break down some of the individual 2da's into seperate tables, in a future edition? Some of these could be accessed quite a bit during game play, unless I am misunderstanding the purpose of these cached 2da's. Are they used soley for the CCC, or do the scripts make calls to them for other data during gameplay as well instead of Get2DAString and its kin? If the former, I would then further assert that their full potential is not being yet exploited.

Ooo, here's a question. I notice spells.2da in its own seperate file prc_cached_spells.2da, and also broken down into 200k or so lines of prc_cached.2da. Can the prc_cached.2da entries be deleted, or are both being used by the PRC system at this point?

PS: EDIT -- Before my criticisms are miscontrued, let me say that I've enjoyed the work of the PRC crew for many years; you people do a fine job here. I'm merely offering suggestions to try and help make a great thing even better if possible, as I'm unfortunately way too swamped to offer any real-time assistance.

8
General Discussion / PRC v3.3h RC1
« on: May 09, 2010, 05:15:47 PM »
One thing I've noticed, and would ask for future versions, is that you would use the function: SQLEncodeSpecialChars(sString) to get rid of all the extra ['] apostrophes in names that cause this program to break when you try combining 2da's from other mods (CEP2, e.g.). It's a hunt and peck nightmare, on the receiving end. And of course, SQLDecodeSpecialChars(sString) when finished. Otherwise, the SQL caching and the batch file (the editted version I'm using to add other haks' data) seem to work just fine. Note that I can't say for sure, I'm only at line 3500 in apostrophe hunting after a good 90 minutes.

Pages: [1]