The Starport
  • Categories
  • Recent
  • Users
  • Groups
  • Starport Blog
  • Knowledge Base
  • The Forge
  • Discord
  • Register
  • Login

Looking for FL hook Teacher.

Scheduled Pinned Locked Moved Help Wanted/Available Section
3 Posts 2 Posters 5.9k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SpiN
    wrote on global:last_edited_by,
    #1

    I was wondering if any of the FL hook programmers would be interested in taking me under their wing and showing me the basics of FL hook programming! Preferably some one with patience as I would be needing to start from square one.

    Thank you!

    1 Reply Last reply
    0
  • M Offline
    M Offline
    M0tah
    wrote on global:last_edited_by,
    #2

    Sorry, but I’m currently way too busy to help you in that capacity. I can, however, give you some tips on starting off.

    1. Get to know FLHook’s source code structure. This may seem obvious, but it is especially important in FLHook’s case since it does not have what you would call a “normal” structure. If you are planning on making plugins, study the available API and hooks. Many things can be implemented using the hooks already provided.
    2. Start off simple. For example, create a command that allows players to slap other players (printing a universe message like “player1 has slapped player2 with a large trout!”) via /slap <player>or /slap$ <clientid>. This will allow you to verify your knowledge of how FLHook works and work out anything you don’t quite understand.
    3. If you don’t already know C/C++ really well (this includes calling conventions, what’s happening behind the scenes, and other advanced topics) I would highly recommend learning more, as FLHook has to interface directly with FL’s code, even when there isn’t a published interface to do so.
    4. Get to know FL’s “public” API. This means the stuff in the FLCoreSDK. Unfortunately, there isn’t any documentation for it, so you’ll essentially have to figure it out on your own by looking at how it’s called in FLHook. If you don’t know what a function is doing, make a post/thread here and someone will probably know.

    That’s all I can think of right now, so I wish you good luck in your endeavor.</clientid></player>

    1 Reply Last reply
    0
  • S Offline
    S Offline
    SpiN
    wrote on global:last_edited_by,
    #3

    Thank you m0tah, this definitely gives me some food for thought. It is time to brush up on my C/C++ 😉

    Again, thanks for posting! 🙂

    1 Reply Last reply
    0

  • Story Mission level requirement
    C
    CommanderArgelo
    0
    11
    52

  • Crash Offsets
    J
    josbyte
    0
    231
    251.4k

  • Capital ships shield collision detection
    C
    CommanderArgelo
    0
    3
    17

  • Dropping a phantomloot cargo from an NPC
    C
    CommanderArgelo
    0
    5
    26

  • Incorrect Shield Value on HUD
    C
    CommanderArgelo
    0
    4
    19

  • @Adoxa - Wheel Scroll plugin improvements
    AingarA
    Aingar
    0
    3
    20

  • Release: Advanced Renderer v. 1.1 beta 1
    S
    SWAT_OP-R8R
    3
    50
    428

  • German Mod Tutorials? 2024 Mod Tutorial?
    S
    SWAT_OP-R8R
    0
    18
    66
  • First post
    Last post
0
  • Categories
  • Recent
  • Users
  • Groups
  • Starport Blog
  • Knowledge Base
  • The Forge
  • Discord