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 
 
NWNX2 Developers: Hardcoded addresses vs. pattern searches?

 
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Zebranky



Joined: 04 Jun 2006
Posts: 415

PostPosted: Tue Dec 30, 2008 2:12    Post subject: NWNX2 Developers: Hardcoded addresses vs. pattern searches? Reply with quote

How do the NWNX2 devs in the crowd feel about hardcoded addresses as opposed to searching memory for patterns? I'm just curious to get a community consensus on this.
_________________
Win32 SVN builds: http://www.mercuric.net/nwn/nwnx/

<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.

<ThriWork> whenever I hear nwn extender, I think what does NWN need a penis extender for?
Back to top
View user's profile Send private message Visit poster's website
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Tue Jan 06, 2009 16:57    Post subject: Reply with quote

Usually I use absolute addresses in experimental plugins and signatures in stable plugins. With the final patch the signatures aren't a necessity anymore.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
acaos



Joined: 08 May 2007
Posts: 153

PostPosted: Tue Jan 06, 2009 22:21    Post subject: Reply with quote

I agree with Virusman and do the same here.

Acaos
Back to top
View user's profile Send private message
Mikel of Avalon



Joined: 29 Dec 2004
Posts: 72
Location: Germany

PostPosted: Wed Jan 07, 2009 10:31    Post subject: Reply with quote

With the final patch is out - what would the advantage to change all to absolute addresses? A big speedup for nwnx2?
_________________
Mikel of Avalon

Kalandur - Die vergessene Welt
Back to top
View user's profile Send private message Visit poster's website
Zebranky



Joined: 04 Jun 2006
Posts: 415

PostPosted: Wed Jan 07, 2009 13:22    Post subject: Reply with quote

Not really; there's very little point in changing existing code to use addresses. It's easier for developing new things, though, as creating and checking a pattern takes more time than just finding the right address. For something with a lot of addresses (read: acaos's plugins Wink) it really adds up.

I won't worry TOO much about creating patterns for everything, then. Just wanted to make sure there wasn't an unspoken law about it.
_________________
Win32 SVN builds: http://www.mercuric.net/nwn/nwnx/

<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.

<ThriWork> whenever I hear nwn extender, I think what does NWN need a penis extender for?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion All times are GMT + 2 Hours
Page 1 of 1

 
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