This site has been archived and made available for preservation purposes. No edits can be made.

Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: C++ scripting

  1. #1
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5

    C++ scripting

    C++ scripts are one of the new features of the next version See the screenshot for a preview.
    Attached Images Attached Images

  2. #2

    Re: C++ scripting

    [quote author=Recycler link=topic=142.msg1059#msg1059 date=1314044574]
    C++ scripts are one of the new features of the next version See the screenshot for a preview.
    [/quote]

    Good for pro scripters.
    Game Developer, Modder & Webmaster.

  3. #3

    Re: C++ scripting

    I'm going to be converting efficient librarys soon. Include bits and will make a tutorial to hook callbacks.

    Sweet stuff recycler Looks pretty nice to be coding with C++ some plugins. I like it, might do both C++ and PAWN

    Thanks a lot
    A gaming community ran by one person, with servers made by individuals (in this case, me, myself)
    I plan to look for a trusted person who will help me create a decent roleplay/deathmatch server on Vault-TEC,
    PM me if you're interested

  4. #4

    Re: C++ scripting

    Sorry for this double post:

    Can you release the example format and the includes to making a plugin? And also include how to install it to the server, this is really interesting.
    A gaming community ran by one person, with servers made by individuals (in this case, me, myself)
    I plan to look for a trusted person who will help me create a decent roleplay/deathmatch server on Vault-TEC,
    PM me if you're interested

  5. #5
    Member
    Join Date
    Jul 2011
    Location
    South East United States
    Posts
    69

    Re: C++ scripting

    I will make you the best C++ scripts I can. I <3 C++ 4EVER. Oh, and I might make a NASM script example too. I like nasm alot.

  6. #6
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5

    Re: C++ scripting

    NASM is awesome. I assembled the PAWN abstract machine in NASM ;D

    Heres the new scripting facilities. Note that I didn't put in most game functions and callbacks, it's only to show how it will look and work like (no 'official' release):

    All files related to scripting

    C++ script example
    C++ script header, or 'include'

    PAWN script example
    PAWN script include

    The scripts do exactly the same. Click the 'SVN' button to access the raw files

  7. #7

    Re: C++ scripting

    [quote author=Houstin link=topic=142.msg1121#msg1121 date=1314153397]
    I will make you the best C++ scripts I can. I <3 C++ 4EVER. Oh, and I might make a NASM script example too. I like nasm alot.
    [/quote]

    Do you have enough knowledge to make some plugins compatible with Vault-Tec? Like sscanf 2 and mysql/sql?

    There are pre-made ones on www.sa-mp.com that you can convert, it'd be damn impressive if you could so we can keep up to the latest and efficient library's.
    A gaming community ran by one person, with servers made by individuals (in this case, me, myself)
    I plan to look for a trusted person who will help me create a decent roleplay/deathmatch server on Vault-TEC,
    PM me if you're interested

  8. #8
    Member
    Join Date
    Jul 2011
    Location
    South East United States
    Posts
    69

    Re: C++ scripting

    @Lorenc: I will not be doing anything for PAWN for too many reasons to list here. However, other people may create PAWN wrappers for some of the Vault-MP Standard Library. I suggest PAWN scripters learn about C++0x, as it will be relatively simple to convert their pawn scripts to it and they will be extremely better. Eventually, I may make some tutorials for the transitions.

  9. #9

    Re: C++ scripting

    [quote author=Houstin link=topic=142.msg1216#msg1216 date=1314346090]
    @Lorenc: I will not be doing anything for PAWN for too many reasons to list here. However, other people may create PAWN wrappers for some of the Vault-MP Standard Library. I suggest PAWN scripters learn about C++0x, as it will be relatively simple to convert their pawn scripts to it and they will be extremely better. Eventually, I may make some tutorials for the transitions.
    [/quote]

    sscanf is the primary plugin I need. I can plan on using the old sscanf 1 for PAWN but it doesn't have as many parameters as sscanf2 does. and sscanf2 is a unbelievably plugin. I'll try do something though.
    A gaming community ran by one person, with servers made by individuals (in this case, me, myself)
    I plan to look for a trusted person who will help me create a decent roleplay/deathmatch server on Vault-TEC,
    PM me if you're interested

  10. #10
    Member
    Join Date
    Jul 2011
    Location
    South East United States
    Posts
    69

    Re: C++ scripting

    If you want the most efficient code/libraries, then simply use C++. It generates native code, so the speed is uncomparable to anything else. You can have enumerations, custom structures, object orientation, pointers, everything. It's not even that hard, either. C++ features will NOT be removed, unlike PAWN. I would not claim that anything is efficient, unless it is native code. How to learn this amazing thing? www.google.com C++ has the more code written for it than any other language. Anything you can imagine has probably been coded before. And C++ just continues to get updated. C++0x compilers will be complete very soon, and will make it better and easier to learn.

Similar Threads

  1. vaultmp scripting (information available)
    By foxtacles in forum Discussion
    Replies: 4
    Last Post: 09-30-2011, 05:56 PM
  2. Scripting functions
    By Lorenc in forum Suggestions
    Replies: 1
    Last Post: 08-09-2011, 04:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •