pve/rvr/pvp script

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

Moderator: Support Team

pve/rvr/pvp script

Postby Tralon » Sat Feb 15, 2014 3:04 pm

Im the admin of Xanthron Server and need some help with this script of snoopydo

--> http://pastebin.com/Bbaa5nWc

my problem is that all mobs are realm 0 i want to remove this method but i dont know where i can find this, also
all names are red/enemy name and not friendly names, would be nice if one can help me it would be very nice

xanth/taovil
(x)====|X|xxxxxxxxxxxxxxxxxxxxxxx>
Tralon
DOL Experienced
 
Posts: 176
Joined: Tue Jan 29, 2013 2:52 pm

Re: pve/rvr/pvp script

Postby HunabKu » Sun Feb 16, 2014 7:47 am

line 322 i think
Code: Select all
(defender is GameKeepGuard && attacker is GameNPC && attacker.Realm == 0
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: pve/rvr/pvp script

Postby Tralon » Sun Feb 16, 2014 1:24 pm

so delete this line and all mobs dont have the same realm or all names are friendly ?, i dont understand much the script :S
(x)====|X|xxxxxxxxxxxxxxxxxxxxxxx>
Tralon
DOL Experienced
 
Posts: 176
Joined: Tue Jan 29, 2013 2:52 pm

Re: pve/rvr/pvp script

Postby bryon » Sun Feb 16, 2014 5:21 pm

The code Hunabku shows stops guards and mobs from fighting. Mobs are realm 0 that's how all realms can fight them. Please tell what you are trying to do so maybe we can further help.
Project Silodaira -
Ports and Jump points √
Ladder √
Dungeons √
Zone Population ~
User avatar
bryon
DOL Expert
 
Posts: 601
Joined: Tue May 01, 2007 6:42 am
Location: Albion, Dark age of Camelot

Re: pve/rvr/pvp script

Postby Tralon » Sun Feb 16, 2014 5:38 pm

my problem is that all mobs has realm 0 names i mean if i set the realm of a mob realm 3 s hibernia, it hsa not friendly npc names it has enemy npc name

the same with enemy realms they have red names instead of friendly names.
pls help :D
(x)====|X|xxxxxxxxxxxxxxxxxxxxxxx>
Tralon
DOL Experienced
 
Posts: 176
Joined: Tue Jan 29, 2013 2:52 pm

Re: pve/rvr/pvp script

Postby HunabKu » Sun Feb 16, 2014 6:38 pm

I don't understand fully.
- select a mob
- do : /mob realm 1
- log out
- exit server
- launch server
- log in
- what is color of the mob ?
- do on a mob : /gminfo
- what the realm of the mob in gminfo window ?
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: pve/rvr/pvp script

Postby bryon » Sun Feb 16, 2014 6:54 pm

/mob realm 3
/mob peace
/mob reload

You will need to be hib to see friendly name color.
Project Silodaira -
Ports and Jump points √
Ladder √
Dungeons √
Zone Population ~
User avatar
bryon
DOL Expert
 
Posts: 601
Joined: Tue May 01, 2007 6:42 am
Location: Albion, Dark age of Camelot

Re: pve/rvr/pvp script

Postby Tralon » Sun Feb 16, 2014 7:53 pm

i know this the problem is the script makes the mob realm 0 color
and other realm red color

for example eden server
all realms have friendly color, and all realm npcs have friendly colors
(x)====|X|xxxxxxxxxxxxxxxxxxxxxxx>
Tralon
DOL Experienced
 
Posts: 176
Joined: Tue Jan 29, 2013 2:52 pm

Re: pve/rvr/pvp script

Postby bryon » Sun Feb 16, 2014 7:56 pm

Are you saying you want NPCs in a safezone to be friendly to all realms?
Project Silodaira -
Ports and Jump points √
Ladder √
Dungeons √
Zone Population ~
User avatar
bryon
DOL Expert
 
Posts: 601
Joined: Tue May 01, 2007 6:42 am
Location: Albion, Dark age of Camelot

Re: pve/rvr/pvp script

Postby Tralon » Sun Feb 16, 2014 8:00 pm

yes also that all realms have friendly names
(x)====|X|xxxxxxxxxxxxxxxxxxxxxxx>
Tralon
DOL Experienced
 
Posts: 176
Joined: Tue Jan 29, 2013 2:52 pm

Re: pve/rvr/pvp script

Postby dargon » Mon Feb 17, 2014 1:15 am

There was a talk on this a while back, ill try to find it they had a fix i believe
Mannik: Admin of Forsaken Worlds Reborn
dargon
DOL Follower
 
Posts: 451
Joined: Sun Apr 15, 2007 6:55 pm

Re: pve/rvr/pvp script

Postby dargon » Mon Feb 17, 2014 1:16 am

http://www.dolserver.net/viewtopic.php? ... name+color

read through the code and see if it will help you out
Mannik: Admin of Forsaken Worlds Reborn
dargon
DOL Follower
 
Posts: 451
Joined: Sun Apr 15, 2007 6:55 pm

Re: pve/rvr/pvp script

Postby Darwin » Mon Feb 17, 2014 7:46 am

Basically, if i understood correctly, you want a Co-op rule-set (everything, but realm 0, is shown with blue name) ?
You need to SendLoginGranted & SendRegionColorScheme = 3

In your server rules :
Code: Select all
public override byte GetColorHandling(GameClient client) { return 3; }
User avatar
Darwin
Developer
 
Posts: 271
Joined: Fri Mar 28, 2008 11:46 am
Location: France

Re: pve/rvr/pvp script

Postby Tralon » Mon Feb 17, 2014 5:00 pm

thank you much darwin :D but i mean that all realms are friendly and npcs are realmfriendly so if i am hib just hib npc /mob realm 3 is friendly to me
(x)====|X|xxxxxxxxxxxxxxxxxxxxxxx>
Tralon
DOL Experienced
 
Posts: 176
Joined: Tue Jan 29, 2013 2:52 pm

Re: pve/rvr/pvp script

Postby dargon » Mon Feb 17, 2014 7:57 pm

colorscheme 1 i beleive
Mannik: Admin of Forsaken Worlds Reborn
dargon
DOL Follower
 
Posts: 451
Joined: Sun Apr 15, 2007 6:55 pm


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 1 guest