View Full Version : Error: #CastSpell: Arguement out of range:
So_1337
10-21-2008, 09:23 AM
I updated to the Revision 125 binaries and PEQ database Revision 125 this morning, and now I'm seeing this error. It doesn't seem that the spells are being loaded. #findspell returns "Spells not loaded".
Is this something I've done wrong, or was something overlooked? Checked, and I still have my spell files in place for both my client and server, and they are original and untouched.
Derision
10-21-2008, 10:07 AM
Did you copy the Rev 125 EmuShareMem.DLL over to your eqemu directory ?
So_1337
10-21-2008, 10:08 AM
Yes. Straight from the 'build' folder to my EQEmu directory. The only thing I considered was the missing SQL for your damageshieldtypes table, but that was included in the PEQ database update, so it's there. And I didn't think that should interfere with the spells anyway.
I know I have the latest build running, because a paladin and I were just killing time testing out the new Slay Undead ability.
EDIT: Just downloaded the binaries again. Checked the modified date and time against what's in my EQEmu directory, and they match. File size as well. The date on them is 10/18, 12:22 AM.
Derision
10-21-2008, 10:13 AM
Did you try rebooting your server ? The size of the shared memory spell struct changed with the damage shield changes, so if the old spell data is still hanging around in memory (or if you hadn't updated EQEmuSharemem.dll), that might cause it.
So_1337
10-21-2008, 10:15 AM
Interesting. I haven't rebooted the actual server machine, no. Let me do that, and sorry if it's as simple as that. Never realized that could cause an issue, I thought simply nuking all the EQEmu processes and restarting them cleared everything possible.
Will report back.
So_1337
10-21-2008, 10:29 AM
Still no dice after a reboot of the server box. Hrm.
Derision
10-21-2008, 10:31 AM
I'd check the logs then, might be a clue there. I'll try the Rev125 windows binaries when I get home from work to see if they work for me.
So_1337
10-21-2008, 10:38 AM
Much appreciated. Going to enable logging again and see what I can find. Revision 109 was working just fine, not sure where I went wrong. Though I imagine that if it was widespread, I wouldn't be the only one posting about it =)
Thanks for all the help, I'll post back with any information that I can dig up.
So_1337
10-21-2008, 10:57 AM
The logs are turning up nothing out of the ordinary. Not a single "error" log, just the usual debug and typical zone logs. Trying to cast a spell in a zone, I receive the following from the zone log:
[10.21. - 10:41:14] OP CastSpell: slot=1, spell=3491, target=444, inv=ffffffff
That seems typical to me, just that it doesn't seem to have the spell file loaded to pull from.
I'd revert to the previous build, but I've updated my database already and don't have the previous version saved. (Lesson learned, I'll save it in the future.) I suppose I should mention that I've already learned the hard way that I can't run this database with the old build, as I booted it without merging the Rev125 binaries in, and was unable to load any zones. (Continuous "That zone is unavailable" errors while trying to log in, until I realized my mistake.)
Think I'm going to re-source the database and load the binaries into place again, and see what happens.
So_1337
10-21-2008, 11:09 AM
Re-sourced, EQEmu folder overwritten with the latest binaries, and still the same issue. Going to do another server box reboot just for good measure. Don't want to have it be something completely stupid I'm doing wrong. I'd settle for some-what stupid =)
leslamarch
10-21-2008, 11:12 AM
Re-sourced, EQEmu folder overwritten with the latest binaries, and still the same issue. Going to do another server box reboot just for good measure. Don't want to have it be something completely stupid I'm doing wrong. I'd settle for some-what stupid =)
I just tested this on the latest SVN, and I'm not getting this error. What are you doing to make this happen? Just want to make sure i'm testing it right :D
So_1337
10-21-2008, 11:18 AM
Nothing special, I don't think. Running on Windows Server 2003, never had an issue with this before. Just finished rebooting, loading into world now to test...
Problem persists. spells_en.txt and spells_us.txt both in the EQEmu directory and unmodified. Same for this client. Not sure why they aren't being loaded.
So_1337
10-21-2008, 01:34 PM
Just another update: Tried reverting to the previous set of binaries (109), and I find myself with the "That zone is unavailable" error when trying to log in past character select. Whenever I've had this error in the past, it's because eqlaunch.exe was having issues and not even launching. This time around, it seems fine. No errors or anything. My two static zones and all my dynamic zones seem to load fine while I'm watching the world.exe window, but the other three (the two static zones and the dynamic zone window from eqlaunch.exe) are stuck with "0: sleeping" as if all were well. (Though that's not entirely accurate, as the static zones should be displaying the zone names in the window titles rather than "sleeping".)
Looks like I'm stuck in limbo between the two builds, then. Server will stay locked for the time being. Completely strange.
Derision
10-21-2008, 01:45 PM
I have the same problem with the Rev125 Windows bins,
[Debug] [SPELLS__LOAD_ERR] LoadSPDat() EMuShareMemDLL.Spells.DLLLoadSPDat() returned false
I'm going to compile a set myself, see if they have the same problem.
So_1337
10-21-2008, 01:51 PM
Yay! I'm not the only one now, at least.
Thanks Derision =)
Derision
10-21-2008, 01:57 PM
These are Rev126 bins, built with VS2008 Express and they work for me:
http://www.rama.demon.co.uk/Build.rar
So_1337
10-21-2008, 01:59 PM
You are a scholar and a gentleman. Thank you for all of your time fixing this. Loading them now.
So_1337
10-21-2008, 02:04 PM
Now that I can cast spells, I need to summon you an ale for your hard work. Bravo!
cavedude
10-21-2008, 02:22 PM
That might be my fault, I may have missed the dll. I'll upload new versions with the current dll.
So_1337
10-21-2008, 02:42 PM
I guess I can forgive you =)
cavedude
10-21-2008, 02:54 PM
I should probably setup a Windows server so I can actually test these ;)
But hey, Rev 126 is now up which includes some cool new quest changes by KLS.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.