Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Tutorials & Guides (https://postpacific.mmorpg-game.online/forumdisplay.php?f=44)
-   -   [Share] server side html exploit fix, cloning char fix (https://postpacific.mmorpg-game.online/showthread.php?t=2152)

tontor 28.12.2005 17:15

skill fixes
 
Problem regarding skill bug recently discovered has been fixed in this release. For those who don't already know this bug allowed a user to learn a skill level higher then they were really allowed to. NCsoft only added a check for cross class, and if they had already obtained the level of that skill. So it was possible to have a lvl 40 pr with lvl 74 bow masteries, and such things. The server only checked the required level for the skill when sending the skill acquire list, the client then responds with a packet providing skillid and lvl to be learned, this can easily be altered and there's a very easy way which users can do it that I wont bother to discuss. So here's the latest revision including support for

html exploit
overbuff
char cloning (there is a known way this can be evaded but yet to duplicate it)
sql injection (filtering for - was removed now only quotes)
skillhack

When someone attempts to learn a skill level higher then they are allowed it will be logged as followed to the l2server console, and err logs.

12/28/2005 10:58:xx.xx4, WARN:ACCID:477 attempted to learn SKILLID:122 SKILLLVL:15 REQLVL:74 - USERSLVL: 73

The error message for someone trying to learn a skill not in their class looks something like this. (however none of the information except name is correct)

12/28/2005 11:01:xx.xx8, [shillien_oracle][1078974200] no SkillAcquireInfo exist for (?`, )
12/28/2005 11:01:xx.xx8, [UserSocket.cpp][5588] hacking? user[kekeke] class[96] skill_id[2] skill_level[2043322732]


DLL is attached below.

Mirror 28.12.2005 17:32

great job. thanks :)

edit : question, why - filtering has been removed ? not necessary ?

horyfilipe 28.12.2005 18:33

Tontor, im writing here because i think you are not able to receive PM's.
---------------------
Dear Tontor, thank you for your useful patches, you are really a great programmer

I would like to know if you could make a client/server patch so that if client patch is 1, server gets htmls from 1/*. if client patch is 2, server gets htmls from 2/*.

Purpose: having 2 languages in the same server, providing just a client patch for this. So that i have English htmls and portuguese htmls in my server. Something on client would identify english or portuguese. Understand?

Also, if possible, I would like to have a different key for l2player or just some way to safely get rid of it.

Paying through paypal. If possible, then please quote.

serjr 28.12.2005 19:06

Yes thanks tontor, we very appreciate your work ;)

Flamestrike 28.12.2005 19:25

With the previous .dll the clonings were still able to multiply. Let's try with this one and see.

top-gear 28.12.2005 19:59

Pls tontor I would like a patch doing all these but without html exploit protection, server freezes :/

tontor 28.12.2005 21:58

Quote:

Originally Posted by Flamestrike
With the previous .dll the clonings were still able to multiply. Let's try with this one and see.

Code regarding cloning has not changed. It will still be possible until I know the exact method used for cloning again. Someone had explained it, but the method which they described does not work for me, and the old method gets caught by the fix for me. I haven't spent much time on that issue recently. I haven't even tested the anti cloning code in a while, and not sure if I had changed anything. I'll look into it again in the future.

Quote:

Originally Posted by horyfilipe
Tontor, im writing here because i think you are not able to receive PM's.
---------------------
Dear Tontor, thank you for your useful patches, you are really a great programmer

I would like to know if you could make a client/server patch so that if client patch is 1, server gets htmls from 1/*. if client patch is 2, server gets htmls from 2/*.

Purpose: having 2 languages in the same server, providing just a client patch for this. So that i have English htmls and portuguese htmls in my server. Something on client would identify english or portuguese. Understand?

Also, if possible, I would like to have a different key for l2player or just some way to safely get rid of it.

Paying through paypal. If possible, then please quote.

Something like this would be possible at least for the revision of DLL that is in private use, but I don't really wish to release the code that would make that possible because of other things. Maybe if I think of another method that wouldn't take much effort. As far as l2player no idea, I've never even used it :). No criticism to the author I just don't believe in client side safety.

Quote:

Originally Posted by top-gear
Pls tontor I would like a patch doing all these but without html exploit protection, server freezes :/

Providing these fixes without html exploit code is pretty much impossible due to it is the foundation of the patch, it would take a lot of effort to exclude it.

top-gear 28.12.2005 22:28

ok thanks for your answer, I will try a better hardware for start :)

Flamestrike 28.12.2005 23:04

Thanks tontor for the fast reply. All I ment was that cloning is still posible
and I wanted to tell everyone to look out for it. Just a few hours ago caught someone with like 10-15 clones or smth. So yeah be extremely careful.

top-gear 28.12.2005 23:11

the clones work as normal characters or they are inactive? They only cause lag you mean

Flamestrike 28.12.2005 23:17

Yeah both of what you say and it causes alot of lag.

TheOrder 29.12.2005 00:05

You can enter the game with one caracter let it sell some shits :)) and then enter with you're normal caracter and play and in the same time win money get it ?? And yes it makes a lot off lag !!!

top-gear 29.12.2005 00:20

you can do this with multiple accounts too, there is no point

TheOrder 29.12.2005 00:44

Yes it does iff you have a slow pc it can be a real pain in the arse . I've seen ppl that entered with 4 characters at a time :) and in the same time play and lvl up with one character . Imagine they sell the items realy fast !!! And in the same time play and have fun , and don't waste time !!!

top-gear 29.12.2005 00:53

you just open a second client or a bot with another account and sell what you want. It doesn't have to be the same account

TheOrder 29.12.2005 00:59

Okay an example iff you wanna sell in more than one City example you wanna sell in Giran , Gludio , Dion and Gludin and still wanna play , what you are going to open 5 clients :) and make 5 accounts ??

top-gear 29.12.2005 01:10

yup. Its more simple than cloning the same char and afraid of being banned

TheOrder 29.12.2005 01:21

I understand what you mean but iff you have a slow PC ??

top-gear 29.12.2005 01:33

L2walker doesnt need any special resources to run. Cloning char requires walker also I think. So it is the same thing

Eliot 29.12.2005 03:56

Thanks for the update Tontor, but i have a question.
Version 121605 had Pet patch, the newest version doesn't have it.
Was it removed or it's there just not showing "patched" text ?

tontor 29.12.2005 08:26

Quote:

Originally Posted by Eliot
Thanks for the update Tontor, but i have a question.
Version 121605 had Pet patch, the newest version doesn't have it.
Was it removed or it's there just not showing "patched" text ?

Forgot to include it. I'll post it again later including pet patch as well, its a crash fix for strider/wyvern that users can cause.

Radmin 29.12.2005 08:34

Tonor plz post your patch wisout html fix.. or add exclude list...
it's realy need for me... and maby other ppl...
i'm used edited ask, raplay and other for users
see this :

<td>Alt. Great Codran</td>
<td>61</td>
<td align=right><?64912?></td>
<td align=right><?64903?></td>
<td><edit var="reply17" type=number width=35></td>
<td><button action="bypass -h menu_select?ask=5694&reply= $reply17" value=" OK" width=20 height=20 fore="L2UI.DefaultButton"></td>
</tr>

or

<a action="bypass -h multisell?id=<?msid?>">Make items</a>


<a action="link manor_0_manage_page.htm">BACK</a>


exapmle of exclude list :
==============
action="bypass -h multisell?id=
action="bypass -h menu_select?ask=5687&reply=

top-gear 29.12.2005 14:41

I have the same problem too :(
Maybe you could add an .ini file that we can set the changed words for multisell, ask, reply, menu_select, talk_select, etc.

horyfilipe 29.12.2005 17:10

Is it possible to do, through this dll, a "tax" through all private trades and private stores?

Ex: - A gives 100 adenas to B.
- Server checks if A has 100 adenas + 10% (10 adenas)
- If yes, give 100 adenas to B and give 10 adenas to server(/dev/null)
- If no, trade can't be made.

Ex2: - A gives great sword to B
- Server calculates great sword price and check if player has 10%(in adena, course) of it.
- If yes,, etc.. if no, etc..

Purpose: setting global tax when players are demasiated rich.. er


PS: I agree the idea that soon l2server will be just addon for tontor dll, lol

top-gear 29.12.2005 23:28

The tax is not a good idea,but the checking between the two users that are trading is really smart.some russian say that they have found a way to dupe items via trade. Nothing is testet yet but if that works server are screwed up


All times are GMT. The time now is 16:15.