RMS syntax support for Notepad++ (UDL)

So I wrote a guide on Steam on syntax colouring for Random Map Scripting for Notepad++, the scripting language to write random maps on Age of Empires. Essentially Notepad++ supports language syntax support, allowing you to make syntax easier on the eye.

So you’re writing a random map script, using standard default Notepad (that comes with Windows), it would look like this:

With Notepad++ and syntax colouring (User Defined Language Files) enabled, it will look like this:

So you get the drift, basically giving you a clearer visual on your code and possibly preventing errors in them as well.

You can see the guide here:

Batch file – How to simply get yesterdays date (or any date) from the current computer date

Batch files are a nice and simple way on Windows to create one click solutions for tasks that you do on a regular basis. In my case, I wanted to find a quick and simple way to create a file I create on a daily basis and add the current date on it when I create it at the same time, of course as quick as possible.

I have a master file I want to copy it from, so with that I do:

COPY “C:\Users\Savas\Desktop\Testfolder\masterfile.txt” /y
ren “masterfile.txt” “File1 – %date:/=.%.txt”

There’s obviously many ways to do this above so you can choose your way suited for you.. The result will basically be creating a file in the same folder as the .BAT file I created, it will name the file “File1 – date.txt” Because my computer date is set to 27/04/2015 standard (you can find this out by simply doing “echo %date%” and the result should tell you your date format. Simple!

Now what about yesterdays date, as far as I can find, there doesn’t seem to be a simple one line way to just do yesterday date.. So we have to set some variables and have the batch file get the date in DD format then minus off one day and then join the date back together.

set yyyy=%date:~6,4%
set mm=%date:~3,2%
set dd=%date:~0,2%

@set b=1
@set /a c=%dd%-%b%

COPY “C:\Users\Savas\Desktop\Testfolder\testfile.txt” /y
ren “testfile.txt” “File 2 – %c%.%mm%.%yyyy%.txt”

The %dd% takes the date and then takes off all, but the DD format. So instead of having 27/04/2015, we end up with just 27. Then “@set /a c=%dd%%b%” line simply takes the number 27 and minuses the number in the “@set b=1” variable, and in this case it’s “1” so we end up with the result in %c% declaration. Put the month and year and we have the date for yesterday!

Of course if you’re using these batch files on separate systems and these systems have different date formats, you’re going to reach some minor issues and that means you’ll need to be more specific with your date formatting. In my case, 6,4% takes a sub string, starting at position 8, and keeping 4, which is 6,4.


In my case, I don’t have this issue, I don’t need my batch file to be some complicated and long winded method to pull the date and when I create my file, I will see if the date is wrong immediately. I hope this helped.

The Phoenix Legion

So this project started around Jan 24, 2013. A community based gaming website, mostly focused on the Steam game Chivalry: Medieval Warfare and the likes.The_Phoenix_Legion_-_News_-_2015-11-25_11.20.41 It may look like a full CMS (Content Management System), but it’s not – it is pretty much custom and in a sense integrated into the phpBB3 message board for obvious necessity reasons. The news feed, the roster page and some of its other pages are connected to allow its users to gain access on the content available and also moderate it based on the changing statuses, so basically a dynamic roster page, a news feed connected to the message board. So no need a web-master or administrator to make those changes needed.

You can check the website out here – http://tplclan.eu/




Have to say this holds a certain place in my heart, this project was started as far back as 8th Aug, 2010, but goes even further back in terms of when the community began. It started off due to certain requisites of its community and moulded from there. Over the years, a few different designs. The game seems to be dead and the community has dried out. The news feed dynamically retrieves content from the message board integrated into the web design as a whole. The roster page is custom built with it pulling the users based on the phpBB3 forums group management system. All allowing complete access without the need for a web-master or administrator.


You can check out the Speeders gaming community over at – http://speedersclan.org/

A snapshot of the achieved page, dating back to 5th Sep, 2011:



Macro Recorder

There’s a program called Macro Recorder by Jitbit Software, it pretty much does what it’s called and I can’t say I’ve fully tried all macro recorders out there, but this seems to be nicely done, not abandoned and not very expensive – relative to the others I found which had one of these flaws.

What it does is it allows you to record keyboard strokes and mouse movements (also clicks/presses). If you have a repetitive task that you do not wish to waste time and effort doing over and over again, also wearing out your keyboard or mouse, that’s when a macro program comes into play.

Macro Recorder

This is what it looks like, pretty much. It has this user-friendly and basic look, though I wonder if this basic attribute might cause some people to shy away assuming it wouldn’t meet their needs? In terms of needs, I think it still needs more work and the last update was in March so it the development is still present. Which is a good thing! http://www.jitbit.com/macro-recorder/versionhistory/

As for my suggestions. The only way to really improve it is to listen carefully to the requests and suggestions of the users as that’s how you can really improve functionality, because they’re the ones that will come up with every crazy situation possible, in a real environment – in my view at least.

Personally one of the issues I have with it is when you require it to press Shift+F4 or Alt+F4, those two lines ends up being 6 as it wants you to Shift DOWN then press that F4 then Shift UP, same for the Alt and others. Yes that’s exactly what you’d be doing on a keyboard and if you wanted to do that, then that’s perfect, but if we’re trying to keep it as clean and compact as possible, that’s making this a lot longer than it has to be if your macro is getting a bit too long. And that’s the whole objective, to cut out the clutter and get straight to the point.

Also I still have yet to fully understand what the “EXIT LOOP” statement does and how you would use it. The speed settings could be a bit more advanced than the simple slider. For example, giving the choice of going in real time or half fast/slow or x2, etc for me is a bit more understanding.

The company itself seems down to earth with some of what they say, which I like so I will continue to watch this and I get a little excited when I see it update! Jitbit Macro Recorder.

Let the Fire Burn

I recently watched a documentary called ‘Let the Fire Burn‘ (2013). It’s been a while since I sat down to watch a documentary, maybe because I’ve not spotted one that really interested me, either way it was thought provoking. It’s about the “stand-off” that took place in 1985, involving the MOVE organization. “stand-off” would be a very crude way to describe it, because fundamentally it was full blown police brutality, which isn’t a surprise, considering it was very common in the 80’s against black people in America.

Let the Fire Burn

The title is a quote that was said from the police to basically “let the fire burn” to the fire-brigade while the people were in that house. Before the fire, they drop explosives from above, which was basically a bomb that starts the fire, then they allow it to burn resulting in the deaths of the people inside. Near the end the police get interviewed and it’s very obvious they’re lying through their teeth and their meaningless expressions give it all away.

MOVEWhat I want to focus on now isn’t how or why this happened – that’s been analysed enough by the committee, but how this makes for a very clear example of how obvious it shows that the black people are so divided.

Going back 9 years or so,

28 Mar 1976, seven MOVE members were released from jail and went to 309 N 33rd St where a celebration was held. Police were called. A neighbor described the resulting melee as: “I think the police were provoked, but I think they were overreacting. I’ve never seen such brutality.” Six cops were hospitalised and six MOVE members jailed. Life Africa, three-week old son of Janine and Phil Africa, was killed. There are sources documenting that MOVE members showed the dead child’s body to city officials who took no action because officially there was no birth certificate for a “Life Africa”. Covered in pages 11-14 of John Anderson and Hilary Hevenor, Burning Down the House: MOVE and the tragedy of Philadelphia, W.W. Norton & Co., 1987. ISBN: 0-393-02460-1. Naaman Brown (talk) 00:58, 27 July 2010 (UTC) – Wikipedia.

One year later –  nine MOVE members were convicted for the death of a police officer. The ballistics of the shots fired to the police officer that died shows that they come from an angle not possible by the MOVE members that were all in the basement.. The nine members are still in prison, to this day..

The hypocrisy is nobody was jailed for the deaths of the MOVE members and here we have nine still in prison even till this day today for their actions involving that death.. If the police get away with negligence for what happened in 1985. Different laws for different people.

They [MOVE members] all surrendered and all were viciously beaten after. Delbert Africa; under video footage gets brutally beaten just after he surrenders, there is clear footage of this and yet the police get off free with no charges and even one of the police officers in the attack is back involved in the 1985 tragedy.

Nine years after the above events, MOVE relocates and in the documentary one of the members explains a sort of shift in attitude, a sort of bitterness and I’m not surprised. One member is interviewed early in the start, ex-Black Panther member, he explains that instead of revolting, he finds MOVE a more revolutionary way of revolting, invoking “change” through themselves that spreads itself and changes the system through the people rather than forcing the system to change head on (that’s what I at least got from it).

This indeed does sort of contradict how they behave. The bunker seems like it’s trying to fight the system head on.. So does the loud speaker and it all seems very flawed.. From this only; the whole neighbourhood turns against them, being predominately black and yet MOVE were completely alone.. One could assume the “system” finds a way to meet them head on like every other form of revolt.

There’s a scene in which there’s a MOVE member calling people mother fuckers and just talking a lot of rubbish through the loud speaker, which doesn’t quite make sense and I’m not sure if footage is even in context as it might have been a response to provocation.. The testimony is backed up by what looks like another black person primed at being completely naive, but if this is true then John Africa’s master strategy clearly had a fundamental flaw or was not followed, which was failing to stay neutral to the average people.

The Mayor of the city was black, the two news reporters was black and they all pretend as if the world, the decade they live in is free of racial prejudice. I suppose they were just pretending or maybe it’s what allowed them sleep at night, so they could continue their personas. Or if you continue to lie sooner or later a lie becomes true? Maybe that’s it..

Though I think the Mayor was simply duped, as he claimed he ordered for the fires to be put out, but a little bit like dealing with the devil, they toyed with him and aimed the water to the surrounding buildings.

The two black news reporters seem to be in character as if they’re reporting on a live car chase or bank robbery.. It really doesn’t sit right with me.. Sort of reminded me of a black slave watching another slave be beaten to death.

Why were they (the black local community and MOVE members) not standing together side by side? Not for the things they [MOVE] say and do, but for the direct actions by the police for being biased and filled with prejudice. Preferring to wait their turn to be treated badly.

By the end of the documentary, we listen to what seems like the only police officer with a soul in the whole incident and after James Berghaier’s testimony, “nigger lover” was written on his locker, he ends up leaving the police force.. Ruining his career simply because of treating the MOVE people in the house as Humans and the whole point of him being an officer of the law.. This is how far the  local black community were detached from the reality. In the same day and age discrimination was so blatant, they were standing by watching what was obviously racists hiding in sheep’s clothing, as always using common ground as a base for support amongst people, simply because MOVE was not behaving like them to pretend to be accepted by the white Americans.

The result




qBittorrent (v3.1.9)

I’ve started using qBittorrent to replace μTorrent, due to their pestering ads that really shouldn’t be there to begin with, but what makes it mostly annoying and worse is the fact that even though you can turn it off, it keeps turning on again after every update. It’s not even a simple process of turning it off in the options, but having to search for the correct command lines to actually disable them all properly.

I wasn’t sure if I’d find a good replacement, because what made uTorrent so popular simply because it was miles ahead of the other bittorrent clients. This post is to say; indeed I’ve found a good enough replacement that does the job and maybe even better.

qBittorrent is cross-platform, available on Linux, Mac OS X, Windows, OS/2, FreeBSD. It’s free and under the GPLv2+ license. This means that the software is not indirectly or directly supporting an operating system and you’re free to download the source code and change it the way you prefer or if need be, adapt it to your needs. This encourages development, but else why is this important? Well if a lot more software, including games considered this, we would have the option to change our operating systems depending on our needs too.. Just like the same way I’m not happy with uTorrent, I can choose to change my OS if it’s also acting up..

Anyway, qBittorrent has all the features you would expect from uTorrent and personally, I’ve customized it the way I like it, which is turning off all the extras as much as possible and clearly seeing what’s downloading, what’s finished.


As you can see, I’ve removed the top bar, side bar to make it look like a basic downloader, which is how I like it. Here’s what the wiki says:

It aims to have a small foot-print, to be powerful, intuitive and visually attractive going beyond the current functions widely provided by other applications. qBittorrent is an attempt to provide a μTorrent equivalent that is open-source and multi-platform adding a streaming-like function to let users download-and-play video files.

Here’s what it looks running on Windows, default settings compared to what I’ve done above:

Source from softonic.com

Here’s what it looks running on Ubuntu:

Source from wikipedia.org

So if you’re looking for a replacement, this my suggestion.

Turkey, Brazil and the Iranian link. What media can do in the world of geopolitics.

OB-XX157_brazil_E_20130619094841Now I’m no fan of Turkey’s prime minster, Recep Tayyip Erdoğan. Under his watch; Turkey has the most journalists locked in prisons in the entire world and the secularism in Turkey has slowly been eroding away and it’s only getting worse. With recent events, if you’re a protester of these things, you’re met with tear gas and high powered water cannons, with a double amount of police brutality, but if you’re a government supporter, you’re given a free coach ride across the country to a few miles away from Taksim Square and considered to be a rallyist. I guess that’s democracy in the eyes of Erdoğan.

Anyway what does this have anything to do with Brazil and Iran? Well in 2010, Brazil and Turkey decided to speak up and interrupt and distrub U.S’s geopolitics and so that was met with very swift moves at the U.N. by the U.S.

Now exactly three years on, you have Turkey experiencing wide national protests from pretty much all areas – though somewhat surprisingly, the eastern parts being relatively quiet, but I’ll get to that later. Now with the protests in Brazil coined the “Brazilian Spring” exactly like they coined the “Turkish Spring”, simply over bus fair, pretty much the same as in Taksim Square, which was started over a demolition project that was done with no consideration of the communities views.

It’s not that the people in these two countries have no reason to protest, their problems are very critical, but they aren’t alone either. The growing list of countries with major protests increases gradually. I am not saying this is some insane conspiracy that these people are working for the CIA or that they have their hands in these protests – they may do, but I wouldn’t know and I’m not even making such a claim because I don’t even think it’s true. It’s a very simple case of tipping the scales for people and the global media being on top of it like an insect on human excrement. Taking advantage of it and causing influxes in all realms, from social order to financial order, which in geopolitical terms, translates to clout.

For example – pretty much the same time – Sweden experiences riots similar to the London riots that happened in 2011, they both seem to be overwhelmingly out of balance to the context of the actual protest – same as Turkey and Brazil.. The difference is, the media plays them completely differently. Brazil and Turkey is unrest for the government and their treatment of the people, the other is rioters, thugs and just casual “riots”. So in Turkey and Brazil it’s protesters, but in London and Sweden it’s rioters..

Ignoring the media bullshit, and focusing on the real issues and the actual truth; Exactly like Turkey and Brazil. It seems that the growing conception is that all protesters have the same goals in common and protesting together gives more results or an impact. Media wise? Both riots were reported and then moved along, the media spun it to their agenda’s, for example the London rioters were deemed looters, thugs and just criminals and Swedish rioters were immigrants which opened the debate of whether they are worthy to stay in the country. So it seems like it’s a common tactic is to just spin it to the direction that best suits and move on, eventually the opinions and views will do the long term work and the truth will be blurred. This is pure modern day propaganda at work.

This isn’t a extenuation factor here, which is my point. Without banding together nobody gains and picking the right time to mass protest is the key to success, but that’s another topic. The point that is relevant here is; Turkey is unfortunately simply playing into the hands very nicely and that’s why the global media holds a tight grip. Brazil is also falling nicely with the agenda, it’s a country still not fully out of poverty, though gaining increasing wealth, so its people are still at unrest and the coinciding 2014 FIFA World Cup being hosted in Brazil, it’s a notorious thing that gets people riled up when they see big business stepping over small time people. All it takes is some news to get people on the streets, mass tweeting and a broadcast of that same tweet and you’ve got images that just simply piss the hell out of people.

In Turkey, Erdoğan is no angel, he needs to be removed and as soon as the next elections begins his party needs to replace him, or things are going to get far worse. Some argue that a lot of people are voting for him because the opposition parties are just flops and I personally think by chance made a lot of economical progress which is what’s getting him votes.

If these things were simply not the product of themselves, these countries wouldn’t be fighting their own demons and having it exploited. I can only assume one thing and that is either this is all a great coincidence and being exploited nicely by the media, influenced by the powers in charge of it, or it’s another modern day equivalent of the expeditions the CIA did to South America.

Why would the U.S. and it’s allies do this? The actions of Turkey and Brazil at that particular moment in 2010 might not have been the real cliff edge, in fact, it could have been their loosening grip of them both gradually, that was the ultimate trigger. The fear of the U.S. is at an all time low, specially after the Afghanistan and Iraq wars, then the big financial crisis that’s making their polices harder to dictate, which is causing Recep Tayyip Erdoğan to have wet-dreams of a future Neo-Ottoman empire. His behaviour in recent times is all the evidence needed. He was probably no longer cooperating or most probably playing too much hard ball and so if you have someone you can’t control any longer growing stronger, you either push him to oblivion or you lose your chance and have him play cold war with you later on.