|
Post by darkophagus on Jan 24, 2009 13:48:21 GMT
Hi, another noob here to setting up a pw. So far all is going good with my mod. My question is this. I want to be able to let my players decide wich of their existing classes to use when taking a LL instead of using the standard control class method. I understand this will involve some script and conversation editing to do if its possible and for the most part am comfortable with that. I'm kinda new to scripting though only started messing with it a few months ago. What script changes would i have to make and which conversation would i have to add to accordingly to do this? Thanx
|
|
|
Post by FunkySwerve on Jan 24, 2009 19:10:50 GMT
That's certainly possible - in fact, it was a planned feature for the nwn2 version. It's beyond the reach of a beginner scripter, however, I suspect. The conversation is dynamic, assembled by the hgll_dlg_leveler script. The easiest way would probably to make your own conversation before the hgll one that asked them to choose a class, out of the ones they have (using a normal, non-dynamic conversation). Have that conversation fire from hgll_start_dlg instead of the normal script, if the "Class_Selected" int isn't set, and set that int to the value of the class they selected, and ask them to use the leveler again to take the level. You would then have to find and replace all the instances in the scriptset where control class is checked, and replace them with a check of that variable. You would need to delete the variable in the Cleanup function of hgll_dlg_leveler so they would be able to select a new class the next level.
I should warn you, the reason we don't do this on HG is that it extends the cheese allowed by splashing, allowing skill-splash classes to yeild up to a 63 in the skill instead of a 43.
LMK if you have any questions.
Best, Funky
|
|
|
Post by darkophagus on Jan 24, 2009 21:34:36 GMT
Thanks Funky, I kind of understand what your saying and agree that a good bit of that is likely beyond me, still im gonna look at taking a shot at it . I get what you say about skill spashing. I have players who actually like to build dual and muti-class toons keeping things pretty even on the way up and who really want to be able to continue that way though the LL's. I'm fine with that as we are an RP server and most players on it are generally responsible and rule abiding . We also use Shayans subrace engine on it and I even got the 2 playing nice with each other. If I use a new starting conversation and manage to figure out calling the classes so I can set an int it will be a good start. I'm still hoping to find a good scripter to bring onto my staff team soon but that is what it is heh. Until then I will keep at it and post any questions I have regarding the hgll here.
|
|
|
Post by FunkySwerve on Jan 24, 2009 22:15:14 GMT
Classes 2da has the row number - class name associations:
0 Barbarian 1 Bard 2 Cleric 3 Druid 4 Fighter 5 Monk 6 Paladin 7 Ranger 8 Rogue 9 Sorcerer 10 Wizard 11 Aberration 12 Animal 13 Construct 14 Humanoid 15 Monstrous 16 Elemental 17 Fey 18 Dragon 19 Undead 20 Commoner 21 Beast 22 Giant 23 MagicBeast 24 Outsider 25 Shapechanger 26 Vermin 27 Shadowdancer 28 Harper 29 Arcane_Archer 30 Assassin 31 Blackguard 32 Champion_Torm 33 WeaponMaster 34 Pale_Master 35 Shifter 36 Dwarven_Defender 37 Dragon_Disciple 38 Ooze 39 Eye_of_Gruumsh 40 Shou_Disciple 41 Purple_Dragon_Knight
You'll want to weed out unimplemented classes like eye of gruumsh and shou disciple, as well as npc-only ones like ooze. construct, dragon, etc.
Funky
|
|
red
Neophyte
Posts: 13
|
Post by red on Feb 15, 2009 3:41:45 GMT
Thank you for releasing this system, I am planning on using it in a new PW. I assume a PW can do so with your blessing?
|
|
|
Post by FunkySwerve on Feb 15, 2009 20:29:29 GMT
With, or without. You can do whatever you like with it, including printing it out and using it as toilet paper, if it takes your fancy. That's why it's posted on the Vault, without so much as a generic license. LMK if you need any help with it. Funky
|
|
red
Neophyte
Posts: 13
|
Post by red on Feb 21, 2009 20:00:17 GMT
Great system, you made it very easy to set up. I think I am all set. Integration went very well.
I have a question from the guy hosting my mod, more about the reset function of nwnx2 than hgll.
We are using a server config tool for the nwn server. We have the watch dog settings in nwnx2 turned off. Our scheduled reset works fine, our only issue is with an unexpected server reset, if and when we have one.
best put in the server owners words.
"The module reloads correctly at the set time…that’s not a problem. But a full machine reset will gank it until one of us gets in and starts it properly. On startup what is happening is the NWNX2 watchdog wants to load the module even though I have it the switch set to off. It won’t monitor it for a crash…but it still wants to load up the module. What that does is occupies the 5121 port so when the normal server config tries to start the module it says the port is in use.
Does that nwnx2.ini HAVE to be set to port 5121? Or will it do all the DB functions you want it to if I change it to 5125 for instance? If I can change that…then we’re golden. If not…well…we’ll just have to be ready to hit the machine and start it manually."
sound like a workaround Funky? Perhaps you have seen this a thousand times and have a better workaround.
Thank you again.
|
|
|
Post by FunkySwerve on Feb 21, 2009 21:17:01 GMT
Neither acaos nor I have any idea. You'll have to ask that one on the nwnx fora, sorry.
Funky
|
|
red
Neophyte
Posts: 13
|
Post by red on Feb 23, 2009 4:15:09 GMT
Just in case anyone searches for the answer to this question. Manipulating the ports helps with a full system crash. We put nwnx 2 in our start up and manipulated the ports to avoid the hang. Things seem to work out fine so far, will report back.
Very nice system folks, very much appreciated. The documentation provided was very helpful.
Cheers
|
|
red
Neophyte
Posts: 13
|
Post by red on Mar 8, 2009 8:48:41 GMT
Funky, I noticed that you have enhancements to the Dar subrace system in this. I was able to merge your system into my mod with relative ease, as far as the on enter and such goes.
Would you suggest DAR as a good sub race system to use in tandem with your HGLL sytem?
I have already converted all my db calls to SQLite, keeping with the tables that already existed, and all is well. Just so you know a bit about my set up, I seem to be fully functional.
I have one other quick question. I was looking at the files that you provide with your Simtools pack. I seem to have all of them, including that reset plugin. Makes sense for me to give my DMs that tool. Any conflict issues you can think of? Your systems are great, thanx. Red
|
|
|
Post by FunkySwerve on Mar 8, 2009 22:49:56 GMT
No, I can't think of any conflicts, so long as you choose the 'already using letoscript' option - that means that SIMTool's onexit script will not check for leto edits, instead allowing DAR's onexit to handle it (they use the same Letoscript local string).
As for DAR (my version), HGLL was built with it in mind, but it has a lot of bugs, and we long ago stopped using it. You can use it, or Shayan's, but you might be better served in the long run if you set up your own system, because you'll have a better understanding of it.
Still, if you want to use it, you shouldn't have TOO many issues, though there are some bugs and exploits to worry about. For instance, you need to set a 'Deleted' int on any character being deleted, if you use a deletion system, and and not apply subrace edits to any character that has it set. This is because locals are cached in server memory by player name and character name, so that if a character is deleted and a new one of the same name made, it will have all the same locals the old character did - including the Letoscript string used to send edits to the leto plugin - this allows funky exploits like double (or more) subrace edits, which can wrap stats into negatives, and other strangeness..
Anyway, you should expect some hassles if you install DAR, or any leto-based editor, largely dependant on OTHER script systems, as with the deletion example. If that doesn't scare you too much, by all means, use it, as the conflicts with my other systems using leto (SIMTools, HGLL) will be less than with Shayans, though Shayan's is frankly a much more end-user-friendly system (though it has the same potential for bugs and exploits as DAR, like the deletion one I mention above), along with one or two other bugs, which may or may not have been sorted out by now.
Another alternative, if you are using linux or want to switch to it, is to use acaos' nwnx_funx plugin. It does everything that leto does, but in memory, not by booting, which eliminates a lot of potential bugs and exploits and general messiness. You'd have to write your own subrace system for it though.
Best, Funky
|
|
red
Neophyte
Posts: 13
|
Post by red on Mar 8, 2009 23:23:11 GMT
Developing my own seems like the best plan, thanx. I was hoping to be able to use the portal to server function to replace the boot on hgll level up and the reset timer I am using. Switch to linux or write it myself time. Let ya know how it goes.
|
|
|
Post by FunkySwerve on Mar 9, 2009 18:33:50 GMT
The reason HGLL doesn't use server portalling is that it occassionally caused corruption of the character file. A similar corruption issue using server portalling was resolved in our inter-server swapping command, by entering some dummy information - I don't remember offhand, I think it was a dummy password. I'm not certain that the two are connected, though, so adding a dummy password may not prevent the corruption when portalling for leto edits.
Funky
|
|
red
Neophyte
Posts: 13
|
Post by red on Mar 10, 2009 22:01:23 GMT
A well taken warning Funky, thank you.
You are also right when saying I need to roll up my sleeves here and create a subrace solution that fits my current set up well.
Thanks for all your help and advice. I put a link on our forums directing folks to your vault page if they want to vote for your system.
Red
|
|
|
Post by Werehound Silverfang on Apr 5, 2009 6:22:32 GMT
OK, so I set HGLL up exactly as specified by the tutorial, and I can access the conversation, and place skill points for level 41 (and spell selections for level 41 as a sorcerer) and end the conversation. When ended, i get booted, and when I sign back in, no changes are made and it says im still level 40 going on 41... Any suggestions?
**The Demo mod "Higher Ground Legendary Levels" isnt working either... Exact same problem. No error messages, no anything. ive tried what was said in the board.
|
|