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 
 
Terra's NWNX stuff
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows development
View previous topic :: View next topic  
Author Message
Terra_777



Joined: 27 Jun 2008
Posts: 216
Location: Sweden

PostPosted: Wed Sep 18, 2013 15:39    Post subject: Reply with quote

Think you should look into the more respective logs and see what they say.
_________________
I dun have any signature, I'm happy anyway.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Baaleos



Joined: 02 Sep 2007
Posts: 830

PostPosted: Wed Sep 18, 2013 18:37    Post subject: Reply with quote

Quote:

As for PLC's and stuff not spawning in areas, thats resman for you, resman cannot dynamically load git files which is something I fixed for dynres and maxrocks version of areas does it internally.


I use resman, and it does load GIT files, you just need the proper folder structure.

If I do not have an \are subfolder, which contains the 3 files related to the area in question, then yes - the area is devoid of placeables, creatures, waypoints etc

But if I have the 3 files in that sub folder : then resman correctly loads the area with the placeables, creatures etc present.
Back to top
View user's profile Send private message
ShaDoOoW



Joined: 20 Aug 2005
Posts: 584

PostPosted: Thu Sep 19, 2013 1:08    Post subject: Reply with quote

Ouch, found out whats the problem. its NWNX connect. Ive set up only one hak in order to decrease lag when connecting to the server, and Ive set top hak only. Now it seems however with NWNCX game refuses to load rest haks automatically. Could it be caused ny nwnx_connect though.

server
Quote:
NWNXConnect v0.1 created by Terra_777

TLK: gt
HAK 1: pwprc

o Hooked SendServerToPlayerCharList!

o Successfully Sent HAK list to pvp-master
o Successfully Sent HAK list to pvp-master

btw just noticed your log header info :/ it cannot be 0.1 since someone, precisely me made this plugin for windows earlier. Would be fair to mention this even when you made your plugin from scratch without even looking into virusman's linux code.

client
Quote:
NWCX Connect plugin 1.0 (PRE-RELEASE)
(c) 2012 by virusman
Hooked: 1
Message: type 1, subtype 3
Message: type 11, subtype 2
Message: type 11, subtype 4
Message: type 1, subtype 3
Message: type 64, subtype 0
Total: 1
Hak: pwprc
Loaded hak: pwprc
Tlk: gt
Loaded tlk: gt
Message: type 11, subtype 2
Message: type 11, subtype 4
Message: type 11, subtype 4
Message: type 12, subtype b
Message: type 2, subtype 12
Message: type 12, subtype b
Message: type 2, subtype 5
Message: type 3, subtype 1
Message: type 2, subtype c
Message: type 1c, subtype c
Message: type 1c, subtype c
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 4, subtype 1
Message: type 32, subtype 2
Message: type a, subtype 2
Message: type a, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type a, subtype 2
Message: type a, subtype 1
Message: type 9, subtype 5
Message: type 5, subtype 1
Message: type 5, subtype 2
Message: type 1e, subtype 1
Message: type 5, subtype 1
Message: type e, subtype 1
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 1d, subtype 4
Message: type 1d, subtype 1
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 12, subtype b
Message: type 12, subtype b
Message: type 5, subtype 1
Message: type 1d, subtype 4
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 3, subtype 3
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 4, subtype 1
Message: type 5, subtype 2
Message: type 1e, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 9, subtype 5
Message: type 5, subtype 1
Message: type 5, subtype 2
Message: type 1e, subtype 1
Message: type e, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 4, subtype 1
Message: type 5, subtype 2
Message: type 1e, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type e, subtype 1
Message: type 9, subtype 5
Message: type 5, subtype 1
Message: type 5, subtype 2
Message: type 1e, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1
Message: type 5, subtype 1

_________________
Community Patch / NWNX Patch / NWNX Files / NWNX Connect
Back to top
View user's profile Send private message
Terra_777



Joined: 27 Jun 2008
Posts: 216
Location: Sweden

PostPosted: Thu Sep 19, 2013 1:35    Post subject: Reply with quote

I'm sending the connect message with nwservers own message routines. The haks should be loaded normally when loading into the game? Otherwise just supply the whole haklist, you'd just be moving the lagspike from loading into the game to loading the servervault list. Redownload connect, I released 0.2 which removes a memory-leak.
_________________
I dun have any signature, I'm happy anyway.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
ShaDoOoW



Joined: 20 Aug 2005
Posts: 584

PostPosted: Thu Sep 19, 2013 3:12    Post subject: Reply with quote

Terra_777 wrote:
I'm sending the connect message with nwservers own message routines.
Bad manners anyway. You should credit at least virusman since your code is obviously based on his linux plugin. And you should also at lest contact me that you are working on a connect and even when you ported it from linux to windows from scratch, you should use at least already existing thread for it. Now there are two links in two different threads from two different authors and functionality.

This is how I proceeded with my own code modifications to your plugins, always contacted you, offered source and asked what you want to do with it. So why cant you do the same?
_________________
Community Patch / NWNX Patch / NWNX Files / NWNX Connect
Back to top
View user's profile Send private message
Terra_777



Joined: 27 Jun 2008
Posts: 216
Location: Sweden

PostPosted: Thu Sep 19, 2013 6:00    Post subject: Reply with quote

NWNCX Connect hooks nwmains side of the message routines. It looks for messages coming in on channel 0x64 (100), that message is an array with haks with a integer header indicating its size and the footer is the string containing the TLK file. I think the receive message hook in the client connect plugin should be moved to the client extenders base plugin and pass it along much like NWNX does with SetLocalString -> OnRequest.

I'm not denying Virusman's code, in fact I'm following the protocol he stated. Truth be told all my plugins, in fact all plugins, should contain a list of people to give credit too then since all nwnx plugins are based on code written by a bunch of different people.

Whilst its nice giving credit the real power behind NWNX and NWNCX is the GNU license which states that you're free to use any of code as long as you in turn license your code under GNU. GNU also states that sources must be publicly available for anyone who requests it, if source is not given then its illegal to use any of the GNU licensed code. More on that here: http://en.wikipedia.org/wiki/GNU_General_Public_License

So if you actually look though my code then you'll see that all headers are still there and they do credit their respective creators as I've not modified any of the headers.

As for contacting you, you are contacted now arent you? The plugin isnt really a big project so if you want to merge the connect projects into one thats fine with me.
_________________
I dun have any signature, I'm happy anyway.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
ShaDoOoW



Joined: 20 Aug 2005
Posts: 584

PostPosted: Fri Sep 20, 2013 15:40    Post subject: Reply with quote

Terra_777 wrote:
As for contacting you, you are contacted now arent you? The plugin isnt really a big project so if you want to merge the connect projects into one thats fine with me.
Fine I get it, do what you want to do. I don't want to merge, your version is dead end imo (ini feature specifically), would like you to help with my version but if you want to maintain your own there thats up to you.
_________________
Community Patch / NWNX Patch / NWNX Files / NWNX Connect
Back to top
View user's profile Send private message
Terra_777



Joined: 27 Jun 2008
Posts: 216
Location: Sweden

PostPosted: Fri Sep 20, 2013 18:22    Post subject: Reply with quote

At any rate, we don't need two connect plugins so I renamed mine to nwnx_messages and moved the sendmessage functionality from names to it since the idea is being able to send custom messages though nwscript functions. The connect part is still in messages but its optional.
_________________
I dun have any signature, I'm happy anyway.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
addicted2rpg



Joined: 01 Aug 2008
Posts: 106

PostPosted: Sun Sep 22, 2013 9:43    Post subject: Reply with quote

I rather like the .INI idea; I was thinking of adopting it.

I might invert the logic though, and make it in the form of a deny list with anything not mentioned being sent.

So obviously, you don't want to send "sysop.hak" over (sorry about the BBS reference for any who missed it).

Security wise, this is worse; from a security point of view, inclusion > exclusion - however from a user friendliness / "I didn't read the docs" point of view, exclusion > inclusion.

But I'm sure they'll know they got it wrong if they see Tarrasque running around the server, and can fix it Smile
Back to top
View user's profile Send private message
Antegate



Joined: 20 Apr 2012
Posts: 100

PostPosted: Sat Oct 05, 2013 10:38    Post subject: Reply with quote

error pic:
http://www.hostpic.org/images/1310051405580107.bmp

win XP SP3


Quote:
NWN Extender V.2.7-beta4
(c) 2004 by Ingmar Stieger (Papillon) and Jeroen Broekhuizen
(c) 2007-2008 by virusman
visit us at http://www.nwnx.org

* Loading plugins...
* Plugin admintool is loaded.
* Plugin areas is loaded.
* Plugin cool is loaded.
* Plugin deletechar is loaded.
* Plugin dynres is loaded.
* Plugin events is loaded.
* Plugin files is loaded.
* Plugin fixes is loaded.
* Plugin funcs is loaded.
* Plugin memedit is loaded.
* Plugin names is loaded.
* Plugin odbc is loaded.
* Plugin profiler is loaded.
* Plugin realtime is loaded.
* NWNX2 activated.
* NWNX2 shutting down...
* NWNX2 shutdown successfull.


Quote:
NWNXDynRes v1.65 created by Terra_777

Log level: 0
ResMan: 0066C044
Load List: ON

o Hooked CExoResMan::Demand: Success
o Hooked CExoResMan::GetKeyEntry: Success
o Hooked CExoResMan::Exists: Success
o Hooked CCodeBaseInternal::AddBinaryData: Success


what not so?
Back to top
View user's profile Send private message
Terra_777



Joined: 27 Jun 2008
Posts: 216
Location: Sweden

PostPosted: Sat Oct 05, 2013 16:44    Post subject: Reply with quote

Try redownloading the plugin and make sure your ini settings for dynres are correct.
_________________
I dun have any signature, I'm happy anyway.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Antegate



Joined: 20 Apr 2012
Posts: 100

PostPosted: Sat Oct 05, 2013 19:32    Post subject: Reply with quote

*.ini I use your settings
I changed nothing. The folder I created.
Sorry, but you could describe the principle of operation of this plug-in generally? Instruction. Suddenly I not so do.
Back to top
View user's profile Send private message
ShaDoOoW



Joined: 20 Aug 2005
Posts: 584

PostPosted: Wed Dec 25, 2013 22:41    Post subject: Reply with quote

got problem with dynres as well, it happens only with specific module or its haklist, 22tilesets, CEP1, konfig hak file, etc.

it crashes on Win7 before the module is started properly without any proper message I can only press "terminate"

logs are clean

Quote:
dynres_loadlist.txt
Times loaded:


Resource List Entries: 0
Unique Resources Used: 0
Missing Files: 0
Never Used: 0
External Loads: 0 (0%)
Interal Loads: 4186 (100%)


Quote:
NWNXDynRes v1.6 created by Terra_777

Log level: 0
ResMan: 0066C044
Load List: ON

o Hooked CExoResMan::Demand: Success
o Hooked CExoResMan::GetKeyEntry: Success
o Hooked CExoResMan::Exists: Success



I noticed there is a new version but Terra's site doesn't work, can someone upload it for me?
_________________
Community Patch / NWNX Patch / NWNX Files / NWNX Connect
Back to top
View user's profile Send private message
highv priest



Joined: 01 Mar 2013
Posts: 111

PostPosted: Mon Feb 24, 2014 8:33    Post subject: Reply with quote

Not sure if it's just me, but I can't download any links from Terra, shame I had really hoped to use NWNX_Areas Crying or Very sad
Back to top
View user's profile Send private message
Terra_777



Joined: 27 Jun 2008
Posts: 216
Location: Sweden

PostPosted: Mon Feb 24, 2014 14:26    Post subject: Reply with quote

My links are dead, no interwebz.

Stuff is however synced with skydrive; https://onedrive.live.com/?cid=964767fb0c3a645b&id=964767FB0C3A645B!892 everything should be in the nwnx folder.

edit; the ! ends the url apparantly, its supposed to be part of it so you might have to copy-paste it to your addressbar.
_________________
I dun have any signature, I'm happy anyway.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows development All times are GMT + 2 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
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