Random MTA dxFunction demo

Posted by mabako on May 27, 2009
MTA, Server / No Comments / Tags: , ,

See this forum post for some info.

By the way, the YT-Player has an ugly overlay really annoying me.

cheers
mabako

pawn:HTTPd

Posted by mabako on April 01, 2009
SA:MP / 8 Comments / Tags: ,

In the last few days, I’ve tried to create a simple HTTP-server plugin for the SA:MP server to add a possibility to broadcast content on the internet. You can use static pages for images and CSS, and dynamic pages for stats and whatever you could possibly output with Pawn. Any filterscript or gamemode can add websites, in which case the according Pawn Callback will be invoked.

I’ve written a very basic script to show you how it works. All it does is, as soon as someone opens http://ip:port or http://ip:port/index.html in a web browser, displays “Hello from a Pawn Script”. You can use all functions from regular filterscripts and create an output exactly matching your needs! The script for the example script looks like this:

Hello from pawn:HTTPd

Demo of the Script

There’s only some functions and the server is nowhere near complete, but yet it’s possible to access websites created with it, both statically and dynamically. The completed plugin will include support for GET/POST requests, the possibility to read and set cookies and HTTP-Authentication with callbacks.

Because all those functions are not fully implented and working as you might expect, there is no download link yet – but be sure to check some time to see when it’ll be released.

Once it is, at least I make sure my admin script allows you administrating your server over HTTP. This has some benefits, such as even non-rcon-admins can use commands from out-of-the game, which currently does not work without giving them the actual rcon password. Of course that will add the posibility to kick/ban/freeze/mute/jail/… people also, and a lot of other commands you know from my regular script. This would provide helpful for a lot of admins, at least some of those I know. It’s easier than rcon-commands since you can just follow the links to perform the actions, and at the same time more secure since every admin can only use the functions he could use when being in-game.

Any feedback is appreciated, use the Comment-function for that.

cheers
mabako

badrcon-Plugin

Posted by mabako on February 23, 2009
Uncategorized / 5 Comments

I’ve finally found the time to upgrade that plugin to 0.2X and allow multiple filterscripts to work with those callbacks.

That wasn’t exactly complicated, since I did all this for serveExt already – which contains surely more interesting features – a less restrictive filterscript system to replace SA:MP’s own one of “16 filterscripts max” nowadays (pretty evil), ability to modify the shown max players (I believe that counts as providing false query info, but the server is not on the list), of course the ability to modify the allowed names (YSF does that too, by the way) and two new callbacks for “Bot detected” and “Packet was modified” (0.2X doesn’t support the latter).

It took me… some minutes of my lifetime, which is sad, but true :(

I’m slightly surprised there’s people who want that plugin at all, it was released ages ago and up to only two days ago, I wouldn’t have it considered as needed at all. But it’s there now, with a simplified interface of having only one DLL for servers of all three versions. The Windows and Linux with libstdc++6-plugins work with 0.2.2 R1, 0.2.2 R2 and 0.2X. The version for libstdc++5 doesn’t do that, mainly because there’s neither a 0.2.2 R2 nor 0.2X server for that version. Due to me lacking access to a system which has libstdc++5, I can’t compile it either way, so you need to download the source – and the SDK.

cheers
mabako

“Fall”

Posted by mabako on December 14, 2008
GTA IV / 2 Comments / Tags: ,

I’ve got GTA4 to work, to my own surprise. It does run, but by barely any chance above 15 Frames per Second. Based on the fact that it’s only a Pentium 4 with 3 GHz, I consider this as an awesome amount of frames – it’s playable, but might get me kicked out of multiplayer sometimes.

I’ve made a small video out of boredom, which I captured right after I completed the two archievements “Below the Radar” and “One Man Army”… Since it’s a bit hard to get rid of 6 stars while being in a helicopter, it’s unlikely I’d survive either way.

Watch

I’d appreciate it if you leave a comment at the above mentioned URL if it’s just one about the video – or at all, you could rate my video if you liked it. I’m always looking forward to see what I could do better when I’m bored enough to edit videos.

By the way, embedding a video from Social Club isn’t that easy – there’s no pre-made code for you just to use neither the direct code in the website, instead I had to grab the applet with firebug – it was generated from some javascript code.

cheers
mabako

new colors

Posted by mabako on December 08, 2008
Uncategorized / No Comments

Just a small update for the design, as I was a little bored today. Instead of the old blue, grey and white I had since I’ve recovered the blog after the harddrive failure, I’ve changed it all to black and white now.

Looking at it now, I would say it definitly changed to a better looking layout, which uses only one color scheme (black, white, different shades of grey) instead of the mix of blue, grey and white before.

The most visible design change was probably in the header, as it is the only area that used and still uses most of color of this website. The actual “content” does almost only consist out of black text on white background. There were some minor changes only, such as the link colors but nothing much really.

Subscribe to the RSS-FeedOne thing I’ve completely recreated and not carried over from the previous version is the RSS-button, which is now only two-dimensional and does not exceed the navigation menu’s size anymore.

I hope you’ll like the new design.

Although I haven’t been writing that much on this blog, I could definitly have mentioned that my PC is too old to run GTAIV. But from what I’ve read and heard, the pc-port seems to have some issues. No wonder, when you know this:

«Charmers» yet the PC manual says only FOUR people worked on the PC version

cheers
mabako