EQ2 and Memory Usage Question
Moderator: Team Members
Forum rules
READ THE FORUM STICKY THREADS BEFORE ASKING FOR HELP!
Most information can be found there, and if not, the posts will help you determine the information required to get assistance from the development team.
Incomplete Help Requests will be locked or deleted.
READ THE FORUM STICKY THREADS BEFORE ASKING FOR HELP!
Most information can be found there, and if not, the posts will help you determine the information required to get assistance from the development team.
Incomplete Help Requests will be locked or deleted.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: EQ2 and Memory Usage Question
Nope. You can write LUA scripts with Notepad.
Our game engine includes LUA 5.1 support for the world reading/interpreting LUA. Nothing special to install here!
Our game engine includes LUA 5.1 support for the world reading/interpreting LUA. Nothing special to install here!
-
CliveEvenstar
- Posts: 47
- Joined: Thu Feb 04, 2010 12:09 pm
Re: EQ2 and Memory Usage Question
Well that is just a nice perk! I'll read the wiki support on lua scripts and test it out on writing some and see what I can do. If I can pull it off I'll throw a helping hand!
-- Clive
-- Clive
- Scatman
- Retired
- Posts: 1688
- Joined: Wed Apr 16, 2008 5:44 am
- EQ2Emu Server: Scatman's Word
- Characters: Scatman
- Location: New Jersey
Re: EQ2 and Memory Usage Question
If you're going to be compiling the server yourself you'll need the MySQL and LUA libraries to compile, yes. If you're just going to be using the executable then no.
-
CliveEvenstar
- Posts: 47
- Joined: Thu Feb 04, 2010 12:09 pm
Re: EQ2 and Memory Usage Question
Ok so I do need to install the lua libraries. Already have the MySQL setup. I do have to issues with using the svn files I got. Let me see 1) States I don't have a log folder. 2) Says it can't find the "Damage" file and I've tried placing it in the same folder as the EQ2world.exe file and leaving where it is at. Is there a detailed structure posting somewhere that tells you "how" it should look like because maybe I just have it setup incorrectly. (Leaving it default from how the svn sets it up.)
-- Clive
-- Clive
- Scatman
- Retired
- Posts: 1688
- Joined: Wed Apr 16, 2008 5:44 am
- EQ2Emu Server: Scatman's Word
- Characters: Scatman
- Location: New Jersey
Re: EQ2 and Memory Usage Question
I'm a little confused by your post. What exactly are you trying to do? I've never even heard of the "Damage" file before? Are you trying to just compile?
- Zcoretri
- Team Member
- Posts: 1642
- Joined: Fri Jul 27, 2007 12:55 pm
- Location: SoCal
Re: EQ2 and Memory Usage Question
It's one of two default lua's that come with the core DB, Sprint.lua and Damage.luaScatman wrote:I'm a little confused by your post. What exactly are you trying to do? I've never even heard of the "Damage" file before? Are you trying to just compile?
I think the problem you have clive is that you have to add the path in to find the lua file i.e. if your spells live under the Spell folder, the lua_script column in your DB needs to be Spell\Damage.lua
-
CliveEvenstar
- Posts: 47
- Joined: Thu Feb 04, 2010 12:09 pm
Re: EQ2 and Memory Usage Question
@Scat - Nope, it compiles just fine, it's when running EQ2World.exe that those two issues come up. Let me take a snapshot real quick...

3 issues I'm sorry, 1 with the log folder, 2 with the lua scripts. Going to try Zcoretri's suggestion first and I'll get back to you guys if I run into that. But for the log folder. I've tried creating that folder AND that file, still causes a issue.
-- Clive

3 issues I'm sorry, 1 with the log folder, 2 with the lua scripts. Going to try Zcoretri's suggestion first and I'll get back to you guys if I run into that. But for the log folder. I've tried creating that folder AND that file, still causes a issue.
-- Clive
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: EQ2 and Memory Usage Question
Well, the log folder is not an issue. Create the dir, solved. We do not build your local EQ2Emulator folder structures.
I will change the base DB spell data to reflect our recent changes to Spells lua loading. Most people will copy the Spells folder to their EQ2Emulator folder, so it is a sub-folder of it. That's why the data needs to be changed.
Note: These 2 scripts are not meant for any functional purpose but to show you how scripting is tied to the sample spells. So please don't report bugs about Sprint and Damage when they are nothing more than samples of configuration
I will change the base DB spell data to reflect our recent changes to Spells lua loading. Most people will copy the Spells folder to their EQ2Emulator folder, so it is a sub-folder of it. That's why the data needs to be changed.
Note: These 2 scripts are not meant for any functional purpose but to show you how scripting is tied to the sample spells. So please don't report bugs about Sprint and Damage when they are nothing more than samples of configuration
-
CliveEvenstar
- Posts: 47
- Joined: Thu Feb 04, 2010 12:09 pm
Re: EQ2 and Memory Usage Question
@ John - Yup, when you look at them they are labeled as samples or examples of use
, My issue was trying to figure out why they weren't being found, but now that I know I don't feel like I'm causing the issue "that much" anymore! 
- However, I've tried creating the log dir, still doesn't register it. Is the log folder defaulted in the code or DB anywhere that looks to a specific spot?
-- Clive
- However, I've tried creating the log dir, still doesn't register it. Is the log folder defaulted in the code or DB anywhere that looks to a specific spot?
-- Clive
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: EQ2 and Memory Usage Question
Yeah, "logs" 
- Zcoretri
- Team Member
- Posts: 1642
- Joined: Fri Jul 27, 2007 12:55 pm
- Location: SoCal
Re: EQ2 and Memory Usage Question
Guess it doesn't matter if the text string has forward or backward slashes for the path? But it does look like you need the .lua extension, because World could not find Spell/Damage
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: EQ2 and Memory Usage Question
There is code in emu that if the .lua is not in the name, LE appends it. Clive's problem was that the default downloaded data did not have "Spells/" before "Damage".
Who is online
Users browsing this forum: No registered users and 0 guests