Trainer/Merchant Creation

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

Trainer/Merchant Creation

Postby Rubs » Sat Jun 12, 2004 6:06 pm

hi,

i want to create trainers and merchants on a +PvP server.

how can i set them to be not attackable by anyone from any realm ?

even if i set them to lvl 255, players are dragging them around

please tell me if and how its possible


thanx
Rubs
DOL Novice
 
Posts: 51
Joined: Fri May 07, 2004 10:45 am

Postby Smallhorse » Sat Jun 12, 2004 6:36 pm

I think this needs to be implemented in the core that you can not attack "friendly" NPC's on a PvP server ... on live you can not attack any npc on PvP servers or?
SmallHorse
Project Ex-Administrator with too little time to be of much use currently :)
Smallhorse
Inactive Staff Member
 
Posts: 2919
Joined: Sun Jun 22, 2003 5:54 pm
ICQ: 11718314

Postby WarLord » Sat Jun 12, 2004 6:40 pm

On Camlan you cant attack any friendly NPC thats right. They shown as enemy when you hit F8 (target next enemy) but you cant attack them.
WarLord
DOL Novice
 
Posts: 65
Joined: Wed Jun 09, 2004 3:17 pm
Website: http://www.odinsgate.de.vu/

Postby Vidi » Thu Jun 17, 2004 3:58 pm

Ok I do NOT know the DOL documentations yet.

BUT, in RunUo which is scripted in C# I would add this to a creature or vendor to make it unattackable.


public virtual bool IsInvulnerable{ get{ return true; } }



Also, from looking thorugh the latest DOL download, I can't find scripts for vendors so a basevendor script may be neccessary. Add that line into a base vendor then have all merchants within the basevendor class and they should all be invunerable.

In RunUO, invunerable NPC's won't fight back either, but I am unsure how that is handled.

I hope this helps or at least gives you an idea on how to make it work in DOL. Sorry if it doesn't.

Vidi
Vidi
DOL Initiate
 
Posts: 18
Joined: Sun Apr 04, 2004 5:41 pm

Postby Serg » Thu Jun 17, 2004 9:18 pm

 ñåðâåðå åñòü îïèñàíèÿ áàçîâûõ òðåíåðîâ, ìåð÷àíòîâ è òîìó ïîäîáíîãî, íî åñëè òû ñêà÷àë îòêîìïèëèðîâàíóþ âåðñèþ ñåðâåðà, òû íå ñìîæåøü îòðåäàêòèðîâàòü å¸. Äàëüøå îíè îïèñûâàþòñÿ â áàçå, è ïîêà â áàçå íå áóäåò òàêîãî ïîêàçàòåëÿ, êàê áåññìåðòèå, íåëüçÿ áóäåò èõ ñäåëàòü òàêîâûìè...

Sorry i cann`t translete this, because i want sleep...
Excuse for mistakes, I Russian.
User avatar
Serg
DOL Apprentice
 
Posts: 27
Joined: Tue May 18, 2004 9:25 pm

Postby soho » Sat Jan 22, 2005 8:43 pm

Just make sure you ahve their realm set to the realm they are in.

ex in alb merchants should have realm 1
level 50 Internet junkie

(RIP) Fallen Realms PVP FreeShard:
pvp.fallenrealms.net:10300
http://www.fallenrealms.net/
User avatar
soho
DOL Acolyte
 
Posts: 134
Joined: Thu Sep 18, 2003 8:38 pm

Postby Quetz » Sun Jan 23, 2005 12:54 am

Gandulf (9.Jan.2005)
- Add: New Realm "Peace" added, Members of this realm are friendly to everybody,
And Everybody thinks Peace Member is member of it's realm.


Should achieve what your after I think
Q
User avatar
Quetz
DOL Visitor
 
Posts: 12
Joined: Tue Feb 24, 2004 2:35 am

Postby Aku07 » Sun Jan 23, 2005 8:24 am

If you want to create "friendly" NPC on a PvP server, there is a solution. You have to create your mob/merchant, give him his level, etc... And when you're done, juste edit your mod/merchant database and replace :

<AggroRange>500</AggroRange>

by

<AggroRange>0</AggroRange>

It's working good for me,

And if you don't want players to attack them, just change their realm to 1, 2 or 3.

Aku
Aku07
DOL Visitor
 
Posts: 12
Joined: Tue Jan 04, 2005 10:15 pm

Postby nor » Sun Jan 23, 2005 12:29 pm

Finally everyone is satisfied, after only 6 months.
nor
Inactive Staff Member
 
Posts: 1584
Joined: Wed Mar 03, 2004 3:56 am


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 0 guests