logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
NWNX Fixes
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux development
View previous topic :: View next topic  
Author Message
PlasmaJohn



Joined: 04 Mar 2005
Posts: 70
Location: The Garage

PostPosted: Mon Feb 22, 2010 5:44    Post subject: Reply with quote

Aha... pItem1 and 2 are CNWSItem pointers which contain a CNWSObject struct at offset 0x10. At offset 0x24 into the CNWSObject is a pointer to a string containing the resref.

http://nwn.virusman.ru/trac/nwnx2-linux/browser/trunk/include/structs/CNWSItem.h
http://nwn.virusman.ru/trac/nwnx2-linux/browser/trunk/include/structs/CNWSObject.h
Back to top
View user's profile Send private message
drake127



Joined: 26 Jan 2010
Posts: 28

PostPosted: Wed Mar 31, 2010 23:02    Post subject: Reply with quote

Adjusting ability descrease cap in nwn fixes seems to be not working when compiled with GCC 4.3.4. Everything compiles and run just fine until I connect with my character and see my abilities changing every heartbeat or so. Ability values keeps mostly about green 120 (without even changing them).
Back to top
View user's profile Send private message
elven



Joined: 28 Jul 2006
Posts: 259
Location: Germany

PostPosted: Sat Jun 05, 2010 15:57    Post subject: Reply with quote

drake127 wrote:
Adjusting ability descrease cap in nwn fixes seems to be not working when compiled with GCC 4.3.4. Everything compiles and run just fine until I connect with my character and see my abilities changing every heartbeat or so. Ability values keeps mostly about green 120 (without even changing them).


Confirmed.
Back to top
View user's profile Send private message
drake127



Joined: 26 Jan 2010
Posts: 28

PostPosted: Mon Jun 14, 2010 2:53    Post subject: Reply with quote

I may have found solution to this problem. There seems to be wrong offset in source code. Try to replace corresponding line in FixesHooks.cpp with following:
Code:
        char* cap_ability_dec_h2 = (char*)0x08134a7f;
Could you confirm this fix?

There is however another problem that may be related to this feature: Pick up items over you limit (tested with strength 60, cap limit 50 and three -20 str items) (60->40->20->10), exit game and log back. When you try to drop item your strength is recovered badly (10->23->40->60).
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Fri Dec 03, 2010 19:33    Post subject: Reply with quote

Unreleased material:
* DoDamage hook that limits HP damage to certain negative limit: i.e. if someone with 10 HP would normally have -30 HP after 40 HP damage (= instantly dead), the tweak can limit that to -5 HP, so the player would still have some possibility to recover.
* Fix for time freeze that's happening on some servers
I'll release it when I have time. If you need it sooner, you can ask here.
_________________
In Soviet Russia, NWN plays you!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Sat Mar 19, 2011 0:24    Post subject: Reply with quote

NWNX Fixes 1.0.7
http://data.virusman.ru/nwn/nwnx_fixes-1.0.7-linux.rar
* DoDamage hook that limits HP damage to certain negative limit
* Fix for time freeze that's happening on some servers
_________________
In Soviet Russia, NWN plays you!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Nob



Joined: 16 Apr 2005
Posts: 21

PostPosted: Fri Apr 15, 2011 4:07    Post subject: Reply with quote

Any chance we can get a fix for nDamagePower bit in the EffectDamage function? Currently Damage Power doesn't actually function for physical damage and won't pierce damage reduction.
Back to top
View user's profile Send private message
Zarathustra217



Joined: 15 Aug 2011
Posts: 5

PostPosted: Tue Aug 23, 2011 11:35    Post subject: Reply with quote

Running the plugin, my nwnx_fixes log show:

----

NWNX Fixes 1.0.7
(c) by virusman, 2007-2011
visit us at http://www.nwnx.org

* Module loaded successfully.
* Signature recognition failed. Some functions will be disabled.

---

Any clue?

Running NWserver 1.69 on Ubuntu server. Compiled the plugin myself, but got no errors there.

Also, put this in the nwnx.ini:

[FIXES]
copy_vars = 1
compare_vars = 0
keep_hidden_in_conversation = 0
hp_limit = -10
hide_charlist_all = 0
hide_charlist_levels = 1
hide_charlist_portraits = 0
cap_ability_inc = 0
cap_ability_dec = 0
cap_atkbonus_inc = 0
cap_atkbonus_dec = 0
cap_skill_inc = 0
cap_skill_dec = 0
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Sun Jan 22, 2012 23:57    Post subject: Reply with quote

NWNX Fixes 1.0.8
http://data.virusman.ru/nwn/nwnx_fixes-1.0.8-linux.rar
* Added a fix for AdjustReputation function
_________________
In Soviet Russia, NWN plays you!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
ShaDoOoW



Joined: 20 Aug 2005
Posts: 584

PostPosted: Mon Feb 06, 2012 12:41    Post subject: Reply with quote

I know I can use nwnx_weapons plugin, but wouldn't be fixing the trident weapon focus more appropriate in "fixes" plugin?
_________________
Community Patch / NWNX Patch / NWNX Files / NWNX Connect
Back to top
View user's profile Send private message
ShaDoOoW



Joined: 20 Aug 2005
Posts: 584

PostPosted: Wed Nov 28, 2012 22:49    Post subject: Reply with quote

any chance to increase saving throw cap?
_________________
Community Patch / NWNX Patch / NWNX Files / NWNX Connect
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux development All times are GMT + 2 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group