Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Plugin not compiling into PMF correctly

Comments in 'Plugin Development' started by LDX, Feb 8, 2014.

  1. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,434
    Plugins:
    14
    Latest RandomItem release (3.1.2). The source works perfect, but the compiled PMF version fails evaluation.
    Code:
    [INFO] Loading plugin "RandomItem" 2.3.1 by LDX
    
    Parse error: syntax error, unexpected 'J' (T_STRING) in /home/luke/PocketMine/src/API/PluginAPI.php(88) : eval()'d code on line 2
    Care to explain, @shoghicp?
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Line 2?
  3. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,434
    Plugins:
    14
    I looked at the PMF file in plain text, and there's not even a "J" on line 2!!
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    IDK
  5. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Why do you need PMF?
  6. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,434
    Plugins:
    14
    Blah.
    PEMapModder likes this.
  7. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,434
    Plugins:
    14
    Never ask a man why he wants his plugin PMF.
  8. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    I am not asking a man. I am just asking a buffer of bytes from the Internet why they want their plugin in two sections of bytes, as expressed on https://github.com, called [0x48, 0x65, 0x61, 0x64, 0x65, 0x72]] and [0x44, 0x61, 0x74, 0x61]. :D
  9. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,434
    Plugins:
    14
    Wait, wuttt?? o_O I'm a program?

Share This Page

Advertisement