• 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 Discovery Development Discovery Developers Forum Discovery Unofficial Development Discovery Mod Community Contribution
1 2 Next »
Discovery's FLHook is now open source

Server Time (24h)

Players Online

Active Events - Scoreboard

Latest activity

Discovery's FLHook is now open source
Offline Alley
01-02-2016, 07:08 PM,
#14
Member
Posts: 4,524
Threads: 406
Joined: Jun 2009

(01-02-2016, 06:50 PM)Rebirth Wrote: After reading through this messy ... "code", if it deserves the title (on times you have included heavy libraries 5 times into the same file, ok, ok..)

You can add a PlayerBase exception, this will stop people abusing them and having nearly endless cash.
The Code is written in C but fully compatible to your Cpp source, you can convert it easily, I've commented the critical part with Cpp equivalent functions > http://pastebin.com/fcz5nUu4
And since you are using them in DLLs replace the int main(...) with a function name ... e.g. int EXPORT baseDealerEx(...) , export as #define in the headers.

I hope you don't mind when I take a copy of the source you gave us and use it for my own purpose.
Thank you by the way.

Keep in mind a large amount of this code is between 6 and 9 years old and went through many different hands. Things have greatly improved over time and if you find "messy code" you're welcome to do the proper modifications, test them and send a pull request. I'm sure what's left of FLHook coders spread over the last few FL mods standing will appreciate.

If you want to implement new stuff, same thing. Do the modifications to the plugin to integrate your code and send a pull request. I'm not going to convert your code myself.

Laz Wrote: Alley was right.
Reply  


Messages In This Thread
Discovery's FLHook is now open source - by Alley - 12-31-2015, 12:09 PM
RE: Discovery's FLHook is now open source - by Laz - 12-31-2015, 12:34 PM
RE: Discovery's FLHook is now open source - by Alley - 12-31-2015, 12:40 PM
RE: Discovery's FLHook is now open source - by Laz - 12-31-2015, 12:47 PM
RE: Discovery's FLHook is now open source - by nOmnomnOm - 12-31-2015, 01:22 PM
RE: Discovery's FLHook is now open source - by Laz - 12-31-2015, 01:23 PM
RE: Discovery's FLHook is now open source - by Laz - 12-31-2015, 01:37 PM
RE: Discovery's FLHook is now open source - by Alley - 12-31-2015, 01:56 PM
RE: Discovery's FLHook is now open source - by He||oween - 12-31-2015, 01:43 PM
RE: Discovery's FLHook is now open source - by Laz - 12-31-2015, 03:52 PM
RE: Discovery's FLHook is now open source - by Alley - 12-31-2015, 04:31 PM
RE: Discovery's FLHook is now open source - by Laz - 12-31-2015, 11:14 PM
RE: Discovery's FLHook is now open source - by Rebirth - 01-02-2016, 06:50 PM
RE: Discovery's FLHook is now open source - by Alley - 01-02-2016, 07:08 PM
RE: Discovery's FLHook is now open source - by Rebirth - 01-02-2016, 07:31 PM
RE: Discovery's FLHook is now open source - by Ichiru - 01-02-2016, 08:29 PM
RE: Discovery's FLHook is now open source - by Cyberluke - 08-31-2022, 12:58 AM

  • 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