EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Quest Maximum EXP Reward? (https://www.eqemulator.org/forums/showthread.php?t=38039)

Telron 04-08-2014 08:10 PM

Quest Maximum EXP Reward?
 
Hello. I am trying to set up a server where you start at max level. I had planned to set the turn in quests for newbie scrolls to give enough exp to ding a player to 50. Is this possible? I set it up but it only gives me 100% exp and leaves me at level 1.

Thanks in advance. If there is an easier way to do this that would be awesome.

Dunge0nMastr 04-08-2014 08:22 PM

you could just do quest::level(50); as opposed to trying to give an EXP value

Telron 04-08-2014 08:25 PM

Super new to this system. Thank you so much!

Telron 04-08-2014 08:35 PM

Is there a .lua equivalent to this?

Dunge0nMastr 04-09-2014 12:09 AM

I dont personally use lua too much - but you can check this reference here:

https://github.com/EQEmu/Server/wiki/Lua-API

If you dig around the new wiki should find alot of good stuff - not sure how much lua stuff is out there yet though.

Trubles 05-09-2014 11:27 AM

Could totally do something like this:

Code:

sub EVENT_CONNECT
{
        if( !defined $qglobals{setlevel} == 0)
        {
                quest::level(50);
        }
}


Noport 05-09-2014 07:23 PM

Telron what your trying too setup a 50/51 Server? this can be done real easy.
Code:

If you swap OP_LogServer with OP_MOTD Tutorial shows up
if you swap OP_LogServer with OP_GuildsList you get 50/51 Server Rule

your welcome Telron!

Trubles 05-12-2014 11:58 AM

What does op codes have to do with lua, NoPort?


All times are GMT -4. The time now is 06:01 PM.

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