View Single Post
  #54  
Old 11-14-2012, 01:47 PM
nilbog nilbog is offline
Project Manager

nilbog's Avatar

Join Date: Oct 2009
Posts: 14,707
Default

Note: This is to explain how these are fixed. Do NOT change anything unless you know what you're doing!

From another thread:

Quote:
Originally Posted by Minluan [You must be logged in to view images. Log in or Register.]
Thanks for the fix, working well on my laptop! Although you may have missed one eye fix:

[You must be logged in to view images. Log in or Register.]

(Yes, I will do anything to avoid the level 59 grind, including running around the must unpopular zones in Norrath)
Okay here's a good opportunity to explain how to fix these. This is completely client-side now, so I hope someone picks up the project.

When I released the patcher here, I also posted on eqemulator with more detailed instructions. http://www.eqemulator.org/forums/showthread.php?t=35929

Step #1 was to isolate which zones contained an evil eye texture. I used this query.

Quote:
select
npt.id as 'npcid',
npt.name,
npt.race,
npt.gender,
npt.texture,
sp2.zone as 'zone name'
from npc_types npt
left join spawnentry spt on (spt.npcid = npt.id)
left join spawn2 sp2 on (sp2.spawngroupid = spt.spawngroupid)
where npt.race = '21'
and npt.gender = '2'
order by sp2.zone,npt.name
This shows that there are evil eye textures in airplane, beholder, eastkarana, fearplane, gukbottom, and runnyeye. These same details could be obtained by having a very good memory I suppose :P

I opened up patch_s3d_textures.bat in notepad++.

On line 209 I added

Quote:
rem fix evil eye textures in various zones nilbog
set rt_beholder_chr=behhe0002.bmp
On line 447 I added:
Quote:
echo.
call :PatchS3D "beholder_chr.s3d" "-rt %rt_beholder_chr%"
if %ErrorLevel%==1 exit /b
I then verified in game if this worked.
[You must be logged in to view images. Log in or Register.]

Success.

The block of fixes for evil eyes ended up looking like this:

209-215:
Quote:
rem fix evil eye textures in various zones nilbog
set rt_beholder_chr=behhe0002.bmp
set rt_airplane_chr=%rt_airplane_chr%,behhe0002.bmp
set rt_fearplane_chr=behhe0002.bmp
set rt_eastkarana_chr=%rt_eastkarana_chr%,behhe0002.bmp
set rt_gukbottom_chr=behhe0002.bmp
set rt_runnyeye_chr=behhe0002.bmp
453-463:
Quote:
echo.
call :PatchS3D "beholder_chr.s3d" "-rt %rt_beholder_chr%"
if %ErrorLevel%==1 exit /b

echo.
call :PatchS3D "fearplane_chr.s3d" "-rt %rt_fearplane_chr%"
if %ErrorLevel%==1 exit /b

echo.
call :PatchS3D "gukbottom_chr.s3d" "-rt %rt_gukbottom_chr%"
if %ErrorLevel%==1 exit /b
airplane and eastkarana had been called previously for other fixes, so it was unnecessary to call it again.


Anyone noticing issues like this, report the problem, and nearly anyone can fix it. Thanks!
Reply With Quote