Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 84 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Jedi Knight
Category: Jedi Knight - Jedi Academy
General, mapping, modeling, scripting, etc. game questions, comments and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: JKJA Dedicated - Buffer Overflow Workaround
corefusion~rb
General Member
Since: Dec 23, 2006
Posts: 1
Last: Dec 23, 2006
[view latest posts]
Level 0
Category: Jedi Knight - Jedi Academy
Posted: Monday, Nov. 14, 2005 01:15 am
Well, i had a JKJA Dedicated server once, but after it has been crashed over and over again, i turned id off... just a few moments ago i read the exploit description again and it came over me. this exploit is caused by the handling of chat messages. so the solution is so simple: just change the chat system to prevent the crashing.

~~~~~

edit the lib (base/jampgamei386.so in my case).

find any lines like:
say: %s: %s
sayteam: %s: %s
tell: %s to %s: %s

and overwrite the last %s with spaces (OVERWRITE, not delete, that's important!!!). The lines now should look like this:
say: %s:  
sayteam: %s:  
tell: %s to %s:  

~~~~

Now the exploit does not work anymore, but the chat messages will still displayed on the screen. have tested if others can see them too, they can... :)

Pro: server does not crash anymore
Contra: no say_team, no tell

Hope that helps.

P.s. Ravensoft, plz dont lawsuit me for messing with your binarys ^^ if this is agains any laws in your country or just against your company guidelines (or just you dont like this), please remove this post and never mind.

If you guys want, you can call this a "Patch" and release it as you had invented this solution, i dont claim any rights on this idea, i just want to help other ppl playing this awesome game you made :)

P.p.s. i reanimated my Server, you can find the IP/Port on my Page and test it for yourself.

MFG

CoreFusion
http://cfs.game-host.org
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Jedi Knight : Jedi Knight - Jedi Academy

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»