trevius
06-04-2008, 07:45 AM
Well, I didn't know where else to post this, so I am adding it here. Mods, feel free to move it if you like or delete it if it's against the rules to post modified source downloads.
This is the 1110 code with some of the added features that have been submitted in the Development Server Code Submissions forum.
Added Features:
/rewind - This is code submitted by TheLieka to give players a command that can be used to get unstuck if they get stuck in a wall, tree, whatever. It checks locations that the player was recently at and will move them to one of those locations. From the testing I have done, it only moves the players a few feet from where they currently are, which is just enough to get them unstuck from whatever they are in. They must stand still for 30 or more seconds before the command will move them.
IP Limiting - This is more code submitted by TheLieka and this one is to allow server admins to limit how many connections can be made per IP address. There are rules that go with this feature so that admins can decide to enable or completely disable this option. They can also set how many connections they want per IP. Basically, this is to limit the number of multiple accounts people can play from 1 household. Many servers have shown interest in this, so I figured it would be a nice thing to add.
#fixmob adjustments - This is a minor adjustment that I wrote to the #fixmob command. Basically, #fixmob lets you change the race, texture or gender of an NPC with 1 command. This is nice if you make hokeys like "#fixmob nextrace", "#fixmob prevrace", "#fixmob nexttexture", "#fixmob prevtexture", and "#fixmob gender". You can find all of the options for this command by typing "#help fixmob". The adjustment I made to it was to allow it to go to texture 0, removed gender 3 since it isn't used, and to allow it to go to race 473 so that it includes all races. Previously it only went to race 329 I thik.
The source for this code can be found here:
http://stormhavenserver.com/downloads/EQEmu-0.7.0-1110b.zip
I also did a windows compile, but I am not 100% sure it worked, though it completed without any errors. I did not add all of the files that the normal win32 download has, but I added the ones that you need for these changes to work. All you do is paste these in your eqemu directory and overwrite your current files there. You probably want to backup your current files or keep a copy of the normal 1110 win32 download just incase something is wrong with it.
http://stormhavenserver.com/downloads/Custom_EQEmu_Build-1110b.zip
I have tested /rewind and #fixmob and they both work perfectly. I have not tested the IP limiting yet, because I don't want to use IP limiting on my server right now. But, the IP limiting compiled perfectly, so I imagine it works just fine. I currently have mine disabled and I have no issues that I have noticed so far.
Also, while I am posting some of the stuff I have been making for my server, I figured I might as well post the custom spell files I use. I have 2 versions of the spell file. One is for the server and includes 20k+ spells and the other is for the client and only includes 10k spells, because that is the limit that the client can load.
The reason that I made the server version have all 20k+ spells is so that the server knows almost all possible spells available up to live. This means that gear that has unknown focus effects should no longer cause zone crashes. They will still mostly show up as unknown to the client, because it isn't able to load all of the spells, but the server will known about it and that will keep it from crashing the zone.
What I did to create these spell files was to take all of the Titanium spells which go up to about 8300 or so and then added the Live spells from 8300 and up. This means that the spell file is 100% compatible with players who don't have the custom spell file on their end as long as they have a normal titanium spell file. So, if you don't want to require a custom file download for your server, you don't have to.
Next, I added in about 300 spells for levels 71 to 75 directly after the Titanium spells. This did overwrite a few of the focus effects from live, so it does still have a slight chance of causing a zone crash from unknown focus effects, but not much of one. I have every RK1 spell for level 71 to 75 included, but I removed the RK2s and RK3s to reduce the amount of spells and also because they are overpowering and no one would use the lesser forms of the spells if the higher ones where there. In order for players to be able to use these 71 to 75 spells, they do have to download the custom client spell file that I am going to post here. They will not work without them. Of course, this is only applicable to servers that have the max level set to 75 on their server.
Last, I fixed a few broken standard Titanium spells that are well known to have issues. I think the problem is that they added the spells in but they weren't complete at the time of the Titanium release, so they are still broken for all emu users. I corrected these so that they work now. The fixes I did for this was for all of the mid level special healing spells for druid, shaman and cleric. Also, a couple random spells in there. I also fixed the level 57 warrior disc, Rage. Finally, I fixed a balance issue with the Evasive discipline for the warrior that in recent patches was set to cause a warrior to be almost completely unhittable for the 3 minute duration. Now, it is slightly less useful than stonewall is, which is about where it should be. For all of these fixes, players will need to download the custom client spell file as well.
Here is the server version of the spell file:
1. Right click on the link below and select "Save Target As..." or "Save Link As...", whichever of those options right click gives you.
http://stormhavenserver.com/spells_us.txt
2. Find your EQEmu directory. It should be in C:\EQEmu.
3. Click "Save" and you are all done.
And here is the client version of the spell file:
1. Right click on the link below and select "Save Target As..." or "Save Link As...", whichever of those options right click gives you.
http://stormhavenserver.com/downloads/spells_us.txt
2. Find your Everquest directory. It should be in either C:\Program Files\Everquest or C:\Program Files\Sony\Everquest.
3. Click "Save" and you are all done. Now just exit Everquest completely and restart it and you are set!
NOTE: These Spell files have the exact same name, so don't download them to the same directory.
Players will most likely want to download the latest spell file descriptions from live here:
http://patch.everquest.com:7000/patch/everquest/main/dbstr_us.txt
The spell descriptions file is mainly for the 70+ spells though. So, it isn't really required for most servers that only go up to 70 or lower.
I probably won't be hosting these files indefinitely, so please don't link your players to them for downloads. Host them on your own server if possible so they don't use up my server bandwidth, please lol.
Enjoy!
P.S. Mods, feel free to edit this post and remove any of the links if they are against the rules.
This is the 1110 code with some of the added features that have been submitted in the Development Server Code Submissions forum.
Added Features:
/rewind - This is code submitted by TheLieka to give players a command that can be used to get unstuck if they get stuck in a wall, tree, whatever. It checks locations that the player was recently at and will move them to one of those locations. From the testing I have done, it only moves the players a few feet from where they currently are, which is just enough to get them unstuck from whatever they are in. They must stand still for 30 or more seconds before the command will move them.
IP Limiting - This is more code submitted by TheLieka and this one is to allow server admins to limit how many connections can be made per IP address. There are rules that go with this feature so that admins can decide to enable or completely disable this option. They can also set how many connections they want per IP. Basically, this is to limit the number of multiple accounts people can play from 1 household. Many servers have shown interest in this, so I figured it would be a nice thing to add.
#fixmob adjustments - This is a minor adjustment that I wrote to the #fixmob command. Basically, #fixmob lets you change the race, texture or gender of an NPC with 1 command. This is nice if you make hokeys like "#fixmob nextrace", "#fixmob prevrace", "#fixmob nexttexture", "#fixmob prevtexture", and "#fixmob gender". You can find all of the options for this command by typing "#help fixmob". The adjustment I made to it was to allow it to go to texture 0, removed gender 3 since it isn't used, and to allow it to go to race 473 so that it includes all races. Previously it only went to race 329 I thik.
The source for this code can be found here:
http://stormhavenserver.com/downloads/EQEmu-0.7.0-1110b.zip
I also did a windows compile, but I am not 100% sure it worked, though it completed without any errors. I did not add all of the files that the normal win32 download has, but I added the ones that you need for these changes to work. All you do is paste these in your eqemu directory and overwrite your current files there. You probably want to backup your current files or keep a copy of the normal 1110 win32 download just incase something is wrong with it.
http://stormhavenserver.com/downloads/Custom_EQEmu_Build-1110b.zip
I have tested /rewind and #fixmob and they both work perfectly. I have not tested the IP limiting yet, because I don't want to use IP limiting on my server right now. But, the IP limiting compiled perfectly, so I imagine it works just fine. I currently have mine disabled and I have no issues that I have noticed so far.
Also, while I am posting some of the stuff I have been making for my server, I figured I might as well post the custom spell files I use. I have 2 versions of the spell file. One is for the server and includes 20k+ spells and the other is for the client and only includes 10k spells, because that is the limit that the client can load.
The reason that I made the server version have all 20k+ spells is so that the server knows almost all possible spells available up to live. This means that gear that has unknown focus effects should no longer cause zone crashes. They will still mostly show up as unknown to the client, because it isn't able to load all of the spells, but the server will known about it and that will keep it from crashing the zone.
What I did to create these spell files was to take all of the Titanium spells which go up to about 8300 or so and then added the Live spells from 8300 and up. This means that the spell file is 100% compatible with players who don't have the custom spell file on their end as long as they have a normal titanium spell file. So, if you don't want to require a custom file download for your server, you don't have to.
Next, I added in about 300 spells for levels 71 to 75 directly after the Titanium spells. This did overwrite a few of the focus effects from live, so it does still have a slight chance of causing a zone crash from unknown focus effects, but not much of one. I have every RK1 spell for level 71 to 75 included, but I removed the RK2s and RK3s to reduce the amount of spells and also because they are overpowering and no one would use the lesser forms of the spells if the higher ones where there. In order for players to be able to use these 71 to 75 spells, they do have to download the custom client spell file that I am going to post here. They will not work without them. Of course, this is only applicable to servers that have the max level set to 75 on their server.
Last, I fixed a few broken standard Titanium spells that are well known to have issues. I think the problem is that they added the spells in but they weren't complete at the time of the Titanium release, so they are still broken for all emu users. I corrected these so that they work now. The fixes I did for this was for all of the mid level special healing spells for druid, shaman and cleric. Also, a couple random spells in there. I also fixed the level 57 warrior disc, Rage. Finally, I fixed a balance issue with the Evasive discipline for the warrior that in recent patches was set to cause a warrior to be almost completely unhittable for the 3 minute duration. Now, it is slightly less useful than stonewall is, which is about where it should be. For all of these fixes, players will need to download the custom client spell file as well.
Here is the server version of the spell file:
1. Right click on the link below and select "Save Target As..." or "Save Link As...", whichever of those options right click gives you.
http://stormhavenserver.com/spells_us.txt
2. Find your EQEmu directory. It should be in C:\EQEmu.
3. Click "Save" and you are all done.
And here is the client version of the spell file:
1. Right click on the link below and select "Save Target As..." or "Save Link As...", whichever of those options right click gives you.
http://stormhavenserver.com/downloads/spells_us.txt
2. Find your Everquest directory. It should be in either C:\Program Files\Everquest or C:\Program Files\Sony\Everquest.
3. Click "Save" and you are all done. Now just exit Everquest completely and restart it and you are set!
NOTE: These Spell files have the exact same name, so don't download them to the same directory.
Players will most likely want to download the latest spell file descriptions from live here:
http://patch.everquest.com:7000/patch/everquest/main/dbstr_us.txt
The spell descriptions file is mainly for the 70+ spells though. So, it isn't really required for most servers that only go up to 70 or lower.
I probably won't be hosting these files indefinitely, so please don't link your players to them for downloads. Host them on your own server if possible so they don't use up my server bandwidth, please lol.
Enjoy!
P.S. Mods, feel free to edit this post and remove any of the links if they are against the rules.