Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: Masterd on February 21, 2011, 04:35:30 PM

Title: Pawn BBC
Post by: Masterd on February 21, 2011, 04:35:30 PM
                 
Pawn BBC 1.0
                       
Author:
                   
Masterd

Pawn BBC adds a simple BBC that can color Pawn content.

This mod uses the integration hooks, so it won't make any changes to SMF's core files.

                                           
News in version 1.0

- Initial release
Title: Re: Pawn BBC
Post by: larryhyman on February 21, 2011, 04:58:35 PM
what is
QuotePawn content
????
Title: Re: Pawn BBC
Post by: kat on February 21, 2011, 05:01:58 PM
Is it as good a porn content? (http://www.katzy.dsl.pipex.com/Smileys/c018.gif)
Title: Re: Pawn BBC
Post by: JBlaze on February 21, 2011, 05:20:19 PM
Any reason you have posted this here without waiting for its approval on the mod site?
Title: Re: Pawn BBC
Post by: DoctorMalboro on February 21, 2011, 06:23:21 PM
Why do you need integration hooks for a bbcode?
Title: Re: Pawn BBC
Post by: JBlaze on February 21, 2011, 06:25:20 PM
Quote from: DoctorMalboro on February 21, 2011, 06:23:21 PM
Why do you need integration hooks for a bbcode?
Less file edits.
Title: Re: Pawn BBC
Post by: Masterd on February 22, 2011, 06:05:45 AM
Quote from: JBlaze on February 21, 2011, 05:20:19 PM
Any reason you have posted this here without waiting for its approval on the mod site?

Because it probably won't be approved. My friend, Chupko (http://www.simplemachines.org/community/index.php?action=profile;u=221562), created this mod for SMF 1.1.x and SMF 2.0.

But, my code is a little bit different and I am using integration hooks.
Title: Re: Pawn BBC
Post by: NanoSector on February 22, 2011, 06:07:01 AM
Quote from: larryhyman on February 21, 2011, 04:58:35 PM
what is
QuotePawn content
????
Title: Re: Pawn BBC
Post by: Masterd on February 22, 2011, 06:08:03 AM
It's a programming language for GTA SAMP.
Title: Re: Pawn BBC
Post by: larryhyman on February 22, 2011, 09:28:23 AM
Could somebody tell me what this mod is for and exactly what "pawn" content is?
Title: Re: Pawn BBC
Post by: Illori on February 22, 2011, 09:31:05 AM
maybe http://www.simplemachines.org/community/index.php?topic=390053 would help a bit.
Title: Re: Pawn BBC
Post by: Chupko on February 22, 2011, 01:16:24 PM
What is Pawn : http://tinyurl.com/6bwaj4z :)
Title: Re: Pawn BBC
Post by: Illori on February 22, 2011, 01:21:00 PM
Quote from: Chupko on February 22, 2011, 01:16:24 PM
What is Pawn : http://en.wikipedia.org/wiki/Pawn_(programming_language) :)

http://en.wikipedia.org/wiki/Pawn_(programming_language) (http://en.wikipedia.org/wiki/Pawn_(programming_language)) bugs can get us every time... http://www.simplemachines.org/community/index.php?topic=422865.0
Title: Re: Pawn BBC
Post by: Luis- on February 22, 2011, 02:14:29 PM
Thanks for this :).
Title: Re: Pawn BBC
Post by: Masterd on February 22, 2011, 02:27:22 PM
No problem! ;)
Title: Re: Pawn BBC
Post by: NanoSector on February 23, 2011, 02:53:01 AM
Quote from: Masterd on February 22, 2011, 06:08:03 AM
It's a programming language for GTA SAMP.
How cool is that :P
Title: Re: Pawn BBC
Post by: Arantor on February 23, 2011, 08:08:55 AM
Quote from: Yoshi2889 on February 23, 2011, 02:53:01 AM
Quote from: Masterd on February 22, 2011, 06:08:03 AM
It's a programming language for GTA SAMP.
How cool is that :P

It's also nothing new, several multiplayer games have built in scripting languages, including WoW. The only trouble is, clever programmers find issues in the games that can be exploited in scripts.

(Even web based games have a scripting language, if you look at it that way, since web based games can be manipulated with Greasemonkey/other Javascript tools)
Title: Re: Pawn BBC
Post by: Rosenstein on June 07, 2011, 04:53:31 PM
There is bug with this mod.
Fresh install of SMF 2.0 RC5
Image says all:
(http://img810.imageshack.us/img810/7518/pawno.png)

entlist[] becomes entlist[] and left square bracket losses color.

Snippet of the code
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>

new cvar_on
new entlist[][] = {
"func_button",
"trigger_multiple",
"trigger_once"
}


Can you make that everything inside "" is colored in one color even those characters and words that allready have color?
Title: Re: Pawn BBC
Post by: Masterd on June 08, 2011, 04:24:59 AM
I will fix it as soon as possible.