Results 1 to 7 of 7

Thread: CabCon modding tutorials

  1. #1
    ... connecting CabCon's Avatar
    Join Date
    Nov 2016
    Location
    Germany
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    CabCon modding tutorials

    Hello,
    I'm quite new here, so let me know when I'm doing something wrong
    I created a tutorial for that, how to start coding without a map like in Black Ops 1 or older Cods, one tutorial for mp and one for zm.



    I'm not sure if I'm allowed to post these links here, just message me if not

    I hope this answers your question, happy modding!

    Best regards,
    CabCon!
    You need any help?
    Start Conversation with me
    Follow me:
    My Website
    Twitter
    Youtube

    Happy Modding!

  2. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Click image for larger version. 

Name:	30302047.jpg 
Views:	75 
Size:	63.5 KB 
ID:	1242

    Jokes beside, you are free to advertise link some helpful tutorials ;-)
    timescale 0.01

  3. The Following 2 Users Say Thank You to kung foo man For This Useful Post:

    CabCon (8th November 2016),kubislav23 (7th November 2016)

  4. #3
    ... connecting CabCon's Avatar
    Join Date
    Nov 2016
    Location
    Germany
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by kung foo man View Post
    Click image for larger version. 

Name:	30302047.jpg 
Views:	75 
Size:	63.5 KB 
ID:	1242

    Jokes beside, you are free to advertise link some helpful tutorials ;-)
    xD Thank you!
    You need any help?
    Start Conversation with me
    Follow me:
    My Website
    Twitter
    Youtube

    Happy Modding!

  5. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    I like the BO3 one: helpful for me as a cod2 modder to understand at least a little how bo3 scripting works.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  6. The Following User Says Thank You to IzNoGoD For This Useful Post:

    CabCon (8th November 2016)

  7. #5
    ... connecting CabCon's Avatar
    Join Date
    Nov 2016
    Location
    Germany
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by kung foo man View Post
    Click image for larger version. 

Name:	30302047.jpg 
Views:	75 
Size:	63.5 KB 
ID:	1242

    Jokes beside, you are free to advertise link some helpful tutorials ;-)
    Is it possible to edit the thread? Because if you called the thread 'CabCon modding tutorials' I could add a few other tutorials I made. Maybe they would also help a few people.
    You need any help?
    Start Conversation with me
    Follow me:
    My Website
    Twitter
    Youtube

    Happy Modding!

  8. #6
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Quote Originally Posted by CabCon View Post
    Is it possible to edit the thread?
    Yea, you can edit it now. Back then I put a time limit of 120 minutes on posts, because people received an answer and then cleaned all of their posts, rendering whole threads useless.

    Well, I just had an idea and implemented it: just save the old version of the post to a file:

    editpost.php line 465, under // ### POST HAS NO ERRORS ###
    PHP Code:
        {
            
    $postid intval$postinfo['postid'] );
            
    $time time();
            
    //$currentmsg = $vbulletin->GPC['message'];
            
    $posts $vbulletin->db->query_read("
                SELECT pagetext 
                FROM " 
    TABLE_PREFIX "post 
                WHERE postid = 
    $postid
            "
    );
            
    $post $vbulletin->db->fetch_array($posts);
            
    $text $post['pagetext'];
            
    $rand rand(100999); // cba to generate a "incremental revision id" now, so just do timestamp+random value
            
    file_put_contents("some_super_secret_folder/{$postid}_{$time}_{$rand}.txt"$text);
        } 
    test
    So if somebody deletes all of his posts now, it's easy to restore them. If it would be many posts, I will just write a PHP import script for it. Ideas/better implementation is welcome
    timescale 0.01

  9. The Following User Says Thank You to kung foo man For This Useful Post:

    YuriJurek (9th November 2016)

  10. #7
    ... connecting CabCon's Avatar
    Join Date
    Nov 2016
    Location
    Germany
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Yes, I have the same issue/problem on my website. But yeah, I'm using xenforo which got a post history, so it's easy to switch between 'post versions'.

    I'm not quite sure if something like this is available for vBulletin but your way do also his job so, nevermind

    Thank you for the permission to edit my post as long I wish

    Best regards,
    CabCon.

Posting Permissions

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