Neverwinter Nights > Script Request
legit pvp server script
Tea-cup:
--- Quote ---oh so thats how it works... :huh:
nope don't get it...
you will have to explain it better to me cuz i don't understand anyting of it...
i figured out how to open it but then i get abouth 100 pages of strange texts...
[snapback]11563[/snapback]
--- End quote ---
100 pages? You did try to open that ziped archive whit a text editor?? :blink:
Well, just open notepad.exe, then open the file spell.2da whit it. It should give a load of colums and lines whit information about the spells.
Can\'t upload the spell.2da itself, if gives this:
[div class=\"borderwrap\"]
[div class=\"formsubtitle\"]THE FOLLOWING ERROR(S) WERE FOUND[/div]
[div class=\"tablepad\"][span class=\"postcolor\"]Upload failed. You are not permitted to upload a file with that file extension.[/span][/div]
[/div]
So I\'ll upload it as txt.
-Mel
Pazuul:
wy does it gives an error at abouth evry line then here?
edit: sorry wrong topic :P
edit2: ok i got the .2da thingie, try opening it in word then you will sie wat i mean :P
but it worked in notepad
Pazuul:
if ((GetItemHasItemProperty(oItem, ITEM_PROPERTY_AC_BONUS_VS_RACIAL_GROUP) == TRUE)
|| GetPlotFlag(oItem) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_BONUS_FEAT) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_CAST_SPELL) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_DAMAGE_REDUCTION) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_DAMAGE_RESISTANCE) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_IMMUNITY_DAMAGE_TYPE) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_IMMUNITY_MISCELLANEOUS) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_IMMUNITY_SPECIFIC_SPELL) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_IMMUNITY_SPELL_SCHOOL) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_IMMUNITY_SPELLS_BY_LEVEL) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_ATTACK_BONUS_VS_RACIAL_GROUP) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_ON_HIT_CAST_SPELL) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_REGENERATION) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_SPELL_RESISTANCE) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_DAMAGE_BONUS_VS_RACIAL_TYPE) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_ENHANCEMENT_BONUS_VS_RACIAL_GROUP) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_REGENERATION_VAMPIRIC) == TRUE)
{
DestroyObject(oItem);
}
oItem = GetNextItemInInventory(oPC);
}
for ( nCount = 0; nCount < NUM_INVENTORY_SLOTS; nCount++ )
{
oItem = GetItemInSlot(nCount,oPC);
This is just a part of my filter script that works. I think those are all the things I need to filter to get my server as gs or do I need any more or less?
Well anyway, the ON_HIT_CAST_SPELL and DAMAGE_BONUS_VS_RACIAL_TYPE don't work. Did I wrote them wrong or someting? Can somwone tell how I should put those in?
And I also want to add a new script to make a check on the item prices for lvl 20 and lvl 40, the price for lvl 20 should be maximum 130.000 and for lvl 40 maximum 500.000 how do I script that? Should be an onequip script...
Tea-cup:
--- Quote ---if ((GetItemHasItemProperty(oItem, ITEM_PROPERTY_AC_BONUS_VS_RACIAL_GROUP) == TRUE)
|| GetPlotFlag(oItem) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_BONUS_FEAT) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_CAST_SPELL) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_DAMAGE_REDUCTION) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_DAMAGE_RESISTANCE) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_IMMUNITY_DAMAGE_TYPE) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_IMMUNITY_MISCELLANEOUS) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_IMMUNITY_SPECIFIC_SPELL) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_IMMUNITY_SPELL_SCHOOL) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_IMMUNITY_SPELLS_BY_LEVEL) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_ATTACK_BONUS_VS_RACIAL_GROUP) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_ON_HIT_CAST_SPELL) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_REGENERATION) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_SPELL_RESISTANCE) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_DAMAGE_BONUS_VS_RACIAL_TYPE) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_ENHANCEMENT_BONUS_VS_RACIAL_GROUP) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_REGENERATION_VAMPIRIC) == TRUE)
{
DestroyObject(oItem);
}
oItem = GetNextItemInInventory(oPC);
}
for ( nCount = 0; nCount < NUM_INVENTORY_SLOTS; nCount++ )
{
oItem = GetItemInSlot(nCount,oPC);
This is just a part of my filter script that works. I think those are all the things I need to filter to get my server as gs or do I need any more or less?
Well anyway, the ON_HIT_CAST_SPELL and DAMAGE_BONUS_VS_RACIAL_TYPE don't work. Did I wrote them wrong or someting? Can somwone tell how I should put those in?
And I also want to add a new script to make a check on the item prices for lvl 20 and lvl 40, the price for lvl 20 should be maximum 130.000 and for lvl 40 maximum 500.000 how do I script that? Should be an onequip script...
[snapback]11748[/snapback]
--- End quote ---
Well, you need more yes, like removing the arcane spellfailure. And negatif bonuses. Double adding those gives bugs for example. Also, gs filter does filter items for their type too. Like containers.
PS. If you want a gs like filter you need to add lot and lots more code.
-Mel
Pazuul:
Ok, I'm not going to post the full script here now but now gs is on again I wrote evryting that gets filtered (says in journal) down and putted it in the filter) only 2 of the properties don't work, just need to know wy they don't work...
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_ENHANCEMENT_BONUS_VS_SPECIFIC_ALIGNMENT) == TRUE
|| GetItemHasItemProperty(oItem, ITEM_PROPERTY_ON_HIT_CAST_SPELL) == TRUE
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version