Neverwinter Vault

Expand AllContract All -Site -My Profile -Features

Neverwinter Nights 2

-NWN2 Files -NWN2 Game Info -NWN2 Resources -NWN2 Community

Neverwinter Nights

-NWN Files -NWN Game Info -NWN Resources -NWN Community

Vault Network
RPG Vault
VN Boards
IGN Vault
Vault Wiki
· Age of Conan
· Anarchy Online
· Asheron's Call
· Dark Age of Camelot
· City of Heroes
· D&D
· EVE Online
· EverQuest
· EverQuest 2
· Final Fantasy
· Guild Wars
· Lineage 2
· Lord of the Rings Online
· Middle Earth
· Neverwinter Nights
· Pirates of the Burning Sea
· Rise of the Argonauts
· Star Wars Galaxies
· Tabula Rasa
· The Matrix Online
· The Witcher
· Titan Quest
· Two Worlds
· Vanguard
· Warhammer
· World of Warcraft

Planet Network
Planet Hub

IGN
Games
Cheats
Entertainment

The Web   The Site  



NWN2 ORIGINAL HAKPAKS

- Jump to comments -
Name  Fake ActivatePortal
Author  Irgenwo
Submitted / Updated  06-21-2008 / 08-18-2008
Category  Other
Patch  1.12
NWN2Game  NWN2:MotB
Description
Place the charchoicex1.xml in a custom gui directory (it needs to override the default one) and the hak where it belongs. The erf contains the important script gui_ap and ap_start which mainly shows how to start a transfer

Current limitations:
-Enabling localvault chars on a server may pose problem (not tested)
-Currently only works with the first five chars (this will be extended, but laziness prevails... you can do it yourself if you open the hak and think a few minutes)
-Chars must have a first and a last name(will be corrected soon, you can do it yourself too, in gui_ap)
-A player must not have 2 chars with the same name (not fully tested, but sure it's a bad idea)
-there may be some probleme under heavy lag ( > 1s, i can't test this one )
-Both servers do not "need" to have the same servervault but that would be a misleaded use of the system :D
-No destination waypoint (not actually sure if it could be done, will think of it)
-It doesn't check if the destination server Ip is valid/active, and therefore always disconnect the player from server 1 when the process is started. an addition to reconnect the player to server 1 in case of a problem is doable.

My guess is that there will be a much simpler way to do this with the 1.13 patch but the idea will be the same.

I don't see why it wouldn't work without MOTB, just rename charchoicex1.xml into charchoice.xml

It has only been tested on two small test-servers (well, the server don't actually do much), and on two installs.

any comment or bug repport is welcome :)

Edit 1: first (corrected) note,OnExit (Area event) is not triggered on server 1, OnClientLeave is

Files

NameTypeSizeDownloads
ap_beta2.hakap_beta2.hak
Submitted: 06-21-2008 / Last Updated: 06-23-2008
hak13.15Kb68
--
charchoicex1.xmlcharchoicex1.xml
Submitted: 06-21-2008 / Last Updated: 06-21-2008
xml1.18Kb177
--
APbeta4.rarAPbeta4.rar
Submitted: 06-21-2008 / Last Updated: 08-18-2008
rar4.35Kb79
for patch 1.13
charchoice.xml and charchoicex1.xml are to be put in a custom gui directory, client side.
ap_cso.xml ap_gcn.xml and ap_dsc.xml can be put in a hak or in the custom gui dir.
ap_beta4.erf contains gui_fakeactivateportal and inc_fakeactivateportal
ap_beta2_script.erfap_beta2_script.erf
Submitted: 06-21-2008 / Last Updated: 06-23-2008
erf2.08Kb67
--
SCORE OUT OF 10
N/A
Cast Your Vote!
Voting FAQ

PORTFOLIO
Add this entry to your portfolio so you can track it
Manage your existing portfolios or create a new one.
SCREENS
No Images




You Must Be Logged In to Participate.
Comments (3):

Posted by Lv4 at 2008-11-01 03:04:17    
Hello Irgenwo :)

I tryed it on Arkalym (check your pms btw) and got some few problems. But I'm not sure we're doing that correctly :
- Empty button on the right of the player's character list (could be normal though...).
- Could not scroll down that list (so if one has a lot character he can't select the good one).
- Always having the first char of the list being connected on the other module (even if we have the second, third or any'th char on the first module).

Just to keep trace of that. Nice xml work, thanks !

Posted by Irgenwo at 2008-08-18 15:45:26    
the new uilistbox functions allowed great simplification. so here is the beta4.

localvault chars won't work.
will work with any number of chars

back to only one function in inc_fakeactivateportal, the (very well named) FakeActivatePortal

may the 2 or 3 devs interested have fun with this :)

Posted by Irgenwo at 2008-06-23 16:56:02    
New version online, with some changes.

It has been tested throughout the weekend on a french tri-server.

update:
-Enabling localvault chars on a server works, but may cause serious lag.
-Still only works with the first five chars of the player charcater vault
-probleme with having only one (first or last) name, removed
-if a player has two chars with the same name, it won't crash the system(it used to) but it won't certainly log the good one.
-on connection timeout, it will get back to the multiplayer menu (it used to freeze the client, for some players)

the erf now contains gui_fakeactivateportal and an include, inc_fakeactivateportal, wich holds 2 functions :

FakeActivatePortal(object oPC, string serverIP, string serverpass="", string destWPTag="")
and
FAPGetCharacterNum(oPC) wich needs to be called before the actual portal (i strongly suggest an area oncliententer event, as the server need to be able to display a gui screen)

this last function takes 6 secs to complete, but is transparent to the player. after that the fakeactivateportal function can be called

as the deconnection procedure isn't really clean, we ran into some trouble with a player with a very slow connection. you may want to consider adapting your code so that recurent event (onheartbeats or user defined) avoid treating player who are using the system (it solved the problem of the lag on the first version, i think the second one allows to not do that, but hey...)

have fun testing :)

You must be Logged In to post comments in this section.

10 - A Masterpiece, Genuinely Groundbreaking
9 - Outstanding, a Must Have
8 - Excellent, Recommended to Anyone
7 - Very Good, Deserves a Look
6 - Good, Qualified Recommendation
5 - Fair, Solid yet Unremarkable
4 - Some Merit, Requires Improvements
3 - Poor Execution, Potential Unrealized
2 - Very Little Appeal
1 - Not Recommended to Anyone

 
Most recent posts on the MMO General Boards
Analyst: Star Wars: The Old Republic Could...Analyst: Star Wars: The Old Republic Could Sell 3M: more numbers
- last reply by Acao on Aug 15, 2011 06:15 PM
which class will your first character be
- last reply by Blisteringballs on Aug 15, 2011 05:50 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 05:00 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 04:00 PM
NWN Idea Database Update
- posted by Vault_News on Aug 15, 2011 03:46 PM
Missing Votes for NWN2 Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:40 PM
Missing Votes for NWN Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:39 PM
Random Questions and game altering suggest...Random Questions and game altering suggestions!!!
- last reply by ArkadyTepes on Aug 15, 2011 03:22 PM
State of the game?
- last reply by LyricOpera on Aug 15, 2011 01:37 PM
Yesterday streaming, now demanding downloa...Yesterday streaming, now demanding download :(
- last reply by Sinane-tk on Aug 15, 2011 10:23 AM
 

   


IGN Entertainment
By continuing past this page, and by your continued use of this site, you agree to be bound by and abide by the User Agreement.
Copyright 1996-2011, IGN Entertainment, Inc. | Support | Privacy Policy | User Agreement | RSS Feeds
IGN’s enterprise databases running Oracle, SQL and MySQL are professionally monitored and managed by Pythian Remote DBA.


NWN2 Hall of Fame

HOF NWN2 Tools


View all Hall of Fame entries


Neverwinter Nights 2

TOP NWN2 Modules

NEW Modules

NEW Reviews

NEW INTL. Modules

TOP Hakpaks

TOP Gameworlds

TOP Tutorials

TOP Prefab:Areas

TOP Blueprints

TOP Plugins

TOP UI

TOP Other

TOP Visual Effects

TOP Scripts

TOP Tools

TOP Movies

TOP Models

TOP Characters





Hall of Fame

HOF NWN Modules


View all Hall of Fame entries


TOP NWN Modules

NEW NWN Modules

NEW Reviews

TOP Intl. Modules

TOP NWN Hakpaks

TOP NWN Gameworlds

TOP NWN Models

TOP NWN Portraits

TOP NWN Scripts

TOP NWN Prefabs

TOP NWN Other

TOP NWN Movies

TOP Sounds

TOP NWN Textures

TOP NWN Creatures

TOP NWN Characters