PDA

View Full Version : Help! i want to modify npcs and other things


nitrux
11-12-2007, 08:58 PM
Well, i need some help to:
change buffs time duration
Put or remove some items in my gmshop
change some spawning zones (like primeral island, i want ppl appears at the beach for example, the problem is that i dont know how to know my coordinates (x,y,z))

And i want to know this, if i put my server online, but for my friends only (3 or 4, only for test)... i have to install a port security or something similar? i only have NOD32 at my pc... but im not shure if its 100% secure, some else can join my server and take my ip and destroy my pc :p
I supose that its secure but i`ve never try before... i thing asking is the best solution.

PD:sorry for mi bad english... im Argentinian, if you can speak spanish.. do it :D

d4rk3lf
02-07-2008, 08:24 PM
gameserver\data\stats\skills\0200-0299.xml edit with notedpad
lets take for example skill id 271 "Dance of the Warrior".

<skill id="271" levels="1" name="Dance of the Warrior" enchantLevels1="30" enchantLevels2="30" >
<table name="#enchantMagicLvl"> 76 76 76 77 77 77 78 78 78 79 79 79 80 80 80 81 81 81 82 82 82 82 83 83 83 84 84 85 85 85 </table>
<enchant1 name="magicLvl" val="#enchantMagicLvl"/>
<enchant2 name="magicLvl" val="#enchantMagicLvl"/>
<table name="#ench1time">
125 131 136 142 147 153 158 164 169 175
180 186 191 197 202 208 213 219 224 230
235 241 246 252 257 263 268 274 279 285
</table>
<table name="#ench2MpConsume">
58 57 56 55 53 52 51 50 48 47
46 45 43 42 41 40 39 37 36 35
34 32 31 30 29 27 26 25 24 22
</table>
<set name="weaponsAllowed" val="512"/>
<set name="mpConsume" val="60"/>
<set name="nextDanceCost" val="30"/>
<set name="power" val="0.0"/>
<set name="target" val="TARGET_PARTY"/>
<set name="skillRadius" val="1000"/>
<set name="reuseDelay" val="10000"/>
<set name="hitTime" val="2500"/>
<set name="skillType" val="BUFF"/>
<set name="isDance" val="true"/>
<set name="operateType" val="OP_ACTIVE"/>
<set name="castRange" val="-1"/>
<set name="effectRange" val="-1"/>
<set name="aggroPoints" val="523"/>
<enchant1 name="aggroPoints" val="655"/>
<enchant2 name="aggroPoints" val="655"/>
<enchant2 name="mpConsume" val="#ench2MpConsume"/>
<for>
<effect name="Buff" time="3600" count="1" val="0">
<mul order="0x30" stat="pAtk" val="1.12"/>
</effect>
</for>
<enchant1for>
<effect name="Buff" time="#ench1time" count="1" val="0">
<mul order="0x30" stat="pAtk" val="1.12"/>
</effect>
</enchant1for>
</skill>

3600 is 1 hour
the same you do with other skills just find them!

put items or remove is db thing.. you'll find out how:)

Here's a little trick I know for finding out coordinates:
Spawn an npc where you wanna player to spawn .... press click + shift on npc and check coordinates, note them somewhere. Then delete the npc.
and insert coordinates on appear place you want:)

Good luck with your server!