Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Donations
Monthly costs: -50€
Income (ads): +25€
Donations (last month): +0€

Current balance: -65€
(last updated 2013/05)

Please make a donation if you want to help keeping The-Starport online:

Thanks!
Collapse/Expand Random Image
Collapse/Expand Poll
Would you be interested in Star Citizen modding?
Yes.
No, not interested in SC mods/modding.
No, not interested in SC in general.
Total Votes: 274
3 Comments
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Twitter
Collapse/Expand Who's Online
18 user(s) are online (7 user(s) are browsing Forum)

Members: 5
Guests: 13

Hrimthur, Sizer, Crazy, FriendlyFire, =Alex=, more...
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 134 users playing Freelancer on 84 servers.
May. 23, 2013

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



Client crash (opening chatbox)

Joined:
2011/6/19 9:16
Group:
Registered Users
Posts: 34
Offline
Huhu folks

my mod is kinda gettin to a stable stage, but there is one main problem which i cant solve:

when i want to open the chatbox (pressing ENTER in multiplayer) randomly FL just crashes. When i delete the restart.fl file and fire up FL again it works for some time.
It also happens when i edited a char via DSAM and log in to it.
As soon i press ENTER the client just crashes....
But after deleting the restart.fl file it kinda works again.

So the bug is solveable but me and my testers are not happy with the "solution". (deleting restart.fl everytime)

So does anyone have an idea on that issue?

greetz,

Posted on: 2012/2/11 11:57
Report Top
Re: Client crash (opening chatbox)
Quite a regular
Joined:
2008/6/11 21:00
Group:
Registered Users
Posts: 134
Offline
Interesting I just noticed this happening on an .exe I am working with at the moment.

It started happening after I applied a load of hacks, but I'm wondering if the one that's having an effect is the colours hack.

http://the-starport.net/freelancer/fo ... t_id=23655#forumpost23655

I used Adoxa's FLColors config through TinyHexer. I've used it before and everything seemed ok but I have noticed this time the CTD.

I haven't had time to have a good look at it yet, but I'd suggest getting a clean Freelancer.exe and re-applying any hacks you've made one-by-one. That's certainly where I was going to start.

Good luck, let me know how you get on. Equally if I get round to it in the next few days I'll try track the bug down.

Cheers,
Rik

Posted on: 2012/2/11 17:05
Report Top
Re: Client crash (opening chatbox)
Quite a regular
Joined:
2009/7/16 5:43
From Germany
Group:
Registered Users
Posts: 153
Offline
@DJ: Huhu DJ

feels good to be back in fl modding =)

@rik_starkiller:
Thank u very much, having kinda progress here =)
the only color that was changed was the one indicating the weapon energy. i changed it back to vanilla and now we r gettin like zero CTD when pressing ENTER in space

(i dont reversed the other exe offset hacks yet)

BUT
if i edit a char through DSAM there some problems:
DSAM is using FLHook to kick the player before it applyes the changes i made. (i guess)
So the client sees a message box "connection lost try again, blabla" and a "OK" button.
When the client klicks on OK -> FL window kinda disappear to the upper left of the screen and FL crashes silently.
client restarts FL -> everything is working fine and even the chatbox still works normaly.

when kicking a player ingame/console via flhook (.kick$ id) the message box comes up, client is klicking OK -> no CTD

so maybe adoxa's script messes something up (cause pressing ENTER doesnt give CTD anymore) & maybe DSAM<->FLhook is doing something.

but doing the hacks step by step sounds like a good idea, i will see if i can find the time for this.

greetings,

/edit: my language is very unkewl when im drinking^^

Posted on: 2012/2/11 19:13
Report Top
Re: Client crash (opening chatbox)
Quite a regular
Joined:
2009/7/16 5:43
From Germany
Group:
Registered Users
Posts: 153
Offline
just found something new^^

when im using our single player version of the mod (wanna tarck down this error), which uses kinda like the same offset hacks like the multiplayer one there are no CTDs in singlepayer. -> pressing enter ingame
(single player mod is using adoxa's singleplayer console)
hope my language wont get u confused^^
The SP exe just have the different colors aswell and dont ctd.

is there any tool that can compare the exe offsets like winmerge does with text files? cuz i know there are differences between the SP and the MP exe.
Of course i forgot about writing a changelog -.-* and going through every single offset in the wiki and compare it with the vanilla EXE 2 times, i think ill go insame^^

greetings & good night,
i hate jetlag

Posted on: 2012/2/11 19:37
Report Top
Re: Client crash (opening chatbox)
Quite a regular
Joined:
2008/3/9 22:13
From Vienna
Group:
Registered Users
FLServer Admins
Posts: 132
Offline
do post the crash offset and i'm sure adoxa will have a look once he gets back. if you're lucky maybe even one of the other reverse engineers is able to help.

Posted on: 2012/2/11 20:04
The bar is where friendly people like to meet before they launch to space and kill each other. (Test)
Report Top
Re: Client crash (opening chatbox)
Quite a regular
Joined:
2009/7/16 5:43
From Germany
Group:
Registered Users
Posts: 153
Offline
Good Morning

so ive done a a bit of research and found the offsets i changed in the MP EXE file. (see the attachment)
My changes are behind the offsets description, so u can compare it with ur ones.

Later on i simply replaced it with the vanilla file and kinda the same happenings occured:
No problem with opening the chatbox.
But as soon as i edit a char and the client wants log back in (without closing the game) -> crash
even when the client wants to go to the main menu -> crash
Restaring the game after the crash & log in -> works

hope i dont focus on the wrong things^^

greetings,

Attach file:


zip new 2.zip Size: 1.21 KB; Hits: 43

Posted on: 2012/2/12 11:26
Report Top
Re: Client crash (opening chatbox)

Joined:
2011/6/19 9:16
Group:
Registered Users
Posts: 34
Offline
I think we should start by using the vanilla flserver-, freelancer.exe & common & content.dll.

it hasnt got to be just the freelancer.exe

@MoD: i upped some stuff to ur dropbox, check it out if u want


Posted on: 2012/2/12 20:19
Report Top
Re: Client crash (opening chatbox)
Quite a regular
Joined:
2009/7/16 5:43
From Germany
Group:
Registered Users
Posts: 153
Offline
lulz thx for the spam^^

replaced te files with vanilla ones & the problem is still there, maybe im just lazy^^

+ i dont see a problem for the client to alt-f4 and wait till his char is edited (staring up fl + login = ~15secs )

maybe rik will find the "error" (hopefully)

cheers,

Posted on: 2012/2/13 14:53
Report Top
Re: Client crash (opening chatbox)
Quite a regular
Joined:
2008/6/11 21:00
Group:
Registered Users
Posts: 134
Offline
I'm not sure I can help guys, I've not used DSAM and have very little experience with Hook.

Seems to me you've got 2 separate errors there.
The chatbox I think is fixed but I'd suggest the DSAM/FLHook error is separate.

That's all I can offer guys, sorry!

Rik

Posted on: 2012/2/13 22:26
Report Top
Re: Client crash (opening chatbox)

Joined:
2011/6/19 9:16
Group:
Registered Users
Posts: 34
Offline
first of all, thanks for ur help, time & effort

hope someone will find smth^^

i noticed less errors when i renew my FL install and i think telling my clients to put the mod on a fresh install of FL isnt a big deal

Posted on: 2012/2/21 18:43
Report Top