View Single Post
  #6  
Old 02-14-2018, 08:57 AM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,289
Default

I just pointed out where in the code would allow a client to attack another client, either they both need the PVP flag enabled or you need to be dueling each other. In the case of the PVP flag, as I said you need to make a perl / lua file, like the templates/player.pl and in the sub for EVENT_ENTERZONE you can just $client->SetPVP(1); to force their pvp flag on.

Each zone that has player.pl will have to be updated with this change so each zone someone starts in happens to flip the pvp flag.
__________________
www.eq2emu.com
EQ2Emu Developer
Former EQEMu Developer / GuildWars / Zek Seasons Servers
Member of the "I hate devn00b" club.
Reply With Quote