Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 16.02.2006, 21:41   #1
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default 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
humordwarf is offline  
Old 16.02.2006, 22:08   #2
Eliot
Архивный участник
 
Join Date: Mar 2005
Posts: 368
Default

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.
Eliot is offline  
Old 16.02.2006, 22:14   #3
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

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
hamidouch is offline  
Old 16.02.2006, 22:32   #4
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

i can't see what happens on screen before crash (all is very fast there), but 100% sure crash point = point on water
humordwarf is offline  
Old 16.02.2006, 22:37   #5
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

humordwarf are you sure you want to make geo from those /// client side commands ?
Mirror is offline  
Old 16.02.2006, 22:38   #6
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

e_u018_a
e_u018_b
are (all?) water emiters
hamidouch is offline  
Old 16.02.2006, 22:40   #7
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

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 is offline  
Old 16.02.2006, 22:47   #8
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

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?
humordwarf is offline  
Old 16.02.2006, 22:47   #9
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

well c rmode 1 is your best choice i think..only wireframe
Mirror is offline  
Old 16.02.2006, 22:50   #10
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

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
humordwarf is offline  
Old 16.02.2006, 23:03   #11
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

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
hamidouch is offline  
Old 16.02.2006, 23:08   #12
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

maybe this can help
hxxp://unreal.epicgames.com/Packages.htm
Explains about creating .u files and compiling them...
m4rk is offline  
Old 16.02.2006, 23:15   #13
Metalmurphy
Архивный участник
 
Join Date: Feb 2005
Posts: 766
Default

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 is offline  
Old 16.02.2006, 23:17   #14
Metalmurphy
Архивный участник
 
Join Date: Feb 2005
Posts: 766
Default

L2.ini

IsUnderWaterEffect=False
Metalmurphy is offline  
Old 16.02.2006, 23:27   #15
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

Quote:
Originally Posted by Metalmurphy
L2.ini

IsUnderWaterEffect=False
does not help, .ini was first what i tried
seems not all .ini settings works
humordwarf is offline  
Old 16.02.2006, 23:33   #16
Metalmurphy
Архивный участник
 
Join Date: Feb 2005
Posts: 766
Default

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
Metalmurphy is offline  
Old 17.02.2006, 03:54   #17
Alien003
Архивный участник
 
Join Date: Jun 2005
Posts: 143
Default

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
Alien003 is offline  
Old 17.02.2006, 05:34   #18
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

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 is offline  
Old 17.02.2006, 05:50   #19
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

got it! =)

General protection fault!

History: FD3DRenderInterface::CacheTexture <- FD3DRenderInterface::HandleCombinedMaterial <- FD3DRenderInterface::SetSimpleMaterial <- FD3DRenderInterface::SetMaterial <- FCanvasUtil::Flush <- UUnderWaterEffect::PostRender <- FPlayerSceneNode::Render <- UGameEngine:raw <- UWindowsViewport::Repaint <- UWindowsClient::Tick <- ClientTick <- UGameEngine::Tick <- FWorldBuilder::buildWorldStructure <- UInput::Exec <- UViewport::Exec <- UWindowsViewport::Exec <- NCVirtualWndMain:ispatchWndMsg <- NConsoleWnd:ispatchWndMsgX <- NConsoleWnd:ispatchWndMsg <- UWindowsViewport::ViewportWndProc <- WWindow::StaticProc <- MessagePump <- MainLoop
humordwarf is offline  
Old 17.02.2006, 06:17   #20
Alien003
Архивный участник
 
Join Date: Jun 2005
Posts: 143
Default

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

hope it works
Alien003 is offline  
Old 17.02.2006, 09:57   #21
Metalmurphy
Архивный участник
 
Join Date: Feb 2005
Posts: 766
Default

Keep us posted humordwarf
Metalmurphy is offline  
Old 17.02.2006, 11:27   #22
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

Quote:
Originally Posted by Metalmurphy
Keep us posted humordwarf
trying hard
just be patient, asap i'll post any news...
humordwarf is offline  
Old 18.02.2006, 05:38   #23
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

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?
humordwarf is offline  
Old 18.02.2006, 10:06   #24
jencxxl
Архивный участник
 
Join Date: Apr 2005
Posts: 122
Default

it should be since you couldnt swim till c2, but dont ask me how to do it :P
jencxxl is offline  
Old 18.02.2006, 12:41   #25
Metalmurphy
Архивный участник
 
Join Date: Feb 2005
Posts: 766
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:45.