EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=621)
-   -   Help with a few development things (https://www.eqemulator.org/forums/showthread.php?t=14188)

Pyrix 06-08-2004 12:58 AM

Help with a few development things
 
Ok , the first think i wanna say is that i know that this thead is in the wrong forum.
Why? Because There are so much questions with so mutch diffrents that there isnt any other way!


Sourcecode ?:

1.Can i disable Zones/Races and use the Zones for other things.
Or better Can i create my own zone somehow?

2.Can I set Races/factions that the NPC

animepimp 06-08-2004 04:08 AM

1. Yes you can disable zones, you jsut have to delete the entries for them from the DB and disable the zone lines from neighboring zones to them which is in the .cfg file I think. You can create your own zones, you just have to distribute them to everyone who plays on your server. There are tools for this and tutorials for those tools in the 3rd party tools forum.

2. Yes, if one faction is set as an enemy faction of another they will fight each other if they get close enough.

3. I'm not really sure, what exactly would you want this to do?

4. You can't unless you basically create it as a new zone the same way you make zones.

Look at the perl how to guide, it has lots of examples that are almost what you want, the easiest way is to basically take two quests that almost do what you want and combine them, or jsut learn basic perl its pretty easy.

Dave987 06-08-2004 04:47 AM

Re: Help with a few development things
 
Quote:

Originally Posted by Pyrix
Quest:

I wanna do sum quests , but i never programmed in perl.

1. if PC gives item to NPC && level =< 5 teleport PC to Zoneblablbla

2.If PC give startingitem to NPC , NPC say text && give 1 Platin to PC

PYrix

Check the tutorial in the Quest howto , but it would basically look like this:

1 :
Code:

if(($itemcount{1001}==1) && ulevel  <= 5){ quest::movepc(blahblah,x,y,z);
}

2 :
Code:

if ($itemcount{1001}==1){
quest::say("Thank you $name, please take this as a reward.");
quest::givecash(0,0,0,1);
}


Good luck!

Pyrix 06-08-2004 05:37 AM

thx alot guyz u helped me pretty good


All times are GMT -4. The time now is 07:24 PM.

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