PDA

View Full Version : Three questions


sgaske24
09-08-2004, 08:50 PM
Greetings,

I have three questions -

1) What code do you change to increase the max level on your server?

2) How do you change the default "EQEmu Shopkeeper/banker" to your own custom lastnames? (#npcedit doesn't work on those 2)

3) How do you compile eqemu with Perl using Visual Studio.NET 2003? Can't find any info...

I have tried using Search which I honestly think just spits out random pages when you search, totally unsuccessful and also browsing threads, which I can't find any info there either.

I remember vaguely some FAQ post or something that explained how to compile with perl, but I couldn't find it. I did find a post about compiling with perl using VC++6, however I don't have VC++6, I have Visual Studio.NET 2003. I tried to compile with perl and got all sorts of errors but I can compile without perl just fine. So if anyone could spare some instructions this would be great, thanks.

Respectfully,
Zenrix

Derision
09-08-2004, 09:30 PM
1) http://www.eqemulator.net/forums/viewtopic.php?t=14095&highlight=level

2) http://www.eqemulator.net/forums/viewtopic.php?t=14993&highlight=shopkeeper

3) You could try Codemonkey's suggestion at the end of this thread:
http://www.eqemulator.net/forums/viewtopic.php?t=13779&highlight=vs+net+perl

sgaske24
09-08-2004, 09:44 PM
I'll be damned! I sat here searching for 45 minutes looking for that info :( I got my max level changed and also my merchant and bankers changed to my liking but now I'm left with compiling with perl under VS.NET 2003 - those instructions are good but it still doesn't work. :roll:

I thank you kindly for your help Derision!

Request: If anyone has the time could a Perl section be added to the VS.NET compile tutorial? VS.NET 2003 and VC++6 seem to be different because even following the instructions to a T, I get tons of errors. Thanks.

Respectfully,
Zenrix

sotonin
09-09-2004, 01:47 AM
You don't have to change any files at all to compile under vs.net... nothing. You only have to set up your dependencies properly

killspree
09-09-2004, 02:41 AM
Honestly I'd just comment the code that involves the merchant check for lastname out completely so you can load the merchant lastname from the db(allows for each specific merchant to have a different lastname if you want it that way).

sotonin
09-09-2004, 03:01 AM
Quoted from Cripp who posted on a previous post about this.

to take out "EQEmu shopkeeper" and "EQEmu Banker"..

in mob.cpp around line 555...

change

if (ns->spawn.class_==MERCHANT)
strcpy(ns2->spawn.last_name, "EQEmu Shopkeeper");
else if (ns->spawn.class_==TRIBUTE_MASTER)
strcpy(ns2->spawn.last_name, "Tribute Master");
else if (ns->spawn.class_==BANKER)
strcpy(ns2->spawn.last_name, "EQEmu Banker");
else if (ns->spawn.class_==ADVENTUREMERCHANT)


to


/*if (ns->spawn.class_==MERCHANT)
strcpy(ns2->spawn.last_name, "EQEmu Shopkeeper");
else if (ns->spawn.class_==TRIBUTE_MASTER)
strcpy(ns2->spawn.last_name, "Tribute Master");
else if (ns->spawn.class_==BANKER)
strcpy(ns2->spawn.last_name, "EQEmu Banker");
else */if (ns->spawn.class_==ADVENTUREMERCHANT)



and around line 630 change..


if (ns->spawn.class_==MERCHANT)
strcpy(ns->spawn.last_name, "EQEmu Shopkeeper");
else if (ns->spawn.class_==BANKER)
strcpy(ns->spawn.last_name, "EQEmu Banker");
else if (ns->spawn.class_==ADVENTUREMERCHANT)


to


/*if (ns->spawn.class_==MERCHANT)
strcpy(ns->spawn.last_name, "EQEmu Shopkeeper");
else if (ns->spawn.class_==BANKER)
strcpy(ns->spawn.last_name, "EQEmu Banker");
else */if (ns->spawn.class_==ADVENTUREMERCHANT)


so basically just comment out the merchant and banker lastnames in those 2 parts and the lastname in npc_types should work for them.

monalin crusader
09-09-2004, 07:51 AM
You don't have to change any files at all to compile under vs.net... nothing. You only have to set up your dependencies properly

Dont forget to add the files you need to do a search for the one stop error guide it has a nice set of instructions on how to go about enableing perl, but the chances are if you cant search around on these boards you cant code for a server, thus i suggest you getting someone who can since if you really want a successful server you need a coder.

sgaske24
09-09-2004, 10:06 PM
Killspree your idea was pretty good, and since well, I'm not really a coder, I never thought to do that :roll: However I did get it set up the way I wanted, so I'm happy. :)

As far as compiling with perl under VS.NET 2003, I now have it down to a T, unfortunately none of the tutorials posted that I could find, or shown to me in this thread, helped at all. I ended getting live help from Branks (thanks man) in compiling it, and there were a few steps left out for VS.NET 2k3 as compared to C++6, because of the differences in layout of the two programs.

If anyone else has issues compiling with perl under VS.NET 2003 (I can't be the only one lol) feel free to PM me and I'll explain what you have to do. Thanks to all who replied your efforts are very much appreciated, thank you! :)

Respectfully,
Zenrix the Almighty
ServerOP, Chronicles of Norrath
Eqemu 5.8 (with qsts)