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  



NWN SCRIPTS

- Jump to comments -
Title  Fix pseudo casting exploit
Author  ILikeKillAndYou
Submitted / Updated  04-14-2010 / 04-14-2010
Category  Area
Expansions  HOTU-1.65
View Code  

Select All Text | View Code in separate window
Format  Module and Code
Type  Type - Other
Includes  BioWare Standard
Description
Pseudo casting is basically cast a spell your not supposed to be able to. By example if a 19 Druid 1 cleric with 19 wisdom have a item that give him a spellslot level 9 spell. He will be able to cast a level 9 spell of cleric. That simply affect wizard (spell learn from scroll), druid and cleric other class cannot pseudo cast (as far I know).

This script only active on player, so it doesn't fired on item dm/creature and such. If a exploit is detected the script simply stop the spell and give a feedback to the player, it will not warning the DM (pointless anyway).

This fix is easy to install :
1) Click Edit tab then go to the Module properties
2) In the Advanced tab you will have a Variables in the menu.
3) Add a string nammed X2_S_UD_SPELLSCRIPT for the value simply enter the script that you saved the script.

Files

NameTypeSizeDownloads
ap_sp_fix.modap_sp_fix.mod
Submitted: 04-14-2010 / Last Updated: 04-14-2010
mod32.11Kb22
This is a example how to install the fix, you do not need this all the code is above.
SCORE OUT OF 10
10
1 votes
View Stats
Cast Your Vote!

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 (4):

Posted by ShaDoOoW at 2010-08-06 12:03:25    Voted 10.00 on 08/06/10
Didn't knew about it. Nice catch.
_________________________
[Boost System] [Door System] [Devastating Critical Immunity] [HIPS remake] [Circle Kick Mode] [1.69 Full 2da Source]

Posted by ILikeKillAndYou at 2010-04-14 20:02:05    
I simply use the method of scripting, everyone have is own. I prefer to initiate the variable first since in javascript that reduce the lag even if that about 1/100 of a milli second. That I reflex to initiate then like that. Not a big deal anyway.

Forgot about the GM thing, I just add it.

I just corrected the typo (Yah my english suck I know that already)

Posted by The_Krit at 2010-04-14 19:37:57    
Looking at the script itself:

Why do you use the more complicated

object oPC; oPC = OBJECT_SELF;

instead of

object oPC = OBJECT_SELF;

to initialize your variables?

Where is this supposed check for not applying to DMs? You check for not being a PC, but DMs and DM-possessed NPCs count as PCs as far as scripting goes.

Oh, and "aborting" has a 't' in it.

Posted by The_Krit at 2010-04-14 19:28:13    
This should probably come with an assessment of the likelihood of someone being able to pseudo-cast. Wizards can only pseudo-cast if they de-level, which many modules do not provide an opportunity for. The cleric/druid example requires a certain type of item without which the PC is benefiting very little from the class split.

Overall, I'd advise people against going through the trouble of blocking this merely because pseudo-casting is a possibility. (Pseudo-casting is already a difficult and risky thing to try to take advantage of, and integrating this fix could be something of a pain if you already have a custom spellhook.) However, if it is an actual problem rather than a theoretical one, sure use a script like this.

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

 
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 Plug-Ins


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