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  Player Status Script
Author  Devari
Submitted / Updated  05-29-2009 / 05-31-2009
Category  Scripting routines
Expansions  Works on all versions
View Code  

Select All Text | View Code in separate window
Format  Module Only
Type  Type - Other
Includes  None
Description
This is just a basic script any scripter should be able to do. But I thought I would place it on here for any of those beginner scripters, like myself. So they can take it, use and change it, or even learn from it.

I placed in on here, because I am learning to script and I believe that the scripts I personally write myself should he shared, to other newbies to NWScript. So here it is.

Basically what this script does is when a player enters an area, the script checks for there playername, cdkey and ip address.It sends the information to the player and also to all DMs on the module.

If you have alot of players on your mod, your DM channel can get rather over crowded, so I would reccomend this for small modules.

You can change, add or do what you like with this script. Just copy and paste from the code area, and place into your OnEnter of area or Module.

Happy Scripting
Devari

Files

NameTypeSizeDownloads
NO FILES
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 (12):

Posted by Baaleos at 2009-06-24 05:28:27    
Actually, your script has hidden merits.

I only recently, like a few months ago, implimented a login script, that writes a timestamp, and database entry of the entering players Player Name, Character Name, IP Address, and Public CDKEY. The ordinary log entries of NWN are not that detailed, meaning you could end up having someone troll your Persistent World, logging in from different player Names etc. Sure, their public CDKey appears in the login event, but there are methods of getting that changed, not all of which requires the purchase of new CDkeys.

I personally store player logins to a MYSql db, to keep track of the IP address they log in from. Its more for a preventative reason. In case a player does start trolling, or being abusive, at least I will be able to tell if they are logging in from a different Ip address as another login etc. In most cases, if someone is Banned, that means THEY are banned, not their login. They shouldnt be able to simply get a new CDKEY and expect a warm welcome without recompense.

Posted by Devari at 2009-06-02 07:51:12    
Thanks, fors the comments... great to see a supportive bunch on NWN.

Posted by Saduj at 2009-06-01 15:35:46    Voted 10.00 on 06/01/09
Welcome to the world of Neverwinter Scripting! lol

Well done for a "newbie" scripter, I'm using this for my server in fact :)

A good "extra credit" way to expand this code would be to SetLocalInt() the values on a player, and make a DM/Admin/Mod tool to GetLocalInt() values, as well as write to the server log upon login.

Happy scripting, and don't let negative comments ever get you down!

My first comment = "Posted by Anonymous ( 203.173.xxx.xxx ) at 2005-03-28 22:07:00
what, you think you can just do a retexture of the bioware blades and think your leet? ack.
Make some new models and learn to texture bro.
this sucks lama +blocked+."

lol!

Keep up the good work, the "Leet Lama!!!"

_________________________
Carcerian/Saduj's Submissions: (169 Portrait/Soundset Unlocker) (12 NWN Fonts) (30 NWN Fonts) (Auto-Emotes) (Custom Dragon Disciples) (Dynamic Wildshape) (Keyring) (NPC Schedules) (Sacred Shields) (Spawning Undead) (Shayans Subrace Engine for 169)

Posted by kalbaern at 2009-06-01 08:36:51    
Whether or not this or other submissions gets used by anyone is a moot point. That you are trying to learn and willing to share what you accomplish however is what makes most of the NWN Community a great bunch to interact with. Don't let the negative comments dissuade you ... or the praise go to your head either. Just make stuff and share what you wish .... and foremost, have fun.
_________________________
The Savage Frontier and Surrounds - NWN PW based in the Forgotten Realms: Link

Posted by Devari at 2009-05-31 08:49:31    
Oops, didn't notice that, and I wasnt sure where to place it, this is the first thing I have posted onto the vault. Whether it is useful or not, is up to the module builders, this was mainly placed here to show people how things can be done, I have been learning NWScript for about a week now, and just wanted to post my first real script I did on my own.

Thanks for the comments.

Posted by The_Krit at 2009-05-31 08:16:01    
It's got better indentations that the script generator produces. That's something good.

I don't know how useful this would be to someone just starting out, so in that respect I can't judge this. (That's not a polite way of saying I think it's not useful -- I really don't know.) However, I do question how those people would find this. If its purpose is to demonstrate how things can be done, shouldn't it be in the "Tutorials" category?

Oh, and the closing brace is missing.

Posted by driller at 2009-05-31 06:15:55    
Don't listen to naysayers. Good job Devari.
_________________________
Blackstone Keep PW

Posted by Devari at 2009-05-31 05:28:36    
But for those who are pulling away from the generator like myself, I assumed this could be in handy.

Posted by ShaDoOoW at 2009-05-31 03:37:59    
Maybe because Lilac Soul's script generator can generate much complex scripts?
_________________________
[Boost System] [Door System] [Devastating Critical Immunity] [HIPS remake] [Circle Kick Mode] [1.69 Full 2da Source]

Posted by ChardWreck at 2009-05-30 20:05:21    
And why do you think no one could learn anything from this? When I started out I found it much easier to learn by seeing it in action.

Thanks for posting Devari. I'm sure someone will find it handy.

Posted by Devari at 2009-05-30 18:36:47    
Well, still its there if anyone wants to use it. *Shrugs*

Posted by ShaDoOoW at 2009-05-30 17:51:11    
Well I don't think someone could learn from this...
_________________________
[Boost System] [Door System] [Devastating Critical Immunity] [HIPS remake] [Circle Kick Mode] [1.69 Full 2da Source]

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 Models


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