EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Database/World Building (https://www.eqemulator.org/forums/forumdisplay.php?f=625)
-   -   Legit-PvP World that I wish to create. (https://www.eqemulator.org/forums/showthread.php?t=5621)

Deathspawn 02-28-2003 04:59 PM

Legit-PvP World that I wish to create.
 
Greetings,

I am attempting to make a 24/7 server that is Legit and also is Player vs. player after lvl 20. I want it forced that you are pvp after 20. Sorta how they do on the Live servers at lower levels. I am a beginner with C++ and going to try teaching myself that and some 3D gaming coding. I would appreciate any help that I can get in this matter as I haven't the slightest at where to look. Thank you and God Bless.

Scrub 02-28-2003 06:15 PM

I like your idea :)
 
I think you have a great idea but, i am stupid and am unable to help you :(

farce 03-01-2003 08:04 PM

edit client.cpp and where you find

Code:

Message(15, "You have gained a level!  Welcome to level %i!", check_level-1);
add
Code:

if(check_level-1 >= 20) {
  this->SetPVP(true);
}

right under it and recompile. the only issue i can see is if they drop below 20, and get it again, they'll get another "You follow the ways of discord." message.

I just tested this.. works exactly as stated.

farce

Lyenu X`Arie 03-02-2003 07:38 AM

So do this...


Code:

if(check_level-1 >= 20 && !this->GetPVP()) {
  this->SetPVP(true);
}


farce 03-02-2003 07:49 AM

also, you wanna make it


Code:

if(check_level-1 == 20 && !this->GetPVP()) {
  this->SetPVP(true);
}

>= becomes just ==

the previous incarnation would make a non pvp who was dinging to any level 20 and up turn pvp, which may not be your desire.

farce

Krayz 07-22-2003 04:16 AM

Can anyone confirm if this does still in fact work? Can't seem to get it to work correctly. I hate to dig up old posts, but this is something we want to do on our server.

Also would it be possible to one make certain zones PVP like the arena? My partner and I have talked about this we're just not sure it can be done very easily.

BTW: The guys on the IRC #EQemu channel lastnight where great. Couldn't have fixed my problem without you guys.

Edit: Ok this does work, however it only seems to work after you reach the PVP level and then zone. It also don't seem to effect SysOp Account Characters.


All times are GMT -4. The time now is 05:49 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.