Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 General (https://postpacific.mmorpg-game.online/forumdisplay.php?f=31)
-   -   How to TURN OFF water and other effects inside client? (https://postpacific.mmorpg-game.online/showthread.php?t=3372)

humordwarf 16.02.2006 21:41

How to TURN OFF water and other effects inside client?
 
///show
///rmode
///kdraw
etc

does not help

when i turn on ///buildzone and charachet in water - client crash =(

please, help someone to HEX or modify C3 client to do not show water

Eliot 16.02.2006 22:08

Hm, i remember that some time in past i ran L2client on GeForce256 graphic card and i didn't see any water.

Also i believe i saw something in client files, but i cant say for sure today.
I'll check on that tommorow.

hamidouch 16.02.2006 22:14

it's in lineageeffect.u
i know that i worked it with a friend to fix the water effect
(on c2 client with c3 lineageeffect.u the client was crashing when touching water)
you prolly got to subclass the water emiter or something like that


(btw i'm sure only for water effects, the "splashs" when u touch water, not sure if water is there too)
and im dunno if i'm clear

humordwarf 16.02.2006 22:32

i can't see what happens on screen before crash (all is very fast there), but 100% sure crash point = point on water

Mirror 16.02.2006 22:37

humordwarf are you sure you want to make geo from those /// client side commands ?

hamidouch 16.02.2006 22:38

e_u018_a
e_u018_b
are (all?) water emiters

humordwarf 16.02.2006 22:40

Quote:

Originally Posted by Mirror
humordwarf are you sure you want to make geo from those /// client side command ?

How to TURN OFF water and other effects inside client?

humordwarf 16.02.2006 22:47

Quote:

Originally Posted by hamidouch
e_u018_a
e_u018_b
are (all?) water emiters

how to disable it? teach me =)

as ideal.. how to make clean client mod without any unwanted drawings to increase overall perfomance.. without sky animations, grass, water, etc..

saw in XX_XX files something like "showgroup".. is something interesting there?

Mirror 16.02.2006 22:47

well c rmode 1 is your best choice i think..only wireframe :)

humordwarf 16.02.2006 22:50

Quote:

Originally Posted by Mirror
well c rmode 1 is your best choice i think..only wireframe :)

does not help
rmode 1 - client continue all effects calcs, cach textures etc, but draw wires only

hamidouch 16.02.2006 23:03

to remove sky anim editing timeenv is easy but imo useless,
to remove water emiters you got to subclass them in the u file,
dont ask me how i dunno,
but i search google

m4rk 16.02.2006 23:08

maybe this can help
hxxp://unreal.epicgames.com/Packages.htm
Explains about creating .u files and compiling them...

Metalmurphy 16.02.2006 23:15

Dudes oO you guys are WAY off target. I made a post about this once, its in a simple .ini file.

Something like
UnderWaterEffect=True

Metalmurphy 16.02.2006 23:17

L2.ini

IsUnderWaterEffect=False

humordwarf 16.02.2006 23:27

Quote:

Originally Posted by Metalmurphy
L2.ini

IsUnderWaterEffect=False

does not help, .ini was first what i tried
seems not all .ini settings works

Metalmurphy 16.02.2006 23:33

Well there are 2 effects. In options.ini

[L2WaterEffect]
IsUseEffect=false
EffectType=0

That ones is just shaders effect (reflections)

The l2.ini solved the problem in my server when players were crashing underwater dunno why it doesnt work for you, but there is another solution, edit user.ini (i think its user.ini) and make the max zoom an insane value. Then just put the camera on top and zoom out so it doesnt get inside water ;)

Alien003 17.02.2006 03:54

you can also try to disable some functions in engine.dll
just change the first instruction of the function to the function return (or see what the RETN number is and just place it there)

is is hard to explain ..as my offsets will be diferent from yours but
for exemple (I have no idea if this work, not tested ..probably disabling most off them will crash the client) :

Open Engine.dll in OllyDbg
right click on the back -> Search for -> All referenced text strings
search for water (for this exemple I'll use the FWaterSheetSceneNode::Render string ..search till you find it (Ctrl-L))
Click on it
now scroll up just a bit you will see "RETN 4"
now continue to scroll up ..allot now till you see something like

Code:

00B65100    55            PUSH EBP
00B65101    8BEC          MOV EBP,ESP
00B65103    6A FF          PUSH -1
00B65105  . 68 5073C900    PUSH Engine.00C97350                        ;  SE handler installation
00B6510A  . 64:A1 00000000 MOV EAX,DWORD PTR FS:[0]
00B65110  . 50            PUSH EAX
00B65111  . 64:8925 000000>MOV DWORD PTR FS:[0],ESP
00B65118  . 81EC EC080000  SUB ESP,8EC

now double click on the "PUSH EBP" line and Write "RETN 4" on the assemble window that apears

save the file ( with right click -> copy to executable -> All -> ...)

test it :)


there are lots of functions like that there ... try others if this one doesn't work
Good luck

humordwarf 17.02.2006 05:34

Quote:

Originally Posted by Alien003
you can also try to disable some functions in engine.dll
...
Good luck

very big thanks.. i think you turn me into right direction.

humordwarf 17.02.2006 05:50

got it! =)

General protection fault!

History: FD3DRenderInterface::CacheTexture <- FD3DRenderInterface::HandleCombinedMaterial <- FD3DRenderInterface::SetSimpleMaterial <- FD3DRenderInterface::SetMaterial <- FCanvasUtil::Flush <- UUnderWaterEffect::PostRender <- FPlayerSceneNode::Render <- UGameEngine::Draw <- UWindowsViewport::Repaint <- UWindowsClient::Tick <- ClientTick <- UGameEngine::Tick <- FWorldBuilder::buildWorldStructure <- UInput::Exec <- UViewport::Exec <- UWindowsViewport::Exec <- NCVirtualWndMain::DispatchWndMsg <- NConsoleWnd::DispatchWndMsgX <- NConsoleWnd::DispatchWndMsg <- UWindowsViewport::ViewportWndProc <- WWindow::StaticProc <- MessagePump <- MainLoop

Alien003 17.02.2006 06:17

if that's the error disabling the function i said ...try to disable UUnderWaterEffect::PostRender too

hope it works

Metalmurphy 17.02.2006 09:57

Keep us posted humordwarf

humordwarf 17.02.2006 11:27

Quote:

Originally Posted by Metalmurphy
Keep us posted humordwarf

trying hard
just be patient, asap i'll post any news...

humordwarf 18.02.2006 05:38

ok.. now does not crash after i turn off pre and postrender underwatereffect inside engine..
thanks all

but next important question: builder SWIM =) its bad, its incorrect Z coords,
how to make so, when character ALWAYS WALK, and NEVER SWIM ?

its possible?

jencxxl 18.02.2006 10:06

it should be since you couldnt swim till c2, but dont ask me how to do it :P

Metalmurphy 18.02.2006 12:41

Hum actually jencxxl gave a good idea. Why not use c3/c4 maps in c1 client? I know it works xD


All times are GMT. The time now is 21:44.