Aller au contenu

Photo

nwncx webkit


  • Veuillez vous connecter pour répondre
40 réponses à ce sujet

#26
_Cyan_

_Cyan_
  • Members
  • 17 messages

Damn I would really die for windows version of that plugin. There's no chance at all? :(

 

Also in html 5 you don't really have to use em or rem to scale. You could use vw and vh to determine sizes depending on viewport size without even using javascript.

Awesomium doesn't support vh and vw units.



#27
Valgav

Valgav
  • Members
  • 64 messages

Damn that's bad :(

 

Also is sad that nwnx developers now don't focus on windows. Currently pc is capable of handling server so it would be nice to have full nwnx support on home machine to setup for friends. I would hyelp with windows version by i have absolutely no idea about nwnx hooking but i could help with network stuff.



#28
OldTimeRadio

OldTimeRadio
  • Members
  • 1 400 messages

@Valgav - NWNX development has always moved along a lot more briskly on the Linux side.  I mean, at least for the last 8+ years.  As far as I know, there also may be some technical reasons why this is the case.  I have, in the past, set up Linux servers and clients and it's not that hard.  Though it's unsupported, I'm reasonably sure that you can still download and utilize NWN in-a-box (which uses Virtualbox) from here.



#29
Valgav

Valgav
  • Members
  • 64 messages

Sure I know linux and that's not a problem. My main problem are functions that hasn't been ever ported from windows to linux like hooking learning of spells from scrolls or changing time of day which both I find very useful.



#30
Shadooow

Shadooow
  • Members
  • 4 470 messages

@Valgav - NWNX development has always moved along a lot more briskly on the Linux side.  I mean, at least for the last 8+ years.  As far as I know, there also may be some technical reasons why this is the case.  I have, in the past, set up Linux servers and clients and it's not that hard.  Though it's unsupported, I'm reasonably sure that you can still download and utilize NWN in-a-box (which uses Virtualbox) from here.

there are two reasons for that

 

1) linux version of nwserver has open sourcecode - that makes any third party development easier

2) majority of the nwnx developers are working and hosting their nwserver under linux


  • OldTimeRadio aime ceci

#31
Valgav

Valgav
  • Members
  • 64 messages

Yeah it's popular because it's popular ;) I know we can run linux, I can use vagrant to host virtual machine and have entire dedicated environment for nwn but why do I have to do this? It's 2016 for gods sake. I can render 1440p videos on my windows and i have to fight with linux to setup environment for some role play with friends?



#32
niv

niv
  • Members
  • 37 messages

Sure I know linux and that's not a problem. My main problem are functions that hasn't been ever ported from windows to linux like hooking learning of spells from scrolls or changing time of day which both I find very useful.

 

Hi! I'm one of those pesky linux-only devs, although I ventured into nwncx stuff recently.

 

- Isn't changing time of day not already offered by a nwscript builtin (SetTime)?

- Hooking of spell learning (and similar things) would be trivial to do, but forum posts are a poor place to ask for it. I think the best way to make this happen is to open a issue on the github tracker: https://github.com/N...x2-linux/issues. While that doesn't guarantee that it gets done in a timely manner (life/motivation/etc), at least it's in the first and foremost place we look and makes sure it's not missed and kept tracked over time.

 

Cheers



#33
Valgav

Valgav
  • Members
  • 64 messages

I mean event of changing time of day, so you can run script xx on transition from day to night.

 

I know that you're are one of those pesky linux only devs and I appreciate your work but there are some things that are windows only. Other example is: here http://neverwinterva...e-master-server also I'm not sure if community patch is fully compatible with nwnx on linux. 

 

My only need for this plugin is to prevent crashing on player leave. I don't need much more on windows :)



#34
henesua

henesua
  • Members
  • 3 863 messages

if you need it on windows, write it on windows.



#35
niv

niv
  • Members
  • 37 messages

I mean event of changing time of day, so you can run script xx on transition from day to night.

 

I know that you're are one of those pesky linux only devs and I appreciate your work but there are some things that are windows only. Other example is: here http://neverwinterva...e-master-server also I'm not sure if community patch is fully compatible with nwnx on linux. 

 

My only need for this plugin is to prevent crashing on player leave. I don't need much more on windows :)

 

That auth thing appears to be inspired by the masterserver emu I wrote for linux (actually, ruby - system-agnostic). (There's also a nim port that I haven't published yet.) You can still run that yourself, and while it requires a bit more setup work, it works just fine.

 

A straight up port of it seems unlikely unless the author decides to release sourcecode for it.



#36
_Cyan_

_Cyan_
  • Members
  • 17 messages

That auth thing appears to be inspired by the masterserver emu I wrote for linux (actually, ruby - system-agnostic). (There's also a nim port that I haven't published yet.) You can still run that yourself, and while it requires a bit more setup work, it works just fine.

 

A straight up port of it seems unlikely unless the author decides to release sourcecode for it.

I did it, simply i don''t like account/public key auth system, that was a test during my learning curve never meant to be a stable version since i made it for my pw on linux.

If you want the windows source i can share them, btw as niv said its ruby master server emulator is pretty straigthforward to setup and manage.



#37
virusman

virusman
  • Members
  • 282 messages

NWNX Auth for Linux:

https://github.com/v...th/plugins/auth

It's an independent implementation (I made it by request), so I'm not sure how it compares with the Windows plugin, but basically it also fires a script when a player tries to connect.


  • _Cyan_ aime ceci

#38
_Cyan_

_Cyan_
  • Members
  • 17 messages

NWNX Auth for Linux:

https://github.com/v...th/plugins/auth

It's an independent implementation (I made it by request), so I'm not sure how it compares with the Windows plugin, but basically it also fires a script when a player tries to connect.

What changes is that you hook on auth request with master server turned off, the plugin i made hooks on bmpa, bmau packets using account + password (and yes i used niv's ruby code as starting point even if i rewrote the parser as training).



#39
niv

niv
  • Members
  • 37 messages

I did it, simply i don''t like account/public key auth system, that was a test during my learning curve never meant to be a stable version since i made it for my pw on linux.

If you want the windows source i can share them, btw as niv said its ruby master server emulator is pretty straigthforward to setup and manage.

 

You might want to upload it regardless even if I myself have no immediate interest in using it. Others might want to fix issues or amend features they need without standing up my masterserver emulation thing, since that would be a extra service to keep track of.

 

The biggest advantage of my masterserver is that you can do potentially-blocking, external stuff in it - like http requests - without stalling all of nwserver.


  • _Cyan_ aime ceci

#40
Valgav

Valgav
  • Members
  • 64 messages

Back to original thread. I'm trying to figure out the problem with crashing on client leave. I'm not sure if the problem is that you don't run WebUI_Destroy() method and it still has WebUI registered to Player?



#41
_Cyan_

_Cyan_
  • Members
  • 17 messages

Back to original thread. I'm trying to figure out the problem with crashing on client leave. I'm not sure if the problem is that you don't run WebUI_Destroy() method and it still has WebUI registered to Player?

The error is raised with some strange issue with CNWMessage, but as i said, i don't develop any further on windows version of nwnx plugin.

As shadoow released a stable connect plugin on windows maybe he can answers better to this issue.I'll post the source in the next days.


  • Valgav aime ceci