• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community The Community Freelancer Forum Other Discovery Servers
« Previous 1 2 3 4 5 … 14 Next »
Attn Server Owners: FLHook 3.0.0

Server Time (24h)

Players Online

Active Events - Scoreboard
Kusari Super Alloy Shipments - 188,950 / 2,000,000
LSF Arms Shipments - 44,650 / 2,000,000
LSF Munition Shipments - 50,630 / 2,000,000
Pirate Black Market Shipments - 190,650 / 1,000,000
Dragon Bounties - 5 / 10,000
KOI Bounties - 11 / 10,000
LSF Bounties - 8 / 10,000
Samura Bounties - 2 / 10,000

Latest activity

Pages (5): « Previous 1 2 3 4 5
Attn Server Owners: FLHook 3.0.0
Offline Alex.
04-24-2016, 10:53 PM,
#41
Developer
Posts: 3,798
Threads: 144
Joined: Aug 2009
Staff roles: Server Manager
Coding Dev
Moderator

Okay, I've been messing around with the plugins. It seems to load pretty consistently unless either alley.dll or dsacesrv.dll are around. It also crashes if you try to loadplugin either of those at runtime.
Reply  
Offline Alex.
04-25-2016, 03:44 AM,
#42
Developer
Posts: 3,798
Threads: 144
Joined: Aug 2009
Staff roles: Server Manager
Coding Dev
Moderator

Even though it does load, when I go to buy the player faction ID on Jakarta (in Tau-44), FLServer crashes. Debugging in VS shows the error "Unhandled exception at 0x6C4F3472 (ucrtbase.dll) in flserver.exe: An invalid parameter was passed to a function that considers invalid parameters fatal."

VS Wrote:ucrtbase.dll!6c4f3472() Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for ucrtbase.dll]
[External Code]
> FLHook.dll!_vfprintf_l(_iobuf * const _Stream, const char * const _Format, __crt_locale_pointers * const _ArgList, char *) Line 639 C++
FLHook.dll!fprintf(_iobuf * const _Stream, const char * const _Format, ...) Line 835 C++
FLHook.dll!AddLog(const char * szString, ...) Line 44 C++
playercntl.dll!PurchaseRestrictions::GFGoodBuy(const SGFGoodBuyInfo & gbi, unsigned int iClientID) Line 227 C++
playercntl.dll!HkIServerImpl::GFGoodBuy(const SGFGoodBuyInfo & gbi, unsigned int iClientID) Line 539 C++
FLHook.dll!HkIServerImpl::GFGoodBuy(const SGFGoodBuyInfo & gbi, unsigned int iClientID) Line 1346 C++
remoteclient.dll!06b328a8() Unknown
engbase.dll!06625a34() Unknown
dalib.dll!065c4a50() Unknown
FLHook.dll!HkIClientImpl:Big GrinispatchMsgs() Line 1131 C++
server.dll!06d4514b() Unknown
FLHook.dll!HkIServerImpl::Update() Line 85 C++
flserver.exe!0040ce84() Unknown

Maybe alley.dll/dsacesrv.dll try to AddLog on plugin load?
Reply  
Offline Alley
04-25-2016, 06:41 AM,
#43
Member
Posts: 4,524
Threads: 406
Joined: Jun 2009

I'll look into it this evening

Laz Wrote: Alley was right.
Reply  
Offline Alley
04-25-2016, 10:51 PM,
#44
Member
Posts: 4,524
Threads: 406
Joined: Jun 2009

I forgot as usual and only remembered about it now :/

Laz Wrote: Alley was right.
Reply  
Offline Dalziel
04-27-2016, 10:12 PM,
#45
Member
Posts: 17
Threads: 0
Joined: Dec 2015

I've only been able to reproduce that crash by preventing FLHook writing to it's log file(s) so far. However the main hook log (which is the log used in the crash you've shown) is not as prone to this as some of the other logs. Can you make sure that there are no problems writing to the logs? There is not quite enough error handling in some places when it comes to file I/O which will need to be addressed.

Also you said you tried to buy the "player faction ID" - do you literally mean the ID that says "player faction ID" on it or do you mean the IMG player faction ID? I've noticed that if multiple instances of flserver are running, the IMG player faction ID can show up as an ID that says "player faction ID" instead. If you do somehow have multiple instances of flserver running, that could also be causing file handle issues and contributing to the crashes.
Reply  
Offline Alex.
04-27-2016, 10:29 PM,
#46
Developer
Posts: 3,798
Threads: 144
Joined: Aug 2009
Staff roles: Server Manager
Coding Dev
Moderator

(04-27-2016, 10:12 PM)Dalziel Wrote: I've only been able to reproduce that crash by preventing FLHook writing to it's log file(s) so far. However the main hook log (which is the log used in the crash you've shown) is not as prone to this as some of the other logs. Can you make sure that there are no problems writing to the logs? There is not quite enough error handling in some places when it comes to file I/O which will need to be addressed.
Which file is it supposed to be writing this log to?

(04-27-2016, 10:12 PM)Dalziel Wrote: Also you said you tried to buy the "player faction ID" - do you literally mean the ID that says "player faction ID" on it or do you mean the IMG player faction ID? I've noticed that if multiple instances of flserver are running, the IMG player faction ID can show up as an ID that says "player faction ID" instead. If you do somehow have multiple instances of flserver running, that could also be causing file handle issues and contributing to the crashes.
It's the same item, just DSAceSrv changing the name to IMG|'s one. As I'm not running DSAceSrv, it shows as "Player Faction ID" as expected. I'm not running multiple instances of FLServer.
Reply  
Offline Alex.
04-27-2016, 10:33 PM,
#47
Developer
Posts: 3,798
Threads: 144
Joined: Aug 2009
Staff roles: Server Manager
Coding Dev
Moderator

Uh... Is fLog (while in the AddLog function) supposed to be 0x00000000 <NULL>?
Reply  
Offline Alex.
04-27-2016, 10:48 PM,
#48
Developer
Posts: 3,798
Threads: 144
Joined: Aug 2009
Staff roles: Server Manager
Coding Dev
Moderator

I looked through the source and created the flhook_logs directory... still no luck. Then I ran FLServer as administrator, which gave it the right to create files there, and it works now, including alley.dll and dsacesrv.dll. A load of files have magically appeared within that directory.

Thanks for your help @Alley and @Dalziel

Edit: Created https://github.com/zibbizor/FLHook/issues/6
Reply  
Offline Dalziel
04-29-2016, 10:32 PM,
#49
Member
Posts: 17
Threads: 0
Joined: Dec 2015

Cheers for the fixes mate, much appreciated!
Reply  
Pages (5): « Previous 1 2 3 4 5


  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



Powered By MyBB, © 2002-2025 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode