![]() |
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 |
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. |
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 |
i can't see what happens on screen before crash (all is very fast there), but 100% sure crash point = point on water
|
humordwarf are you sure you want to make geo from those /// client side commands ?
|
e_u018_a
e_u018_b are (all?) water emiters |
Quote:
|
Quote:
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? |
well c rmode 1 is your best choice i think..only wireframe :)
|
Quote:
rmode 1 - client continue all effects calcs, cach textures etc, but draw wires only |
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 |
maybe this can help
hxxp://unreal.epicgames.com/Packages.htm Explains about creating .u files and compiling them... |
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 |
L2.ini
IsUnderWaterEffect=False |
Quote:
seems not all .ini settings works |
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 ;) |
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 EBPsave 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 |
Quote:
|
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 |
if that's the error disabling the function i said ...try to disable UUnderWaterEffect::PostRender too
hope it works |
Keep us posted humordwarf
|
Quote:
just be patient, asap i'll post any news... |
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? |
it should be since you couldnt swim till c2, but dont ask me how to do it :P
|
Hum actually jencxxl gave a good idea. Why not use c3/c4 maps in c1 client? I know it works xD
|
wow... =)
|
| All times are GMT. The time now is 16:23. |